Interface RelativeTime.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RelativeTime.SimpleHolder,TimeBasedImageSetsSequence.Item
- Enclosing class:
- RelativeTime
A class implementing this interface can hold attributes which contain the DICOM tag "Relative Time" (see
RelativeTime)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RelativeTime.Holder.Builderbuilder()static RelativeTime.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault RelativeTimedefault voidRemoves the Relative Time (seeRelativeTimestatic RelativeTime.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 Relative Time (seeRelativeTime)- Returns:
- A wrapper object implementing the
RelativeTime.Holderinterface.
-
builder
- Returns:
- a
RelativeTime.Holder.Builderto create Relative Time Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRelativeTime.Holder.Builder.- Returns:
- a
RelativeTime.Holder.Builderto create Relative Time Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRelativeTime
- Returns:
- the Relative Time (see
RelativeTime)
-
containsRelativeTime
default boolean containsRelativeTime()- Returns:
- Whether it contains the Relative Time (see
RelativeTime)
-
removeRelativeTime
default void removeRelativeTime()Removes the Relative Time (seeRelativeTime
-