Interface TreatmentPositionIndex.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TreatmentPositionIndex.SimpleHolder,TreatmentPositionSequence.Item
- Enclosing class:
- TreatmentPositionIndex
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Position Index" (see
TreatmentPositionIndex)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TreatmentPositionIndexdefault voidRemoves the Treatment Position Index (seeTreatmentPositionIndexwrap(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 Position Index (seeTreatmentPositionIndex)- Returns:
- A wrapper object implementing the
TreatmentPositionIndex.Holderinterface.
-
builder
- Returns:
- a
TreatmentPositionIndex.Holder.Builderto create Treatment Position Index Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTreatmentPositionIndex.Holder.Builder.- Returns:
- a
TreatmentPositionIndex.Holder.Builderto create Treatment Position Index Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentPositionIndex
- Returns:
- the Treatment Position Index (see
TreatmentPositionIndex)
-
containsTreatmentPositionIndex
default boolean containsTreatmentPositionIndex()- Returns:
- Whether it contains the Treatment Position Index (see
TreatmentPositionIndex)
-
removeTreatmentPositionIndex
default void removeTreatmentPositionIndex()Removes the Treatment Position Index (seeTreatmentPositionIndex
-