|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmsAttribute
An MBean attribute.
| Field Summary | |
|---|---|
static java.lang.String |
CONTROL_ATTRIBUTE_HISTORY
Default true |
static java.lang.String |
CONTROL_ATTRIBUTE_HISTORY_CLASS
Default CompleteValueHistory |
static java.lang.String |
CONTROL_ATTRIBUTE_HISTORY_DEPTH
Default 1 |
| Method Summary | |
|---|---|
void |
alterValue(java.lang.Object newValue)
Alters the internally stored value of this attribute. |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
java.lang.String |
getType()
|
java.lang.Class |
getTypeClass()
|
java.lang.Object |
getValue()
Returns the locally stored value of this attribute. |
ValueHistory |
getValueHistory()
|
int |
getValueSize()
|
boolean |
isNumericType()
|
boolean |
isReadable()
Returns true if this attribute is readable, or false if it is not. |
boolean |
isSupportedType()
|
boolean |
isWritable()
Returns true if this attribute is writable, or false if it is not. |
java.lang.Object |
refresh()
Updates the local value of this attribute from the server. |
void |
registerAttributeChangeListener(AttributeChangeListener listener)
|
void |
setSupportedType(boolean supportedType)
|
void |
setValue(java.lang.Object newValue)
Set the attribute's value on the server. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final java.lang.String CONTROL_ATTRIBUTE_HISTORY
static final java.lang.String CONTROL_ATTRIBUTE_HISTORY_CLASS
static final java.lang.String CONTROL_ATTRIBUTE_HISTORY_DEPTH
| Method Detail |
|---|
void registerAttributeChangeListener(AttributeChangeListener listener)
java.lang.Object getValue()
void setValue(java.lang.Object newValue)
throws java.lang.Exception
newValue - the value to be set
java.lang.Exception - if there was a failure to set the attributevoid alterValue(java.lang.Object newValue)
newValue - the value to be setjava.lang.Object refresh()
ValueHistory getValueHistory()
java.lang.String getName()
java.lang.String getType()
java.lang.Class getTypeClass()
boolean isNumericType()
java.lang.String getDescription()
boolean isReadable()
boolean isWritable()
boolean isSupportedType()
void setSupportedType(boolean supportedType)
supportedType - int getValueSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||