org.apache.commons.modeler

Class ConstructorInfo

public class ConstructorInfo extends FeatureInfo implements Serializable

Internal configuration information for a Constructor descriptor.

Version: $Revision: 155428 $ $Date: 2005-02-26 08:12:25 -0500 (Sat, 26 Feb 2005) $

Author: Craig R. McClanahan

Field Summary
protected StringdisplayName
ModelMBeanConstructorInfoinfo
The ModelMBeanConstructorInfo object that corresponds to this ConstructorInfo instance.
protected ParameterInfo[]parameters
static longserialVersionUID
Method Summary
voidaddParameter(ParameterInfo parameter)
Add a new parameter to the set of parameters for this constructor.
ModelMBeanConstructorInfocreateConstructorInfo()
Create and return a ModelMBeanConstructorInfo object that corresponds to the attribute described by this instance.
StringgetDisplayName()
The display name of this attribute.
ParameterInfo[]getSignature()
The set of parameters for this constructor.
voidsetDescription(String description)
Override the description property setter.
voidsetDisplayName(String displayName)
voidsetName(String name)
Override the name property setter.
StringtoString()
Return a string representation of this constructor descriptor.

Field Detail

displayName

protected String displayName

info

transient ModelMBeanConstructorInfo info
The ModelMBeanConstructorInfo object that corresponds to this ConstructorInfo instance.

parameters

protected ParameterInfo[] parameters

serialVersionUID

static final long serialVersionUID

Method Detail

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 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.

Parameters: description The new description

setDisplayName

public void setDisplayName(String displayName)

setName

public void setName(String name)
Override the name property setter.

Parameters: name The new name

toString

public String toString()
Return a string representation of this constructor descriptor.
Copyright (c) 2001-2003 - Apache Software Foundation