Interface SegmentReferenceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SegmentReferenceModule
- All Known Implementing Classes:
RTSegmentAnnotationIOD
- Enclosing class:
- SegmentReferenceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Reference Sequence" (see
SegmentReferenceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SegmentReferenceSequenceensureSegmentReferenceSequence(int initialCapacity) Adds a new Segment Reference Sequence if it does not already exist.default SegmentReferenceSequencedefault SegmentReferenceSequencenewSegmentReferenceSequence(int initialCapacity) Adds a new Segment Reference Sequence.default voidRemoves the Segment Reference Sequence (seeSegmentReferenceSequencewrap(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 Segment Reference Sequence (seeSegmentReferenceSequence)- Returns:
- A wrapper object implementing the
SegmentReferenceSequence.Holderinterface.
-
getSegmentReferenceSequence
- Returns:
- the Segment Reference Sequence (see
SegmentReferenceSequence)
-
newSegmentReferenceSequence
Adds a new Segment Reference Sequence. (seeSegmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Reference Sequence
-
ensureSegmentReferenceSequence
Adds a new Segment Reference Sequence if it does not already exist. (seeSegmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity if a new Segment Reference Sequence is created
-
containsSegmentReferenceSequence
default boolean containsSegmentReferenceSequence()- Returns:
- Whether it contains the Segment Reference Sequence (see
SegmentReferenceSequence)
-
removeSegmentReferenceSequence
default void removeSegmentReferenceSequence()Removes the Segment Reference Sequence (seeSegmentReferenceSequence
-