Interface ImageSetsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
HangingProtocolDefinitionModule
- All Known Implementing Classes:
HangingProtocolIOD
- Enclosing class:
- ImageSetsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Image Sets Sequence" (see
ImageSetsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ImageSetsSequenceensureImageSetsSequence(int initialCapacity) Adds a new Image Sets Sequence if it does not already exist.default ImageSetsSequencedefault ImageSetsSequencenewImageSetsSequence(int initialCapacity) Adds a new Image Sets Sequence.default voidRemoves the Image Sets Sequence (seeImageSetsSequencestatic ImageSetsSequence.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 Image Sets Sequence (seeImageSetsSequence)- Returns:
- A wrapper object implementing the
ImageSetsSequence.Holderinterface.
-
getImageSetsSequence
- Returns:
- the Image Sets Sequence (see
ImageSetsSequence)
-
newImageSetsSequence
Adds a new Image Sets Sequence. (seeImageSetsSequence)- Parameters:
initialCapacity- the initial capacity for the new Image Sets Sequence
-
ensureImageSetsSequence
Adds a new Image Sets Sequence if it does not already exist. (seeImageSetsSequence)- Parameters:
initialCapacity- the initial capacity if a new Image Sets Sequence is created
-
containsImageSetsSequence
default boolean containsImageSetsSequence()- Returns:
- Whether it contains the Image Sets Sequence (see
ImageSetsSequence)
-
removeImageSetsSequence
default void removeImageSetsSequence()Removes the Image Sets Sequence (seeImageSetsSequence
-