Class MediaLinkDocument

java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.assitedata.data.MediaLinkDocument
All Implemented Interfaces:
Serializable, 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:
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    int
    compareTo(MediaLink comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
    Returns the value of the browserFiltering attribute.
    Returns the value of the charset attribute.
     
     
    Returns the value of the file 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 href attribute.
    Returns the value of the hreflang attribute.
    int
    Returns the value of the media attribute.
    Returns the value of the name attribute.
    Returns the value of the onload attribute.
    int
    Returns the value of the rel attribute.
    int
    Returns the value of the rev attribute.
    Returns the value of the type attribute.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the browserFiltering attribute.
    void
    Sets the value of the charset attribute.
    void
    setFile(String value)
    Sets the value of the file attribute.
    void
    Sets the value of the guards attribute.
    void
    setHref(String value)
    Sets the value of the href attribute.
    void
    Sets the value of the hreflang attribute.
    void
    setMedia(int value)
    Sets the value of the media attribute.
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    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(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.
     

    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

    • MediaLinkDocument

      public MediaLinkDocument()
    • MediaLinkDocument

      public MediaLinkDocument(String id)
    • MediaLinkDocument

      public MediaLinkDocument(MediaLinkDocument toClone)
  • Method Details

    • getName

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

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

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

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

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

      public void setType(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 String getCharset()
      Description copied from interface: MediaLink
      Returns the value of the charset attribute.
      Specified by:
      getCharset in interface MediaLink
    • setCharset

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

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

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

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

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

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

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

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

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

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

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

      public 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(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 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 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