public class AttributeDocument extends net.anotheria.asg.data.AbstractASGDocument implements Attribute, net.anotheria.util.sorter.IComparable
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERPROP_GUARDS, PROP_ID, PROP_KEY, PROP_NAME, PROP_SUBATTRIBUTES, PROP_VALUE| Constructor and Description |
|---|
AttributeDocument() |
AttributeDocument(AttributeDocument toClone) |
AttributeDocument(java.lang.String id) |
| 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.
|
int |
compareTo(Attribute comparable) |
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
java.lang.String |
getFootprint() |
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.
|
java.lang.String |
toString() |
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeaddDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNodepublic AttributeDocument()
public AttributeDocument(java.lang.String id)
public AttributeDocument(AttributeDocument toClone)
public java.lang.String getName()
Attributepublic void setName(java.lang.String value)
Attributepublic java.lang.String getKey()
Attributepublic void setKey(java.lang.String value)
Attributepublic java.lang.String getValue()
Attributepublic void setValue(java.lang.String value)
Attributepublic java.util.List<java.lang.String> getSubattributes()
AttributegetSubattributes in interface Attributepublic void setSubattributes(java.util.List<java.lang.String> value)
AttributesetSubattributes in interface Attributepublic java.util.List<java.lang.String> getGuards()
Attributepublic void setGuards(java.util.List<java.lang.String> value)
Attributepublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getSubattributesSize()
AttributegetSubattributesSize in interface Attributepublic void addSubattributesElement(java.lang.String type)
AttributeaddSubattributesElement in interface Attributepublic void removeSubattributesElement(int index)
AttributeremoveSubattributesElement in interface Attributepublic void swapSubattributesElement(int index1,
int index2)
AttributeswapSubattributesElement in interface Attributepublic java.lang.String getSubattributesElement(int index)
AttributegetSubattributesElement in interface Attributepublic int getGuardsSize()
AttributegetGuardsSize in interface Attributepublic void addGuardsElement(java.lang.String guard)
AttributeaddGuardsElement in interface Attributepublic void removeGuardsElement(int index)
AttributeremoveGuardsElement in interface Attributepublic void swapGuardsElement(int index1,
int index2)
AttributeswapGuardsElement in interface Attributepublic java.lang.String getGuardsElement(int index)
AttributegetGuardsElement in interface Attributepublic int compareTo(Attribute comparable)
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getDefinedName()
getDefinedName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getDefinedParentName()
getDefinedParentName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getFootprint()
getFootprint in interface net.anotheria.asg.data.DataObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2012-2023 anotheria.net. All Rights Reserved.