Interface NumberOfAnnotations.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnnotationGroupSequence.Item,NumberOfAnnotations.SimpleHolder
- Enclosing class:
- NumberOfAnnotations
A class implementing this interface can hold attributes which contain the DICOM tag "Number of Annotations" (see
NumberOfAnnotations)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault NumberOfAnnotationsdefault voidRemoves the Number of Annotations (seeNumberOfAnnotationsstatic NumberOfAnnotations.Holderwrap(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 Number of Annotations (seeNumberOfAnnotations)- Returns:
- A wrapper object implementing the
NumberOfAnnotations.Holderinterface.
-
builder
- Returns:
- a
NumberOfAnnotations.Holder.Builderto create Number of Annotations Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theNumberOfAnnotations.Holder.Builder.- Returns:
- a
NumberOfAnnotations.Holder.Builderto create Number of Annotations Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getNumberOfAnnotations
- Returns:
- the Number of Annotations (see
NumberOfAnnotations)
-
containsNumberOfAnnotations
default boolean containsNumberOfAnnotations()- Returns:
- Whether it contains the Number of Annotations (see
NumberOfAnnotations)
-
removeNumberOfAnnotations
default void removeNumberOfAnnotations()Removes the Number of Annotations (seeNumberOfAnnotations
-