Interface DirectSegmentReferenceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SegmentReferenceSequence.Item
- Enclosing class:
- DirectSegmentReferenceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Direct Segment Reference Sequence" (see
DirectSegmentReferenceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault DirectSegmentReferenceSequenceensureDirectSegmentReferenceSequence(int initialCapacity) Adds a new Direct Segment Reference Sequence if it does not already exist.default DirectSegmentReferenceSequencedefault DirectSegmentReferenceSequencenewDirectSegmentReferenceSequence(int initialCapacity) Adds a new Direct Segment Reference Sequence.default voidRemoves the Direct Segment Reference Sequence (seeDirectSegmentReferenceSequencewrap(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 Direct Segment Reference Sequence (seeDirectSegmentReferenceSequence)- Returns:
- A wrapper object implementing the
DirectSegmentReferenceSequence.Holderinterface.
-
getDirectSegmentReferenceSequence
- Returns:
- the Direct Segment Reference Sequence (see
DirectSegmentReferenceSequence)
-
newDirectSegmentReferenceSequence
Adds a new Direct Segment Reference Sequence. (seeDirectSegmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity for the new Direct Segment Reference Sequence
-
ensureDirectSegmentReferenceSequence
Adds a new Direct Segment Reference Sequence if it does not already exist. (seeDirectSegmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity if a new Direct Segment Reference Sequence is created
-
containsDirectSegmentReferenceSequence
default boolean containsDirectSegmentReferenceSequence()- Returns:
- Whether it contains the Direct Segment Reference Sequence (see
DirectSegmentReferenceSequence)
-
removeDirectSegmentReferenceSequence
default void removeDirectSegmentReferenceSequence()Removes the Direct Segment Reference Sequence (seeDirectSegmentReferenceSequence
-