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 PriorTreatmentReferenceSequenceAdds a new Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence) with initial capacity 1 (seeensurePriorTreatmentReferenceSequence(int)) if it does not already exist.default PriorTreatmentReferenceSequenceensurePriorTreatmentReferenceSequence(int initialCapacity) Adds a new Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence) 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 (seePriorTreatmentReferenceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Prior Treatment Reference Sequence is created.- Returns:
- Either the already existing Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence) or a new one with capacityinitialCapacity.
-
ensurePriorTreatmentReferenceSequence
Adds a new Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence) with initial capacity 1 (seeensurePriorTreatmentReferenceSequence(int)) if it does not already exist.- Returns:
- Either the already existing Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence) or a new one with capacity 1.
-
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
-