Interface InterlockSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTRadiationRecordCommonModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- InterlockSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Interlock Sequence" (see
InterlockSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault InterlockSequenceAdds a new Interlock Sequence (seeInterlockSequence) with initial capacity 1 (seeensureInterlockSequence(int)) if it does not already exist.default InterlockSequenceensureInterlockSequence(int initialCapacity) Adds a new Interlock Sequence (seeInterlockSequence) if it does not already exist.default InterlockSequencedefault InterlockSequencenewInterlockSequence(int initialCapacity) Adds a new Interlock Sequence.default voidRemoves the Interlock Sequence (seeInterlockSequencestatic InterlockSequence.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 Interlock Sequence (seeInterlockSequence)- Returns:
- A wrapper object implementing the
InterlockSequence.Holderinterface.
-
getInterlockSequence
- Returns:
- the Interlock Sequence (see
InterlockSequence)
-
newInterlockSequence
Adds a new Interlock Sequence. (seeInterlockSequence)- Parameters:
initialCapacity- the initial capacity for the new Interlock Sequence
-
ensureInterlockSequence
Adds a new Interlock Sequence (seeInterlockSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Interlock Sequence is created.- Returns:
- Either the already existing Interlock Sequence (see
InterlockSequence) or a new one with capacityinitialCapacity.
-
ensureInterlockSequence
Adds a new Interlock Sequence (seeInterlockSequence) with initial capacity 1 (seeensureInterlockSequence(int)) if it does not already exist.- Returns:
- Either the already existing Interlock Sequence (see
InterlockSequence) or a new one with capacity 1.
-
containsInterlockSequence
default boolean containsInterlockSequence()- Returns:
- Whether it contains the Interlock Sequence (see
InterlockSequence)
-
removeInterlockSequence
default void removeInterlockSequence()Removes the Interlock Sequence (seeInterlockSequence
-