org.apache.commons.modeler
public class FeatureInfo extends 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.
Version: $Revision: 155428 $ $Date: 2005-02-26 08:12:25 -0500 (Sat, 26 Feb 2005) $
| Field Summary | |
|---|---|
| protected String | description |
| protected List | fields |
| protected String | name |
| static long | serialVersionUID |
| Method Summary | |
|---|---|
| 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 |
| 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) |
Add a new field to the fields associated with the Descriptor that will be created from this metadata.
Parameters: field The field to be added
Add the name/value fields that have been stored into the
specified Descriptor instance.
Parameters: descriptor The Descriptor to add fields to