Interface MAC.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
MAC.SimpleHolder, ReferencedSOPInstanceMACSequence.Item
Enclosing class:
MAC

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

    • wrap

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

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

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

      default MAC getMAC()
      Returns:
      the MAC (see MAC)
    • containsMAC

      default boolean containsMAC()
      Returns:
      Whether it contains the MAC (see MAC)
    • removeMAC

      default void removeMAC()
      Removes the MAC (see MAC