Class GomLabeledValueLangInfo
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfo
de.espirit.firstspirit.access.store.templatestore.gom.GomLabeledValueLangInfo
- All Implemented Interfaces:
GomCheckable,GomElement,GomLangInfo,Serializable
Specialized language information for value entries.
- Since:
- 4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfo
DefaultGomLangInfo.GomLangHashCodeNested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Field Summary
Fields inherited from class de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfo
TAG -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with the specified languageGomLabeledValueLangInfo(String lang, String label) Creates a new instance with the specified language and labelGomLabeledValueLangInfo(String lang, String label, boolean ignored) Creates a new instance with the specified language and label -
Method Summary
Modifier and TypeMethodDescriptioncloneAndComplete(GomLangInfo source) Clones this language information container and completes missing information by the given source.booleanEquality check implementation.Indicates the value to be ignored for this languageinthashCode()Hash code implementation.booleanignore()Convenience API forgetIgnore()returning a boolean valuebooleanisEmpty()Indicates, whether no language information have been defined.voidSets the value to be ignored for this languageMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfo
createHashCode, equals, equals, getDefaultTag, getDescription, getHashCode, getLabel, getLang, setDescription, setLabel, setLang, validate, verifyMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Constructor Details
-
GomLabeledValueLangInfo
Creates a new instance with the specified language- Parameters:
lang- the language- Since:
- 4.0
-
GomLabeledValueLangInfo
Creates a new instance with the specified language and label- Parameters:
lang- the languagelabel- the label- Since:
- 4.0
-
GomLabeledValueLangInfo
Creates a new instance with the specified language and label- Parameters:
lang- the languagelabel- the labelignored- if the value should be ignored for the language- Since:
- 4.0
-
-
Method Details
-
getIgnore
Indicates the value to be ignored for this language- Since:
- 4.0
-
setIgnore
Sets the value to be ignored for this language- Since:
- 4.0
-
cloneAndComplete
Description copied from class:DefaultGomLangInfoClones this language information container and completes missing information by the given source.- Specified by:
cloneAndCompletein interfaceGomLangInfo- Overrides:
cloneAndCompletein classDefaultGomLangInfo- Parameters:
source- A source language information container.- Returns:
- The cloned container.
-
isEmpty
public boolean isEmpty()Description copied from class:DefaultGomLangInfoIndicates, whether no language information have been defined.- Specified by:
isEmptyin interfaceGomLangInfo- Overrides:
isEmptyin classDefaultGomLangInfo- Returns:
true, if no language information have been defined.
-
hashCode
public int hashCode()Description copied from class:DefaultGomLangInfoHash code implementation.- Overrides:
hashCodein classDefaultGomLangInfo- Returns:
- The hash code.
-
equals
Description copied from class:DefaultGomLangInfoEquality check implementation.- Specified by:
equalsin interfaceGomLangInfo- Overrides:
equalsin classDefaultGomLangInfo- Parameters:
obj- The object to compare to.ignoreLanguage-true, to ignore the language.- Returns:
true, if considered equal.
-
ignore
public boolean ignore()Convenience API forgetIgnore()returning a boolean value- Since:
- 4.0
-