|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CpdData
is a 4.0 class and will be supported in 5.0.
It contains the config info and an object of
CpdDouble, CpdLong, CpdLoad, or CpdStat depending on the data type.
The CpdData object is the lowest level in the data hierarchy. Each CpdData instance contains all the static information for the performance data and a getValue method to return the data dynamic information, in the form of an instance of the CpdValue object. The CpdData interface provides an update method to take a reference to a new version of a piece of data and update the current object with the new value. The value is updated only if the new data has the same name as the original object. The CpdData interface also includes an addListener interface to enable data objects to register as event listeners; see The CpdEventListener and CpdEvent interfaces for details. The CpdData interface extends the CpdXML and CpdEventSender interfaces, which are shown in the definition located in that section.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.ibm.websphere.pmi.client.CpdXML |
---|
INDENT_SPACE |
Method Summary | |
---|---|
CpdValue |
getBaseValue()
|
java.lang.String |
getDescription()
|
PerfDescriptor |
getDescriptor()
Get the PerfDescriptor of this data |
int |
getId()
Get ID of this data - unique within a module |
java.lang.Object |
getParent()
Get the collection that holds this data |
PmiDataInfo |
getPmiDataInfo()
Get PmiDataInfo |
CpdValue |
getValue()
The current value associated with the chain |
boolean |
reset()
Return true if this data is resettable |
void |
setBaseValue(CpdValue base)
|
void |
setParent(java.lang.Object parent)
|
void |
setPmiDataInfo(PmiDataInfo info)
Set PmiDataInfo |
void |
setValue(CpdValue value)
Set the current value |
boolean |
undoReset()
Resets the baseValue to null |
void |
update(CpdData other)
If this data is the same as other, set this value to be the value of other. |
Methods inherited from interface com.ibm.websphere.pmi.client.CpdXML |
---|
fromXML, toXML, toXML, toXML |
Methods inherited from interface com.ibm.websphere.pmi.client.event.CpdEventSender |
---|
addCpdEventListener, notifyListeners, notifyListeners, removeCpdEventListener |
Field Detail |
public static final long serialVersionUID
Method Detail |
public int getId()
public PerfDescriptor getDescriptor()
public java.lang.String getDescription()
public PmiDataInfo getPmiDataInfo()
public void setPmiDataInfo(PmiDataInfo info)
public void setValue(CpdValue value)
public void update(CpdData other)
public CpdValue getValue()
public java.lang.Object getParent()
public void setParent(java.lang.Object parent)
public boolean reset()
public boolean undoReset()
public CpdValue getBaseValue()
public void setBaseValue(CpdValue base)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |