Interface DCTLabel.Holder

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

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

    • wrap

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

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

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

      default DCTLabel getDCTLabel()
      Returns:
      the DCT Label (see DCTLabel)
    • containsDCTLabel

      default boolean containsDCTLabel()
      Returns:
      Whether it contains the DCT Label (see DCTLabel)
    • removeDCTLabel

      default void removeDCTLabel()
      Removes the DCT Label (see DCTLabel