Interface Brand
- All Superinterfaces:
Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
BrandDocument
public interface Brand
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant property name for "attributes" for internal storage and queries.static final StringConstant property name for "defaultBrand" for internal storage and queries.static final StringConstant property name for "id" for internal storage and queries.static final StringConstant property name for "localizations" for internal storage and queries.static final StringConstant property name for "mediaLinks" for internal storage and queries.static final StringConstant property name for "name" for internal storage and queries.static final StringConstant property name for "urlsToMap" for internal storage and queries. -
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.Returns 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.Methods inherited from interface net.anotheria.asg.data.DataObject
clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNodeMethods inherited from interface net.anotheria.util.sorter.IComparable
compareTo
-
Field Details
-
PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
-
PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
-
PROP_DEFAULT_BRAND
Constant property name for "defaultBrand" for internal storage and queries.- See Also:
-
PROP_URLS_TO_MAP
Constant property name for "urlsToMap" for internal storage and queries.- See Also:
-
PROP_LOCALIZATIONS
Constant property name for "localizations" for internal storage and queries.- See Also:
-
PROP_MEDIA_LINKS
Constant property name for "mediaLinks" for internal storage and queries.- See Also:
-
PROP_ATTRIBUTES
Constant property name for "attributes" for internal storage and queries.- See Also:
-
-
Method Details
-
getName
String getName()Returns the value of the name attribute. -
setName
Sets the value of the name attribute. -
getDefaultBrand
boolean getDefaultBrand()Returns the value of the defaultBrand attribute. -
setDefaultBrand
void setDefaultBrand(boolean value) Sets the value of the defaultBrand attribute. -
getUrlsToMap
Returns the value of the urlsToMap attribute. -
setUrlsToMap
Sets the value of the urlsToMap attribute. -
getLocalizations
Returns the value of the localizations attribute. -
setLocalizations
Sets the value of the localizations attribute. -
getMediaLinks
Returns the value of the mediaLinks attribute. -
setMediaLinks
Sets the value of the mediaLinks attribute. -
getAttributes
Returns the value of the attributes attribute. -
setAttributes
Sets the value of the attributes attribute. -
getUrlsToMapSize
int getUrlsToMapSize()Returns the number of elements in the "urlsToMap" container -
addUrlsToMapElement
Adds a new element to the list. -
removeUrlsToMapElement
void removeUrlsToMapElement(int index) Removes the element at position index from the list. -
swapUrlsToMapElement
void swapUrlsToMapElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getUrlsToMapElement
Returns the element at the position index in the list. -
getLocalizationsSize
int getLocalizationsSize()Returns the number of elements in the "localizations" container -
addLocalizationsElement
Adds a new element to the list. -
removeLocalizationsElement
void removeLocalizationsElement(int index) Removes the element at position index from the list. -
swapLocalizationsElement
void swapLocalizationsElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getLocalizationsElement
Returns the element at the position index in the list. -
getMediaLinksSize
int getMediaLinksSize()Returns the number of elements in the "mediaLinks" container -
addMediaLinksElement
Adds a new element to the list. -
removeMediaLinksElement
void removeMediaLinksElement(int index) Removes the element at position index from the list. -
swapMediaLinksElement
void swapMediaLinksElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getMediaLinksElement
Returns the element at the position index in the list. -
getAttributesSize
int getAttributesSize()Returns the number of elements in the "attributes" container -
addAttributesElement
Adds a new element to the list. -
removeAttributesElement
void removeAttributesElement(int index) Removes the element at position index from the list. -
swapAttributesElement
void swapAttributesElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getAttributesElement
Returns the element at the position index in the list.
-