Interface LocalizationBundle
-
- All Superinterfaces:
Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
LocalizationBundleDocument
public interface LocalizationBundle extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
-
Field Summary
Fields Modifier and Type Field Description static StringLINK_PROP_PARENT_BUNDLEConstant property name for "parentBundle" for internal storage and queries.static StringPROP_IDConstant property name for "id" for internal storage and queries.static StringPROP_MESSAGES_DEConstant property name for "messages" and domain "DE" for internal storage and queries.static StringPROP_MESSAGES_ENConstant property name for "messages" and domain "EN" for internal storage and queries.static StringPROP_NAMEConstant property name for "name" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcopyDE2EN()Copies all multilingual properties from language DE to language ENvoidcopyEN2DE()Copies all multilingual properties from language EN to language DEvoidcopyLANG2LANG(String sourceLanguge, String destLanguage)Copies all multilingual properties from source language to destination languageStringgetMessages()Returns the current value of the messages attribute.StringgetMessagesDE()Returns the value of the messages attribute in the "DE" domain.StringgetMessagesEN()Returns the value of the messages attribute in the "EN" domain.StringgetName()Returns the value of the name attribute.StringgetParentBundle()Returns the value of the parentBundle attribute.voidsetMessages(String value)Sets the value of the messages attribute in the current domain.voidsetMessagesDE(String value)Sets the value of the messages attribute in the domain "DE"voidsetMessagesEN(String value)Sets the value of the messages attribute in the domain "EN"voidsetName(String value)Sets the value of the name attribute.voidsetParentBundle(String value)Sets the value of the parentBundle attribute.
-
-
-
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_MESSAGES_EN
static final String PROP_MESSAGES_EN
Constant property name for "messages" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_MESSAGES_DE
static final String PROP_MESSAGES_DE
Constant property name for "messages" and domain "DE" for internal storage and queries.- See Also:
- Constant Field Values
-
LINK_PROP_PARENT_BUNDLE
static final String LINK_PROP_PARENT_BUNDLE
Constant property name for "parentBundle" 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.
-
getMessagesEN
String getMessagesEN()
Returns the value of the messages attribute in the "EN" domain.
-
getMessagesDE
String getMessagesDE()
Returns the value of the messages attribute in the "DE" domain.
-
getMessages
String getMessages()
Returns the current value of the messages attribute. Current means in the currently selected domain.
-
setMessagesEN
void setMessagesEN(String value)
Sets the value of the messages attribute in the domain "EN"
-
setMessagesDE
void setMessagesDE(String value)
Sets the value of the messages attribute in the domain "DE"
-
setMessages
void setMessages(String value)
Sets the value of the messages attribute in the current domain. Current means in the currently selected domain.
-
getParentBundle
String getParentBundle()
Returns the value of the parentBundle attribute.
-
setParentBundle
void setParentBundle(String value)
Sets the value of the parentBundle attribute.
-
copyLANG2LANG
void copyLANG2LANG(String sourceLanguge, String destLanguage)
Copies all multilingual properties from source language to destination language
-
copyEN2DE
void copyEN2DE()
Copies all multilingual properties from language EN to language DE
-
copyDE2EN
void copyDE2EN()
Copies all multilingual properties from language DE to language EN
-
-