org.apache.commons.modeler
Class ConstructorInfo
- Serializable
public class ConstructorInfo
implements Serializable
Internal configuration information for a Constructor
descriptor.
Version:
- Craig R. McClanahan
void | addParameter(ParameterInfo parameter)- Add a new parameter to the set of parameters for this constructor.
|
ModelMBeanConstructorInfo | createConstructorInfo()- Create and return a
ModelMBeanConstructorInfo object that
corresponds to the attribute described by this instance.
|
String | getDisplayName()- The display name of this attribute.
|
ParameterInfo[] | getSignature()- The set of parameters for this constructor.
|
void | setDescription(String description)- Override the
description property setter.
|
void | setDisplayName(String displayName)
|
void | setName(String name)- Override the
name property setter.
|
String | toString()- Return a string representation of this constructor descriptor.
|
displayName
protected String displayName
info
(package private) ModelMBeanConstructorInfo info
The ModelMBeanConstructorInfo object that corresponds
to this ConstructorInfo instance.
serialVersionUID
(package private) static final long serialVersionUID
- -5735336213417238238L
addParameter
public void addParameter(ParameterInfo parameter)
Add a new parameter to the set of parameters for this constructor.
parameter - The new parameter descriptor
createConstructorInfo
public ModelMBeanConstructorInfo createConstructorInfo()
Create and return a ModelMBeanConstructorInfo object that
corresponds to the attribute described by this instance.
getDisplayName
public String getDisplayName()
The display name of this attribute.
getSignature
public ParameterInfo[] getSignature()
The set of parameters for this constructor.
setDescription
public void setDescription(String description)
Override the description property setter.
- setDescription in interface FeatureInfo
description - The new description
setDisplayName
public void setDisplayName(String displayName)
setName
public void setName(String name)
Override the name property setter.
- setName in interface FeatureInfo
name - The new name
toString
public String toString()
Return a string representation of this constructor descriptor.
Copyright (c) 2001-2003 - Apache Software Foundation