Interface AnnotationPropertyCategoryCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnnotationGroupSequence.Item,AnnotationPropertyCategoryCodeSequence.SimpleHolder
- Enclosing class:
- AnnotationPropertyCategoryCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Annotation Property Category Code Sequence" (see
AnnotationPropertyCategoryCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Annotation Property Category Code Sequence (seeAnnotationPropertyCategoryCodeSequence) with initial capacity 1 (seeensureAnnotationPropertyCategoryCodeSequence(int)) if it does not already exist.ensureAnnotationPropertyCategoryCodeSequence(int initialCapacity) Adds a new Annotation Property Category Code Sequence (seeAnnotationPropertyCategoryCodeSequence) if it does not already exist.newAnnotationPropertyCategoryCodeSequence(int initialCapacity) Adds a new Annotation Property Category Code Sequence.default voidRemoves the Annotation Property Category Code Sequence (seeAnnotationPropertyCategoryCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Annotation Property Category Code Sequence (seeAnnotationPropertyCategoryCodeSequence)- Returns:
- A wrapper object implementing the
AnnotationPropertyCategoryCodeSequence.Holderinterface.
-
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
- 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
-
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
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
-