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 RTPrescriptionSequenceAdds a new RT Prescription Sequence (seeRTPrescriptionSequence) with initial capacity 1 (seeensureRTPrescriptionSequence(int)) if it does not already exist.default RTPrescriptionSequenceensureRTPrescriptionSequence(int initialCapacity) Adds a new RT Prescription Sequence (seeRTPrescriptionSequence) 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 (seeRTPrescriptionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new RT Prescription Sequence is created.- Returns:
- Either the already existing RT Prescription Sequence (see
RTPrescriptionSequence) or a new one with capacityinitialCapacity.
-
ensureRTPrescriptionSequence
Adds a new RT Prescription Sequence (seeRTPrescriptionSequence) with initial capacity 1 (seeensureRTPrescriptionSequence(int)) if it does not already exist.- Returns:
- Either the already existing RT Prescription Sequence (see
RTPrescriptionSequence) or a new one with capacity 1.
-
containsRTPrescriptionSequence
default boolean containsRTPrescriptionSequence()- Returns:
- Whether it contains the RT Prescription Sequence (see
RTPrescriptionSequence)
-
removeRTPrescriptionSequence
default void removeRTPrescriptionSequence()Removes the RT Prescription Sequence (seeRTPrescriptionSequence
-