| Constructor and Description |
|---|
FeatureEntity(java.lang.String[] features) |
FeatureEntity(java.lang.String name,
boolean required) |
FeatureEntity(java.lang.String name,
boolean required,
java.util.List<IParam> params) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object
|
java.lang.String |
getName()
Get widget feature name.
|
java.util.List<IParam> |
getParameters()
Get collection of widget feature parameters.
|
boolean |
hasParams() |
boolean |
isRequired()
Get widget feature required flag.
|
void |
setName(java.lang.String name)
Set widget feature name.
|
void |
setParameters(java.util.List<IParam> params)
Set collection of widget feature parameters.
|
void |
setRequired(boolean required)
Set widget feature required flag.
|
org.jdom.Element |
toXml()
Marshall the entity into an XML Element
|
public FeatureEntity(java.lang.String[] features)
public FeatureEntity(java.lang.String name,
boolean required,
java.util.List<IParam> params)
public FeatureEntity(java.lang.String name,
boolean required)
public boolean hasParams()
public java.lang.String getName()
IFeaturepublic void setName(java.lang.String name)
IFeaturepublic boolean isRequired()
IFeatureisRequired in interface IFeaturepublic void setRequired(boolean required)
IFeaturesetRequired in interface IFeaturerequired - required flagpublic java.util.List<IParam> getParameters()
IFeaturegetParameters in interface IFeaturepublic void setParameters(java.util.List<IParam> params)
IFeaturesetParameters in interface IFeatureparams - parameters collectionpublic void fromXML(org.jdom.Element element)
throws BadManifestException
IElementfromXML in interface IElementelement - The Element to unmarshallBadManifestException2012 Apache Software Foundation.