Interface Spoiling.Holder

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

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

    • wrap

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

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

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

      default Spoiling getSpoiling()
      Returns:
      the Spoiling (see Spoiling)
    • containsSpoiling

      default boolean containsSpoiling()
      Returns:
      Whether it contains the Spoiling (see Spoiling)
    • removeSpoiling

      default void removeSpoiling()
      Removes the Spoiling (see Spoiling