Package org.apache.commons.modeler
Class ParameterInfo
- java.lang.Object
-
- org.apache.commons.modeler.FeatureInfo
-
- org.apache.commons.modeler.ParameterInfo
-
- All Implemented Interfaces:
Serializable
public class ParameterInfo extends FeatureInfo implements Serializable
Internal configuration information for a
Parameterdescriptor.- Version:
- $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringtype-
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
-
-
Constructor Summary
Constructors Constructor Description ParameterInfo()Standard zero-arguments constructor.ParameterInfo(String name, String type, String description)Special constructor for setting up parameters programatically.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MBeanParameterInfocreateParameterInfo()Create and return aMBeanParameterInfoobject that corresponds to the parameter described by this instance.StringgetType()The fully qualified Java class name of this parameter.voidsetDescription(String description)Override thedescriptionproperty setter.voidsetName(String name)Override thenameproperty setter.voidsetType(String type)StringtoString()Return a string representation of this parameter descriptor.-
Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
-
-
-
Field Detail
-
type
protected String type
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Override thedescriptionproperty setter.- Overrides:
setDescriptionin classFeatureInfo- Parameters:
description- The new description
-
setName
public void setName(String name)
Override thenameproperty setter.- Overrides:
setNamein classFeatureInfo- Parameters:
name- The new name
-
getType
public String getType()
The fully qualified Java class name of this parameter.
-
setType
public void setType(String type)
-
createParameterInfo
public MBeanParameterInfo createParameterInfo()
Create and return aMBeanParameterInfoobject that corresponds to the parameter described by this instance.
-
-