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