Interface HPGLDocumentSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
GenericImplantTemplate2DDrawingsModule
All Known Implementing Classes:
GenericImplantTemplateIOD
Enclosing class:
HPGLDocumentSequence

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

    • wrap

      static HPGLDocumentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the HPGL Document Sequence (see HPGLDocumentSequence)
      Returns:
      A wrapper object implementing the HPGLDocumentSequence.Holder interface.
    • getHPGLDocumentSequence

      default HPGLDocumentSequence getHPGLDocumentSequence()
      Returns:
      the HPGL Document Sequence (see HPGLDocumentSequence)
    • newHPGLDocumentSequence

      default HPGLDocumentSequence newHPGLDocumentSequence(int initialCapacity)
      Adds a new HPGL Document Sequence. (see HPGLDocumentSequence)
      Parameters:
      initialCapacity - the initial capacity for the new HPGL Document Sequence
    • ensureHPGLDocumentSequence

      default HPGLDocumentSequence ensureHPGLDocumentSequence(int initialCapacity)
      Adds a new HPGL Document Sequence (see HPGLDocumentSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
      Parameters:
      initialCapacity - The initial capacity (see ArrayList(int)) if a new HPGL Document Sequence is created.
      Returns:
      Either the already existing HPGL Document Sequence (see HPGLDocumentSequence) or a new one with capacity initialCapacity.
    • ensureHPGLDocumentSequence

      default HPGLDocumentSequence ensureHPGLDocumentSequence()
      Adds a new HPGL Document Sequence (see HPGLDocumentSequence) with initial capacity 1 (see ensureHPGLDocumentSequence(int)) if it does not already exist.
      Returns:
      Either the already existing HPGL Document Sequence (see HPGLDocumentSequence) or a new one with capacity 1.
    • containsHPGLDocumentSequence

      default boolean containsHPGLDocumentSequence()
      Returns:
      Whether it contains the HPGL Document Sequence (see HPGLDocumentSequence)
    • removeHPGLDocumentSequence

      default void removeHPGLDocumentSequence()
      Removes the HPGL Document Sequence (see HPGLDocumentSequence