Interface AnnotationPropertyTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnnotationGroupSequence.Item
- Enclosing class:
- AnnotationPropertyTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Annotation Property Type Code Sequence" (see
AnnotationPropertyTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanensureAnnotationPropertyTypeCodeSequence(int initialCapacity) Adds a new Annotation Property Type Code Sequence if it does not already exist.newAnnotationPropertyTypeCodeSequence(int initialCapacity) Adds a new Annotation Property Type Code Sequence.default voidRemoves the Annotation Property Type Code Sequence (seeAnnotationPropertyTypeCodeSequencewrap(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 Type Code Sequence (seeAnnotationPropertyTypeCodeSequence)- Returns:
- A wrapper object implementing the
AnnotationPropertyTypeCodeSequence.Holderinterface.
-
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
-
ensureAnnotationPropertyTypeCodeSequence
default AnnotationPropertyTypeCodeSequence ensureAnnotationPropertyTypeCodeSequence(int initialCapacity) Adds a new Annotation Property Type Code Sequence if it does not already exist. (seeAnnotationPropertyTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Annotation Property Type Code Sequence is created
-
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
-