Interface SegmentAnnotationCategoryCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTSegmentAnnotationSequence.Item
- Enclosing class:
- SegmentAnnotationCategoryCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Annotation Category Code Sequence" (see
SegmentAnnotationCategoryCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanensureSegmentAnnotationCategoryCodeSequence(int initialCapacity) Adds a new Segment Annotation Category Code Sequence if it does not already exist.newSegmentAnnotationCategoryCodeSequence(int initialCapacity) Adds a new Segment Annotation Category Code Sequence.default voidRemoves the Segment Annotation Category Code Sequence (seeSegmentAnnotationCategoryCodeSequencewrap(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 Category Code Sequence (seeSegmentAnnotationCategoryCodeSequence)- Returns:
- A wrapper object implementing the
SegmentAnnotationCategoryCodeSequence.Holderinterface.
-
getSegmentAnnotationCategoryCodeSequence
- Returns:
- the Segment Annotation Category Code Sequence (see
SegmentAnnotationCategoryCodeSequence)
-
newSegmentAnnotationCategoryCodeSequence
default SegmentAnnotationCategoryCodeSequence newSegmentAnnotationCategoryCodeSequence(int initialCapacity) Adds a new Segment Annotation Category Code Sequence. (seeSegmentAnnotationCategoryCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Annotation Category Code Sequence
-
ensureSegmentAnnotationCategoryCodeSequence
default SegmentAnnotationCategoryCodeSequence ensureSegmentAnnotationCategoryCodeSequence(int initialCapacity) Adds a new Segment Annotation Category Code Sequence if it does not already exist. (seeSegmentAnnotationCategoryCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Segment Annotation Category Code Sequence is created
-
containsSegmentAnnotationCategoryCodeSequence
default boolean containsSegmentAnnotationCategoryCodeSequence()- Returns:
- Whether it contains the Segment Annotation Category Code Sequence (see
SegmentAnnotationCategoryCodeSequence)
-
removeSegmentAnnotationCategoryCodeSequence
default void removeSegmentAnnotationCategoryCodeSequence()Removes the Segment Annotation Category Code Sequence (seeSegmentAnnotationCategoryCodeSequence
-