org.apache.commons.modeler
Class ParameterInfo
- Serializable
public class ParameterInfo
implements Serializable
Internal configuration information for a Parameter
descriptor.
$Revision: 1.5 $ $Date: 2003/07/20 07:35:12 $(package private) MBeanParameterInfo | info - The
MBeanParameterInfo object that corresponds
to this ParameterInfo instance.
|
(package private) static long | serialVersionUID
|
protected String | type
|
ParameterInfo() - Standard zero-arguments constructor.
|
ParameterInfo(String name, String type, String description) - Special constructor for setting up parameters programatically.
|
MBeanParameterInfo | createParameterInfo() - Create and return a
MBeanParameterInfo 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 the
description property setter.
|
void | setName(String name) - Override the
name property setter.
|
void | setType(String type)
|
String | toString() - Return a string representation of this parameter descriptor.
|
info
(package private) MBeanParameterInfo info
The MBeanParameterInfo
object that corresponds
to this ParameterInfo
instance.
serialVersionUID
(package private) static final long serialVersionUID
type
protected String type
ParameterInfo
public ParameterInfo()
Standard zero-arguments constructor.
ParameterInfo
public ParameterInfo(String name,
String type,
String description)
Special constructor for setting up parameters programatically.
name
- Name of this parametertype
- Java class of this parameterdescription
- Description of this parameter
createParameterInfo
public MBeanParameterInfo createParameterInfo()
Create and return a MBeanParameterInfo
object that
corresponds to the parameter described by this instance.
getType
public String getType()
The fully qualified Java class name of this parameter.
setDescription
public void setDescription(String description)
Override the description
property setter.
- setDescription in interface FeatureInfo
description
- The new description
setName
public void setName(String name)
Override the name
property setter.
- setName in interface FeatureInfo
setType
public void setType(String type)
toString
public String toString()
Return a string representation of this parameter descriptor.
Copyright (c) 2001-2003 - Apache Software Foundation