Interface SegmentIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- SegmentIdentificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Identification Sequence" (see
SegmentIdentificationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SegmentIdentificationSequenceAdds a new Segment Identification Sequence (seeSegmentIdentificationSequence) with initial capacity 1 (seeensureSegmentIdentificationSequence(int)) if it does not already exist.default SegmentIdentificationSequenceensureSegmentIdentificationSequence(int initialCapacity) Adds a new Segment Identification Sequence (seeSegmentIdentificationSequence) if it does not already exist.default SegmentIdentificationSequencedefault SegmentIdentificationSequencenewSegmentIdentificationSequence(int initialCapacity) Adds a new Segment Identification Sequence.default voidRemoves the Segment Identification Sequence (seeSegmentIdentificationSequencewrap(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 Segment Identification Sequence (seeSegmentIdentificationSequence)- Returns:
- A wrapper object implementing the
SegmentIdentificationSequence.Holderinterface.
-
getSegmentIdentificationSequence
- Returns:
- the Segment Identification Sequence (see
SegmentIdentificationSequence)
-
newSegmentIdentificationSequence
Adds a new Segment Identification Sequence. (seeSegmentIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Identification Sequence
-
ensureSegmentIdentificationSequence
Adds a new Segment Identification Sequence (seeSegmentIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Segment Identification Sequence is created.- Returns:
- Either the already existing Segment Identification Sequence (see
SegmentIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentIdentificationSequence
Adds a new Segment Identification Sequence (seeSegmentIdentificationSequence) with initial capacity 1 (seeensureSegmentIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Segment Identification Sequence (see
SegmentIdentificationSequence) or a new one with capacity 1.
-
containsSegmentIdentificationSequence
default boolean containsSegmentIdentificationSequence()- Returns:
- Whether it contains the Segment Identification Sequence (see
SegmentIdentificationSequence)
-
removeSegmentIdentificationSequence
default void removeSegmentIdentificationSequence()Removes the Segment Identification Sequence (seeSegmentIdentificationSequence
-