Interface DataType.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
DataFrameAssignmentSequence.Item, DataType.SimpleHolder
Enclosing class:
DataType

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

    • wrap

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

      static DataType.Holder.Builder builder()
      Returns:
      a DataType.Holder.Builder to create Data Type Items with a fluent API.
    • builder

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

      default DataType getDataType()
      Returns:
      the Data Type (see DataType)
    • containsDataType

      default boolean containsDataType()
      Returns:
      Whether it contains the Data Type (see DataType)
    • removeDataType

      default void removeDataType()
      Removes the Data Type (see DataType