Interface DeviceIndex.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BlockDefinitionSequence.Item,BolusDefinitionSequence.Item,CompensatorDefinitionSequence.Item,DeviceIndex.SimpleHolder,GeneralAccessoryDefinitionSequence.Item,PatientSupportDevicesSequence.Item,RTAccessoryHolderDefinitionSequence.Item,RTBeamLimitingDeviceDefinitionSequence.Item,SegmentedRTAccessoryDeviceSequence.Item,WedgeDefinitionSequence.Item
- Enclosing class:
- DeviceIndex
A class implementing this interface can hold attributes which contain the DICOM tag "Device Index" (see
DeviceIndex)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceIndex.Holder.Builderbuilder()static DeviceIndex.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault DeviceIndexdefault voidRemoves the Device Index (seeDeviceIndexstatic DeviceIndex.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 Device Index (seeDeviceIndex)- Returns:
- A wrapper object implementing the
DeviceIndex.Holderinterface.
-
builder
- Returns:
- a
DeviceIndex.Holder.Builderto create Device Index Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDeviceIndex.Holder.Builder.- Returns:
- a
DeviceIndex.Holder.Builderto create Device Index Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeviceIndex
- Returns:
- the Device Index (see
DeviceIndex)
-
containsDeviceIndex
default boolean containsDeviceIndex()- Returns:
- Whether it contains the Device Index (see
DeviceIndex)
-
removeDeviceIndex
default void removeDeviceIndex()Removes the Device Index (seeDeviceIndex
-