Interface Attribute
- All Superinterfaces:
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
FieldsModifier and TypeFieldDescriptionstatic final StringConstant property name for "guards" for internal storage and queries.static final StringConstant property name for "id" for internal storage and queries.static final StringConstant property name for "key" for internal storage and queries.static final StringConstant property name for "name" for internal storage and queries.static final StringConstant property name for "subattributes" for internal storage and queries.static final StringConstant property name for "value" for internal storage and queries. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGuardsElement(String guard) Adds a new element to the list.voidAdds a new element to the list.Returns the value of the guards attribute.getGuardsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "guards" containergetKey()Returns the value of the key attribute.getName()Returns the value of the name attribute.Returns the value of the subattributes attribute.getSubattributesElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "subattributes" containergetValue()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.voidSets the value of the guards attribute.voidSets the value of the key attribute.voidSets the value of the name attribute.voidsetSubattributes(List<String> value) Sets the value of the subattributes attribute.voidSets 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.Methods inherited from interface net.anotheria.asg.data.DataObject
clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNodeMethods inherited from interface net.anotheria.util.sorter.IComparable
compareTo
-
Field Details
-
PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
-
PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
-
PROP_KEY
Constant property name for "key" for internal storage and queries.- See Also:
-
PROP_VALUE
Constant property name for "value" for internal storage and queries.- See Also:
-
PROP_SUBATTRIBUTES
Constant property name for "subattributes" for internal storage and queries.- See Also:
-
PROP_GUARDS
Constant property name for "guards" for internal storage and queries.- See Also:
-
-
Method Details
-
getName
String getName()Returns the value of the name attribute. -
setName
Sets the value of the name attribute. -
getKey
String getKey()Returns the value of the key attribute. -
setKey
Sets the value of the key attribute. -
getValue
String getValue()Returns the value of the value attribute. -
setValue
Sets the value of the value attribute. -
getSubattributes
Returns the value of the subattributes attribute. -
setSubattributes
Sets the value of the subattributes attribute. -
getGuards
Returns the value of the guards attribute. -
setGuards
Sets the value of the guards attribute. -
getSubattributesSize
int getSubattributesSize()Returns the number of elements in the "subattributes" container -
addSubattributesElement
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
Returns the element at the position index in the list. -
getGuardsSize
int getGuardsSize()Returns the number of elements in the "guards" container -
addGuardsElement
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
Returns the element at the position index in the list.
-