Interface Reference.Holder

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

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

    • wrap

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

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

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

      default Reference getReference()
      Returns:
      the Reference (see Reference)
    • containsReference

      default boolean containsReference()
      Returns:
      Whether it contains the Reference (see Reference)
    • removeReference

      default void removeReference()
      Removes the Reference (see Reference