|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.oss.impl.AttributeAccessImpl
com.sun.management.oss.impl.ManagedEntityValueImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson
Field Summary |
Fields inherited from interface com.sun.management.oss.ManagedEntityValue |
KEY |
Constructor Summary | |
ManagedEntityValueImpl()
|
Method Summary | |
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 class com.sun.management.oss.impl.AttributeAccessImpl |
clone, getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, getSupportedOptionalAttributeNames, getSupportedSerializerTypes, isFullyPopulated, isPopulated, makeSerializer, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.management.oss.ManagedEntityValue |
clone |
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 |
Constructor Detail |
public ManagedEntityValueImpl()
Method Detail |
public long getLastUpdateVersionNumber()
ManagedEntityValue
getLastUpdateVersionNumber
in interface ManagedEntityValue
public void setLastUpdateVersionNumber(long lastUpdateNumber) throws java.lang.IllegalArgumentException
ManagedEntityValue
setLastUpdateVersionNumber
in interface ManagedEntityValue
lastUpdateNumber
-
java.lang.IllegalArgumentException
public ManagedEntityKey getManagedEntityKey() throws java.lang.IllegalStateException
ManagedEntityValue
getManagedEntityKey
in interface ManagedEntityValue
java.lang.IllegalStateException
- in case the key attribute is not populated.ManagedEntityKey
public ManagedEntityKey makeManagedEntityKey()
ManagedEntityValue
makeManagedEntityKey
in interface ManagedEntityValue
public void setManagedEntityKey(ManagedEntityKey key) throws java.lang.IllegalArgumentException
ManagedEntityValue
May be used when there is a need to search for an specific object using this value as a template.
setManagedEntityKey
in interface ManagedEntityValue
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 java.lang.String[] getSettableAttributeNames()
ManagedEntityValue
It is required to return a subset of the array returned
by getAttributeNames()
.
getSettableAttributeNames
in interface ManagedEntityValue
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |