Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.management.openmbean
Interface OpenMBeanAttributeInfo  view OpenMBeanAttributeInfo download OpenMBeanAttributeInfo.java

All Superinterfaces:
OpenMBeanParameterInfo
All Known Implementing Classes:
OpenMBeanAttributeInfoSupport

public interface OpenMBeanAttributeInfo
extends OpenMBeanParameterInfo

An open MBean attribute info implements this interface as well as extending MBeanAttributeInfo.

OpenMBeanAttributeInfoSupport is an example of such a class.

Version:
$Revision: 1.1.2.1 $

Method Summary
 boolean equals(java.lang.Object obj)
          Compares an object for equality with the implementing class.
 int hashCode()
          Generates a hashcode for the implementation.
 boolean isIs()
          Test whether an attribute is accessed through an isXXX getter.
 boolean isReadable()
          Test whether an attribute is readable.
 boolean isWritable()
          Test whether an attribute is writable.
 java.lang.String toString()
          A string representation of the open mbean parameter info.
 
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()
Test whether an attribute is readable.


isWritable

public boolean isWritable()
Test whether an attribute is writable.


isIs

public boolean isIs()
Test whether an attribute is accessed through an isXXX getter.


equals

public boolean equals(java.lang.Object obj)
Compares an object for equality with the implementing class.

The object is not null
The object implements the open mbean parameter info interface
The parameter names are equal
The open types are equal
The access properties are the same
The default, min, max and legal values are equal

Specified by:
equals in interface OpenMBeanParameterInfo

hashCode

public int hashCode()
Generates a hashcode for the implementation.

The sum of the hashCodes for the elements mentioned in the equals method

Specified by:
hashCode in interface OpenMBeanParameterInfo

toString

public java.lang.String toString()
A string representation of the open mbean parameter info.

It is made up of implementation class and the values mentioned in the equals method

Specified by:
toString in interface OpenMBeanParameterInfo