Interface DeviceIndex.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.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
public static interface DeviceIndex.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Device Index" (seeDeviceIndex)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeviceIndex.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DeviceIndex.Holder.Builderbuilder()static DeviceIndex.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsDeviceIndex()default DeviceIndexgetDeviceIndex()default voidremoveDeviceIndex()Removes the Device Index (seeDeviceIndexstatic DeviceIndex.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static DeviceIndex.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Device Index (seeDeviceIndex)- Returns:
- a wrapper object implementing the
DeviceIndex.Holderinterface.
-
builder
static DeviceIndex.Holder.Builder builder()
- Returns:
- a
DeviceIndex.Holder.Builderto create Device Index Items with a fluent API.
-
builder
static DeviceIndex.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default DeviceIndex 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
-
-