|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The ManagedEntityValue interface is the base interface for all more
detailed interfaces which represent any kind of object that is to be managed.
Classes which implement ManagedEntityValue or a
sub interface of ManagedEntityValue.
are also called value classes.
All classes implementing a value interface provide several ways to access the attributes:
public Object getAttributeValue(String attributeName)
public void setAttributeValue(String attributeName, Object newValue)
| Field Summary | |
static java.lang.String |
KEY
This String defines the attribute name for the ManagedEntityKey attribute.
|
| Method Summary | |
java.lang.Object |
clone()
Return a deep copy of this value. |
long |
getLastUpdateVersionNumber()
Get the version number of the last update. |
ManagedEntityKey |
getManagedEntityKey()
Get the key for this object. |
java.lang.String[] |
getSettableAttributeNames()
Get names of all attributes which the server allows the client to set. |
ManagedEntityKey |
makeManagedEntityKey()
Manufacture a Key for this managed entity. |
void |
setLastUpdateVersionNumber(long lastUpdateNumber)
Set the last update version number. |
void |
setManagedEntityKey(ManagedEntityKey key)
Set a new key for this value object. |
| Methods inherited from interface com.sun.management.oss.AttributeAccess |
getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, getSupportedOptionalAttributeNames, isFullyPopulated, isPopulated, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
| Methods inherited from interface com.sun.management.oss.SerializerFactory |
getSupportedSerializerTypes, makeSerializer |
| Field Detail |
public static final java.lang.String KEY
ManagedEntityKey attribute.
It's value is "managedEntityKey".
| Method Detail |
public java.lang.Object clone()
public long getLastUpdateVersionNumber()
public void setLastUpdateVersionNumber(long lastUpdateNumber)
throws java.lang.IllegalArgumentException
lastUpdateNumber -
java.lang.IllegalArgumentExceptionpublic ManagedEntityKey getManagedEntityKey() throws java.lang.IllegalStateException
java.lang.IllegalStateException - in case the key attribute is not populated.ManagedEntityKeypublic void setManagedEntityKey(ManagedEntityKey key) throws java.lang.IllegalArgumentException
May be used when there is a need to search for an specific object using this value as a template.
key - the new value for the key
java.lang.IllegalArgumentException - when the given key is
not of correct type. Typically, subinterfaces of ManagedEntityValue have
a corresponding subinterface of ManagedEntityKey. An implementing type of
this sub key class might be expected as a parameter.public ManagedEntityKey makeManagedEntityKey()
public java.lang.String[] getSettableAttributeNames()
It is required to return a subset of the array returned
by getAttributeNames().
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||