Interface TreatmentTerminationCode.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TreatmentSessionApplicationSetupSequence.Item,TreatmentSessionBeamSequence.Item,TreatmentSessionIonBeamSequence.Item,TreatmentTerminationCode.SimpleHolder
- Enclosing class:
- TreatmentTerminationCode
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Termination Code" (see
TreatmentTerminationCode)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TreatmentTerminationCodedefault voidRemoves the Treatment Termination Code (seeTreatmentTerminationCodewrap(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 Termination Code (seeTreatmentTerminationCode)- Returns:
- A wrapper object implementing the
TreatmentTerminationCode.Holderinterface.
-
builder
- Returns:
- a
TreatmentTerminationCode.Holder.Builderto create Treatment Termination Code Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTreatmentTerminationCode.Holder.Builder.- Returns:
- a
TreatmentTerminationCode.Holder.Builderto create Treatment Termination Code Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentTerminationCode
- Returns:
- the Treatment Termination Code (see
TreatmentTerminationCode)
-
containsTreatmentTerminationCode
default boolean containsTreatmentTerminationCode()- Returns:
- Whether it contains the Treatment Termination Code (see
TreatmentTerminationCode)
-
removeTreatmentTerminationCode
default void removeTreatmentTerminationCode()Removes the Treatment Termination Code (seeTreatmentTerminationCode
-