Interface SegmentAnnotationTypeModifierCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
SegmentAnnotationTypeCodeSequence.Item,SegmentAnnotationTypeModifierCodeSequence.SimpleHolder
- Enclosing class:
- SegmentAnnotationTypeModifierCodeSequence
public static interface SegmentAnnotationTypeModifierCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Segment Annotation Type Modifier Code Sequence" (seeSegmentAnnotationTypeModifierCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegmentAnnotationTypeModifierCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SegmentAnnotationTypeModifierCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequence)- Returns:
- a wrapper object implementing the
SegmentAnnotationTypeModifierCodeSequence.Holderinterface.
-
builder
static SegmentAnnotationTypeModifierCodeSequence.Holder.Builder builder()
- Returns:
- a
SegmentAnnotationTypeModifierCodeSequence.Holder.Builderto create Segment Annotation Type Modifier Code Sequence Items with a fluent API.
-
builder
static SegmentAnnotationTypeModifierCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSegmentAnnotationTypeModifierCodeSequence.Holder.Builder.- Returns:
- a
SegmentAnnotationTypeModifierCodeSequence.Holder.Builderto create Segment Annotation Type Modifier Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentAnnotationTypeModifierCodeSequence
default SegmentAnnotationTypeModifierCodeSequence getSegmentAnnotationTypeModifierCodeSequence()
- Returns:
- the Segment Annotation Type Modifier Code Sequence (see
SegmentAnnotationTypeModifierCodeSequence)
-
newSegmentAnnotationTypeModifierCodeSequence
default SegmentAnnotationTypeModifierCodeSequence newSegmentAnnotationTypeModifierCodeSequence(int initialCapacity)
Adds a new Segment Annotation Type Modifier Code Sequence. (seeSegmentAnnotationTypeModifierCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Annotation Type Modifier Code Sequence- Returns:
- the newly created SegmentAnnotationTypeModifierCodeSequence.
-
ensureSegmentAnnotationTypeModifierCodeSequence
default SegmentAnnotationTypeModifierCodeSequence ensureSegmentAnnotationTypeModifierCodeSequence(int initialCapacity)
Adds a new Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Segment Annotation Type Modifier Code Sequence is created.- Returns:
- either the already existing Segment Annotation Type Modifier Code Sequence (see
SegmentAnnotationTypeModifierCodeSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentAnnotationTypeModifierCodeSequence
default SegmentAnnotationTypeModifierCodeSequence ensureSegmentAnnotationTypeModifierCodeSequence()
Adds a new Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequence) with initial capacity 1 (seeensureSegmentAnnotationTypeModifierCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Segment Annotation Type Modifier Code Sequence (see
SegmentAnnotationTypeModifierCodeSequence) or a new one with capacity 1.
-
containsSegmentAnnotationTypeModifierCodeSequence
default boolean containsSegmentAnnotationTypeModifierCodeSequence()
- Returns:
- whether it contains the Segment Annotation Type Modifier Code Sequence (see
SegmentAnnotationTypeModifierCodeSequence)
-
removeSegmentAnnotationTypeModifierCodeSequence
default void removeSegmentAnnotationTypeModifierCodeSequence()
Removes the Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequence
-
-