Interface AnnotationGroupSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
MicroscopyBulkSimpleAnnotationsModule
- All Known Implementing Classes:
MicroscopyBulkSimpleAnnotationsIOD
- Enclosing class:
- AnnotationGroupSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Annotation Group Sequence" (see
AnnotationGroupSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault AnnotationGroupSequenceensureAnnotationGroupSequence(int initialCapacity) Adds a new Annotation Group Sequence if it does not already exist.default AnnotationGroupSequencedefault AnnotationGroupSequencenewAnnotationGroupSequence(int initialCapacity) Adds a new Annotation Group Sequence.default voidRemoves the Annotation Group Sequence (seeAnnotationGroupSequencewrap(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 Annotation Group Sequence (seeAnnotationGroupSequence)- Returns:
- A wrapper object implementing the
AnnotationGroupSequence.Holderinterface.
-
getAnnotationGroupSequence
- Returns:
- the Annotation Group Sequence (see
AnnotationGroupSequence)
-
newAnnotationGroupSequence
Adds a new Annotation Group Sequence. (seeAnnotationGroupSequence)- Parameters:
initialCapacity- the initial capacity for the new Annotation Group Sequence
-
ensureAnnotationGroupSequence
Adds a new Annotation Group Sequence if it does not already exist. (seeAnnotationGroupSequence)- Parameters:
initialCapacity- the initial capacity if a new Annotation Group Sequence is created
-
containsAnnotationGroupSequence
default boolean containsAnnotationGroupSequence()- Returns:
- Whether it contains the Annotation Group Sequence (see
AnnotationGroupSequence)
-
removeAnnotationGroupSequence
default void removeAnnotationGroupSequence()Removes the Annotation Group Sequence (seeAnnotationGroupSequence
-