Interface UsedSegmentsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RegistrationSequence.Item
- Enclosing class:
- UsedSegmentsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Used Segments Sequence" (see
UsedSegmentsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault UsedSegmentsSequenceensureUsedSegmentsSequence(int initialCapacity) Adds a new Used Segments Sequence if it does not already exist.default UsedSegmentsSequencedefault UsedSegmentsSequencenewUsedSegmentsSequence(int initialCapacity) Adds a new Used Segments Sequence.default voidRemoves the Used Segments Sequence (seeUsedSegmentsSequencestatic UsedSegmentsSequence.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 Used Segments Sequence (seeUsedSegmentsSequence)- Returns:
- A wrapper object implementing the
UsedSegmentsSequence.Holderinterface.
-
getUsedSegmentsSequence
- Returns:
- the Used Segments Sequence (see
UsedSegmentsSequence)
-
newUsedSegmentsSequence
Adds a new Used Segments Sequence. (seeUsedSegmentsSequence)- Parameters:
initialCapacity- the initial capacity for the new Used Segments Sequence
-
ensureUsedSegmentsSequence
Adds a new Used Segments Sequence if it does not already exist. (seeUsedSegmentsSequence)- Parameters:
initialCapacity- the initial capacity if a new Used Segments Sequence is created
-
containsUsedSegmentsSequence
default boolean containsUsedSegmentsSequence()- Returns:
- Whether it contains the Used Segments Sequence (see
UsedSegmentsSequence)
-
removeUsedSegmentsSequence
default void removeUsedSegmentsSequence()Removes the Used Segments Sequence (seeUsedSegmentsSequence
-