com.sun.jaw.reference.common
Interface MBeanIndexedProperty


public abstract interface MBeanIndexedProperty
extends MBeanProperty

An MBeanIndexedProperty describes a property that acts like an array and has an indexed read and/or indexed write method to access specific elements of the array.

An indexed property may also provide simple non-indexed read and write methods. If these are present, they read and write arrays of the type returned by the indexed read method.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 java.lang.Class getIndexedType()
          Gets the type of the indexed property.
 boolean isIndexedReadable()
          Whether the value of the indexed property can be read.
 boolean isIndexedWritable()
          Whether new values can be written to the indexed property.
 
Methods inherited from interface com.sun.jaw.reference.common.MBeanProperty
getName, getType, isReadable, isWritable
 

Method Detail

getIndexedType

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

Primitive indexed 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 indexed property.

isIndexedReadable

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

isIndexedWritable

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