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:
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
-
-
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
-
Fields inherited from interface net.anotheria.anosite.gen.assitedata.data.MediaLink
LINK_PROP_FILE, PROP_BROWSER_FILTERING, PROP_CHARSET, PROP_GUARDS, PROP_HREF, PROP_HREFLANG, PROP_ID, PROP_MEDIA, PROP_NAME, PROP_ONLOAD, PROP_REL, PROP_REV, PROP_TYPE
-
-
Constructor Summary
Constructors Constructor Description MediaLinkDocument()MediaLinkDocument(java.lang.String id)MediaLinkDocument(MediaLinkDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGuardsElement(java.lang.String guard)Adds a new element to the list.intcompareTo(MediaLink comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.lang.StringgetBrowserFiltering()Returns the value of the browserFiltering attribute.java.lang.StringgetCharset()Returns the value of the charset attribute.java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetFile()Returns the value of the file attribute.java.lang.StringgetFootprint()java.util.List<java.lang.String>getGuards()Returns the value of the guards attribute.java.lang.StringgetGuardsElement(int index)Returns the element at the position index in the list.intgetGuardsSize()Returns the number of elements in the "guards" containerjava.lang.StringgetHref()Returns the value of the href attribute.java.lang.StringgetHreflang()Returns the value of the hreflang attribute.intgetMedia()Returns the value of the media attribute.java.lang.StringgetName()Returns the value of the name attribute.java.lang.StringgetOnload()Returns the value of the onload attribute.intgetRel()Returns the value of the rel attribute.intgetRev()Returns the value of the rev attribute.java.lang.StringgetType()Returns the value of the type attribute.voidremoveGuardsElement(int index)Removes the element at position index from the list.voidsetBrowserFiltering(java.lang.String value)Sets the value of the browserFiltering attribute.voidsetCharset(java.lang.String value)Sets the value of the charset attribute.voidsetFile(java.lang.String value)Sets the value of the file attribute.voidsetGuards(java.util.List<java.lang.String> value)Sets the value of the guards attribute.voidsetHref(java.lang.String value)Sets the value of the href attribute.voidsetHreflang(java.lang.String value)Sets the value of the hreflang attribute.voidsetMedia(int value)Sets the value of the media attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetOnload(java.lang.String value)Sets the value of the onload attribute.voidsetRel(int value)Sets the value of the rel attribute.voidsetRev(int value)Sets the value of the rev attribute.voidsetType(java.lang.String value)Sets the value of the type attribute.voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.StringtoString()-
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
-
-
-
-
Constructor Detail
-
MediaLinkDocument
public MediaLinkDocument()
-
MediaLinkDocument
public MediaLinkDocument(java.lang.String id)
-
MediaLinkDocument
public MediaLinkDocument(MediaLinkDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:MediaLinkReturns the value of the name attribute.
-
setName
public void setName(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the name attribute.
-
getHref
public java.lang.String getHref()
Description copied from interface:MediaLinkReturns the value of the href attribute.
-
setHref
public void setHref(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the href attribute.
-
getType
public java.lang.String getType()
Description copied from interface:MediaLinkReturns the value of the type attribute.
-
setType
public void setType(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the type attribute.
-
getMedia
public int getMedia()
Description copied from interface:MediaLinkReturns the value of the media attribute.
-
setMedia
public void setMedia(int value)
Description copied from interface:MediaLinkSets the value of the media attribute.
-
getRel
public int getRel()
Description copied from interface:MediaLinkReturns the value of the rel attribute.
-
setRel
public void setRel(int value)
Description copied from interface:MediaLinkSets the value of the rel attribute.
-
getRev
public int getRev()
Description copied from interface:MediaLinkReturns the value of the rev attribute.
-
setRev
public void setRev(int value)
Description copied from interface:MediaLinkSets the value of the rev attribute.
-
getCharset
public java.lang.String getCharset()
Description copied from interface:MediaLinkReturns the value of the charset attribute.- Specified by:
getCharsetin interfaceMediaLink
-
setCharset
public void setCharset(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the charset attribute.- Specified by:
setCharsetin interfaceMediaLink
-
getHreflang
public java.lang.String getHreflang()
Description copied from interface:MediaLinkReturns the value of the hreflang attribute.- Specified by:
getHreflangin interfaceMediaLink
-
setHreflang
public void setHreflang(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the hreflang attribute.- Specified by:
setHreflangin interfaceMediaLink
-
getBrowserFiltering
public java.lang.String getBrowserFiltering()
Description copied from interface:MediaLinkReturns the value of the browserFiltering attribute.- Specified by:
getBrowserFilteringin interfaceMediaLink
-
setBrowserFiltering
public void setBrowserFiltering(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the browserFiltering attribute.- Specified by:
setBrowserFilteringin interfaceMediaLink
-
getOnload
public java.lang.String getOnload()
Description copied from interface:MediaLinkReturns the value of the onload attribute.
-
setOnload
public void setOnload(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the onload attribute.
-
getGuards
public java.util.List<java.lang.String> getGuards()
Description copied from interface:MediaLinkReturns the value of the guards attribute.
-
setGuards
public void setGuards(java.util.List<java.lang.String> value)
Description copied from interface:MediaLinkSets the value of the guards attribute.
-
getFile
public java.lang.String getFile()
Description copied from interface:MediaLinkReturns the value of the file attribute.
-
setFile
public void setFile(java.lang.String value)
Description copied from interface:MediaLinkSets the value of the file attribute.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getGuardsSize
public int getGuardsSize()
Description copied from interface:MediaLinkReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceMediaLink
-
addGuardsElement
public void addGuardsElement(java.lang.String guard)
Description copied from interface:MediaLinkAdds a new element to the list.- Specified by:
addGuardsElementin interfaceMediaLink
-
removeGuardsElement
public void removeGuardsElement(int index)
Description copied from interface:MediaLinkRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceMediaLink
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2)Description copied from interface:MediaLinkSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceMediaLink
-
getGuardsElement
public java.lang.String getGuardsElement(int index)
Description copied from interface:MediaLinkReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceMediaLink
-
compareTo
public int compareTo(MediaLink comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-