Interface ReasonForStudy.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ReasonForStudy.SimpleHolder
- Enclosing class:
- ReasonForStudy
A class implementing this interface can hold attributes which contain the DICOM tag "Reason for Study" (see
ReasonForStudy)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ReasonForStudydefault voidRemoves the Reason for Study (seeReasonForStudystatic ReasonForStudy.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 Reason for Study (seeReasonForStudy)- Returns:
- A wrapper object implementing the
ReasonForStudy.Holderinterface.
-
builder
- Returns:
- a
ReasonForStudy.Holder.Builderto create Reason for Study Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theReasonForStudy.Holder.Builder.- Returns:
- a
ReasonForStudy.Holder.Builderto create Reason for Study Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReasonForStudy
- Returns:
- the Reason for Study (see
ReasonForStudy)
-
containsReasonForStudy
default boolean containsReasonForStudy()- Returns:
- Whether it contains the Reason for Study (see
ReasonForStudy)
-
removeReasonForStudy
default void removeReasonForStudy()Removes the Reason for Study (seeReasonForStudy
-