Interface AbortReason.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AbortReason.SimpleHolder
- Enclosing class:
- AbortReason
A class implementing this interface can hold attributes which contain the DICOM tag "Abort Reason" (see
AbortReason)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AbortReason.Holder.Builderbuilder()static AbortReason.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault AbortReasondefault voidRemoves the Abort Reason (seeAbortReasonstatic AbortReason.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 Abort Reason (seeAbortReason)- Returns:
- A wrapper object implementing the
AbortReason.Holderinterface.
-
builder
- Returns:
- a
AbortReason.Holder.Builderto create Abort Reason Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theAbortReason.Holder.Builder.- Returns:
- a
AbortReason.Holder.Builderto create Abort Reason Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAbortReason
- Returns:
- the Abort Reason (see
AbortReason)
-
containsAbortReason
default boolean containsAbortReason()- Returns:
- Whether it contains the Abort Reason (see
AbortReason)
-
removeAbortReason
default void removeAbortReason()Removes the Abort Reason (seeAbortReason
-