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:
Serializable, 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:
  • 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
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    int
    compareTo(UserDef comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
     
     
     
    Returns the value of the login attribute.
    Returns the value of the password attribute.
    Returns the value of the status attribute.
    getStatusElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "status" container
    void
    Removes the element at position index from the list.
    void
    Sets the value of the login attribute.
    void
    Sets the value of the password attribute.
    void
    Sets the value of the status attribute.
    void
    swapStatusElement(int index1, int index2)
    Swaps elements at positions index1 and index2 in the list.
     

    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

    Methods inherited from class net.anotheria.anodoc.data.DataHolder

    getId, hashCode, setId

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.anotheria.asg.data.DataObject

    clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
  • Constructor Details

    • UserDefDocument

      public UserDefDocument()
    • UserDefDocument

      public UserDefDocument(String id)
    • UserDefDocument

      public UserDefDocument(UserDefDocument toClone)
  • Method Details

    • getLogin

      public String getLogin()
      Description copied from interface: UserDef
      Returns the value of the login attribute.
      Specified by:
      getLogin in interface UserDef
    • setLogin

      public void setLogin(String value)
      Description copied from interface: UserDef
      Sets the value of the login attribute.
      Specified by:
      setLogin in interface UserDef
    • getStatus

      public List<String> getStatus()
      Description copied from interface: UserDef
      Returns the value of the status attribute.
      Specified by:
      getStatus in interface UserDef
    • setStatus

      public void setStatus(List<String> value)
      Description copied from interface: UserDef
      Sets the value of the status attribute.
      Specified by:
      setStatus in interface UserDef
    • getPassword

      public String getPassword()
      Description copied from interface: UserDef
      Returns the value of the password attribute.
      Specified by:
      getPassword in interface UserDef
    • setPassword

      public void setPassword(String value)
      Description copied from interface: UserDef
      Sets the value of the password attribute.
      Specified by:
      setPassword in interface UserDef
    • toString

      public String toString()
      Overrides:
      toString in class net.anotheria.anodoc.data.Document
    • getStatusSize

      public int getStatusSize()
      Description copied from interface: UserDef
      Returns the number of elements in the "status" container
      Specified by:
      getStatusSize in interface UserDef
    • addStatusElement

      public void addStatusElement(String statusLink)
      Description copied from interface: UserDef
      Adds a new element to the list.
      Specified by:
      addStatusElement in interface UserDef
    • removeStatusElement

      public void removeStatusElement(int index)
      Description copied from interface: UserDef
      Removes the element at position index from the list.
      Specified by:
      removeStatusElement in interface UserDef
    • swapStatusElement

      public void swapStatusElement(int index1, int index2)
      Description copied from interface: UserDef
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapStatusElement in interface UserDef
    • getStatusElement

      public String getStatusElement(int index)
      Description copied from interface: UserDef
      Returns the element at the position index in the list.
      Specified by:
      getStatusElement in interface UserDef
    • compareTo

      public int compareTo(UserDef comparable)
    • compareTo

      public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
      Specified by:
      compareTo in interface net.anotheria.util.sorter.IComparable
    • getDefinedName

      public String getDefinedName()
      Specified by:
      getDefinedName in interface net.anotheria.asg.data.DataObject
    • getDefinedParentName

      public String getDefinedParentName()
      Specified by:
      getDefinedParentName in interface net.anotheria.asg.data.DataObject
    • getFootprint

      public String getFootprint()
      Specified by:
      getFootprint in interface net.anotheria.asg.data.DataObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object