Interface BeamType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamSequence.Item,BeamType.SimpleHolder,IonBeamSequence.Item,TreatmentSessionBeamSequence.Item,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- BeamType
A class implementing this interface can hold attributes which contain the DICOM tag "Beam Type" (see
BeamType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BeamType.Holder.Builderbuilder()static BeamType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault BeamTypedefault voidRemoves the Beam Type (seeBeamTypestatic BeamType.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 Beam Type (seeBeamType)- Returns:
- A wrapper object implementing the
BeamType.Holderinterface.
-
builder
- Returns:
- a
BeamType.Holder.Builderto create Beam Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theBeamType.Holder.Builder.- Returns:
- a
BeamType.Holder.Builderto create Beam Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBeamType
- Returns:
- the Beam Type (see
BeamType)
-
containsBeamType
default boolean containsBeamType()- Returns:
- Whether it contains the Beam Type (see
BeamType)
-
removeBeamType
default void removeBeamType()Removes the Beam Type (seeBeamType
-