Class FeatureDocument

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

public class FeatureDocument extends net.anotheria.asg.data.AbstractASGDocument implements Feature, 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.asfeature.data.Feature

    LINK_PROP_ACCESS_OPERATION, PROP_ACTIVE_IN_PRODUCTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_GUARDS, PROP_ID, PROP_NAME, PROP_OBSOLETE

    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(Feature comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
    Returns the value of the accessOperation attribute.
    boolean
    Returns the value of the activeInProduction attribute.
     
     
    Returns the value of the description attribute.
    boolean
    Returns the value of the enabled attribute.
     
    Returns the value of the guards attribute.
    getGuardsElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "guards" container
    Returns the value of the name attribute.
    boolean
    Returns the value of the obsolete attribute.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the accessOperation attribute.
    void
    setActiveInProduction(boolean value)
    Sets the value of the activeInProduction attribute.
    void
    Sets the value of the description attribute.
    void
    setEnabled(boolean value)
    Sets the value of the enabled attribute.
    void
    Sets the value of the guards attribute.
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    setObsolete(boolean value)
    Sets the value of the obsolete attribute.
    void
    swapGuardsElement(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

    • FeatureDocument

      public FeatureDocument()
    • FeatureDocument

      public FeatureDocument(String id)
    • FeatureDocument

      public FeatureDocument(FeatureDocument toClone)
  • Method Details

    • getName

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

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

      public boolean getEnabled()
      Description copied from interface: Feature
      Returns the value of the enabled attribute.
      Specified by:
      getEnabled in interface Feature
    • setEnabled

      public void setEnabled(boolean value)
      Description copied from interface: Feature
      Sets the value of the enabled attribute.
      Specified by:
      setEnabled in interface Feature
    • getActiveInProduction

      public boolean getActiveInProduction()
      Description copied from interface: Feature
      Returns the value of the activeInProduction attribute.
      Specified by:
      getActiveInProduction in interface Feature
    • setActiveInProduction

      public void setActiveInProduction(boolean value)
      Description copied from interface: Feature
      Sets the value of the activeInProduction attribute.
      Specified by:
      setActiveInProduction in interface Feature
    • getObsolete

      public boolean getObsolete()
      Description copied from interface: Feature
      Returns the value of the obsolete attribute.
      Specified by:
      getObsolete in interface Feature
    • setObsolete

      public void setObsolete(boolean value)
      Description copied from interface: Feature
      Sets the value of the obsolete attribute.
      Specified by:
      setObsolete in interface Feature
    • getDescription

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

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

      public List<String> getGuards()
      Description copied from interface: Feature
      Returns the value of the guards attribute.
      Specified by:
      getGuards in interface Feature
    • setGuards

      public void setGuards(List<String> value)
      Description copied from interface: Feature
      Sets the value of the guards attribute.
      Specified by:
      setGuards in interface Feature
    • getAccessOperation

      public String getAccessOperation()
      Description copied from interface: Feature
      Returns the value of the accessOperation attribute.
      Specified by:
      getAccessOperation in interface Feature
    • setAccessOperation

      public void setAccessOperation(String value)
      Description copied from interface: Feature
      Sets the value of the accessOperation attribute.
      Specified by:
      setAccessOperation in interface Feature
    • toString

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

      public int getGuardsSize()
      Description copied from interface: Feature
      Returns the number of elements in the "guards" container
      Specified by:
      getGuardsSize in interface Feature
    • addGuardsElement

      public void addGuardsElement(String guard)
      Description copied from interface: Feature
      Adds a new element to the list.
      Specified by:
      addGuardsElement in interface Feature
    • removeGuardsElement

      public void removeGuardsElement(int index)
      Description copied from interface: Feature
      Removes the element at position index from the list.
      Specified by:
      removeGuardsElement in interface Feature
    • swapGuardsElement

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

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

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