Interface Feature
-
- All Superinterfaces:
java.lang.Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
FeatureDocument
public interface Feature extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLINK_PROP_ACCESS_OPERATIONConstant property name for "accessOperation" for internal storage and queries.static java.lang.StringPROP_ACTIVE_IN_PRODUCTIONConstant property name for "activeInProduction" for internal storage and queries.static java.lang.StringPROP_DESCRIPTIONConstant property name for "description" for internal storage and queries.static java.lang.StringPROP_ENABLEDConstant property name for "enabled" for internal storage and queries.static java.lang.StringPROP_GUARDSConstant property name for "guards" for internal storage and queries.static java.lang.StringPROP_IDConstant property name for "id" for internal storage and queries.static java.lang.StringPROP_NAMEConstant property name for "name" for internal storage and queries.static java.lang.StringPROP_OBSOLETEConstant property name for "obsolete" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddGuardsElement(java.lang.String guard)Adds a new element to the list.java.lang.StringgetAccessOperation()Returns the value of the accessOperation attribute.booleangetActiveInProduction()Returns the value of the activeInProduction attribute.java.lang.StringgetDescription()Returns the value of the description attribute.booleangetEnabled()Returns the value of the enabled attribute.java.util.List<java.lang.String>getGuards()Returns the value of the guards attribute.java.lang.StringgetGuardsElement(int index)Returns the element at the position index in the list.intgetGuardsSize()Returns the number of elements in the "guards" containerjava.lang.StringgetName()Returns the value of the name attribute.booleangetObsolete()Returns the value of the obsolete attribute.voidremoveGuardsElement(int index)Removes the element at position index from the list.voidsetAccessOperation(java.lang.String value)Sets the value of the accessOperation attribute.voidsetActiveInProduction(boolean value)Sets the value of the activeInProduction attribute.voidsetDescription(java.lang.String value)Sets the value of the description attribute.voidsetEnabled(boolean value)Sets the value of the enabled attribute.voidsetGuards(java.util.List<java.lang.String> value)Sets the value of the guards attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetObsolete(boolean value)Sets the value of the obsolete attribute.voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.
-
-
-
Field Detail
-
PROP_ID
static final java.lang.String PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_NAME
static final java.lang.String PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_ENABLED
static final java.lang.String PROP_ENABLED
Constant property name for "enabled" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_ACTIVE_IN_PRODUCTION
static final java.lang.String PROP_ACTIVE_IN_PRODUCTION
Constant property name for "activeInProduction" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_OBSOLETE
static final java.lang.String PROP_OBSOLETE
Constant property name for "obsolete" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_DESCRIPTION
static final java.lang.String PROP_DESCRIPTION
Constant property name for "description" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_GUARDS
static final java.lang.String PROP_GUARDS
Constant property name for "guards" for internal storage and queries.- See Also:
- Constant Field Values
-
LINK_PROP_ACCESS_OPERATION
static final java.lang.String LINK_PROP_ACCESS_OPERATION
Constant property name for "accessOperation" for internal storage and queries.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the value of the name attribute.
-
setName
void setName(java.lang.String value)
Sets the value of the name attribute.
-
getEnabled
boolean getEnabled()
Returns the value of the enabled attribute.
-
setEnabled
void setEnabled(boolean value)
Sets the value of the enabled attribute.
-
getActiveInProduction
boolean getActiveInProduction()
Returns the value of the activeInProduction attribute.
-
setActiveInProduction
void setActiveInProduction(boolean value)
Sets the value of the activeInProduction attribute.
-
getObsolete
boolean getObsolete()
Returns the value of the obsolete attribute.
-
setObsolete
void setObsolete(boolean value)
Sets the value of the obsolete attribute.
-
getDescription
java.lang.String getDescription()
Returns the value of the description attribute.
-
setDescription
void setDescription(java.lang.String value)
Sets the value of the description attribute.
-
getGuards
java.util.List<java.lang.String> getGuards()
Returns the value of the guards attribute.
-
setGuards
void setGuards(java.util.List<java.lang.String> value)
Sets the value of the guards attribute.
-
getAccessOperation
java.lang.String getAccessOperation()
Returns the value of the accessOperation attribute.
-
setAccessOperation
void setAccessOperation(java.lang.String value)
Sets the value of the accessOperation attribute.
-
getGuardsSize
int getGuardsSize()
Returns the number of elements in the "guards" container
-
addGuardsElement
void addGuardsElement(java.lang.String guard)
Adds a new element to the list.
-
removeGuardsElement
void removeGuardsElement(int index)
Removes the element at position index from the list.
-
swapGuardsElement
void swapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.
-
getGuardsElement
java.lang.String getGuardsElement(int index)
Returns the element at the position index in the list.
-
-