Class ConstraintDocument

java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.anoaccessconfiguration.data.ConstraintDocument
All Implemented Interfaces:
Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, Constraint, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.util.sorter.IComparable

public class ConstraintDocument extends net.anotheria.asg.data.AbstractASGDocument implements Constraint, 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.anosite.gen.anoaccessconfiguration.data.Constraint

    PROP_CLASS_NAME, PROP_CONTEXT_INITIALIZERS, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_PARAMETER1, PROP_PARAMETER2, PROP_PARAMETER3, PROP_PARAMETER4, PROP_PARAMETER5

    Fields 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
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    int
    compareTo(Constraint comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
    Returns the value of the className attribute.
    Returns the value of the contextInitializers attribute.
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "contextInitializers" container
     
     
    Returns the value of the description attribute.
     
    Returns the value of the name attribute.
    Returns the value of the parameter1 attribute.
    Returns the value of the parameter2 attribute.
    Returns the value of the parameter3 attribute.
    Returns the value of the parameter4 attribute.
    Returns the value of the parameter5 attribute.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the className attribute.
    void
    Sets the value of the contextInitializers attribute.
    void
    Sets the value of the description attribute.
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    Sets the value of the parameter1 attribute.
    void
    Sets the value of the parameter2 attribute.
    void
    Sets the value of the parameter3 attribute.
    void
    Sets the value of the parameter4 attribute.
    void
    Sets the value of the parameter5 attribute.
    void
    swapContextInitializersElement(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

    • ConstraintDocument

      public ConstraintDocument()
    • ConstraintDocument

      public ConstraintDocument(String id)
    • ConstraintDocument

      public ConstraintDocument(ConstraintDocument toClone)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Constraint
      Returns the value of the name attribute.
      Specified by:
      getName in interface Constraint
    • setName

      public void setName(String value)
      Description copied from interface: Constraint
      Sets the value of the name attribute.
      Specified by:
      setName in interface Constraint
    • getClassName

      public String getClassName()
      Description copied from interface: Constraint
      Returns the value of the className attribute.
      Specified by:
      getClassName in interface Constraint
    • setClassName

      public void setClassName(String value)
      Description copied from interface: Constraint
      Sets the value of the className attribute.
      Specified by:
      setClassName in interface Constraint
    • getContextInitializers

      public List<String> getContextInitializers()
      Description copied from interface: Constraint
      Returns the value of the contextInitializers attribute.
      Specified by:
      getContextInitializers in interface Constraint
    • setContextInitializers

      public void setContextInitializers(List<String> value)
      Description copied from interface: Constraint
      Sets the value of the contextInitializers attribute.
      Specified by:
      setContextInitializers in interface Constraint
    • getParameter1

      public String getParameter1()
      Description copied from interface: Constraint
      Returns the value of the parameter1 attribute.
      Specified by:
      getParameter1 in interface Constraint
    • setParameter1

      public void setParameter1(String value)
      Description copied from interface: Constraint
      Sets the value of the parameter1 attribute.
      Specified by:
      setParameter1 in interface Constraint
    • getParameter2

      public String getParameter2()
      Description copied from interface: Constraint
      Returns the value of the parameter2 attribute.
      Specified by:
      getParameter2 in interface Constraint
    • setParameter2

      public void setParameter2(String value)
      Description copied from interface: Constraint
      Sets the value of the parameter2 attribute.
      Specified by:
      setParameter2 in interface Constraint
    • getParameter3

      public String getParameter3()
      Description copied from interface: Constraint
      Returns the value of the parameter3 attribute.
      Specified by:
      getParameter3 in interface Constraint
    • setParameter3

      public void setParameter3(String value)
      Description copied from interface: Constraint
      Sets the value of the parameter3 attribute.
      Specified by:
      setParameter3 in interface Constraint
    • getParameter4

      public String getParameter4()
      Description copied from interface: Constraint
      Returns the value of the parameter4 attribute.
      Specified by:
      getParameter4 in interface Constraint
    • setParameter4

      public void setParameter4(String value)
      Description copied from interface: Constraint
      Sets the value of the parameter4 attribute.
      Specified by:
      setParameter4 in interface Constraint
    • getParameter5

      public String getParameter5()
      Description copied from interface: Constraint
      Returns the value of the parameter5 attribute.
      Specified by:
      getParameter5 in interface Constraint
    • setParameter5

      public void setParameter5(String value)
      Description copied from interface: Constraint
      Sets the value of the parameter5 attribute.
      Specified by:
      setParameter5 in interface Constraint
    • getDescription

      public String getDescription()
      Description copied from interface: Constraint
      Returns the value of the description attribute.
      Specified by:
      getDescription in interface Constraint
    • setDescription

      public void setDescription(String value)
      Description copied from interface: Constraint
      Sets the value of the description attribute.
      Specified by:
      setDescription in interface Constraint
    • toString

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

      public int getContextInitializersSize()
      Description copied from interface: Constraint
      Returns the number of elements in the "contextInitializers" container
      Specified by:
      getContextInitializersSize in interface Constraint
    • addContextInitializersElement

      public void addContextInitializersElement(String contextInitializer)
      Description copied from interface: Constraint
      Adds a new element to the list.
      Specified by:
      addContextInitializersElement in interface Constraint
    • removeContextInitializersElement

      public void removeContextInitializersElement(int index)
      Description copied from interface: Constraint
      Removes the element at position index from the list.
      Specified by:
      removeContextInitializersElement in interface Constraint
    • swapContextInitializersElement

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

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

      public int compareTo(Constraint 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