Package org.apache.commons.modeler
Class ConstructorInfo
- java.lang.Object
-
- org.apache.commons.modeler.FeatureInfo
-
- org.apache.commons.modeler.ConstructorInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ConstructorInfo extends FeatureInfo implements java.io.Serializable
Internal configuration information for a
Constructor
descriptor.- Version:
- $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
displayName
(package private) javax.management.modelmbean.ModelMBeanConstructorInfo
info
TheModelMBeanConstructorInfo
object that corresponds to thisConstructorInfo
instance.protected ParameterInfo[]
parameters
(package private) static long
serialVersionUID
-
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 void
addParameter(ParameterInfo parameter)
Add a new parameter to the set of parameters for this constructor.javax.management.modelmbean.ModelMBeanConstructorInfo
createConstructorInfo()
Create and return aModelMBeanConstructorInfo
object that corresponds to the attribute described by this instance.java.lang.String
getDisplayName()
The display name of this attribute.ParameterInfo[]
getSignature()
The set of parameters for this constructor.void
setDescription(java.lang.String description)
Override thedescription
property setter.void
setDisplayName(java.lang.String displayName)
void
setName(java.lang.String name)
Override thename
property setter.java.lang.String
toString()
Return a string representation of this constructor descriptor.-
Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
info
transient javax.management.modelmbean.ModelMBeanConstructorInfo info
TheModelMBeanConstructorInfo
object that corresponds to thisConstructorInfo
instance.
-
displayName
protected java.lang.String displayName
-
parameters
protected ParameterInfo[] parameters
-
-
Method Detail
-
setDescription
public void setDescription(java.lang.String description)
Override thedescription
property setter.- Overrides:
setDescription
in classFeatureInfo
- Parameters:
description
- The new description
-
setName
public void setName(java.lang.String name)
Override thename
property setter.- Overrides:
setName
in classFeatureInfo
- Parameters:
name
- The new name
-
getDisplayName
public java.lang.String getDisplayName()
The display name of this attribute.
-
setDisplayName
public void setDisplayName(java.lang.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 javax.management.modelmbean.ModelMBeanConstructorInfo createConstructorInfo()
Create and return aModelMBeanConstructorInfo
object that corresponds to the attribute described by this instance.
-
toString
public java.lang.String toString()
Return a string representation of this constructor descriptor.- Overrides:
toString
in classjava.lang.Object
-
-