Interface TreatmentDate.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTGeneralTreatmentRecordModule
- All Known Implementing Classes:
FractionStatusSummarySequence.Item,RTBeamsTreatmentRecordIOD,RTBrachyTreatmentRecordIOD,RTIonBeamsTreatmentRecordIOD,RTTreatmentSummaryRecordIOD,TreatmentDate.SimpleHolder
- Enclosing class:
- TreatmentDate
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Date" (see
TreatmentDate)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TreatmentDate.Holder.Builderbuilder()static TreatmentDate.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TreatmentDatedefault voidRemoves the Treatment Date (seeTreatmentDatestatic TreatmentDate.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 Treatment Date (seeTreatmentDate)- Returns:
- A wrapper object implementing the
TreatmentDate.Holderinterface.
-
builder
- Returns:
- a
TreatmentDate.Holder.Builderto create Treatment Date Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTreatmentDate.Holder.Builder.- Returns:
- a
TreatmentDate.Holder.Builderto create Treatment Date Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentDate
- Returns:
- the Treatment Date (see
TreatmentDate)
-
containsTreatmentDate
default boolean containsTreatmentDate()- Returns:
- Whether it contains the Treatment Date (see
TreatmentDate)
-
removeTreatmentDate
default void removeTreatmentDate()Removes the Treatment Date (seeTreatmentDate
-