Package org.apache.commons.modeler
Class ParameterInfo
java.lang.Object
org.apache.commons.modeler.FeatureInfo
org.apache.commons.modeler.ParameterInfo
- All Implemented Interfaces:
Serializable
Internal configuration information for a Parameter
descriptor.
- Version:
- $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) MBeanParameterInfoTheMBeanParameterInfoobject that corresponds to thisParameterInfoinstance.(package private) static final longprotected StringFields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name -
Constructor Summary
ConstructorsConstructorDescriptionStandard zero-arguments constructor.ParameterInfo(String name, String type, String description) Special constructor for setting up parameters programatically. -
Method Summary
Modifier and TypeMethodDescriptionCreate and return aMBeanParameterInfoobject that corresponds to the parameter described by this instance.getType()The fully qualified Java class name of this parameter.voidsetDescription(String description) Override thedescriptionproperty setter.voidOverride thenameproperty setter.voidtoString()Return a string representation of this parameter descriptor.Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
info
TheMBeanParameterInfoobject that corresponds to thisParameterInfoinstance. -
type
-
-
Constructor Details
-
ParameterInfo
public ParameterInfo()Standard zero-arguments constructor. -
ParameterInfo
Special constructor for setting up parameters programatically.- Parameters:
name- Name of this parametertype- Java class of this parameterdescription- Description of this parameter
-
-
Method Details
-
setDescription
Override thedescriptionproperty setter.- Overrides:
setDescriptionin classFeatureInfo- Parameters:
description- The new description
-
setName
Override thenameproperty setter.- Overrides:
setNamein classFeatureInfo- Parameters:
name- The new name
-
getType
The fully qualified Java class name of this parameter. -
setType
-
createParameterInfo
Create and return aMBeanParameterInfoobject that corresponds to the parameter described by this instance. -
toString
Return a string representation of this parameter descriptor.
-