|
||||||||||
| 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
public class AttributeInfo
Internal configuration information for an Attribute
descriptor.
| Field Summary | |
|---|---|
protected java.lang.String |
defaultStringValue
|
protected java.lang.String |
displayName
|
protected java.lang.String |
getMethod
|
protected java.lang.reflect.Method |
getMethodObj
|
protected javax.management.modelmbean.ModelMBeanAttributeInfo |
info
The ModelMBeanAttributeInfo object that corresponds
to this AttributeInfo instance. |
protected boolean |
is
|
protected java.lang.String |
persist
|
protected boolean |
readable
|
protected java.lang.String |
setMethod
|
protected java.lang.reflect.Method |
setMethodObj
|
protected java.lang.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. |
java.lang.String |
getDefault()
Default value. |
java.lang.String |
getDisplayName()
The display name of this attribute. |
java.lang.String |
getGetMethod()
The name of the property getter method, if non-standard. |
java.lang.reflect.Method |
getGetMethodObj()
|
java.lang.String |
getPersist()
Persistence policy. |
java.lang.String |
getSetMethod()
The name of the property setter method, if non-standard. |
java.lang.reflect.Method |
getSetMethodObj()
|
java.lang.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(java.lang.String defaultStringValue)
|
void |
setDescription(java.lang.String description)
Override the description property setter. |
void |
setDisplayName(java.lang.String displayName)
|
void |
setGetMethod(java.lang.String getMethod)
|
void |
setGetMethodObj(java.lang.reflect.Method getMethodObj)
|
void |
setIs(boolean is)
|
void |
setName(java.lang.String name)
Override the name property setter. |
void |
setPersist(java.lang.String persist)
|
void |
setReadable(boolean readable)
|
void |
setSetMethod(java.lang.String setMethod)
|
void |
setSetMethodObj(java.lang.reflect.Method setMethodObj)
|
void |
setType(java.lang.String type)
|
void |
setWriteable(boolean writeable)
|
java.lang.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 java.lang.String displayName
protected java.lang.String getMethod
protected java.lang.String setMethod
protected transient java.lang.reflect.Method getMethodObj
protected transient java.lang.reflect.Method setMethodObj
protected boolean readable
protected boolean writeable
protected boolean is
protected java.lang.String type
protected java.lang.String persist
protected java.lang.String defaultStringValue
| Constructor Detail |
|---|
public AttributeInfo()
| Method Detail |
|---|
public void setDescription(java.lang.String description)
description property setter.
setDescription in class FeatureInfodescription - The new descriptionpublic void setName(java.lang.String name)
name property setter.
setName in class FeatureInfoname - The new namepublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getGetMethod()
public void setGetMethod(java.lang.String getMethod)
public java.lang.reflect.Method getGetMethodObj()
public void setGetMethodObj(java.lang.reflect.Method getMethodObj)
public java.lang.reflect.Method getSetMethodObj()
public void setSetMethodObj(java.lang.reflect.Method setMethodObj)
public boolean isIs()
public void setIs(boolean is)
public boolean isReadable()
public void setReadable(boolean readable)
public java.lang.String getSetMethod()
public void setSetMethod(java.lang.String setMethod)
public java.lang.String getType()
public void setType(java.lang.String type)
public boolean isWriteable()
public void setWriteable(boolean writeable)
public java.lang.String getPersist()
public void setPersist(java.lang.String persist)
public java.lang.String getDefault()
public void setDefault(java.lang.String defaultStringValue)
public javax.management.modelmbean.ModelMBeanAttributeInfo createAttributeInfo()
ModelMBeanAttributeInfo object that
corresponds to the attribute described by this instance.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||