Interface TextResource
-
- All Superinterfaces:
java.lang.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 java.lang.StringPROP_IDConstant property name for "id" for internal storage and queries.static java.lang.StringPROP_NAMEConstant property name for "name" for internal storage and queries.static java.lang.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 voidcopyLANG2LANG(java.lang.String sourceLanguge, java.lang.String destLanguage)Copies all multilingual properties from source language to destination languagejava.lang.StringgetName()Returns the value of the name attribute.java.lang.StringgetValue()Returns the current value of the value attribute.java.lang.StringgetValueEN()Returns the value of the value attribute in the "EN" domain.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetValue(java.lang.String value)Sets the value of the value attribute in the current domain.voidsetValueEN(java.lang.String value)Sets the value of the value attribute in the domain "EN"
-
-
-
Field Detail
-
PROP_ID
static final java.lang.String PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_NAME
static final java.lang.String PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_VALUE_EN
static final java.lang.String PROP_VALUE_EN
Constant property name for "value" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the value of the name attribute.
-
setName
void setName(java.lang.String value)
Sets the value of the name attribute.
-
getValueEN
java.lang.String getValueEN()
Returns the value of the value attribute in the "EN" domain.
-
getValue
java.lang.String getValue()
Returns the current value of the value attribute. Current means in the currently selected domain.
-
setValueEN
void setValueEN(java.lang.String value)
Sets the value of the value attribute in the domain "EN"
-
setValue
void setValue(java.lang.String value)
Sets the value of the value attribute in the current domain. Current means in the currently selected domain.
-
copyLANG2LANG
void copyLANG2LANG(java.lang.String sourceLanguge, java.lang.String destLanguage)Copies all multilingual properties from source language to destination language
-
-