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) $
- See Also:
- Serialized Form
Method Summary |
javax.management.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. |
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.
- Parameters:
name
- Name of this parametertype
- Java class of this parameterdescription
- Description of this parameter
setDescription
public void setDescription(String description)
- Override the
description
property setter.
- Overrides:
setDescription
in class FeatureInfo
- Parameters:
description
- The new description
setName
public void setName(String name)
- Override the
name
property setter.
- Overrides:
setName
in class FeatureInfo
- 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 javax.management.MBeanParameterInfo createParameterInfo()
- Create and return a
MBeanParameterInfo
object that
corresponds to the parameter described by this instance.
toString
public String toString()
- Return a string representation of this parameter descriptor.
- Overrides:
toString
in class Object
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.