Class ValueSetEntry

java.lang.Object
org.projecthusky.valueset.model.ValueSetEntry
All Implemented Interfaces:
Serializable

public class ValueSetEntry extends Object implements 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:
  • Constructor Details

    • ValueSetEntry

      public ValueSetEntry()
      Instantiates a new ValueSetEntry. Default constructor.
      Instanziiert ein neues ValueSetEntry. Standardkonstruktor.
  • Method Details

    • builder

      @Generated("SparkTools") public static ValueSetEntry.Builder builder()
      Creates builder to build ValueSetEntry.
      Returns:
      created builder
    • addChild

      public void addChild(ValueSetEntry value)
      Adds a child value set.
      Fügt einen untergeordneten Wertesatz hinzu.
      Parameters:
      value - the value
    • addDesignation

      public void addDesignation(Designation value)
      Adds a designation.
      Fügt eine Bezeichnung hinzu.
      Parameters:
      value - the value
    • addMappingCode

      public void addMappingCode(CodeBaseType value)
      Adds a mapping code.
      Fügt einen Zuordnungscode hinzu.
      Parameters:
      value - the value
    • addMappingName

      public void addMappingName(String value)
      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

      public boolean containsChild(ValueSetEntry value)
      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

      public boolean containsDesignation(Designation value)
      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

      public boolean containsMappingCode(CodeBaseType value)
      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

      public boolean containsMappingName(String value)
      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

      public boolean equals(Object obj)
      Checks whether the two objects are equal (based on their content).
      Prüft, ob die beiden Objekte gleich sind (basierend auf ihrem Inhalt).
      Overrides:
      equals in class Object
      Parameters:
      obj - the ValueSetEntry to compare
      Returns:
      true, if equal; false otherwise.
    • getChildList

      public List<ValueSetEntry> getChildList()
      Gets the child list.
      Ruft die Liste untergeordnetes ValueSets ab.
      Returns:
      the child list
    • getCodeBaseType

      public CodeBaseType getCodeBaseType()
      Gets the code.
      Ruft den Code ab.
      Returns:
      the code base type
    • getDefaultMappingName

      public String getDefaultMappingName()
      Gets the default mapping name.
      Ruft den Standardzuordnungsnamen ab.
      Returns:
      the default mapping name
    • getDesignation

      public String getDesignation(LanguageCode language, DesignationType designationType)
      Gets the designation in the given language.
      Ruft die Bezeichnung in der angegebenen Sprache ab.
      Parameters:
      language - the language
      designationType - the designation type
      Returns:
      the designation
    • getDesignationList

      public List<Designation> getDesignationList()
      Gets the designation list.
      Ruft die Bezeichnungsliste ab.
      Returns:
      the designation list
    • getEnumConstantName

      public String 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

      public List<CodeBaseType> getMappingCodeList()
      Gets the mapping code list.
      Ruft die Zuordnungscodeliste ab.
      Returns:
      the mapping code list
    • getMappingNameList

      public List<String> getMappingNameList()
      Gets the mapping name list.
      Ruft die Zuordnungsnamensliste ab.
      Returns:
      the mapping name list
    • getParent

      public ValueSetEntry getParent()
      Gets the parent.
      Returns:
      the parent
    • getValueSetEntryType

      public ValueSetEntryType getValueSetEntryType()
      Gets the value set entry type.
      Ruft den Typ des Eintrags ab.
      Returns:
      the value set entry type
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setChildList

      public void setChildList(List<ValueSetEntry> childList)
      Sets the child list.
      Legt die Liste untergeordnetes ValueSets fest.
      Parameters:
      childList - the new child list
    • setCodeBaseType

      public void setCodeBaseType(CodeBaseType codeBaseType)
      Sets the code.
      Legt den Code fest.
      Parameters:
      codeBaseType - the new code base type
    • setDefaultMappingName

      public void setDefaultMappingName(String defaultMappingName)
      Sets the default mapping name.
      Legt den Standard-Zuordnungsnamen fest.
      Parameters:
      defaultMappingName - the new default mapping name
    • setDesignationList

      public void setDesignationList(List<Designation> designationList)
      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

      public void setMappingCodeList(List<CodeBaseType> mappingCodeList)
      Sets the mapping code list.
      Legt die Liste der Zuordnungscodes fest.
      Parameters:
      mappingCodeList - the new mapping code list
    • setMappingNameList

      public void setMappingNameList(List<String> mappingNameList)
      Sets the mapping name list.
      Legt die Liste der Zuordnungsnamen fest.
      Parameters:
      mappingNameList - the new mapping name list
    • setParent

      public void setParent(ValueSetEntry parent)
      Sets the parent.
      Parameters:
      parent - the new parent
    • setValueSetEntryType

      public void setValueSetEntryType(ValueSetEntryType valueSetEntryType)
      Sets the value set entry type.
      Legt den Typ des Eintrags fest.
      Parameters:
      valueSetEntryType - the new value set entry type