|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.modeler.FeatureInfo | +--org.apache.commons.modeler.ParameterInfo
Internal configuration information for a Parameter
descriptor.
Field Summary | |
(package private) MBeanParameterInfo |
info
The MBeanParameterInfo object that corresponds
to this ParameterInfo instance. |
(package private) static long |
serialVersionUID
|
protected java.lang.String |
type
|
Fields inherited from class org.apache.commons.modeler.FeatureInfo |
description, fields, name |
Constructor Summary | |
ParameterInfo()
Standard zero-arguments constructor. |
|
ParameterInfo(java.lang.String name,
java.lang.String type,
java.lang.String description)
Special constructor for setting up parameters programatically. |
Method Summary | |
MBeanParameterInfo |
createParameterInfo()
Create and return a MBeanParameterInfo object that
corresponds to the parameter described by this instance. |
java.lang.String |
getType()
The fully qualified Java class name of this parameter. |
void |
setDescription(java.lang.String description)
Override the description property setter. |
void |
setName(java.lang.String name)
Override the name property setter. |
void |
setType(java.lang.String type)
|
java.lang.String |
toString()
Return a string representation of this parameter 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 |
static final long serialVersionUID
transient MBeanParameterInfo info
MBeanParameterInfo
object that corresponds
to this ParameterInfo
instance.
protected java.lang.String type
Constructor Detail |
public ParameterInfo()
public ParameterInfo(java.lang.String name, java.lang.String type, java.lang.String description)
name
- Name of this parametertype
- Java class of this parameterdescription
- Description of this parameterMethod Detail |
public void setDescription(java.lang.String description)
description
property setter.
setDescription
in class FeatureInfo
description
- The new descriptionpublic void setName(java.lang.String name)
name
property setter.
setName
in class FeatureInfo
name
- The new namepublic java.lang.String getType()
public void setType(java.lang.String type)
public MBeanParameterInfo createParameterInfo()
MBeanParameterInfo
object that
corresponds to the parameter 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 |