Interface RecordedSourceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTBrachySessionRecordModule
- All Known Implementing Classes:
RTBrachyTreatmentRecordIOD
- Enclosing class:
- RecordedSourceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Recorded Source Sequence" (see
RecordedSourceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RecordedSourceSequenceAdds a new Recorded Source Sequence (seeRecordedSourceSequence) with initial capacity 1 (seeensureRecordedSourceSequence(int)) if it does not already exist.default RecordedSourceSequenceensureRecordedSourceSequence(int initialCapacity) Adds a new Recorded Source Sequence (seeRecordedSourceSequence) if it does not already exist.default RecordedSourceSequencedefault RecordedSourceSequencenewRecordedSourceSequence(int initialCapacity) Adds a new Recorded Source Sequence.default voidRemoves the Recorded Source Sequence (seeRecordedSourceSequencewrap(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 Recorded Source Sequence (seeRecordedSourceSequence)- Returns:
- A wrapper object implementing the
RecordedSourceSequence.Holderinterface.
-
getRecordedSourceSequence
- Returns:
- the Recorded Source Sequence (see
RecordedSourceSequence)
-
newRecordedSourceSequence
Adds a new Recorded Source Sequence. (seeRecordedSourceSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Source Sequence
-
ensureRecordedSourceSequence
Adds a new Recorded Source Sequence (seeRecordedSourceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Recorded Source Sequence is created.- Returns:
- Either the already existing Recorded Source Sequence (see
RecordedSourceSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedSourceSequence
Adds a new Recorded Source Sequence (seeRecordedSourceSequence) with initial capacity 1 (seeensureRecordedSourceSequence(int)) if it does not already exist.- Returns:
- Either the already existing Recorded Source Sequence (see
RecordedSourceSequence) or a new one with capacity 1.
-
containsRecordedSourceSequence
default boolean containsRecordedSourceSequence()- Returns:
- Whether it contains the Recorded Source Sequence (see
RecordedSourceSequence)
-
removeRecordedSourceSequence
default void removeRecordedSourceSequence()Removes the Recorded Source Sequence (seeRecordedSourceSequence
-