Class BrandFeatureDocument

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, BrandFeature, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.util.sorter.IComparable

    public class BrandFeatureDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements BrandFeature, net.anotheria.util.sorter.IComparable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBrandsElement​(java.lang.String brand)
      Adds a new element to the list.
      void addGuardsElement​(java.lang.String guard)
      Adds a new element to the list.
      int compareTo​(BrandFeature comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getAccessOperation()
      Returns the value of the accessOperation attribute.
      boolean getActiveInProduction()
      Returns the value of the activeInProduction attribute.
      java.util.List<java.lang.String> getBrands()
      Returns the value of the brands attribute.
      java.lang.String getBrandsElement​(int index)
      Returns the element at the position index in the list.
      int getBrandsSize()
      Returns the number of elements in the "brands" container
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getDescription()
      Returns the value of the description attribute.
      boolean getEnabled()
      Returns the value of the enabled attribute.
      java.lang.String getFootprint()  
      java.util.List<java.lang.String> getGuards()
      Returns the value of the guards attribute.
      java.lang.String getGuardsElement​(int index)
      Returns the element at the position index in the list.
      int getGuardsSize()
      Returns the number of elements in the "guards" container
      java.lang.String getName()
      Returns the value of the name attribute.
      boolean getObsolete()
      Returns the value of the obsolete attribute.
      void removeBrandsElement​(int index)
      Removes the element at position index from the list.
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void setAccessOperation​(java.lang.String value)
      Sets the value of the accessOperation attribute.
      void setActiveInProduction​(boolean value)
      Sets the value of the activeInProduction attribute.
      void setBrands​(java.util.List<java.lang.String> value)
      Sets the value of the brands attribute.
      void setDescription​(java.lang.String value)
      Sets the value of the description attribute.
      void setEnabled​(boolean value)
      Sets the value of the enabled attribute.
      void setGuards​(java.util.List<java.lang.String> value)
      Sets the value of the guards attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setObsolete​(boolean value)
      Sets the value of the obsolete attribute.
      void swapBrandsElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapGuardsElement​(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

      • BrandFeatureDocument

        public BrandFeatureDocument()
      • BrandFeatureDocument

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

      • getName

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

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

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

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

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

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

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

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

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

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

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

        public void setGuards​(java.util.List<java.lang.String> value)
        Description copied from interface: BrandFeature
        Sets the value of the guards attribute.
        Specified by:
        setGuards in interface BrandFeature
      • getBrands

        public java.util.List<java.lang.String> getBrands()
        Description copied from interface: BrandFeature
        Returns the value of the brands attribute.
        Specified by:
        getBrands in interface BrandFeature
      • setBrands

        public void setBrands​(java.util.List<java.lang.String> value)
        Description copied from interface: BrandFeature
        Sets the value of the brands attribute.
        Specified by:
        setBrands in interface BrandFeature
      • getAccessOperation

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

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

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

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

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

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

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

        public java.lang.String getGuardsElement​(int index)
        Description copied from interface: BrandFeature
        Returns the element at the position index in the list.
        Specified by:
        getGuardsElement in interface BrandFeature
      • getBrandsSize

        public int getBrandsSize()
        Description copied from interface: BrandFeature
        Returns the number of elements in the "brands" container
        Specified by:
        getBrandsSize in interface BrandFeature
      • addBrandsElement

        public void addBrandsElement​(java.lang.String brand)
        Description copied from interface: BrandFeature
        Adds a new element to the list.
        Specified by:
        addBrandsElement in interface BrandFeature
      • removeBrandsElement

        public void removeBrandsElement​(int index)
        Description copied from interface: BrandFeature
        Removes the element at position index from the list.
        Specified by:
        removeBrandsElement in interface BrandFeature
      • swapBrandsElement

        public void swapBrandsElement​(int index1,
                                      int index2)
        Description copied from interface: BrandFeature
        Swaps elements at positions index1 and index2 in the list.
        Specified by:
        swapBrandsElement in interface BrandFeature
      • getBrandsElement

        public java.lang.String getBrandsElement​(int index)
        Description copied from interface: BrandFeature
        Returns the element at the position index in the list.
        Specified by:
        getBrandsElement in interface BrandFeature
      • compareTo

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