Interface SegmentAnnotationCategoryCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RTSegmentAnnotationSequence.Item
- Enclosing class:
- SegmentAnnotationCategoryCodeSequence
public static interface SegmentAnnotationCategoryCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Segment Annotation Category Code Sequence" (seeSegmentAnnotationCategoryCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegmentAnnotationCategoryCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SegmentAnnotationCategoryCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Segment Annotation Category Code Sequence (seeSegmentAnnotationCategoryCodeSequence)- Returns:
- a wrapper object implementing the
SegmentAnnotationCategoryCodeSequence.Holderinterface.
-
builder
static SegmentAnnotationCategoryCodeSequence.Holder.Builder builder()
- Returns:
- a
SegmentAnnotationCategoryCodeSequence.Holder.Builderto create Segment Annotation Category Code Sequence Items with a fluent API.
-
builder
static SegmentAnnotationCategoryCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSegmentAnnotationCategoryCodeSequence.Holder.Builder.- Returns:
- a
SegmentAnnotationCategoryCodeSequence.Holder.Builderto create Segment Annotation Category Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentAnnotationCategoryCodeSequence
default SegmentAnnotationCategoryCodeSequence 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- Returns:
- the newly created SegmentAnnotationCategoryCodeSequence.
-
ensureSegmentAnnotationCategoryCodeSequence
default SegmentAnnotationCategoryCodeSequence ensureSegmentAnnotationCategoryCodeSequence(int initialCapacity)
Adds a new Segment Annotation Category Code Sequence (seeSegmentAnnotationCategoryCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Segment Annotation Category Code Sequence is created.- Returns:
- either the already existing Segment Annotation Category Code Sequence (see
SegmentAnnotationCategoryCodeSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentAnnotationCategoryCodeSequence
default SegmentAnnotationCategoryCodeSequence ensureSegmentAnnotationCategoryCodeSequence()
Adds a new Segment Annotation Category Code Sequence (seeSegmentAnnotationCategoryCodeSequence) with initial capacity 1 (seeensureSegmentAnnotationCategoryCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Segment Annotation Category Code Sequence (see
SegmentAnnotationCategoryCodeSequence) or a new one with capacity 1.
-
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
-
-