javax.management.openmbean
Interface OpenMBeanAttributeInfo

All Superinterfaces:
OpenMBeanParameterInfo
All Known Implementing Classes:
OpenMBeanAttributeInfoSupport

public interface OpenMBeanAttributeInfo
extends OpenMBeanParameterInfo

An OpenMBeanAttributeInfo represents an attribute of an OpenMBean

See Also:
OpenMBeanAttributeInfoSupport

Method Summary
 boolean equals(java.lang.Object obj)
          Compares the give Object for equality with this instance.
 int hashCode()
          Computes the hashCode of this OpenMBeanAttributeInfo
 boolean isIs()
          Returns true if the attribute described is accessed through a isXXX getter
 boolean isReadable()
          Returns true if the attribute is readable, false in not.
 boolean isWritable()
          Returns true if the attribute is writable, false in not.
 java.lang.String toString()
          Returns a string representation of this OpenMBeanAttributeInfo instance.
 
Methods inherited from interface javax.management.openmbean.OpenMBeanParameterInfo
getDefaultValue, getDescription, getLegalValues, getMaxValue, getMinValue, getName, getOpenType, hasDefaultValue, hasLegalValues, hasMaxValue, hasMinValue, isValue
 

Method Detail

isReadable

public boolean isReadable()
Returns true if the attribute is readable, false in not.

Returns:
boolean true of readable

isWritable

public boolean isWritable()
Returns true if the attribute is writable, false in not.

Returns:
boolean true of writable

isIs

public boolean isIs()
Returns true if the attribute described is accessed through a isXXX getter

Note: applies only to boolean and Boolean values

Returns:
boolean true if accessed through a isXXX

equals

public boolean equals(java.lang.Object obj)
Compares the give Object for equality with this instance.

The operation returns true if and only if the following statements are all true:

Specified by:
equals in interface OpenMBeanParameterInfo
Overrides:
equals in class java.lang.Object
Returns:
boolean true if the above conditions are met

hashCode

public int hashCode()
Computes the hashCode of this OpenMBeanAttributeInfo

Specified by:
hashCode in interface OpenMBeanParameterInfo
Overrides:
hashCode in class java.lang.Object
Returns:
int The hashCode value

toString

public java.lang.String toString()
Returns a string representation of this OpenMBeanAttributeInfo instance.

Specified by:
toString in interface OpenMBeanParameterInfo
Overrides:
toString in class java.lang.Object
Returns:
String The representation as string