Interface Attribute
-
- All Superinterfaces:
java.lang.Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
AttributeDocument
public interface Attribute extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
-
Field Summary
Fields Modifier and Type Field Description 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_KEYConstant property name for "key" for internal storage and queries.static java.lang.StringPROP_NAMEConstant property name for "name" for internal storage and queries.static java.lang.StringPROP_SUBATTRIBUTESConstant property name for "subattributes" for internal storage and queries.static java.lang.StringPROP_VALUEConstant property name for "value" 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.voidaddSubattributesElement(java.lang.String type)Adds a new element to the list.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.StringgetKey()Returns the value of the key attribute.java.lang.StringgetName()Returns the value of the name attribute.java.util.List<java.lang.String>getSubattributes()Returns the value of the subattributes attribute.java.lang.StringgetSubattributesElement(int index)Returns the element at the position index in the list.intgetSubattributesSize()Returns the number of elements in the "subattributes" containerjava.lang.StringgetValue()Returns the value of the value attribute.voidremoveGuardsElement(int index)Removes the element at position index from the list.voidremoveSubattributesElement(int index)Removes the element at position index from the list.voidsetGuards(java.util.List<java.lang.String> value)Sets the value of the guards attribute.voidsetKey(java.lang.String value)Sets the value of the key attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetSubattributes(java.util.List<java.lang.String> value)Sets the value of the subattributes attribute.voidsetValue(java.lang.String value)Sets the value of the value attribute.voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapSubattributesElement(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_KEY
static final java.lang.String PROP_KEY
Constant property name for "key" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_VALUE
static final java.lang.String PROP_VALUE
Constant property name for "value" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_SUBATTRIBUTES
static final java.lang.String PROP_SUBATTRIBUTES
Constant property name for "subattributes" 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
-
-
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.
-
getKey
java.lang.String getKey()
Returns the value of the key attribute.
-
setKey
void setKey(java.lang.String value)
Sets the value of the key attribute.
-
getValue
java.lang.String getValue()
Returns the value of the value attribute.
-
setValue
void setValue(java.lang.String value)
Sets the value of the value attribute.
-
getSubattributes
java.util.List<java.lang.String> getSubattributes()
Returns the value of the subattributes attribute.
-
setSubattributes
void setSubattributes(java.util.List<java.lang.String> value)
Sets the value of the subattributes 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.
-
getSubattributesSize
int getSubattributesSize()
Returns the number of elements in the "subattributes" container
-
addSubattributesElement
void addSubattributesElement(java.lang.String type)
Adds a new element to the list.
-
removeSubattributesElement
void removeSubattributesElement(int index)
Removes the element at position index from the list.
-
swapSubattributesElement
void swapSubattributesElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.
-
getSubattributesElement
java.lang.String getSubattributesElement(int index)
Returns the element at the position index in the list.
-
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.
-
-