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
Fields Modifier and Type Field Description static StringPROP_ATTRIBUTESConstant property name for "attributes" for internal storage and queries.static StringPROP_DEFAULT_BRANDConstant property name for "defaultBrand" for internal storage and queries.static StringPROP_IDConstant property name for "id" for internal storage and queries.static StringPROP_LOCALIZATIONSConstant property name for "localizations" for internal storage and queries.static StringPROP_MEDIA_LINKSConstant property name for "mediaLinks" for internal storage and queries.static StringPROP_NAMEConstant property name for "name" for internal storage and queries.static StringPROP_URLS_TO_MAPConstant property name for "urlsToMap" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAttributesElement(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.List<String>getAttributes()Returns the value of the attributes attribute.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.List<String>getLocalizations()Returns the value of the localizations attribute.StringgetLocalizationsElement(int index)Returns the element at the position index in the list.intgetLocalizationsSize()Returns the number of elements in the "localizations" containerList<String>getMediaLinks()Returns the value of the mediaLinks attribute.StringgetMediaLinksElement(int index)Returns the element at the position index in the list.intgetMediaLinksSize()Returns the number of elements in the "mediaLinks" containerStringgetName()Returns the value of the name attribute.List<String>getUrlsToMap()Returns the value of the urlsToMap attribute.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(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.voidsetName(String value)Sets 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.
-
-
-
Field Detail
-
PROP_ID
static final String PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_NAME
static final String PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_DEFAULT_BRAND
static final String PROP_DEFAULT_BRAND
Constant property name for "defaultBrand" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_URLS_TO_MAP
static final String PROP_URLS_TO_MAP
Constant property name for "urlsToMap" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_LOCALIZATIONS
static final String PROP_LOCALIZATIONS
Constant property name for "localizations" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_MEDIA_LINKS
static final String PROP_MEDIA_LINKS
Constant property name for "mediaLinks" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_ATTRIBUTES
static final String PROP_ATTRIBUTES
Constant property name for "attributes" for internal storage and queries.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
Returns the value of the name attribute.
-
setName
void setName(String value)
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.
-
setLocalizations
void setLocalizations(List<String> value)
Sets the value of the localizations attribute.
-
getUrlsToMapSize
int getUrlsToMapSize()
Returns the number of elements in the "urlsToMap" container
-
addUrlsToMapElement
void addUrlsToMapElement(String urlToMap)
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
String getUrlsToMapElement(int index)
Returns the element at the position index in the list.
-
getLocalizationsSize
int getLocalizationsSize()
Returns the number of elements in the "localizations" container
-
addLocalizationsElement
void addLocalizationsElement(String localization)
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
String getLocalizationsElement(int index)
Returns the element at the position index in the list.
-
getMediaLinksSize
int getMediaLinksSize()
Returns the number of elements in the "mediaLinks" container
-
addMediaLinksElement
void addMediaLinksElement(String mediaLink)
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
String getMediaLinksElement(int index)
Returns the element at the position index in the list.
-
getAttributesSize
int getAttributesSize()
Returns the number of elements in the "attributes" container
-
addAttributesElement
void addAttributesElement(String attribute)
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
String getAttributesElement(int index)
Returns the element at the position index in the list.
-
-