Save This Page
Home » commons-modeler-2.0.1-src » org.apache.commons » modeler » [javadoc | source]
org.apache.commons.modeler
public class: AttributeInfo [javadoc | source]
java.lang.Object
   org.apache.commons.modeler.FeatureInfo
      org.apache.commons.modeler.AttributeInfo

All Implemented Interfaces:
    Serializable

Internal configuration information for an Attribute descriptor.

Field Summary
static final  long serialVersionUID     
protected transient  ModelMBeanAttributeInfo info    The ModelMBeanAttributeInfo object that corresponds to this AttributeInfo instance. 
protected  String displayName     
protected  String getMethod     
protected  String setMethod     
protected transient  Method getMethodObj     
protected transient  Method setMethodObj     
protected  boolean readable     
protected  boolean writeable     
protected  boolean is     
protected  String type     
protected  String persist     
protected  String defaultStringValue     
Fields inherited from org.apache.commons.modeler.FeatureInfo:
serialVersionUID,  description,  fields,  name
Method from org.apache.commons.modeler.AttributeInfo Summary:
createAttributeInfo,   getDefault,   getDisplayName,   getGetMethod,   getGetMethodObj,   getPersist,   getSetMethod,   getSetMethodObj,   getType,   isIs,   isReadable,   isWriteable,   setDefault,   setDescription,   setDisplayName,   setGetMethod,   setGetMethodObj,   setIs,   setName,   setPersist,   setReadable,   setSetMethod,   setSetMethodObj,   setType,   setWriteable,   toString
Methods from org.apache.commons.modeler.FeatureInfo:
addField,   addFields,   getDescription,   getFields,   getName,   setDescription,   setName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.modeler.AttributeInfo Detail:
 public ModelMBeanAttributeInfo createAttributeInfo() 
    Create and return a ModelMBeanAttributeInfo object that corresponds to the attribute described by this instance.
 public String getDefault() 
    Default value. If set, it can provide info to the user and it can be used by persistence mechanism to generate a more compact representation ( a value may not be saved if it's default )
 public String getDisplayName() 
    The display name of this attribute.
 public String getGetMethod() 
    The name of the property getter method, if non-standard.
 public Method getGetMethodObj() 
 public String getPersist() 
    Persistence policy. All persistent attributes should have this attribute set. Valid values: ???
 public String getSetMethod() 
    The name of the property setter method, if non-standard.
 public Method getSetMethodObj() 
 public String getType() 
    The fully qualified Java class name of this attribute.
 public boolean isIs() 
    Is this a boolean attribute with an "is" getter?
 public boolean isReadable() 
    Is this attribute readable by management applications?
 public boolean isWriteable() 
    Is this attribute writeable by management applications?
 public  void setDefault(String defaultStringValue) 
 public  void setDescription(String description) 
    Override the description property setter.
 public  void setDisplayName(String displayName) 
 public  void setGetMethod(String getMethod) 
 public  void setGetMethodObj(Method getMethodObj) 
 public  void setIs(boolean is) 
 public  void setName(String name) 
    Override the name property setter.
 public  void setPersist(String persist) 
 public  void setReadable(boolean readable) 
 public  void setSetMethod(String setMethod) 
 public  void setSetMethodObj(Method setMethodObj) 
 public  void setType(String type) 
 public  void setWriteable(boolean writeable) 
 public String toString() 
    Return a string representation of this attribute descriptor.