|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OpenMBeanParameterInfo
Describes the parameters of a constructor or operation associated
with an open management bean. This interface includes those methods
specified by MBeanParameterInfo, so
implementations should extend this class.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this parameter with the supplied object. |
Object |
getDefaultValue()
Returns the default value of this parameter, or null
if there is no default value. |
String |
getDescription()
Returns a description of this parameter. |
Set<?> |
getLegalValues()
Returns a Set enumerating the legal values
of this parameter, or null if no such limited
set exists for this parameter. |
Comparable<?> |
getMaxValue()
Returns the maximum value of this parameter, or null
if there is no maximum. |
Comparable<?> |
getMinValue()
Returns the minimum value of this parameter, or null
if there is no minimum. |
String |
getName()
Returns the name of this parameter. |
OpenType<?> |
getOpenType()
Returns the open type instance which represents the type of this parameter. |
boolean |
hasDefaultValue()
Returns true if this parameter has a default value. |
int |
hashCode()
Returns the hashcode of the parameter information as the sum of the hashcodes of the name, open type, default value, maximum value, minimum value and the set of legal values. |
boolean |
hasLegalValues()
Returns true if there is a set of legal values for this parameter. |
boolean |
hasMaxValue()
Returns true if there is a maximum value for this parameter. |
boolean |
hasMinValue()
Returns true if there is a minimum value for this parameter. |
boolean |
isValue(Object obj)
Returns true if the specified object is a valid value for this parameter. |
String |
toString()
Returns a textual representation of this instance. |
| Method Detail |
|---|
boolean equals(Object obj)
OpenMBeanParameterInfo
with an equal name and open type and the same default, minimum,
maximum and legal values.
equals in class Objectobj - the object to compare.
OpenMBeanParameterInfo
instance,
name.equals(object.getName()),
openType.equals(object.getOpenType()),
defaultValue.equals(object.getDefaultValue()),
minValue.equals(object.getMinValue()),
maxValue.equals(object.getMaxValue()),
and legalValues.equals(object.getLegalValues()).Object.hashCode()Object getDefaultValue()
null
if there is no default value.
null
if there is no default.String getDescription()
Set<?> getLegalValues()
Set enumerating the legal values
of this parameter, or null if no such limited
set exists for this parameter.
null if no such
set exists.Comparable<?> getMaxValue()
null
if there is no maximum.
null if none exists.Comparable<?> getMinValue()
null
if there is no minimum.
null if none exists.String getName()
OpenType<?> getOpenType()
boolean hasDefaultValue()
int hashCode()
hashCode in class ObjectObject.equals(Object),
System.identityHashCode(Object)boolean hasLegalValues()
boolean hasMaxValue()
boolean hasMinValue()
boolean isValue(Object obj)
obj - the object to test.
obj is a valid value for this
parameter.String toString()
javax.management.openmbean.OpenMBeanParameterInfo)
along with the name, open type, default, minimum, maximum
and legal values of the parameter.
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||