Interface TimeRange.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
FrameExtractionSequence.Item, TimeRange.SimpleHolder
Enclosing class:
TimeRange

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

    • wrap

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

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

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

      default TimeRange getTimeRange()
      Returns:
      the Time Range (see TimeRange)
    • containsTimeRange

      default boolean containsTimeRange()
      Returns:
      Whether it contains the Time Range (see TimeRange)
    • removeTimeRange

      default void removeTimeRange()
      Removes the Time Range (see TimeRange