Class UserDefDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asuserdata.data.UserDefDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,UserDef,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.util.sorter.IComparable
public class UserDefDocument extends net.anotheria.asg.data.AbstractASGDocument implements UserDef, net.anotheria.util.sorter.IComparable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLED
-
Fields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER
-
Fields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME
-
Fields inherited from interface net.anotheria.anosite.gen.asuserdata.data.UserDef
PROP_ID, PROP_LOGIN, PROP_PASSWORD, PROP_STATUS
-
-
Constructor Summary
Constructors Constructor Description UserDefDocument()UserDefDocument(java.lang.String id)UserDefDocument(UserDefDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStatusElement(java.lang.String statusLink)Adds a new element to the list.intcompareTo(UserDef comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetFootprint()java.lang.StringgetLogin()Returns the value of the login attribute.java.lang.StringgetPassword()Returns the value of the password attribute.java.util.List<java.lang.String>getStatus()Returns the value of the status attribute.java.lang.StringgetStatusElement(int index)Returns the element at the position index in the list.intgetStatusSize()Returns the number of elements in the "status" containervoidremoveStatusElement(int index)Removes the element at position index from the list.voidsetLogin(java.lang.String value)Sets the value of the login attribute.voidsetPassword(java.lang.String value)Sets the value of the password attribute.voidsetStatus(java.util.List<java.lang.String> value)Sets the value of the status attribute.voidswapStatusElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.StringtoString()-
Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime
-
Methods 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, toXMLNode
-
-
-
-
Constructor Detail
-
UserDefDocument
public UserDefDocument()
-
UserDefDocument
public UserDefDocument(java.lang.String id)
-
UserDefDocument
public UserDefDocument(UserDefDocument toClone)
-
-
Method Detail
-
getLogin
public java.lang.String getLogin()
Description copied from interface:UserDefReturns the value of the login attribute.
-
setLogin
public void setLogin(java.lang.String value)
Description copied from interface:UserDefSets the value of the login attribute.
-
getStatus
public java.util.List<java.lang.String> getStatus()
Description copied from interface:UserDefReturns the value of the status attribute.
-
setStatus
public void setStatus(java.util.List<java.lang.String> value)
Description copied from interface:UserDefSets the value of the status attribute.
-
getPassword
public java.lang.String getPassword()
Description copied from interface:UserDefReturns the value of the password attribute.- Specified by:
getPasswordin interfaceUserDef
-
setPassword
public void setPassword(java.lang.String value)
Description copied from interface:UserDefSets the value of the password attribute.- Specified by:
setPasswordin interfaceUserDef
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getStatusSize
public int getStatusSize()
Description copied from interface:UserDefReturns the number of elements in the "status" container- Specified by:
getStatusSizein interfaceUserDef
-
addStatusElement
public void addStatusElement(java.lang.String statusLink)
Description copied from interface:UserDefAdds a new element to the list.- Specified by:
addStatusElementin interfaceUserDef
-
removeStatusElement
public void removeStatusElement(int index)
Description copied from interface:UserDefRemoves the element at position index from the list.- Specified by:
removeStatusElementin interfaceUserDef
-
swapStatusElement
public void swapStatusElement(int index1, int index2)Description copied from interface:UserDefSwaps elements at positions index1 and index2 in the list.- Specified by:
swapStatusElementin interfaceUserDef
-
getStatusElement
public java.lang.String getStatusElement(int index)
Description copied from interface:UserDefReturns the element at the position index in the list.- Specified by:
getStatusElementin interfaceUserDef
-
compareTo
public int compareTo(UserDef comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-