Interface PrescriptionNotesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTPrescriptionSequence.Item
- Enclosing class:
- PrescriptionNotesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Prescription Notes Sequence" (see
PrescriptionNotesSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PrescriptionNotesSequenceensurePrescriptionNotesSequence(int initialCapacity) Adds a new Prescription Notes Sequence if it does not already exist.default PrescriptionNotesSequencedefault PrescriptionNotesSequencenewPrescriptionNotesSequence(int initialCapacity) Adds a new Prescription Notes Sequence.default voidRemoves the Prescription Notes Sequence (seePrescriptionNotesSequencewrap(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 Prescription Notes Sequence (seePrescriptionNotesSequence)- Returns:
- A wrapper object implementing the
PrescriptionNotesSequence.Holderinterface.
-
getPrescriptionNotesSequence
- Returns:
- the Prescription Notes Sequence (see
PrescriptionNotesSequence)
-
newPrescriptionNotesSequence
Adds a new Prescription Notes Sequence. (seePrescriptionNotesSequence)- Parameters:
initialCapacity- the initial capacity for the new Prescription Notes Sequence
-
ensurePrescriptionNotesSequence
Adds a new Prescription Notes Sequence if it does not already exist. (seePrescriptionNotesSequence)- Parameters:
initialCapacity- the initial capacity if a new Prescription Notes Sequence is created
-
containsPrescriptionNotesSequence
default boolean containsPrescriptionNotesSequence()- Returns:
- Whether it contains the Prescription Notes Sequence (see
PrescriptionNotesSequence)
-
removePrescriptionNotesSequence
default void removePrescriptionNotesSequence()Removes the Prescription Notes Sequence (seePrescriptionNotesSequence
-