org.apache.commons.modeler
Class ConstructorInfo

java.lang.Object
  |
  +--org.apache.commons.modeler.FeatureInfo
        |
        +--org.apache.commons.modeler.ConstructorInfo
All Implemented Interfaces:
java.io.Serializable

public class ConstructorInfo
extends FeatureInfo
implements java.io.Serializable

Internal configuration information for a Constructor descriptor.

Version:
$Revision: 1.6 $ $Date: 2003/07/20 07:35:12 $
Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
protected  java.lang.String displayName
           
(package private)  ModelMBeanConstructorInfo info
          The ModelMBeanConstructorInfo object that corresponds to this ConstructorInfo instance.
protected  ParameterInfo[] parameters
           
(package private) static long serialVersionUID
           
 
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
 
Constructor Summary
ConstructorInfo()
           
 
Method Summary
 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.
 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.
 
Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

info

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


displayName

protected java.lang.String displayName

parameters

protected ParameterInfo[] parameters
Constructor Detail

ConstructorInfo

public ConstructorInfo()
Method Detail

setDescription

public void setDescription(java.lang.String description)
Override the description property setter.

Overrides:
setDescription in class FeatureInfo
Parameters:
description - The new description

setName

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

Overrides:
setName in class FeatureInfo
Parameters:
name - The new name

getDisplayName

public java.lang.String getDisplayName()
The display name of this attribute.


setDisplayName

public void setDisplayName(java.lang.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 ModelMBeanConstructorInfo createConstructorInfo()
Create and return a ModelMBeanConstructorInfo object that corresponds to the attribute described by this instance.


toString

public java.lang.String toString()
Return a string representation of this constructor descriptor.

Overrides:
toString in class java.lang.Object


Copyright (c) 2001-2003 - Apache Software Foundation