Interface AnnotationPropertyCategoryCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnnotationGroupSequence.Item
- Enclosing class:
- AnnotationPropertyCategoryCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Annotation Property Category Code Sequence" (see
AnnotationPropertyCategoryCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.
-
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
-