|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.Attribute
A representation of an MBean attribute. It is a pair,
a Name
and a Value
.
An Attribute is returned by a getter operation or passed to a a setter operation.
Constructor Summary | |
Attribute(java.lang.String name,
java.lang.Object value)
Contruct a new attribute given a name and value. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Compares two attributes for equality. |
java.lang.String |
getName()
Retrieves the name of the attribute. |
java.lang.Object |
getValue()
Retrieves the value of the attribute. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Attribute(java.lang.String name, java.lang.Object value)
name
- the name of the attribute.value
- the value of the attribute.Method Detail |
public java.lang.String getName()
public java.lang.Object getValue()
public boolean equals(java.lang.Object object)
public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |