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:
Serializable,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:
-
Field Summary
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLEDFields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERFields 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_MAPFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributesElement(String attribute) Adds a new element to the list.voidaddLocalizationsElement(String localization) Adds a new element to the list.voidaddMediaLinksElement(String mediaLink) Adds a new element to the list.voidaddUrlsToMapElement(String urlToMap) Adds a new element to the list.intintcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) booleanReturns the value of the attributes attribute.getAttributesElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "attributes" containerbooleanReturns the value of the defaultBrand attribute.Returns the value of the localizations attribute.getLocalizationsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "localizations" containerReturns the value of the mediaLinks attribute.getMediaLinksElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "mediaLinks" containergetName()Returns the value of the name attribute.Returns the value of the urlsToMap attribute.getUrlsToMapElement(int index) Returns the element at the position index in the list.intReturns 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(List<String> value) Sets the value of the attributes attribute.voidsetDefaultBrand(boolean value) Sets the value of the defaultBrand attribute.voidsetLocalizations(List<String> value) Sets the value of the localizations attribute.voidsetMediaLinks(List<String> value) Sets the value of the mediaLinks attribute.voidSets the value of the name attribute.voidsetUrlsToMap(List<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.toString()Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeMethods 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, toXMLNodeMethods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.anotheria.asg.data.DataObject
clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
-
Constructor Details
-
BrandDocument
public BrandDocument() -
BrandDocument
-
BrandDocument
-
-
Method Details
-
getName
Description copied from interface:BrandReturns the value of the name attribute. -
setName
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
Description copied from interface:BrandReturns the value of the urlsToMap attribute.- Specified by:
getUrlsToMapin interfaceBrand
-
setUrlsToMap
Description copied from interface:BrandSets the value of the urlsToMap attribute.- Specified by:
setUrlsToMapin interfaceBrand
-
getLocalizations
Description copied from interface:BrandReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfaceBrand
-
setLocalizations
Description copied from interface:BrandSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfaceBrand
-
getMediaLinks
Description copied from interface:BrandReturns the value of the mediaLinks attribute.- Specified by:
getMediaLinksin interfaceBrand
-
setMediaLinks
Description copied from interface:BrandSets the value of the mediaLinks attribute.- Specified by:
setMediaLinksin interfaceBrand
-
getAttributes
Description copied from interface:BrandReturns the value of the attributes attribute.- Specified by:
getAttributesin interfaceBrand
-
setAttributes
Description copied from interface:BrandSets the value of the attributes attribute.- Specified by:
setAttributesin interfaceBrand
-
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
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
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
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
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
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
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
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
Description copied from interface:BrandReturns the element at the position index in the list.- Specified by:
getAttributesElementin interfaceBrand
-
compareTo
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) - Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
-