Package org.projecthusky.valueset.model
Class ValueSetEntry
java.lang.Object
org.projecthusky.valueset.model.ValueSetEntry
- All Implemented Interfaces:
Serializable
The Class ValueSetEntry is intended to collect all
information of a single entry of a value set (such as code, codesystem,
display names in multiple languages...).
Die Klasse ValueSetEntry dient zum Sammeln aller
Informationen eines einzelnen Wertesatz-Eintrags (z. B. Code, Codesystem,
Anzeigenamen in mehreren Sprachen ...).
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(ValueSetEntry value) Adds a child value set. Fügt einen untergeordneten Wertesatz hinzu.void
addDesignation
(Designation value) Adds a designation. Fügt eine Bezeichnung hinzu.void
addMappingCode
(CodeBaseType value) Adds a mapping code. Fügt einen Zuordnungscode hinzu.void
addMappingName
(String value) Adds a mapping name. Fügt einen Zuordnungsnamen hinzu.static ValueSetEntry.Builder
builder()
Creates builder to buildValueSetEntry
.void
Clears the child list. Löscht die Liste untergeordneter ValueSets.void
Clears the designation list. Löscht die Bezeichnungsliste.void
Clears the mapping code list. Löscht die Mapping-Code-Liste.void
Clears the mapping name list. Löscht die Mapping-Namensliste.boolean
containsChild
(ValueSetEntry value) Checks whether the list member contains the given value. Überprüft, ob die Liste den angegebenen Wert enthält. Contains.boolean
containsDesignation
(Designation value) Checks whether the list member contains the given value. Überprüft, ob die Liste den angegebenen Wert enthält. Contains.boolean
containsMappingCode
(CodeBaseType value) Checks whether the list member contains the given value. Überprüft, ob die Liste den angegebenen Wert enthält. Contains.boolean
containsMappingName
(String value) Checks whether the list member contains the given value. Überprüft, ob die Liste den angegebenen Wert enthält. Contains.boolean
Checks whether the two objects are equal (based on their content). Prüft, ob die beiden Objekte gleich sind (basierend auf ihrem Inhalt).Gets the child list. Ruft die Liste untergeordnetes ValueSets ab.Gets the code. Ruft den Code ab.Gets the default mapping name. Ruft den Standardzuordnungsnamen ab.getDesignation
(LanguageCode language, DesignationType designationType) Gets the designation in the given language. Ruft die Bezeichnung in der angegebenen Sprache ab.Gets the designation list. Ruft die Bezeichnungsliste ab.Gets the enum constant name.int
getLevel()
Gets the level. Ruft das Level ab.Gets the mapping code list. Ruft die Zuordnungscodeliste ab.Gets the mapping name list. Ruft die Zuordnungsnamensliste ab.Gets the parent.Gets the value set entry type. Ruft den Typ des Eintrags ab.int
hashCode()
void
setChildList
(List<ValueSetEntry> childList) Sets the child list. Legt die Liste untergeordnetes ValueSets fest.void
setCodeBaseType
(CodeBaseType codeBaseType) Sets the code. Legt den Code fest.void
setDefaultMappingName
(String defaultMappingName) Sets the default mapping name. Legt den Standard-Zuordnungsnamen fest.void
setDesignationList
(List<Designation> designationList) Sets the designation list. Legt die Bezeichnungsliste fest.void
setLevel
(int level) Sets the level. Legt den Level festvoid
setMappingCodeList
(List<CodeBaseType> mappingCodeList) Sets the mapping code list. Legt die Liste der Zuordnungscodes fest.void
setMappingNameList
(List<String> mappingNameList) Sets the mapping name list. Legt die Liste der Zuordnungsnamen fest.void
setParent
(ValueSetEntry parent) Sets the parent.void
setValueSetEntryType
(ValueSetEntryType valueSetEntryType) Sets the value set entry type. Legt den Typ des Eintrags fest.
-
Constructor Details
-
ValueSetEntry
public ValueSetEntry()Instantiates a new ValueSetEntry. Default constructor.Instanziiert ein neues ValueSetEntry. Standardkonstruktor.
-
-
Method Details
-
builder
Creates builder to buildValueSetEntry
.- Returns:
- created builder
-
addChild
Adds a child value set.Fügt einen untergeordneten Wertesatz hinzu.- Parameters:
value
- the value
-
addDesignation
Adds a designation.Fügt eine Bezeichnung hinzu.- Parameters:
value
- the value
-
addMappingCode
Adds a mapping code.Fügt einen Zuordnungscode hinzu.- Parameters:
value
- the value
-
addMappingName
Adds a mapping name.Fügt einen Zuordnungsnamen hinzu.- Parameters:
value
- the value
-
clearChildList
public void clearChildList()Clears the child list.Löscht die Liste untergeordneter ValueSets. -
clearDesignationList
public void clearDesignationList()Clears the designation list.Löscht die Bezeichnungsliste. -
clearMappingCodeList
public void clearMappingCodeList()Clears the mapping code list.Löscht die Mapping-Code-Liste. -
clearMappingNameList
public void clearMappingNameList()Clears the mapping name list.Löscht die Mapping-Namensliste. -
containsChild
Checks whether the list member contains the given value.Überprüft, ob die Liste den angegebenen Wert enthält.Contains.- Parameters:
value
- the value- Returns:
- true, if successful
-
containsDesignation
Checks whether the list member contains the given value.Überprüft, ob die Liste den angegebenen Wert enthält.Contains.- Parameters:
value
- the value- Returns:
- true, if successful
-
containsMappingCode
Checks whether the list member contains the given value.Überprüft, ob die Liste den angegebenen Wert enthält.Contains.- Parameters:
value
- the value- Returns:
- true, if successful
-
containsMappingName
Checks whether the list member contains the given value.Überprüft, ob die Liste den angegebenen Wert enthält.Contains.- Parameters:
value
- the value- Returns:
- true, if successful
-
equals
Checks whether the two objects are equal (based on their content).Prüft, ob die beiden Objekte gleich sind (basierend auf ihrem Inhalt). -
getChildList
Gets the child list.Ruft die Liste untergeordnetes ValueSets ab.- Returns:
- the child list
-
getCodeBaseType
Gets the code.Ruft den Code ab.- Returns:
- the code base type
-
getDefaultMappingName
Gets the default mapping name.Ruft den Standardzuordnungsnamen ab.- Returns:
- the default mapping name
-
getDesignation
Gets the designation in the given language.Ruft die Bezeichnung in der angegebenen Sprache ab.- Parameters:
language
- the languagedesignationType
- the designation type- Returns:
- the designation
-
getDesignationList
Gets the designation list.Ruft die Bezeichnungsliste ab.- Returns:
- the designation list
-
getEnumConstantName
Gets the enum constant name.- Returns:
- the enum constant name
-
getLevel
public int getLevel()Gets the level.Ruft das Level ab.- Returns:
- the level
-
getMappingCodeList
Gets the mapping code list.Ruft die Zuordnungscodeliste ab.- Returns:
- the mapping code list
-
getMappingNameList
Gets the mapping name list.Ruft die Zuordnungsnamensliste ab.- Returns:
- the mapping name list
-
getParent
Gets the parent.- Returns:
- the parent
-
getValueSetEntryType
Gets the value set entry type.Ruft den Typ des Eintrags ab.- Returns:
- the value set entry type
-
hashCode
public int hashCode() -
setChildList
Sets the child list.Legt die Liste untergeordnetes ValueSets fest.- Parameters:
childList
- the new child list
-
setCodeBaseType
Sets the code.Legt den Code fest.- Parameters:
codeBaseType
- the new code base type
-
setDefaultMappingName
Sets the default mapping name.Legt den Standard-Zuordnungsnamen fest.- Parameters:
defaultMappingName
- the new default mapping name
-
setDesignationList
Sets the designation list.Legt die Bezeichnungsliste fest.- Parameters:
designationList
- the new designation list
-
setLevel
public void setLevel(int level) Sets the level.Legt den Level fest- Parameters:
level
- the new level
-
setMappingCodeList
Sets the mapping code list.Legt die Liste der Zuordnungscodes fest.- Parameters:
mappingCodeList
- the new mapping code list
-
setMappingNameList
Sets the mapping name list.Legt die Liste der Zuordnungsnamen fest.- Parameters:
mappingNameList
- the new mapping name list
-
setParent
Sets the parent.- Parameters:
parent
- the new parent
-
setValueSetEntryType
Sets the value set entry type.Legt den Typ des Eintrags fest.- Parameters:
valueSetEntryType
- the new value set entry type
-