Package org.apache.commons.modeler
Class ConstructorInfo
- java.lang.Object
-
- org.apache.commons.modeler.FeatureInfo
-
- org.apache.commons.modeler.ConstructorInfo
-
- All Implemented Interfaces:
Serializable
public class ConstructorInfo extends FeatureInfo implements Serializable
Internal configuration information for a
Constructordescriptor.- 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 StringdisplayNameprotected ParameterInfo[]parameters-
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
-
-
Constructor Summary
Constructors Constructor Description ConstructorInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(ParameterInfo parameter)Add a new parameter to the set of parameters for this constructor.ModelMBeanConstructorInfocreateConstructorInfo()Create and return aModelMBeanConstructorInfoobject that corresponds to the attribute described by this instance.StringgetDisplayName()The display name of this attribute.ParameterInfo[]getSignature()The set of parameters for this constructor.voidsetDescription(String description)Override thedescriptionproperty setter.voidsetDisplayName(String displayName)voidsetName(String name)Override thenameproperty setter.StringtoString()Return a string representation of this constructor descriptor.-
Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
-
-
-
Field Detail
-
displayName
protected String displayName
-
parameters
protected ParameterInfo[] parameters
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Override thedescriptionproperty setter.- Overrides:
setDescriptionin classFeatureInfo- Parameters:
description- The new description
-
setName
public void setName(String name)
Override thenameproperty setter.- Overrides:
setNamein classFeatureInfo- Parameters:
name- The new name
-
getDisplayName
public String getDisplayName()
The display name of this attribute.
-
setDisplayName
public void setDisplayName(String displayName)
-
getSignature
public ParameterInfo[] getSignature()
The set of parameters for this constructor.
-
addParameter
public void addParameter(ParameterInfo parameter)
Add a new parameter to the set of parameters for this constructor.- Parameters:
parameter- The new parameter descriptor
-
createConstructorInfo
public ModelMBeanConstructorInfo createConstructorInfo()
Create and return aModelMBeanConstructorInfoobject that corresponds to the attribute described by this instance.
-
-