Interface SourceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTBrachyApplicationSetupsModule
- All Known Implementing Classes:
RTPlanIOD
- Enclosing class:
- SourceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Source Sequence" (see
SourceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SourceSequenceensureSourceSequence(int initialCapacity) Adds a new Source Sequence if it does not already exist.default SourceSequencedefault SourceSequencenewSourceSequence(int initialCapacity) Adds a new Source Sequence.default voidRemoves the Source Sequence (seeSourceSequencestatic SourceSequence.Holderwrap(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 Source Sequence (seeSourceSequence)- Returns:
- A wrapper object implementing the
SourceSequence.Holderinterface.
-
getSourceSequence
- Returns:
- the Source Sequence (see
SourceSequence)
-
newSourceSequence
Adds a new Source Sequence. (seeSourceSequence)- Parameters:
initialCapacity- the initial capacity for the new Source Sequence
-
ensureSourceSequence
Adds a new Source Sequence if it does not already exist. (seeSourceSequence)- Parameters:
initialCapacity- the initial capacity if a new Source Sequence is created
-
containsSourceSequence
default boolean containsSourceSequence()- Returns:
- Whether it contains the Source Sequence (see
SourceSequence)
-
removeSourceSequence
default void removeSourceSequence()Removes the Source Sequence (seeSourceSequence
-