Class CodeValue

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, ShortStringWrapper, StringDataElementWrapper

public class CodeValue extends AbstractDataElementWrapper implements ShortStringWrapper
Name: Code Value
Keyword: CodeValue
Tag: (0008,0100)
Value Representation: SH
Value Multiplicity: 1
  • Field Details

  • Constructor Details

    • CodeValue

      public CodeValue(org.dcm4che3.data.Attributes attributes)
      Creates a new Code Value object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • CodeValue

      public CodeValue()
      Creates a new Code Value object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public CodeValue copy()
      Returns a new Code Value which wraps a copy of the Attributes wrapped in this Code Value. (see Attributes(Attributes)
      Returns:
      a new Code Value which wraps a copy of the Attributes wrapped in this Code Value.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM attributes.