Interface CodeLabel.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
CodeLabel.SimpleHolder
Enclosing class:
CodeLabel

public static interface CodeLabel.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Code Label" (see CodeLabel)
  • Method Details

    • wrap

      static CodeLabel.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Code Label (see CodeLabel)
      Returns:
      A wrapper object implementing the CodeLabel.Holder interface.
    • builder

      static CodeLabel.Holder.Builder builder()
      Returns:
      a CodeLabel.Holder.Builder to create Code Label Items with a fluent API.
    • builder

      static CodeLabel.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the CodeLabel.Holder.Builder.
      Returns:
      a CodeLabel.Holder.Builder to create Code Label Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getCodeLabel

      default CodeLabel getCodeLabel()
      Returns:
      the Code Label (see CodeLabel)
    • containsCodeLabel

      default boolean containsCodeLabel()
      Returns:
      Whether it contains the Code Label (see CodeLabel)
    • removeCodeLabel

      default void removeCodeLabel()
      Removes the Code Label (see CodeLabel