Interface GomLangInfo
- All Superinterfaces:
GomElement
,Serializable
- All Known Implementing Classes:
DefaultGomLangInfo
Root definition for GOM elements providing specific information
of primitive types (attribute-gained data).
- Since:
- 4.0.17
-
Method Summary
Modifier and TypeMethodDescriptioncloneAndComplete
(GomLangInfo source) Produce a mutable clone of the instance being completed by values from the given source.boolean
Checks, if the given object is equal to this one.Get the description.getLabel()
Get the label.de.espirit.firstspirit.common.text.LanguageAbbreviation
getLang()
Get the language the information is defined for.boolean
isEmpty()
Indicates an empty language info object.void
setDescription
(String description) Set the description.void
Set the label.void
setLang
(de.espirit.firstspirit.common.text.LanguageAbbreviation lang) Set the language the information is given for.Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Method Details
-
setLang
void setLang(de.espirit.firstspirit.common.text.LanguageAbbreviation lang) Set the language the information is given for.- Parameters:
lang
- The information's source language.- Since:
- 4.0.17
-
getLang
de.espirit.firstspirit.common.text.LanguageAbbreviation getLang()Get the language the information is defined for.- Returns:
- The information's source language.
- Since:
- 4.0.17
-
setLabel
Set the label.- Parameters:
label
- The label's value.- Since:
- 4.0.17
-
getLabel
String getLabel()Get the label.- Returns:
- The label's value.
- Since:
- 4.0.17
-
setDescription
Set the description.- Parameters:
description
- The description.- Since:
- 4.0.17
-
getDescription
String getDescription()Get the description.- Returns:
- The description.
- Since:
- 4.0.17
-
cloneAndComplete
Produce a mutable clone of the instance being completed by values from the given source.- Returns:
- A completed clone.
- Since:
- 4.0.17
-
equals
Checks, if the given object is equal to this one.- Parameters:
obj
- The object to compare to.ignoreLanguage
- Ignore difference in language.- Returns:
true
, if the object is similar.- Since:
- 4.0.17
-
isEmpty
boolean isEmpty()Indicates an empty language info object.- Returns:
true
, if the info is seen as empty.- Since:
- 4.0.17
-