org.apache.commons.modeler
public class AttributeInfo extends FeatureInfo implements Serializable
Internal configuration information for an Attribute
descriptor.
Version: $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
Field Summary | |
---|---|
protected String | defaultStringValue |
protected String | displayName |
protected String | getMethod |
protected Method | getMethodObj |
protected ModelMBeanAttributeInfo | info
The ModelMBeanAttributeInfo object that corresponds
to this AttributeInfo instance. |
protected boolean | is |
protected String | persist |
protected boolean | readable |
protected String | setMethod |
protected Method | setMethodObj |
protected String | type |
protected boolean | writeable |
Method Summary | |
---|---|
ModelMBeanAttributeInfo | createAttributeInfo()
Create and return a ModelMBeanAttributeInfo object that
corresponds to the attribute described by this instance. |
String | getDefault() Default value. |
String | getDisplayName()
The display name of this attribute. |
String | getGetMethod()
The name of the property getter method, if non-standard. |
Method | getGetMethodObj() |
String | getPersist() Persistence policy.
|
String | getSetMethod()
The name of the property setter method, if non-standard. |
Method | getSetMethodObj() |
String | getType()
The fully qualified Java class name of this attribute. |
boolean | isIs()
Is this a boolean attribute with an "is" getter? |
boolean | isReadable()
Is this attribute readable by management applications? |
boolean | isWriteable()
Is this attribute writeable by management applications? |
void | setDefault(String defaultStringValue) |
void | setDescription(String description)
Override the description property setter.
|
void | setDisplayName(String displayName) |
void | setGetMethod(String getMethod) |
void | setGetMethodObj(Method getMethodObj) |
void | setIs(boolean is) |
void | setName(String name)
Override the name property setter.
|
void | setPersist(String persist) |
void | setReadable(boolean readable) |
void | setSetMethod(String setMethod) |
void | setSetMethodObj(Method setMethodObj) |
void | setType(String type) |
void | setWriteable(boolean writeable) |
String | toString()
Return a string representation of this attribute descriptor. |
ModelMBeanAttributeInfo
object that corresponds
to this AttributeInfo
instance.ModelMBeanAttributeInfo
object that
corresponds to the attribute described by this instance.description
property setter.
Parameters: description The new description
name
property setter.
Parameters: name The new name