org.apache.commons.modeler

Class ParameterInfo

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

Field Summary
protected Stringtype
Constructor Summary
ParameterInfo()
Standard zero-arguments constructor.
ParameterInfo(String name, String type, String description)
Special constructor for setting up parameters programatically.
Method Summary
MBeanParameterInfocreateParameterInfo()
Create and return a MBeanParameterInfo object that corresponds to the parameter described by this instance.
StringgetType()
The fully qualified Java class name of this parameter.
voidsetDescription(String description)
Override the description property setter.
voidsetName(String name)
Override the name property setter.
voidsetType(String type)
StringtoString()
Return a string representation of this parameter descriptor.

Field Detail

type

protected String type

Constructor Detail

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 parameter type Java class of this parameter description Description of this parameter

Method Detail

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.

Parameters: description The new description

setName

public void setName(String name)
Override the name property setter.

Parameters: name The new name

setType

public void setType(String type)

toString

public String toString()
Return a string representation of this parameter descriptor.
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.