Interface TreatmentSite.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTPhysicianIntentSequence.Item,TreatmentSite.SimpleHolder
- Enclosing class:
- TreatmentSite
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Site" (see
TreatmentSite)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TreatmentSite.Holder.Builderbuilder()static TreatmentSite.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TreatmentSitedefault voidRemoves the Treatment Site (seeTreatmentSitestatic TreatmentSite.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 Site (seeTreatmentSite)- Returns:
- A wrapper object implementing the
TreatmentSite.Holderinterface.
-
builder
- Returns:
- a
TreatmentSite.Holder.Builderto create Treatment Site Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTreatmentSite.Holder.Builder.- Returns:
- a
TreatmentSite.Holder.Builderto create Treatment Site Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentSite
- Returns:
- the Treatment Site (see
TreatmentSite)
-
containsTreatmentSite
default boolean containsTreatmentSite()- Returns:
- Whether it contains the Treatment Site (see
TreatmentSite)
-
removeTreatmentSite
default void removeTreatmentSite()Removes the Treatment Site (seeTreatmentSite
-