org.apache.commons.modeler

Class ConstructorInfo

public class ConstructorInfo extends FeatureInfo implements 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

Field Summary
protected StringdisplayName
protected ParameterInfo[]parameters
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

parameters

protected ParameterInfo[] parameters

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 © 2002-2009 Apache Software Foundation. All Rights Reserved.