Interface NumberOfBlocks.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
CArmPhotonElectronDeliveryDeviceModule
- All Known Implementing Classes:
BeamSequence.Item,CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,ExposureSequence.Item,GeneralMachineVerificationSequence.Item,IonBeamSequence.Item,NumberOfBlocks.SimpleHolder,TreatmentSessionBeamSequence.Item,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- NumberOfBlocks
A class implementing this interface can hold attributes which contain the DICOM tag "Number of Blocks" (see
NumberOfBlocks)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault NumberOfBlocksdefault voidRemoves the Number of Blocks (seeNumberOfBlocksstatic NumberOfBlocks.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 Number of Blocks (seeNumberOfBlocks)- Returns:
- A wrapper object implementing the
NumberOfBlocks.Holderinterface.
-
builder
- Returns:
- a
NumberOfBlocks.Holder.Builderto create Number of Blocks Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theNumberOfBlocks.Holder.Builder.- Returns:
- a
NumberOfBlocks.Holder.Builderto create Number of Blocks Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getNumberOfBlocks
- Returns:
- the Number of Blocks (see
NumberOfBlocks)
-
containsNumberOfBlocks
default boolean containsNumberOfBlocks()- Returns:
- Whether it contains the Number of Blocks (see
NumberOfBlocks)
-
removeNumberOfBlocks
default void removeNumberOfBlocks()Removes the Number of Blocks (seeNumberOfBlocks
-