Interface RouteSegmentSequence.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
RouteSegmentSequence

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

    • wrap

      static RouteSegmentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Route Segment Sequence (see RouteSegmentSequence)
      Returns:
      A wrapper object implementing the RouteSegmentSequence.Holder interface.
    • getRouteSegmentSequence

      default RouteSegmentSequence getRouteSegmentSequence()
      Returns:
      the Route Segment Sequence (see RouteSegmentSequence)
    • newRouteSegmentSequence

      default RouteSegmentSequence newRouteSegmentSequence(int initialCapacity)
      Adds a new Route Segment Sequence. (see RouteSegmentSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Route Segment Sequence
    • ensureRouteSegmentSequence

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

      default RouteSegmentSequence ensureRouteSegmentSequence()
      Adds a new Route Segment Sequence (see RouteSegmentSequence) with initial capacity 1 (see ensureRouteSegmentSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Route Segment Sequence (see RouteSegmentSequence) or a new one with capacity 1.
    • containsRouteSegmentSequence

      default boolean containsRouteSegmentSequence()
      Returns:
      Whether it contains the Route Segment Sequence (see RouteSegmentSequence)
    • removeRouteSegmentSequence

      default void removeRouteSegmentSequence()
      Removes the Route Segment Sequence (see RouteSegmentSequence