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
Parameter
descriptor.- 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 String
type
-
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 MBeanParameterInfo
createParameterInfo()
Create and return aMBeanParameterInfo
object that corresponds to the parameter described by this instance.String
getType()
The fully qualified Java class name of this parameter.void
setDescription(String description)
Override thedescription
property setter.void
setName(String name)
Override thename
property setter.void
setType(String type)
String
toString()
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 thedescription
property setter.- Overrides:
setDescription
in classFeatureInfo
- Parameters:
description
- The new description
-
setName
public void setName(String name)
Override thename
property setter.- Overrides:
setName
in 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 aMBeanParameterInfo
object that corresponds to the parameter described by this instance.
-
-