Class BrandDocument

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

    public class BrandDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements Brand, net.anotheria.util.sorter.IComparable
    See Also:
    Serialized Form
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAttributesElement​(java.lang.String attribute)
      Adds a new element to the list.
      void addLocalizationsElement​(java.lang.String localization)
      Adds a new element to the list.
      void addMediaLinksElement​(java.lang.String mediaLink)
      Adds a new element to the list.
      void addUrlsToMapElement​(java.lang.String urlToMap)
      Adds a new element to the list.
      int compareTo​(Brand comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      boolean equals​(java.lang.Object o)  
      java.util.List<java.lang.String> getAttributes()
      Returns the value of the attributes attribute.
      java.lang.String getAttributesElement​(int index)
      Returns the element at the position index in the list.
      int getAttributesSize()
      Returns the number of elements in the "attributes" container
      boolean getDefaultBrand()
      Returns the value of the defaultBrand attribute.
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getFootprint()  
      java.util.List<java.lang.String> getLocalizations()
      Returns the value of the localizations attribute.
      java.lang.String getLocalizationsElement​(int index)
      Returns the element at the position index in the list.
      int getLocalizationsSize()
      Returns the number of elements in the "localizations" container
      java.util.List<java.lang.String> getMediaLinks()
      Returns the value of the mediaLinks attribute.
      java.lang.String getMediaLinksElement​(int index)
      Returns the element at the position index in the list.
      int getMediaLinksSize()
      Returns the number of elements in the "mediaLinks" container
      java.lang.String getName()
      Returns the value of the name attribute.
      java.util.List<java.lang.String> getUrlsToMap()
      Returns the value of the urlsToMap attribute.
      java.lang.String getUrlsToMapElement​(int index)
      Returns the element at the position index in the list.
      int getUrlsToMapSize()
      Returns the number of elements in the "urlsToMap" container
      void removeAttributesElement​(int index)
      Removes the element at position index from the list.
      void removeLocalizationsElement​(int index)
      Removes the element at position index from the list.
      void removeMediaLinksElement​(int index)
      Removes the element at position index from the list.
      void removeUrlsToMapElement​(int index)
      Removes the element at position index from the list.
      void setAttributes​(java.util.List<java.lang.String> value)
      Sets the value of the attributes attribute.
      void setDefaultBrand​(boolean value)
      Sets the value of the defaultBrand attribute.
      void setLocalizations​(java.util.List<java.lang.String> value)
      Sets the value of the localizations attribute.
      void setMediaLinks​(java.util.List<java.lang.String> value)
      Sets the value of the mediaLinks attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setUrlsToMap​(java.util.List<java.lang.String> value)
      Sets the value of the urlsToMap attribute.
      void swapAttributesElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapLocalizationsElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapMediaLinksElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapUrlsToMapElement​(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

      • BrandDocument

        public BrandDocument()
      • BrandDocument

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

      • getName

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

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

        public boolean getDefaultBrand()
        Description copied from interface: Brand
        Returns the value of the defaultBrand attribute.
        Specified by:
        getDefaultBrand in interface Brand
      • setDefaultBrand

        public void setDefaultBrand​(boolean value)
        Description copied from interface: Brand
        Sets the value of the defaultBrand attribute.
        Specified by:
        setDefaultBrand in interface Brand
      • getUrlsToMap

        public java.util.List<java.lang.String> getUrlsToMap()
        Description copied from interface: Brand
        Returns the value of the urlsToMap attribute.
        Specified by:
        getUrlsToMap in interface Brand
      • setUrlsToMap

        public void setUrlsToMap​(java.util.List<java.lang.String> value)
        Description copied from interface: Brand
        Sets the value of the urlsToMap attribute.
        Specified by:
        setUrlsToMap in interface Brand
      • getLocalizations

        public java.util.List<java.lang.String> getLocalizations()
        Description copied from interface: Brand
        Returns the value of the localizations attribute.
        Specified by:
        getLocalizations in interface Brand
      • setLocalizations

        public void setLocalizations​(java.util.List<java.lang.String> value)
        Description copied from interface: Brand
        Sets the value of the localizations attribute.
        Specified by:
        setLocalizations in interface Brand
      • getMediaLinks

        public java.util.List<java.lang.String> getMediaLinks()
        Description copied from interface: Brand
        Returns the value of the mediaLinks attribute.
        Specified by:
        getMediaLinks in interface Brand
      • setMediaLinks

        public void setMediaLinks​(java.util.List<java.lang.String> value)
        Description copied from interface: Brand
        Sets the value of the mediaLinks attribute.
        Specified by:
        setMediaLinks in interface Brand
      • getAttributes

        public java.util.List<java.lang.String> getAttributes()
        Description copied from interface: Brand
        Returns the value of the attributes attribute.
        Specified by:
        getAttributes in interface Brand
      • setAttributes

        public void setAttributes​(java.util.List<java.lang.String> value)
        Description copied from interface: Brand
        Sets the value of the attributes attribute.
        Specified by:
        setAttributes in interface Brand
      • toString

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

        public int getUrlsToMapSize()
        Description copied from interface: Brand
        Returns the number of elements in the "urlsToMap" container
        Specified by:
        getUrlsToMapSize in interface Brand
      • addUrlsToMapElement

        public void addUrlsToMapElement​(java.lang.String urlToMap)
        Description copied from interface: Brand
        Adds a new element to the list.
        Specified by:
        addUrlsToMapElement in interface Brand
      • removeUrlsToMapElement

        public void removeUrlsToMapElement​(int index)
        Description copied from interface: Brand
        Removes the element at position index from the list.
        Specified by:
        removeUrlsToMapElement in interface Brand
      • swapUrlsToMapElement

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

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

        public int getLocalizationsSize()
        Description copied from interface: Brand
        Returns the number of elements in the "localizations" container
        Specified by:
        getLocalizationsSize in interface Brand
      • addLocalizationsElement

        public void addLocalizationsElement​(java.lang.String localization)
        Description copied from interface: Brand
        Adds a new element to the list.
        Specified by:
        addLocalizationsElement in interface Brand
      • removeLocalizationsElement

        public void removeLocalizationsElement​(int index)
        Description copied from interface: Brand
        Removes the element at position index from the list.
        Specified by:
        removeLocalizationsElement in interface Brand
      • swapLocalizationsElement

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

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

        public int getMediaLinksSize()
        Description copied from interface: Brand
        Returns the number of elements in the "mediaLinks" container
        Specified by:
        getMediaLinksSize in interface Brand
      • addMediaLinksElement

        public void addMediaLinksElement​(java.lang.String mediaLink)
        Description copied from interface: Brand
        Adds a new element to the list.
        Specified by:
        addMediaLinksElement in interface Brand
      • removeMediaLinksElement

        public void removeMediaLinksElement​(int index)
        Description copied from interface: Brand
        Removes the element at position index from the list.
        Specified by:
        removeMediaLinksElement in interface Brand
      • swapMediaLinksElement

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

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

        public int getAttributesSize()
        Description copied from interface: Brand
        Returns the number of elements in the "attributes" container
        Specified by:
        getAttributesSize in interface Brand
      • addAttributesElement

        public void addAttributesElement​(java.lang.String attribute)
        Description copied from interface: Brand
        Adds a new element to the list.
        Specified by:
        addAttributesElement in interface Brand
      • removeAttributesElement

        public void removeAttributesElement​(int index)
        Description copied from interface: Brand
        Removes the element at position index from the list.
        Specified by:
        removeAttributesElement in interface Brand
      • swapAttributesElement

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

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

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