Interface RTAnatomicPrescriptionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTPrescriptionSequence.Item
- Enclosing class:
- RTAnatomicPrescriptionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "RT Anatomic Prescription Sequence" (see
RTAnatomicPrescriptionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RTAnatomicPrescriptionSequenceAdds a new RT Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequence) with initial capacity 1 (seeensureRTAnatomicPrescriptionSequence(int)) if it does not already exist.default RTAnatomicPrescriptionSequenceensureRTAnatomicPrescriptionSequence(int initialCapacity) Adds a new RT Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequence) if it does not already exist.default RTAnatomicPrescriptionSequencedefault RTAnatomicPrescriptionSequencenewRTAnatomicPrescriptionSequence(int initialCapacity) Adds a new RT Anatomic Prescription Sequence.default voidRemoves the RT Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequencewrap(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 Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequence)- Returns:
- A wrapper object implementing the
RTAnatomicPrescriptionSequence.Holderinterface.
-
getRTAnatomicPrescriptionSequence
- Returns:
- the RT Anatomic Prescription Sequence (see
RTAnatomicPrescriptionSequence)
-
newRTAnatomicPrescriptionSequence
Adds a new RT Anatomic Prescription Sequence. (seeRTAnatomicPrescriptionSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Anatomic Prescription Sequence
-
ensureRTAnatomicPrescriptionSequence
Adds a new RT Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new RT Anatomic Prescription Sequence is created.- Returns:
- Either the already existing RT Anatomic Prescription Sequence (see
RTAnatomicPrescriptionSequence) or a new one with capacityinitialCapacity.
-
ensureRTAnatomicPrescriptionSequence
Adds a new RT Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequence) with initial capacity 1 (seeensureRTAnatomicPrescriptionSequence(int)) if it does not already exist.- Returns:
- Either the already existing RT Anatomic Prescription Sequence (see
RTAnatomicPrescriptionSequence) or a new one with capacity 1.
-
containsRTAnatomicPrescriptionSequence
default boolean containsRTAnatomicPrescriptionSequence()- Returns:
- Whether it contains the RT Anatomic Prescription Sequence (see
RTAnatomicPrescriptionSequence)
-
removeRTAnatomicPrescriptionSequence
default void removeRTAnatomicPrescriptionSequence()Removes the RT Anatomic Prescription Sequence (seeRTAnatomicPrescriptionSequence
-