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) $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) MBeanParameterInfo
TheMBeanParameterInfo
object that corresponds to thisParameterInfo
instance.(package private) static final long
protected String
Fields 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 aMBeanParameterInfo
object that corresponds to the parameter described by this instance.getType()
The fully qualified Java class name of this parameter.void
setDescription
(String description) Override thedescription
property setter.void
Override thename
property setter.void
toString()
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
TheMBeanParameterInfo
object that corresponds to thisParameterInfo
instance. -
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 thedescription
property setter.- Overrides:
setDescription
in classFeatureInfo
- Parameters:
description
- The new description
-
setName
Override thename
property setter.- Overrides:
setName
in classFeatureInfo
- Parameters:
name
- The new name
-
getType
The fully qualified Java class name of this parameter. -
setType
-
createParameterInfo
Create and return aMBeanParameterInfo
object that corresponds to the parameter described by this instance. -
toString
Return a string representation of this parameter descriptor.
-