Interface AnnotationFlag.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnnotationFlag.SimpleHolder
- Enclosing class:
- AnnotationFlag
A class implementing this interface can hold attributes which contain the DICOM tag "Annotation Flag" (see
AnnotationFlag)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault AnnotationFlagdefault voidRemoves the Annotation Flag (seeAnnotationFlagstatic AnnotationFlag.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 Annotation Flag (seeAnnotationFlag)- Returns:
- A wrapper object implementing the
AnnotationFlag.Holderinterface.
-
builder
- Returns:
- a
AnnotationFlag.Holder.Builderto create Annotation Flag Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theAnnotationFlag.Holder.Builder.- Returns:
- a
AnnotationFlag.Holder.Builderto create Annotation Flag Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAnnotationFlag
- Returns:
- the Annotation Flag (see
AnnotationFlag)
-
containsAnnotationFlag
default boolean containsAnnotationFlag()- Returns:
- Whether it contains the Annotation Flag (see
AnnotationFlag)
-
removeAnnotationFlag
default void removeAnnotationFlag()Removes the Annotation Flag (seeAnnotationFlag
-