Interface PriorTreatmentReferenceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTPrescriptionSequence.Item
- Enclosing class:
- PriorTreatmentReferenceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Prior Treatment Reference Sequence" (see
PriorTreatmentReferenceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PriorTreatmentReferenceSequenceensurePriorTreatmentReferenceSequence(int initialCapacity) Adds a new Prior Treatment Reference Sequence if it does not already exist.default PriorTreatmentReferenceSequencedefault PriorTreatmentReferenceSequencenewPriorTreatmentReferenceSequence(int initialCapacity) Adds a new Prior Treatment Reference Sequence.default voidRemoves the Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequencewrap(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 Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence)- Returns:
- A wrapper object implementing the
PriorTreatmentReferenceSequence.Holderinterface.
-
getPriorTreatmentReferenceSequence
- Returns:
- the Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence)
-
newPriorTreatmentReferenceSequence
Adds a new Prior Treatment Reference Sequence. (seePriorTreatmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity for the new Prior Treatment Reference Sequence
-
ensurePriorTreatmentReferenceSequence
Adds a new Prior Treatment Reference Sequence if it does not already exist. (seePriorTreatmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity if a new Prior Treatment Reference Sequence is created
-
containsPriorTreatmentReferenceSequence
default boolean containsPriorTreatmentReferenceSequence()- Returns:
- Whether it contains the Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence)
-
removePriorTreatmentReferenceSequence
default void removePriorTreatmentReferenceSequence()Removes the Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence
-