Interface TimeRange.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
FrameExtractionSequence.Item,TimeRange.SimpleHolder
- Enclosing class:
- TimeRange
A class implementing this interface can hold attributes which contain the DICOM tag "Time Range" (see
TimeRange)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeRange.Holder.Builderbuilder()static TimeRange.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TimeRangedefault voidRemoves the Time Range (seeTimeRangestatic TimeRange.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Time Range (seeTimeRange)- Returns:
- A wrapper object implementing the
TimeRange.Holderinterface.
-
builder
- Returns:
- a
TimeRange.Holder.Builderto create Time Range Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTimeRange.Holder.Builder.- Returns:
- a
TimeRange.Holder.Builderto create Time Range Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
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 (seeTimeRange
-