Interface PrescriptionNotes.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PrescriptionNotes.SimpleHolder,RTPrescriptionSequence.Item
- Enclosing class:
- PrescriptionNotes
A class implementing this interface can hold attributes which contain the DICOM tag "Prescription Notes" (see
PrescriptionNotes)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PrescriptionNotesdefault voidRemoves the Prescription Notes (seePrescriptionNotesstatic PrescriptionNotes.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 Prescription Notes (seePrescriptionNotes)- Returns:
- A wrapper object implementing the
PrescriptionNotes.Holderinterface.
-
builder
- Returns:
- a
PrescriptionNotes.Holder.Builderto create Prescription Notes Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePrescriptionNotes.Holder.Builder.- Returns:
- a
PrescriptionNotes.Holder.Builderto create Prescription Notes Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPrescriptionNotes
- Returns:
- the Prescription Notes (see
PrescriptionNotes)
-
containsPrescriptionNotes
default boolean containsPrescriptionNotes()- Returns:
- Whether it contains the Prescription Notes (see
PrescriptionNotes)
-
removePrescriptionNotes
default void removePrescriptionNotes()Removes the Prescription Notes (seePrescriptionNotes
-