Class FeatureInfo
java.lang.Object
org.apache.commons.modeler.FeatureInfo
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AttributeInfo, ConstructorInfo, NotificationInfo, OperationInfo, ParameterInfo
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: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a new field to the fields associated with the Descriptor that will be created from this metadata.protected voidaddFields(Descriptor descriptor) Add the name/value fields that have been stored into the specifiedDescriptorinstance.The human-readable description of this feature.The field information for this feature.getName()The name of this feature, which must be unique among features in the same collection.voidsetDescription(String description) void
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
description
-
fields
-
name
-
-
Constructor Details
-
FeatureInfo
public FeatureInfo()
-
-
Method Details
-
getDescription
The human-readable description of this feature. -
setDescription
-
getFields
The field information for this feature. -
getName
The name of this feature, which must be unique among features in the same collection. -
setName
-
addField
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
-
addFields
Add the name/value fields that have been stored into the specified
Descriptorinstance.- Parameters:
descriptor- TheDescriptorto add fields to
-