public class ConstructorInfo extends FeatureInfo implements java.io.Serializable
Internal configuration information for a Constructor
descriptor.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
displayName |
(package private) javax.management.modelmbean.ModelMBeanConstructorInfo |
info
The
ModelMBeanConstructorInfo object that corresponds
to this ConstructorInfo instance. |
protected ParameterInfo[] |
parameters |
(package private) static long |
serialVersionUID |
description, fields, name| Constructor and Description |
|---|
ConstructorInfo() |
| Modifier and Type | Method and 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 a
ModelMBeanConstructorInfo 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 the
description property setter. |
void |
setDisplayName(java.lang.String displayName) |
void |
setName(java.lang.String name)
Override the
name property setter. |
java.lang.String |
toString()
Return a string representation of this constructor descriptor.
|
addField, addFields, getDescription, getFields, getNamestatic final long serialVersionUID
transient javax.management.modelmbean.ModelMBeanConstructorInfo info
ModelMBeanConstructorInfo object that corresponds
to this ConstructorInfo instance.protected java.lang.String displayName
protected ParameterInfo[] parameters
public void setDescription(java.lang.String description)
description property setter.setDescription in class FeatureInfodescription - The new descriptionpublic void setName(java.lang.String name)
name property setter.setName in class FeatureInfoname - The new namepublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public ParameterInfo[] getSignature()
public void addParameter(ParameterInfo parameter)
parameter - The new parameter descriptorpublic javax.management.modelmbean.ModelMBeanConstructorInfo createConstructorInfo()
ModelMBeanConstructorInfo object that
corresponds to the attribute described by this instance.public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2001-2003 - Apache Software Foundation