Class AttributeDocument
java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.aswebdata.data.AttributeDocument
- All Implemented Interfaces:
Serializable,Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,Attribute,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.util.sorter.IComparable
public class AttributeDocument
extends net.anotheria.asg.data.AbstractASGDocument
implements Attribute, net.anotheria.util.sorter.IComparable
- See Also:
-
Field Summary
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLEDFields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERFields inherited from interface net.anotheria.anosite.gen.aswebdata.data.Attribute
PROP_GUARDS, PROP_ID, PROP_KEY, PROP_NAME, PROP_SUBATTRIBUTES, PROP_VALUEFields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGuardsElement(String guard) Adds a new element to the list.voidAdds a new element to the list.intintcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) booleanReturns 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.toString()Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeMethods inherited from class net.anotheria.anodoc.data.Document
addDataHolder, 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, toXMLNodeMethods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.anotheria.asg.data.DataObject
clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
-
Constructor Details
-
AttributeDocument
public AttributeDocument() -
AttributeDocument
-
AttributeDocument
-
-
Method Details
-
getName
Description copied from interface:AttributeReturns the value of the name attribute. -
setName
Description copied from interface:AttributeSets the value of the name attribute. -
getKey
Description copied from interface:AttributeReturns the value of the key attribute. -
setKey
Description copied from interface:AttributeSets the value of the key attribute. -
getValue
Description copied from interface:AttributeReturns the value of the value attribute. -
setValue
Description copied from interface:AttributeSets the value of the value attribute. -
getSubattributes
Description copied from interface:AttributeReturns the value of the subattributes attribute.- Specified by:
getSubattributesin interfaceAttribute
-
setSubattributes
Description copied from interface:AttributeSets the value of the subattributes attribute.- Specified by:
setSubattributesin interfaceAttribute
-
getGuards
Description copied from interface:AttributeReturns the value of the guards attribute. -
setGuards
Description copied from interface:AttributeSets the value of the guards attribute. -
toString
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getSubattributesSize
public int getSubattributesSize()Description copied from interface:AttributeReturns the number of elements in the "subattributes" container- Specified by:
getSubattributesSizein interfaceAttribute
-
addSubattributesElement
Description copied from interface:AttributeAdds a new element to the list.- Specified by:
addSubattributesElementin interfaceAttribute
-
removeSubattributesElement
public void removeSubattributesElement(int index) Description copied from interface:AttributeRemoves the element at position index from the list.- Specified by:
removeSubattributesElementin interfaceAttribute
-
swapSubattributesElement
public void swapSubattributesElement(int index1, int index2) Description copied from interface:AttributeSwaps elements at positions index1 and index2 in the list.- Specified by:
swapSubattributesElementin interfaceAttribute
-
getSubattributesElement
Description copied from interface:AttributeReturns the element at the position index in the list.- Specified by:
getSubattributesElementin interfaceAttribute
-
getGuardsSize
public int getGuardsSize()Description copied from interface:AttributeReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceAttribute
-
addGuardsElement
Description copied from interface:AttributeAdds a new element to the list.- Specified by:
addGuardsElementin interfaceAttribute
-
removeGuardsElement
public void removeGuardsElement(int index) Description copied from interface:AttributeRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceAttribute
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2) Description copied from interface:AttributeSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceAttribute
-
getGuardsElement
Description copied from interface:AttributeReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceAttribute
-
compareTo
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) - Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
-