Interface PreMedication.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PreMedication.SimpleHolder,ScheduledProcedureStepSequence.Item
- Enclosing class:
- PreMedication
public static interface PreMedication.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Pre-Medication" (seePreMedication)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPreMedication.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PreMedication.Holder.Builderbuilder()static PreMedication.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPreMedication()default PreMedicationgetPreMedication()default voidremovePreMedication()Removes the Pre-Medication (seePreMedicationstatic PreMedication.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PreMedication.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Pre-Medication (seePreMedication)- Returns:
- a wrapper object implementing the
PreMedication.Holderinterface.
-
builder
static PreMedication.Holder.Builder builder()
- Returns:
- a
PreMedication.Holder.Builderto create Pre-Medication Items with a fluent API.
-
builder
static PreMedication.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default PreMedication 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
-
-