Interface TimeBasedImageSetsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ImageSetsSequence.Item
- Enclosing class:
- TimeBasedImageSetsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Time Based Image Sets Sequence" (see
TimeBasedImageSetsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault TimeBasedImageSetsSequenceAdds a new Time Based Image Sets Sequence (seeTimeBasedImageSetsSequence) with initial capacity 1 (seeensureTimeBasedImageSetsSequence(int)) if it does not already exist.default TimeBasedImageSetsSequenceensureTimeBasedImageSetsSequence(int initialCapacity) Adds a new Time Based Image Sets Sequence (seeTimeBasedImageSetsSequence) if it does not already exist.default TimeBasedImageSetsSequencedefault TimeBasedImageSetsSequencenewTimeBasedImageSetsSequence(int initialCapacity) Adds a new Time Based Image Sets Sequence.default voidRemoves the Time Based Image Sets Sequence (seeTimeBasedImageSetsSequencewrap(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 Based Image Sets Sequence (seeTimeBasedImageSetsSequence)- Returns:
- A wrapper object implementing the
TimeBasedImageSetsSequence.Holderinterface.
-
getTimeBasedImageSetsSequence
- Returns:
- the Time Based Image Sets Sequence (see
TimeBasedImageSetsSequence)
-
newTimeBasedImageSetsSequence
Adds a new Time Based Image Sets Sequence. (seeTimeBasedImageSetsSequence)- Parameters:
initialCapacity- the initial capacity for the new Time Based Image Sets Sequence
-
ensureTimeBasedImageSetsSequence
Adds a new Time Based Image Sets Sequence (seeTimeBasedImageSetsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Time Based Image Sets Sequence is created.- Returns:
- Either the already existing Time Based Image Sets Sequence (see
TimeBasedImageSetsSequence) or a new one with capacityinitialCapacity.
-
ensureTimeBasedImageSetsSequence
Adds a new Time Based Image Sets Sequence (seeTimeBasedImageSetsSequence) with initial capacity 1 (seeensureTimeBasedImageSetsSequence(int)) if it does not already exist.- Returns:
- Either the already existing Time Based Image Sets Sequence (see
TimeBasedImageSetsSequence) or a new one with capacity 1.
-
containsTimeBasedImageSetsSequence
default boolean containsTimeBasedImageSetsSequence()- Returns:
- Whether it contains the Time Based Image Sets Sequence (see
TimeBasedImageSetsSequence)
-
removeTimeBasedImageSetsSequence
default void removeTimeBasedImageSetsSequence()Removes the Time Based Image Sets Sequence (seeTimeBasedImageSetsSequence
-