|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.modeler.FeatureInfo
public class FeatureInfo
Convenience base class for AttributeInfo
,
ConstructorInfo
, and OperationInfo
classes
that will be used to collect configuration information for the
ModelMBean
beans exposed for management.
Field Summary | |
---|---|
protected String |
description
|
protected List |
fields
|
protected String |
name
|
Constructor Summary | |
---|---|
FeatureInfo()
|
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 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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String description
protected List fields
protected String name
Constructor Detail |
---|
public FeatureInfo()
Method Detail |
---|
public String getDescription()
public void setDescription(String description)
public List getFields()
public String getName()
public void setName(String name)
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 addedprotected 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |