Interface LINACEnergy.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
LINACEnergy.SimpleHolder
- Enclosing class:
- LINACEnergy
A class implementing this interface can hold attributes which contain the DICOM tag "LINAC Energy" (see
LINACEnergy)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LINACEnergy.Holder.Builderbuilder()static LINACEnergy.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault LINACEnergydefault voidRemoves the LINAC Energy (seeLINACEnergystatic LINACEnergy.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 LINAC Energy (seeLINACEnergy)- Returns:
- A wrapper object implementing the
LINACEnergy.Holderinterface.
-
builder
- Returns:
- a
LINACEnergy.Holder.Builderto create LINAC Energy Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theLINACEnergy.Holder.Builder.- Returns:
- a
LINACEnergy.Holder.Builderto create LINAC Energy Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getLINACEnergy
- Returns:
- the LINAC Energy (see
LINACEnergy)
-
containsLINACEnergy
default boolean containsLINACEnergy()- Returns:
- Whether it contains the LINAC Energy (see
LINACEnergy)
-
removeLINACEnergy
default void removeLINACEnergy()Removes the LINAC Energy (seeLINACEnergy
-