Interface RTPrescriptionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTEnhancedPrescriptionModule
- All Known Implementing Classes:
RTPhysicianIntentIOD
- Enclosing class:
- RTPrescriptionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "RT Prescription Sequence" (see
RTPrescriptionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RTPrescriptionSequenceensureRTPrescriptionSequence(int initialCapacity) Adds a new RT Prescription Sequence if it does not already exist.default RTPrescriptionSequencedefault RTPrescriptionSequencenewRTPrescriptionSequence(int initialCapacity) Adds a new RT Prescription Sequence.default voidRemoves the RT Prescription Sequence (seeRTPrescriptionSequencewrap(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 RT Prescription Sequence (seeRTPrescriptionSequence)- Returns:
- A wrapper object implementing the
RTPrescriptionSequence.Holderinterface.
-
getRTPrescriptionSequence
- Returns:
- the RT Prescription Sequence (see
RTPrescriptionSequence)
-
newRTPrescriptionSequence
Adds a new RT Prescription Sequence. (seeRTPrescriptionSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Prescription Sequence
-
ensureRTPrescriptionSequence
Adds a new RT Prescription Sequence if it does not already exist. (seeRTPrescriptionSequence)- Parameters:
initialCapacity- the initial capacity if a new RT Prescription Sequence is created
-
containsRTPrescriptionSequence
default boolean containsRTPrescriptionSequence()- Returns:
- Whether it contains the RT Prescription Sequence (see
RTPrescriptionSequence)
-
removeRTPrescriptionSequence
default void removeRTPrescriptionSequence()Removes the RT Prescription Sequence (seeRTPrescriptionSequence
-