public interface GomLangInfo extends GomElement
Modifier and Type | Method and Description |
---|---|
GomLangInfo |
cloneAndComplete(GomLangInfo source)
Produce a mutable clone of the instance being completed by
values from the given source.
|
boolean |
equals(Object obj,
boolean ignoreLanguage)
Checks, if the given object is equal to this one.
|
String |
getDescription()
Get the description.
|
String |
getLabel()
Get the label.
|
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 |
setLabel(String label)
Set the label.
|
void |
setLang(LanguageAbbreviation lang)
Set the language the information is given for.
|
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration, validate
void setLang(LanguageAbbreviation lang)
lang
- The information's source language.LanguageAbbreviation getLang()
void setLabel(String label)
label
- The label's value.String getLabel()
void setDescription(String description)
description
- The description.String getDescription()
GomLangInfo cloneAndComplete(GomLangInfo source)
boolean equals(Object obj, boolean ignoreLanguage)
obj
- The object to compare to.ignoreLanguage
- Ignore difference in language.true
, if the object is similar.boolean isEmpty()
true
, if the info is seen as empty.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408