Class MediaLinkDocument

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addGuardsElement​(java.lang.String guard)
      Adds a new element to the list.
      int compareTo​(MediaLink comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getBrowserFiltering()
      Returns the value of the browserFiltering attribute.
      java.lang.String getCharset()
      Returns the value of the charset attribute.
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getFile()
      Returns the value of the file 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 getHref()
      Returns the value of the href attribute.
      java.lang.String getHreflang()
      Returns the value of the hreflang attribute.
      int getMedia()
      Returns the value of the media attribute.
      java.lang.String getName()
      Returns the value of the name attribute.
      java.lang.String getOnload()
      Returns the value of the onload attribute.
      int getRel()
      Returns the value of the rel attribute.
      int getRev()
      Returns the value of the rev attribute.
      java.lang.String getType()
      Returns the value of the type attribute.
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void setBrowserFiltering​(java.lang.String value)
      Sets the value of the browserFiltering attribute.
      void setCharset​(java.lang.String value)
      Sets the value of the charset attribute.
      void setFile​(java.lang.String value)
      Sets the value of the file attribute.
      void setGuards​(java.util.List<java.lang.String> value)
      Sets the value of the guards attribute.
      void setHref​(java.lang.String value)
      Sets the value of the href attribute.
      void setHreflang​(java.lang.String value)
      Sets the value of the hreflang attribute.
      void setMedia​(int value)
      Sets the value of the media attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setOnload​(java.lang.String value)
      Sets the value of the onload attribute.
      void setRel​(int value)
      Sets the value of the rel attribute.
      void setRev​(int value)
      Sets the value of the rev attribute.
      void setType​(java.lang.String value)
      Sets the value of the type attribute.
      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

      • MediaLinkDocument

        public MediaLinkDocument()
      • MediaLinkDocument

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

      • getName

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

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

        public java.lang.String getHref()
        Description copied from interface: MediaLink
        Returns the value of the href attribute.
        Specified by:
        getHref in interface MediaLink
      • setHref

        public void setHref​(java.lang.String value)
        Description copied from interface: MediaLink
        Sets the value of the href attribute.
        Specified by:
        setHref in interface MediaLink
      • getType

        public java.lang.String getType()
        Description copied from interface: MediaLink
        Returns the value of the type attribute.
        Specified by:
        getType in interface MediaLink
      • setType

        public void setType​(java.lang.String value)
        Description copied from interface: MediaLink
        Sets the value of the type attribute.
        Specified by:
        setType in interface MediaLink
      • getMedia

        public int getMedia()
        Description copied from interface: MediaLink
        Returns the value of the media attribute.
        Specified by:
        getMedia in interface MediaLink
      • setMedia

        public void setMedia​(int value)
        Description copied from interface: MediaLink
        Sets the value of the media attribute.
        Specified by:
        setMedia in interface MediaLink
      • getRel

        public int getRel()
        Description copied from interface: MediaLink
        Returns the value of the rel attribute.
        Specified by:
        getRel in interface MediaLink
      • setRel

        public void setRel​(int value)
        Description copied from interface: MediaLink
        Sets the value of the rel attribute.
        Specified by:
        setRel in interface MediaLink
      • getRev

        public int getRev()
        Description copied from interface: MediaLink
        Returns the value of the rev attribute.
        Specified by:
        getRev in interface MediaLink
      • setRev

        public void setRev​(int value)
        Description copied from interface: MediaLink
        Sets the value of the rev attribute.
        Specified by:
        setRev in interface MediaLink
      • getCharset

        public java.lang.String getCharset()
        Description copied from interface: MediaLink
        Returns the value of the charset attribute.
        Specified by:
        getCharset in interface MediaLink
      • setCharset

        public void setCharset​(java.lang.String value)
        Description copied from interface: MediaLink
        Sets the value of the charset attribute.
        Specified by:
        setCharset in interface MediaLink
      • getHreflang

        public java.lang.String getHreflang()
        Description copied from interface: MediaLink
        Returns the value of the hreflang attribute.
        Specified by:
        getHreflang in interface MediaLink
      • setHreflang

        public void setHreflang​(java.lang.String value)
        Description copied from interface: MediaLink
        Sets the value of the hreflang attribute.
        Specified by:
        setHreflang in interface MediaLink
      • getBrowserFiltering

        public java.lang.String getBrowserFiltering()
        Description copied from interface: MediaLink
        Returns the value of the browserFiltering attribute.
        Specified by:
        getBrowserFiltering in interface MediaLink
      • setBrowserFiltering

        public void setBrowserFiltering​(java.lang.String value)
        Description copied from interface: MediaLink
        Sets the value of the browserFiltering attribute.
        Specified by:
        setBrowserFiltering in interface MediaLink
      • getOnload

        public java.lang.String getOnload()
        Description copied from interface: MediaLink
        Returns the value of the onload attribute.
        Specified by:
        getOnload in interface MediaLink
      • setOnload

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

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

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

        public java.lang.String getFile()
        Description copied from interface: MediaLink
        Returns the value of the file attribute.
        Specified by:
        getFile in interface MediaLink
      • setFile

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

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

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

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

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

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

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

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