public class FeatureGroup extends Object
Constructor and Description |
---|
FeatureGroup() |
Modifier and Type | Method and Description |
---|---|
void |
addFeature(Right right)
Add a feature to the group
|
String |
getDescription()
Returns the description of this feature group.
|
String |
getDescriptionKey()
Returns the description of this feature group.
|
Collection<Right> |
getFeatures()
Returns all features affected to the group
|
String |
getId()
Returns the identifier of this feature group
|
String |
getLabel()
Returns the label of this feature group.
|
String |
getLabelKey()
Returns the label of this feature group.
|
int |
getOrder()
Returns the order of this feature group.
|
ReferenceItem |
getReferenceItem()
Returns a reference item for the feature group
|
boolean |
isEmpty()
Tells whether or not the feature list is empty
|
void |
setDescriptionKey(String strDescriptionKey)
Sets the description of the feature group to the specified string.
|
void |
setId(String strId)
Sets the identifier of the feature group to the specified string.
|
void |
setLabelKey(String strLabelKey)
Sets the label of the feature group to the specified string.
|
void |
setLocale(Locale locale)
Sets the locale to use
|
void |
setOrder(int nOrder)
Sets the order of the feature group to the specified int.
|
public void setLocale(Locale locale)
locale
- the locale to usepublic String getId()
public void setId(String strId)
strId
- the new identifierpublic String getLabelKey()
public String getLabel()
public void setLabelKey(String strLabelKey)
strLabelKey
- the new labelpublic int getOrder()
public void setOrder(int nOrder)
nOrder
- the new levelpublic String getDescriptionKey()
public String getDescription()
public void setDescriptionKey(String strDescriptionKey)
strDescriptionKey
- the new descriptionpublic void addFeature(Right right)
right
- The feature to addpublic boolean isEmpty()
public Collection<Right> getFeatures()
public ReferenceItem getReferenceItem()
Copyright © 2020 City of Paris. All rights reserved.