org.apache.commons.modeler
Class FeatureInfo
java.lang.Object
org.apache.commons.modeler.FeatureInfo
- Serializable
public class FeatureInfo
extends java.lang.Object
implements Serializable
Convenience base class for AttributeInfo
,
ConstructorInfo
, and OperationInfo
classes
that will be used to collect configuration information for the
ModelMBean
beans exposed for management.
$Revision: 1.5 $ $Date: 2003/07/20 07:35:13 $
void | addField(FieldInfo field) - Add a new field to the fields associated with the
Descriptor that will be created from this metadata.
|
protected void | addFields(Descriptor descriptor) - Add the name/value fields that have been stored into the
specified
Descriptor instance.
|
String | getDescription() - The human-readable description of this feature.
|
List | getFields() - The field information for this feature.
|
String | getName() - The name of this feature, which must be unique among features in the
same collection.
|
void | setDescription(String description)
|
void | setName(String name)
|
description
protected String description
fields
protected List fields
name
protected String name
serialVersionUID
(package private) static final long serialVersionUID
addField
public void addField(FieldInfo field)
Add a new field to the fields associated with the
Descriptor that will be created from this metadata.
field
- The field to be added
addFields
protected void addFields(Descriptor descriptor)
Add the name/value fields that have been stored into the
specified Descriptor
instance.
descriptor
- The Descriptor
to add fields to
getDescription
public String getDescription()
The human-readable description of this feature.
getFields
public List getFields()
The field information for this feature.
getName
public String getName()
The name of this feature, which must be unique among features in the
same collection.
setDescription
public void setDescription(String description)
setName
public void setName(String name)
Copyright (c) 2001-2003 - Apache Software Foundation