Class ConstraintDocument

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addContextInitializersElement​(java.lang.String contextInitializer)
      Adds a new element to the list.
      int compareTo​(Constraint comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getClassName()
      Returns the value of the className attribute.
      java.util.List<java.lang.String> getContextInitializers()
      Returns the value of the contextInitializers attribute.
      java.lang.String getContextInitializersElement​(int index)
      Returns the element at the position index in the list.
      int getContextInitializersSize()
      Returns the number of elements in the "contextInitializers" container
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getDescription()
      Returns the value of the description attribute.
      java.lang.String getFootprint()  
      java.lang.String getName()
      Returns the value of the name attribute.
      java.lang.String getParameter1()
      Returns the value of the parameter1 attribute.
      java.lang.String getParameter2()
      Returns the value of the parameter2 attribute.
      java.lang.String getParameter3()
      Returns the value of the parameter3 attribute.
      java.lang.String getParameter4()
      Returns the value of the parameter4 attribute.
      java.lang.String getParameter5()
      Returns the value of the parameter5 attribute.
      void removeContextInitializersElement​(int index)
      Removes the element at position index from the list.
      void setClassName​(java.lang.String value)
      Sets the value of the className attribute.
      void setContextInitializers​(java.util.List<java.lang.String> value)
      Sets the value of the contextInitializers attribute.
      void setDescription​(java.lang.String value)
      Sets the value of the description attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setParameter1​(java.lang.String value)
      Sets the value of the parameter1 attribute.
      void setParameter2​(java.lang.String value)
      Sets the value of the parameter2 attribute.
      void setParameter3​(java.lang.String value)
      Sets the value of the parameter3 attribute.
      void setParameter4​(java.lang.String value)
      Sets the value of the parameter4 attribute.
      void setParameter5​(java.lang.String value)
      Sets the value of the parameter5 attribute.
      void swapContextInitializersElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      java.lang.String toString()  
      • 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 Detail

      • ConstraintDocument

        public ConstraintDocument()
      • ConstraintDocument

        public ConstraintDocument​(java.lang.String id)
    • Method Detail

      • getName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.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​(java.lang.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 java.lang.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 java.lang.String getDefinedName()
        Specified by:
        getDefinedName in interface net.anotheria.asg.data.DataObject
      • getDefinedParentName

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object