Interface ScanMode.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IonBeamSequence.Item,IonMachineVerificationSequence.Item,ScanMode.SimpleHolder,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- ScanMode
A class implementing this interface can hold attributes which contain the DICOM tag "Scan Mode" (see
ScanMode)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanMode.Holder.Builderbuilder()static ScanMode.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault ScanModedefault voidRemoves the Scan Mode (seeScanModestatic ScanMode.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 Scan Mode (seeScanMode)- Returns:
- A wrapper object implementing the
ScanMode.Holderinterface.
-
builder
- Returns:
- a
ScanMode.Holder.Builderto create Scan Mode Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theScanMode.Holder.Builder.- Returns:
- a
ScanMode.Holder.Builderto create Scan Mode Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getScanMode
- Returns:
- the Scan Mode (see
ScanMode)
-
containsScanMode
default boolean containsScanMode()- Returns:
- Whether it contains the Scan Mode (see
ScanMode)
-
removeScanMode
default void removeScanMode()Removes the Scan Mode (seeScanMode
-