Class GomValueLangInfos
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList<GomLangInfo>
de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfos
de.espirit.firstspirit.access.store.templatestore.gom.GomValueLangInfos
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomLangInfos
,GomList<GomLangInfo>
,Serializable
,Cloneable
,Iterable<GomLangInfo>
,Collection<GomLangInfo>
,List<GomLangInfo>
,RandomAccess
Specialized list for entries' language infos.
- Since:
- 4.0
- See Also:
-
Nested Class Summary
Nested 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.DefaultGomLangInfos
ENTRY_TAG, TAG
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(int index) Provide the language information entry stored at the given index.Provide the language information entry for the given language.Resolves the language information entry to be used for the given language.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfos
getDefaultTag, getGomElementMappings, validate, verify
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
GomValueLangInfos
public GomValueLangInfos()Creates a new instance- Since:
- 4.0
-
-
Method Details
-
get
Description copied from class:DefaultGomLangInfos
Provide the language information entry stored at the given index.- Specified by:
get
in interfaceGomLangInfos
- Specified by:
get
in interfaceList<GomLangInfo>
- Overrides:
get
in classDefaultGomLangInfos
- Parameters:
index
- The index to look up.- Returns:
- The language information entry.
-
get
Description copied from class:DefaultGomLangInfos
Provide the language information entry for the given language.- Specified by:
get
in interfaceGomLangInfos
- Overrides:
get
in classDefaultGomLangInfos
- Parameters:
lang
- The language abbreviation.- Returns:
- The according language information entry.
-
resolve
Description copied from class:DefaultGomLangInfos
Resolves the language information entry to be used for the given language. Information not stored for the requested language will be completed with information from the fallback entry.- Specified by:
resolve
in interfaceGomLangInfos
- Overrides:
resolve
in classDefaultGomLangInfos
- Parameters:
lang
- The language abbreviation.- Returns:
- A language information entry.
-