org.apache.commons.modeler
public class AttributeInfo extends FeatureInfo implements Serializable
Internal configuration information for an Attribute
descriptor.
Version: $Revision: 155428 $ $Date: 2005-02-26 08:12:25 -0500 (Sat, 26 Feb 2005) $
| 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 |
| static long | serialVersionUID |
| 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 | getMethodName(String name, boolean getter, boolean is)
Create and return the name of a default property getter or setter
method, according to the specified values.
|
| 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.Parameters: name Name of the property itself getter Do we want a get method (versus a set method)? is If returning a getter, do we want the "is" form?
description property setter.
Parameters: description The new description
name property setter.
Parameters: name The new name