|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.measurement.MeasurementData org.rhq.core.domain.measurement.MeasurementDataTrait
public class MeasurementDataTrait
Field Summary | |
---|---|
static String |
FIND_ALL_FOR_RESOURCE_AND_DEFINITION
Find all trait data for the provided resource id and definition id resource id is first parameter definition id is second parameter |
static String |
FIND_CURRENT_FOR_RESOURCE
Find all current traits for a Resource in :resourceId |
static String |
FIND_CURRENT_FOR_RESOURCE_AND_DISPLAY_TYPE
Find current traits for a Resource in :resourceId that have a certain displayType in :displayType |
static String |
FIND_CURRENT_FOR_SCHEDULES
Find the current traits for the schedule ids passed in :scheduleIds |
static String |
NATIVE_QUERY_PURGE
|
static String |
QUERY_DELETE_BY_RESOURCES
|
Constructor Summary | |
---|---|
protected |
MeasurementDataTrait()
|
|
MeasurementDataTrait(long timestamp,
MeasurementScheduleRequest request,
String value)
Create a new Trait object. |
|
MeasurementDataTrait(MeasurementDataPK pk,
String value)
Create a new Trait object. |
|
MeasurementDataTrait(MeasurementScheduleRequest request,
String value)
Create a new trait object with the current system time for the timestamp. |
Method Summary | |
---|---|
String |
getValue()
|
void |
setValue(String value)
|
String |
toString()
|
Methods inherited from class org.rhq.core.domain.measurement.MeasurementData |
---|
equals, getName, getSchedule, getScheduleId, getTimestamp, hashCode, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String FIND_CURRENT_FOR_RESOURCE_AND_DISPLAY_TYPE
public static final String FIND_CURRENT_FOR_RESOURCE
public static final String FIND_CURRENT_FOR_SCHEDULES
public static final String FIND_ALL_FOR_RESOURCE_AND_DEFINITION
public static final String QUERY_DELETE_BY_RESOURCES
public static final String NATIVE_QUERY_PURGE
Constructor Detail |
---|
public MeasurementDataTrait(MeasurementScheduleRequest request, String value)
request
- basically the MeasurementSchedule
for this traitvalue
- the metric value of this traitpublic MeasurementDataTrait(long timestamp, MeasurementScheduleRequest request, String value)
timestamp
- time when the measurement was takenrequest
- basically the MeasurementSchedule
for this traitvalue
- the metric value of this traitpublic MeasurementDataTrait(MeasurementDataPK pk, String value)
pk
- primary keyvalue
- the measurement value for this traitprotected MeasurementDataTrait()
Method Detail |
---|
public String getValue()
getValue
in class MeasurementData
public void setValue(String value)
public String toString()
toString
in class MeasurementData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |