Interface SegmentAnnotationTypeModifierCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SegmentAnnotationTypeCodeSequence.Item,SegmentAnnotationTypeModifierCodeSequence.SimpleHolder
- Enclosing class:
- SegmentAnnotationTypeModifierCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Annotation Type Modifier Code Sequence" (see
SegmentAnnotationTypeModifierCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequence) with initial capacity 1 (seeensureSegmentAnnotationTypeModifierCodeSequence(int)) if it does not already exist.ensureSegmentAnnotationTypeModifierCodeSequence(int initialCapacity) Adds a new Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequence) if it does not already exist.newSegmentAnnotationTypeModifierCodeSequence(int initialCapacity) Adds a new Segment Annotation Type Modifier Code Sequence.default voidRemoves the Segment Annotation Type Modifier Code Sequence (seeSegmentAnnotationTypeModifierCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
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
- 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
- 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
-
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
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
-