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) ModelMBeanConstructorInfo
TheModelMBeanConstructorInfo
object that corresponds to thisConstructorInfo
instance.protected ParameterInfo[]
(package private) static final long
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(ParameterInfo parameter) Add a new parameter to the set of parameters for this constructor.Create and return aModelMBeanConstructorInfo
object that corresponds to the attribute described by this instance.The display name of this attribute.The set of parameters for this constructor.void
setDescription
(String description) Override thedescription
property setter.void
setDisplayName
(String displayName) void
Override thename
property 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
TheModelMBeanConstructorInfo
object that corresponds to thisConstructorInfo
instance. -
displayName
-
parameters
-
-
Constructor Details
-
ConstructorInfo
public ConstructorInfo()
-
-
Method Details
-
setDescription
Override thedescription
property setter.- Overrides:
setDescription
in classFeatureInfo
- Parameters:
description
- The new description
-
setName
Override thename
property setter.- Overrides:
setName
in 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 aModelMBeanConstructorInfo
object that corresponds to the attribute described by this instance. -
toString
Return a string representation of this constructor descriptor.
-