Interface Polarity.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
ImageBoxPixelPresentationModule
All Known Implementing Classes:
BasicImageBoxIOD, Polarity.SimpleHolder
Enclosing class:
Polarity

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

    • wrap

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

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

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

      default Polarity getPolarity()
      Returns:
      the Polarity (see Polarity)
    • containsPolarity

      default boolean containsPolarity()
      Returns:
      Whether it contains the Polarity (see Polarity)
    • removePolarity

      default void removePolarity()
      Removes the Polarity (see Polarity