org.apache.commons.modeler

Class ConstructorInfo

Implemented Interfaces:
Serializable

public class ConstructorInfo
extends FeatureInfo
implements Serializable

Internal configuration information for a Constructor descriptor.
Version:
$Revision: 1.6 $ $Date: 2003/07/20 07:35:12 $
Author:
Craig R. McClanahan

Field Summary

protected 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, serialVersionUID

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

Methods inherited from class org.apache.commons.modeler.FeatureInfo

addField, addFields, getDescription, getFields, getName, setDescription, setName

Field Details

displayName

protected String displayName

info

(package private)  ModelMBeanConstructorInfo info
The ModelMBeanConstructorInfo object that corresponds to this ConstructorInfo instance.

parameters

protected ParameterInfo[] parameters

serialVersionUID

(package private) static final long serialVersionUID
Field Value:
-5735336213417238238L

Method Details

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.
Overrides:
setDescription in interface FeatureInfo
Parameters:
description - The new description

setDisplayName

public void setDisplayName(String displayName)

setName

public void setName(String name)
Override the name property setter.
Overrides:
setName in interface FeatureInfo
Parameters:
name - The new name

toString

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

Copyright (c) 2001-2003 - Apache Software Foundation