Interface IOLPowerSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
IntraocularLensCalculationsLeftEyeSequence.Item, IntraocularLensCalculationsRightEyeSequence.Item
Enclosing class:
IOLPowerSequence

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

    • wrap

      static IOLPowerSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the IOL Power Sequence (see IOLPowerSequence)
      Returns:
      A wrapper object implementing the IOLPowerSequence.Holder interface.
    • getIOLPowerSequence

      default IOLPowerSequence getIOLPowerSequence()
      Returns:
      the IOL Power Sequence (see IOLPowerSequence)
    • newIOLPowerSequence

      default IOLPowerSequence newIOLPowerSequence(int initialCapacity)
      Adds a new IOL Power Sequence. (see IOLPowerSequence)
      Parameters:
      initialCapacity - the initial capacity for the new IOL Power Sequence
    • ensureIOLPowerSequence

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

      default IOLPowerSequence ensureIOLPowerSequence()
      Adds a new IOL Power Sequence (see IOLPowerSequence) with initial capacity 1 (see ensureIOLPowerSequence(int)) if it does not already exist.
      Returns:
      Either the already existing IOL Power Sequence (see IOLPowerSequence) or a new one with capacity 1.
    • containsIOLPowerSequence

      default boolean containsIOLPowerSequence()
      Returns:
      Whether it contains the IOL Power Sequence (see IOLPowerSequence)
    • removeIOLPowerSequence

      default void removeIOLPowerSequence()
      Removes the IOL Power Sequence (see IOLPowerSequence