Interface TextResource
-
- All Superinterfaces:
Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
TextResourceDocument
public interface TextResource extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_IDConstant property name for "id" for internal storage and queries.static StringPROP_NAMEConstant property name for "name" for internal storage and queries.static StringPROP_VALUE_DEConstant property name for "value" and domain "DE" for internal storage and queries.static StringPROP_VALUE_ENConstant property name for "value" and domain "EN" 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 languageStringgetName()Returns the value of the name attribute.StringgetValue()Returns the current value of the value attribute.StringgetValueDE()Returns the value of the value attribute in the "DE" domain.StringgetValueEN()Returns the value of the value attribute in the "EN" domain.voidsetName(String value)Sets the value of the name attribute.voidsetValue(String value)Sets the value of the value attribute in the current domain.voidsetValueDE(String value)Sets the value of the value attribute in the domain "DE"voidsetValueEN(String value)Sets the value of the value attribute in the domain "EN"
-
-
-
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_VALUE_EN
static final String PROP_VALUE_EN
Constant property name for "value" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_VALUE_DE
static final String PROP_VALUE_DE
Constant property name for "value" and domain "DE" 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.
-
getValueEN
String getValueEN()
Returns the value of the value attribute in the "EN" domain.
-
getValueDE
String getValueDE()
Returns the value of the value attribute in the "DE" domain.
-
getValue
String getValue()
Returns the current value of the value attribute. Current means in the currently selected domain.
-
setValueEN
void setValueEN(String value)
Sets the value of the value attribute in the domain "EN"
-
setValueDE
void setValueDE(String value)
Sets the value of the value attribute in the domain "DE"
-
setValue
void setValue(String value)
Sets the value of the value attribute in the current domain. Current means in the currently selected domain.
-
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
-
-