Class BrandDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asbrand.data.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.anosite.gen.asbrand.data.Brand
PROP_ATTRIBUTES, PROP_DEFAULT_BRAND, PROP_ID, PROP_LOCALIZATIONS, PROP_MEDIA_LINKS, PROP_NAME, PROP_URLS_TO_MAP
-
-
Constructor Summary
Constructors Constructor Description BrandDocument()BrandDocument(java.lang.String id)BrandDocument(BrandDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributesElement(java.lang.String attribute)Adds a new element to the list.voidaddLocalizationsElement(java.lang.String localization)Adds a new element to the list.voidaddMediaLinksElement(java.lang.String mediaLink)Adds a new element to the list.voidaddUrlsToMapElement(java.lang.String urlToMap)Adds a new element to the list.intcompareTo(Brand comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getAttributes()Returns the value of the attributes attribute.java.lang.StringgetAttributesElement(int index)Returns the element at the position index in the list.intgetAttributesSize()Returns the number of elements in the "attributes" containerbooleangetDefaultBrand()Returns the value of the defaultBrand attribute.java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetFootprint()java.util.List<java.lang.String>getLocalizations()Returns the value of the localizations attribute.java.lang.StringgetLocalizationsElement(int index)Returns the element at the position index in the list.intgetLocalizationsSize()Returns the number of elements in the "localizations" containerjava.util.List<java.lang.String>getMediaLinks()Returns the value of the mediaLinks attribute.java.lang.StringgetMediaLinksElement(int index)Returns the element at the position index in the list.intgetMediaLinksSize()Returns the number of elements in the "mediaLinks" containerjava.lang.StringgetName()Returns the value of the name attribute.java.util.List<java.lang.String>getUrlsToMap()Returns the value of the urlsToMap attribute.java.lang.StringgetUrlsToMapElement(int index)Returns the element at the position index in the list.intgetUrlsToMapSize()Returns the number of elements in the "urlsToMap" containervoidremoveAttributesElement(int index)Removes the element at position index from the list.voidremoveLocalizationsElement(int index)Removes the element at position index from the list.voidremoveMediaLinksElement(int index)Removes the element at position index from the list.voidremoveUrlsToMapElement(int index)Removes the element at position index from the list.voidsetAttributes(java.util.List<java.lang.String> value)Sets the value of the attributes attribute.voidsetDefaultBrand(boolean value)Sets the value of the defaultBrand attribute.voidsetLocalizations(java.util.List<java.lang.String> value)Sets the value of the localizations attribute.voidsetMediaLinks(java.util.List<java.lang.String> value)Sets the value of the mediaLinks attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetUrlsToMap(java.util.List<java.lang.String> value)Sets the value of the urlsToMap attribute.voidswapAttributesElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapLocalizationsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapMediaLinksElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapUrlsToMapElement(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
-
BrandDocument
public BrandDocument()
-
BrandDocument
public BrandDocument(java.lang.String id)
-
BrandDocument
public BrandDocument(BrandDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:BrandReturns the value of the name attribute.
-
setName
public void setName(java.lang.String value)
Description copied from interface:BrandSets the value of the name attribute.
-
getDefaultBrand
public boolean getDefaultBrand()
Description copied from interface:BrandReturns the value of the defaultBrand attribute.- Specified by:
getDefaultBrandin interfaceBrand
-
setDefaultBrand
public void setDefaultBrand(boolean value)
Description copied from interface:BrandSets the value of the defaultBrand attribute.- Specified by:
setDefaultBrandin interfaceBrand
-
getUrlsToMap
public java.util.List<java.lang.String> getUrlsToMap()
Description copied from interface:BrandReturns the value of the urlsToMap attribute.- Specified by:
getUrlsToMapin interfaceBrand
-
setUrlsToMap
public void setUrlsToMap(java.util.List<java.lang.String> value)
Description copied from interface:BrandSets the value of the urlsToMap attribute.- Specified by:
setUrlsToMapin interfaceBrand
-
getLocalizations
public java.util.List<java.lang.String> getLocalizations()
Description copied from interface:BrandReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfaceBrand
-
setLocalizations
public void setLocalizations(java.util.List<java.lang.String> value)
Description copied from interface:BrandSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfaceBrand
-
getMediaLinks
public java.util.List<java.lang.String> getMediaLinks()
Description copied from interface:BrandReturns the value of the mediaLinks attribute.- Specified by:
getMediaLinksin interfaceBrand
-
setMediaLinks
public void setMediaLinks(java.util.List<java.lang.String> value)
Description copied from interface:BrandSets the value of the mediaLinks attribute.- Specified by:
setMediaLinksin interfaceBrand
-
getAttributes
public java.util.List<java.lang.String> getAttributes()
Description copied from interface:BrandReturns the value of the attributes attribute.- Specified by:
getAttributesin interfaceBrand
-
setAttributes
public void setAttributes(java.util.List<java.lang.String> value)
Description copied from interface:BrandSets the value of the attributes attribute.- Specified by:
setAttributesin interfaceBrand
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getUrlsToMapSize
public int getUrlsToMapSize()
Description copied from interface:BrandReturns the number of elements in the "urlsToMap" container- Specified by:
getUrlsToMapSizein interfaceBrand
-
addUrlsToMapElement
public void addUrlsToMapElement(java.lang.String urlToMap)
Description copied from interface:BrandAdds a new element to the list.- Specified by:
addUrlsToMapElementin interfaceBrand
-
removeUrlsToMapElement
public void removeUrlsToMapElement(int index)
Description copied from interface:BrandRemoves the element at position index from the list.- Specified by:
removeUrlsToMapElementin interfaceBrand
-
swapUrlsToMapElement
public void swapUrlsToMapElement(int index1, int index2)Description copied from interface:BrandSwaps elements at positions index1 and index2 in the list.- Specified by:
swapUrlsToMapElementin interfaceBrand
-
getUrlsToMapElement
public java.lang.String getUrlsToMapElement(int index)
Description copied from interface:BrandReturns the element at the position index in the list.- Specified by:
getUrlsToMapElementin interfaceBrand
-
getLocalizationsSize
public int getLocalizationsSize()
Description copied from interface:BrandReturns the number of elements in the "localizations" container- Specified by:
getLocalizationsSizein interfaceBrand
-
addLocalizationsElement
public void addLocalizationsElement(java.lang.String localization)
Description copied from interface:BrandAdds a new element to the list.- Specified by:
addLocalizationsElementin interfaceBrand
-
removeLocalizationsElement
public void removeLocalizationsElement(int index)
Description copied from interface:BrandRemoves the element at position index from the list.- Specified by:
removeLocalizationsElementin interfaceBrand
-
swapLocalizationsElement
public void swapLocalizationsElement(int index1, int index2)Description copied from interface:BrandSwaps elements at positions index1 and index2 in the list.- Specified by:
swapLocalizationsElementin interfaceBrand
-
getLocalizationsElement
public java.lang.String getLocalizationsElement(int index)
Description copied from interface:BrandReturns the element at the position index in the list.- Specified by:
getLocalizationsElementin interfaceBrand
-
getMediaLinksSize
public int getMediaLinksSize()
Description copied from interface:BrandReturns the number of elements in the "mediaLinks" container- Specified by:
getMediaLinksSizein interfaceBrand
-
addMediaLinksElement
public void addMediaLinksElement(java.lang.String mediaLink)
Description copied from interface:BrandAdds a new element to the list.- Specified by:
addMediaLinksElementin interfaceBrand
-
removeMediaLinksElement
public void removeMediaLinksElement(int index)
Description copied from interface:BrandRemoves the element at position index from the list.- Specified by:
removeMediaLinksElementin interfaceBrand
-
swapMediaLinksElement
public void swapMediaLinksElement(int index1, int index2)Description copied from interface:BrandSwaps elements at positions index1 and index2 in the list.- Specified by:
swapMediaLinksElementin interfaceBrand
-
getMediaLinksElement
public java.lang.String getMediaLinksElement(int index)
Description copied from interface:BrandReturns the element at the position index in the list.- Specified by:
getMediaLinksElementin interfaceBrand
-
getAttributesSize
public int getAttributesSize()
Description copied from interface:BrandReturns the number of elements in the "attributes" container- Specified by:
getAttributesSizein interfaceBrand
-
addAttributesElement
public void addAttributesElement(java.lang.String attribute)
Description copied from interface:BrandAdds a new element to the list.- Specified by:
addAttributesElementin interfaceBrand
-
removeAttributesElement
public void removeAttributesElement(int index)
Description copied from interface:BrandRemoves the element at position index from the list.- Specified by:
removeAttributesElementin interfaceBrand
-
swapAttributesElement
public void swapAttributesElement(int index1, int index2)Description copied from interface:BrandSwaps elements at positions index1 and index2 in the list.- Specified by:
swapAttributesElementin interfaceBrand
-
getAttributesElement
public java.lang.String getAttributesElement(int index)
Description copied from interface:BrandReturns the element at the position index in the list.- Specified by:
getAttributesElementin interfaceBrand
-
compareTo
public int compareTo(Brand 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
-
-