public interface Description extends XMLizable
Modifier and Type | Field and Description |
---|---|
static int | ADMIN_DESC
The value of the 'admin' type of description.
|
static java.lang.String | COPYRIGHT
IBM Copyright
|
static int | MAXSIZE
Maximum number of descriptions hold in each locale.
|
static int | SHOPPER_LONG_DESC
The value of the 'long' type of description.
|
static int | SHOPPER_SHORT_DESC
The value of the 'short' type of description.
|
Modifier and Type | Method and Description |
---|---|
void | addDescription(java.util.Locale locale, int type, java.lang.String description)
Adds a description with a type, locale and text.
|
java.lang.String | getDefaultDescription(int type)
Returns the specified type of the description in the default locale.
|
java.lang.String | getDescription(java.util.Locale locale, int type)
Returns the specified type of the description in a particular locale.
|
void | removeDescription(java.util.Locale locale, int type)
Removes a description with a type and locale.
|
void | reset()
Resets the description, removes all descriptions.
|
void | setDefaultLocale(java.util.Locale locale)
Sets the default locale for this description object.
|
static final java.lang.String COPYRIGHT
static final int MAXSIZE
static final int ADMIN_DESC
static final int SHOPPER_LONG_DESC
static final int SHOPPER_SHORT_DESC
java.lang.String getDescription(java.util.Locale locale, int type)
java.lang.String getDefaultDescription(int type)
void addDescription(java.util.Locale locale, int type, java.lang.String description)
void removeDescription(java.util.Locale locale, int type)
void reset()
void setDefaultLocale(java.util.Locale locale)