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