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