Interface AddOtherSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SubjectiveRefractionLeftEyeSequence.Item,SubjectiveRefractionRightEyeSequence.Item
- Enclosing class:
- AddOtherSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Add Other Sequence" (see
AddOtherSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault AddOtherSequenceensureAddOtherSequence(int initialCapacity) Adds a new Add Other Sequence if it does not already exist.default AddOtherSequencedefault AddOtherSequencenewAddOtherSequence(int initialCapacity) Adds a new Add Other Sequence.default voidRemoves the Add Other Sequence (seeAddOtherSequencestatic AddOtherSequence.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 Add Other Sequence (seeAddOtherSequence)- Returns:
- A wrapper object implementing the
AddOtherSequence.Holderinterface.
-
getAddOtherSequence
- Returns:
- the Add Other Sequence (see
AddOtherSequence)
-
newAddOtherSequence
Adds a new Add Other Sequence. (seeAddOtherSequence)- Parameters:
initialCapacity- the initial capacity for the new Add Other Sequence
-
ensureAddOtherSequence
Adds a new Add Other Sequence if it does not already exist. (seeAddOtherSequence)- Parameters:
initialCapacity- the initial capacity if a new Add Other Sequence is created
-
containsAddOtherSequence
default boolean containsAddOtherSequence()- Returns:
- Whether it contains the Add Other Sequence (see
AddOtherSequence)
-
removeAddOtherSequence
default void removeAddOtherSequence()Removes the Add Other Sequence (seeAddOtherSequence
-