org.apache.commons.modeler
Class ConstructorInfo
java.lang.Object
|
+--org.apache.commons.modeler.FeatureInfo
|
+--org.apache.commons.modeler.ConstructorInfo
- All Implemented Interfaces:
- Serializable
- 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) $
- See Also:
- Serialized Form
displayName
protected String displayName
parameters
protected ParameterInfo[] parameters
ConstructorInfo
public ConstructorInfo()
setDescription
public void setDescription(String description)
- Override the
description
property setter.
- Overrides:
setDescription
in class FeatureInfo
- Parameters:
description
- The new description
setName
public void setName(String name)
- Override the
name
property setter.
- Overrides:
setName
in class FeatureInfo
- Parameters:
name
- The new name
getDisplayName
public String getDisplayName()
- The display name of this attribute.
setDisplayName
public void setDisplayName(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 a
ModelMBeanConstructorInfo
object that
corresponds to the attribute described by this instance.
toString
public String toString()
- Return a string representation of this constructor descriptor.
- Overrides:
toString
in class Object
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.