|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An open MBean parameter info implements this interface as well as extending MBeanParameterInfo.
OpenMBeanParameterInfoSupport
is an example of such a class.
Method Summary | |
boolean |
equals(Object obj)
Compares an object for equality with the implementing class. |
Object |
getDefaultValue()
Retrieve the default value for this parameter or null if there is no default |
String |
getDescription()
Retrieve a human readable description of the open MBean parameter the implementation of this interface describes. |
Set |
getLegalValues()
Retrieve the legal values values for this parameter or null if this is not specified |
Comparable |
getMaxValue()
Retrieve the maximum values values for this parameter or null if this is not specified |
Comparable |
getMinValue()
Retrieve the minimum values values for this parameter or null if this is not specified |
String |
getName()
Retrieve the name of the parameter described. |
OpenType |
getOpenType()
Retrieve the open type for this parameter |
boolean |
hasDefaultValue()
Discover wether this parameter has a default value specified |
int |
hashCode()
Generates a hashcode for the implementation. |
boolean |
hasLegalValues()
Discover wether this parameter has legal values specified |
boolean |
hasMaxValue()
Discover wether this parameter has a maximum value specified |
boolean |
hasMinValue()
Discover wether this parameter has a minimum value specified |
boolean |
isValue(Object obj)
Tests whether an object is acceptable as a paramter value |
String |
toString()
A string representation of the open mbean parameter info. |
Method Detail |
public String getDescription()
public String getName()
public OpenType getOpenType()
public Object getDefaultValue()
public Set getLegalValues()
public Comparable getMinValue()
public Comparable getMaxValue()
public boolean hasDefaultValue()
public boolean hasLegalValues()
public boolean hasMinValue()
public boolean hasMaxValue()
public boolean isValue(Object obj)
obj
- the object to test
public boolean equals(Object obj)
The object is not null
The object implements the open mbean attribute info interface
The parameter names are equal
The open types are equal
The default, min, max and legal values are equal
obj
- the object to test
public int hashCode()
The sum of the hashCodes for the elements mentioned in the equals method
public String toString()
It is made up of implementation class and the values mentioned in the equals method
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |