|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OpenMBeanParameterInfo
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 |
---|
String getDescription()
String getName()
OpenType getOpenType()
Object getDefaultValue()
Set getLegalValues()
Comparable getMinValue()
Comparable getMaxValue()
boolean hasDefaultValue()
boolean hasLegalValues()
boolean hasMinValue()
boolean hasMaxValue()
boolean isValue(Object obj)
obj
- the object to test
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
equals
in class Object
obj
- the object to test
int hashCode()
The sum of the hashCodes for the elements mentioned in the equals method
hashCode
in class Object
String toString()
It is made up of implementation class and the values mentioned in the equals method
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |