Interface PreMedication.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PreMedication.SimpleHolder,ScheduledProcedureStepSequence.Item
- Enclosing class:
- PreMedication
A class implementing this interface can hold attributes which contain the DICOM tag "Pre-Medication" (see
PreMedication)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PreMedication.Holder.Builderbuilder()static PreMedication.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault PreMedicationdefault voidRemoves the Pre-Medication (seePreMedicationstatic PreMedication.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 Pre-Medication (seePreMedication)- Returns:
- A wrapper object implementing the
PreMedication.Holderinterface.
-
builder
- Returns:
- a
PreMedication.Holder.Builderto create Pre-Medication Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePreMedication.Holder.Builder.- Returns:
- a
PreMedication.Holder.Builderto create Pre-Medication Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPreMedication
- Returns:
- the Pre-Medication (see
PreMedication)
-
containsPreMedication
default boolean containsPreMedication()- Returns:
- Whether it contains the Pre-Medication (see
PreMedication)
-
removePreMedication
default void removePreMedication()Removes the Pre-Medication (seePreMedication
-