public interface Attribute
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_GUARDS
Constant property name for "guards" for internal storage and queries.
|
static java.lang.String |
PROP_ID
Constant property name for "id" for internal storage and queries.
|
static java.lang.String |
PROP_KEY
Constant property name for "key" for internal storage and queries.
|
static java.lang.String |
PROP_NAME
Constant property name for "name" for internal storage and queries.
|
static java.lang.String |
PROP_SUBATTRIBUTES
Constant property name for "subattributes" for internal storage and queries.
|
static java.lang.String |
PROP_VALUE
Constant property name for "value" for internal storage and queries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGuardsElement(java.lang.String guard)
Adds a new element to the list.
|
void |
addSubattributesElement(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.String |
getGuardsElement(int index)
Returns the element at the position index in the list.
|
int |
getGuardsSize()
Returns the number of elements in the "guards" container
|
java.lang.String |
getKey()
Returns the value of the key attribute.
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
java.util.List<java.lang.String> |
getSubattributes()
Returns the value of the subattributes attribute.
|
java.lang.String |
getSubattributesElement(int index)
Returns the element at the position index in the list.
|
int |
getSubattributesSize()
Returns the number of elements in the "subattributes" container
|
java.lang.String |
getValue()
Returns the value of the value attribute.
|
void |
removeGuardsElement(int index)
Removes the element at position index from the list.
|
void |
removeSubattributesElement(int index)
Removes the element at position index from the list.
|
void |
setGuards(java.util.List<java.lang.String> value)
Sets the value of the guards attribute.
|
void |
setKey(java.lang.String value)
Sets the value of the key attribute.
|
void |
setName(java.lang.String value)
Sets the value of the name attribute.
|
void |
setSubattributes(java.util.List<java.lang.String> value)
Sets the value of the subattributes attribute.
|
void |
setValue(java.lang.String value)
Sets the value of the value attribute.
|
void |
swapGuardsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
void |
swapSubattributesElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
static final java.lang.String PROP_ID
static final java.lang.String PROP_NAME
static final java.lang.String PROP_KEY
static final java.lang.String PROP_VALUE
static final java.lang.String PROP_SUBATTRIBUTES
static final java.lang.String PROP_GUARDS
java.lang.String getName()
void setName(java.lang.String value)
java.lang.String getKey()
void setKey(java.lang.String value)
java.lang.String getValue()
void setValue(java.lang.String value)
java.util.List<java.lang.String> getSubattributes()
void setSubattributes(java.util.List<java.lang.String> value)
java.util.List<java.lang.String> getGuards()
void setGuards(java.util.List<java.lang.String> value)
int getSubattributesSize()
void addSubattributesElement(java.lang.String type)
void removeSubattributesElement(int index)
void swapSubattributesElement(int index1,
int index2)
java.lang.String getSubattributesElement(int index)
int getGuardsSize()
void addGuardsElement(java.lang.String guard)
void removeGuardsElement(int index)
void swapGuardsElement(int index1,
int index2)
java.lang.String getGuardsElement(int index)
Copyright © 2012-2023 anotheria.net. All Rights Reserved.