Class GomNumberLangInfo
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.GomNumberLangInfo
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomLangInfo
,Serializable
Extended language info container for numbers.
- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfo
DefaultGomLangInfo.GomLangHashCode
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.DefaultGomLangInfo
TAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncloneAndComplete
(GomLangInfo source) Clones this language information container and completes missing information by the given source.protected de.espirit.firstspirit.access.store.templatestore.gom.GomNumberLangInfo.GomNumberLangHashCode
Create this object's hash code.boolean
Equality check implementation.Format to be used to display numbersint
hashCode()
Hash code implementation.boolean
isEmpty()
Indicates, whether no language information have been defined.void
Sets the format to be used to display numbersMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.DefaultGomLangInfo
equals, equals, getDefaultTag, getDescription, getHashCode, getLabel, getLang, setDescription, setLabel, setLang, validate, verify
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Constructor Details
-
GomNumberLangInfo
public GomNumberLangInfo()
-
-
Method Details
-
getFormat
Format to be used to display numbers- Since:
- 3.0
-
setFormat
Sets the format to be used to display numbers- Since:
- 3.0
-
cloneAndComplete
Description copied from class:DefaultGomLangInfo
Clones this language information container and completes missing information by the given source.- Specified by:
cloneAndComplete
in interfaceGomLangInfo
- Overrides:
cloneAndComplete
in classDefaultGomLangInfo
- Parameters:
source
- A source language information container.- Returns:
- The cloned container.
-
equals
Description copied from class:DefaultGomLangInfo
Equality check implementation.- Specified by:
equals
in interfaceGomLangInfo
- Overrides:
equals
in classDefaultGomLangInfo
- Parameters:
obj
- The object to compare to.ignoreLanguage
-true
, to ignore the language.- Returns:
true
, if considered equal.
-
createHashCode
protected de.espirit.firstspirit.access.store.templatestore.gom.GomNumberLangInfo.GomNumberLangHashCode createHashCode()Description copied from class:DefaultGomLangInfo
Create this object's hash code.- Overrides:
createHashCode
in classDefaultGomLangInfo
- Returns:
- The hash code.
-
hashCode
public int hashCode()Description copied from class:DefaultGomLangInfo
Hash code implementation.- Overrides:
hashCode
in classDefaultGomLangInfo
- Returns:
- The hash code.
-
isEmpty
public boolean isEmpty()Description copied from class:DefaultGomLangInfo
Indicates, whether no language information have been defined.- Specified by:
isEmpty
in interfaceGomLangInfo
- Overrides:
isEmpty
in classDefaultGomLangInfo
- Returns:
true
, if no language information have been defined.
-