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