Interface RelativeTime.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
TimeBasedImageSetsSequence.Item
- Enclosing class:
- RelativeTime
public static interface RelativeTime.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Relative Time" (seeRelativeTime)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRelativeTime.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RelativeTime.Holder.Builderbuilder()static RelativeTime.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsRelativeTime()default RelativeTimegetRelativeTime()default voidremoveRelativeTime()Removes the Relative Time (seeRelativeTimestatic RelativeTime.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static RelativeTime.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Relative Time (seeRelativeTime)- Returns:
- a wrapper object implementing the
RelativeTime.Holderinterface.
-
builder
static RelativeTime.Holder.Builder builder()
- Returns:
- a
RelativeTime.Holder.Builderto create Relative Time Items with a fluent API.
-
builder
static RelativeTime.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default RelativeTime 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
-
-