com.sun.jaw.reference.common
Interface MBeanProperty

All Known Subinterfaces:
MBeanIndexedProperty

public abstract interface MBeanProperty
extends java.io.Serializable

A MBeanProperty describes one property that a m-bean exports via a pair of accessor methods.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 java.lang.String getName()
          Gets the name of the property.
 java.lang.Class getType()
          Gets the type of the property.
 boolean isReadable()
          Whether the value of the property can be read.
 boolean isWritable()
          Whether new values can be written to the property.
 

Method Detail

getName

public java.lang.String getName()
Gets the name of the property.
Returns:
The property name.

getType

public java.lang.Class getType()
Gets the type of the property.

Primitive property types (int, long etc.) are converted to their corresponding native types (java.lang.Integer, java.lang.Long etc.).

Returns:
The Java type information for the property.The result may be "null" if this is an indexed property that does not support non-indexed access.

isReadable

public boolean isReadable()
Whether the value of the property can be read.
Returns:
True if the property can be read, false otherwise.

isWritable

public boolean isWritable()
Whether new values can be written to the property.
Returns:
True if the property can be written, false otherwise.