Interface DeviceTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BlockDefinitionSequence.Item,BolusDefinitionSequence.Item,CompensatorDefinitionSequence.Item,GeneralAccessoryDefinitionSequence.Item,InterlockOriginatingDeviceSequence.Item,PatientSupportDevicesSequence.Item,PatientTreatmentPreparationDeviceSequence.Item,RTAccessoryHolderDefinitionSequence.Item,RTBeamLimitingDeviceDefinitionSequence.Item,SegmentedRTAccessoryDeviceSequence.Item,TransducerIdentificationSequence.Item,TreatmentDeviceIdentificationSequence.Item,WedgeDefinitionSequence.Item
- Enclosing class:
- DeviceTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Device Type Code Sequence" (see
DeviceTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault DeviceTypeCodeSequenceensureDeviceTypeCodeSequence(int initialCapacity) Adds a new Device Type Code Sequence if it does not already exist.default DeviceTypeCodeSequencedefault DeviceTypeCodeSequencenewDeviceTypeCodeSequence(int initialCapacity) Adds a new Device Type Code Sequence.default voidRemoves the Device Type Code Sequence (seeDeviceTypeCodeSequencewrap(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 Type Code Sequence (seeDeviceTypeCodeSequence)- Returns:
- A wrapper object implementing the
DeviceTypeCodeSequence.Holderinterface.
-
getDeviceTypeCodeSequence
- Returns:
- the Device Type Code Sequence (see
DeviceTypeCodeSequence)
-
newDeviceTypeCodeSequence
Adds a new Device Type Code Sequence. (seeDeviceTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Device Type Code Sequence
-
ensureDeviceTypeCodeSequence
Adds a new Device Type Code Sequence if it does not already exist. (seeDeviceTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Device Type Code Sequence is created
-
containsDeviceTypeCodeSequence
default boolean containsDeviceTypeCodeSequence()- Returns:
- Whether it contains the Device Type Code Sequence (see
DeviceTypeCodeSequence)
-
removeDeviceTypeCodeSequence
default void removeDeviceTypeCodeSequence()Removes the Device Type Code Sequence (seeDeviceTypeCodeSequence
-