|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.modeler.FeatureInfo
org.apache.commons.modeler.AttributeInfo
Internal configuration information for an Attribute
descriptor.
Field Summary | |
protected String |
defaultStringValue
|
protected String |
displayName
|
protected String |
getMethod
|
protected Method |
getMethodObj
|
protected javax.management.modelmbean.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
|
Fields inherited from class org.apache.commons.modeler.FeatureInfo |
description, fields, name |
Constructor Summary | |
AttributeInfo()
|
Method Summary | |
javax.management.modelmbean.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. |
Methods inherited from class org.apache.commons.modeler.FeatureInfo |
addField, addFields, getDescription, getFields, getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected transient javax.management.modelmbean.ModelMBeanAttributeInfo info
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
Constructor Detail |
public AttributeInfo()
Method Detail |
public void setDescription(String description)
description
property setter.
setDescription
in class FeatureInfo
description
- The new descriptionpublic void setName(String name)
name
property setter.
setName
in class FeatureInfo
name
- The new namepublic String getDisplayName()
public void setDisplayName(String displayName)
public String getGetMethod()
public void setGetMethod(String getMethod)
public Method getGetMethodObj()
public void setGetMethodObj(Method getMethodObj)
public Method getSetMethodObj()
public void setSetMethodObj(Method setMethodObj)
public boolean isIs()
public void setIs(boolean is)
public boolean isReadable()
public void setReadable(boolean readable)
public String getSetMethod()
public void setSetMethod(String setMethod)
public String getType()
public void setType(String type)
public boolean isWriteable()
public void setWriteable(boolean writeable)
public String getPersist()
public void setPersist(String persist)
public String getDefault()
public void setDefault(String defaultStringValue)
public javax.management.modelmbean.ModelMBeanAttributeInfo createAttributeInfo()
ModelMBeanAttributeInfo
object that
corresponds to the attribute described by this instance.
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |