Interface SegmentAnnotationTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTSegmentAnnotationSequence.Item
- Enclosing class:
- SegmentAnnotationTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Annotation Type Code Sequence" (see
SegmentAnnotationTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanensureSegmentAnnotationTypeCodeSequence(int initialCapacity) Adds a new Segment Annotation Type Code Sequence if it does not already exist.newSegmentAnnotationTypeCodeSequence(int initialCapacity) Adds a new Segment Annotation Type Code Sequence.default voidRemoves the Segment Annotation Type Code Sequence (seeSegmentAnnotationTypeCodeSequencewrap(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 Annotation Type Code Sequence (seeSegmentAnnotationTypeCodeSequence)- Returns:
- A wrapper object implementing the
SegmentAnnotationTypeCodeSequence.Holderinterface.
-
getSegmentAnnotationTypeCodeSequence
- Returns:
- the Segment Annotation Type Code Sequence (see
SegmentAnnotationTypeCodeSequence)
-
newSegmentAnnotationTypeCodeSequence
Adds a new Segment Annotation Type Code Sequence. (seeSegmentAnnotationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Annotation Type Code Sequence
-
ensureSegmentAnnotationTypeCodeSequence
default SegmentAnnotationTypeCodeSequence ensureSegmentAnnotationTypeCodeSequence(int initialCapacity) Adds a new Segment Annotation Type Code Sequence if it does not already exist. (seeSegmentAnnotationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Segment Annotation Type Code Sequence is created
-
containsSegmentAnnotationTypeCodeSequence
default boolean containsSegmentAnnotationTypeCodeSequence()- Returns:
- Whether it contains the Segment Annotation Type Code Sequence (see
SegmentAnnotationTypeCodeSequence)
-
removeSegmentAnnotationTypeCodeSequence
default void removeSegmentAnnotationTypeCodeSequence()Removes the Segment Annotation Type Code Sequence (seeSegmentAnnotationTypeCodeSequence
-