Package org.apache.commons.modeler
Class ConstructorInfo
java.lang.Object
org.apache.commons.modeler.FeatureInfo
org.apache.commons.modeler.ConstructorInfo
- All Implemented Interfaces:
Serializable
Internal configuration information for a Constructor
descriptor.
- Version:
- $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String(package private) ModelMBeanConstructorInfoTheModelMBeanConstructorInfoobject that corresponds to thisConstructorInfoinstance.protected ParameterInfo[](package private) static final longFields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(ParameterInfo parameter) Add a new parameter to the set of parameters for this constructor.Create and return aModelMBeanConstructorInfoobject that corresponds to the attribute described by this instance.The display name of this attribute.The set of parameters for this constructor.voidsetDescription(String description) Override thedescriptionproperty setter.voidsetDisplayName(String displayName) voidOverride thenameproperty setter.toString()Return a string representation of this constructor descriptor.Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
info
TheModelMBeanConstructorInfoobject that corresponds to thisConstructorInfoinstance. -
displayName
-
parameters
-
-
Constructor Details
-
ConstructorInfo
public ConstructorInfo()
-
-
Method Details
-
setDescription
Override thedescriptionproperty setter.- Overrides:
setDescriptionin classFeatureInfo- Parameters:
description- The new description
-
setName
Override thenameproperty setter.- Overrides:
setNamein classFeatureInfo- Parameters:
name- The new name
-
getDisplayName
The display name of this attribute. -
setDisplayName
-
getSignature
The set of parameters for this constructor. -
addParameter
Add a new parameter to the set of parameters for this constructor.- Parameters:
parameter- The new parameter descriptor
-
createConstructorInfo
Create and return aModelMBeanConstructorInfoobject that corresponds to the attribute described by this instance. -
toString
Return a string representation of this constructor descriptor.
-