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