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 AddOtherSequenceAdds a new Add Other Sequence (seeAddOtherSequence) with initial capacity 1 (seeensureAddOtherSequence(int)) if it does not already exist.default AddOtherSequenceensureAddOtherSequence(int initialCapacity) Adds a new Add Other Sequence (seeAddOtherSequence) 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 (seeAddOtherSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Add Other Sequence is created.- Returns:
- Either the already existing Add Other Sequence (see
AddOtherSequence) or a new one with capacityinitialCapacity.
-
ensureAddOtherSequence
Adds a new Add Other Sequence (seeAddOtherSequence) with initial capacity 1 (seeensureAddOtherSequence(int)) if it does not already exist.- Returns:
- Either the already existing Add Other Sequence (see
AddOtherSequence) or a new one with capacity 1.
-
containsAddOtherSequence
default boolean containsAddOtherSequence()- Returns:
- Whether it contains the Add Other Sequence (see
AddOtherSequence)
-
removeAddOtherSequence
default void removeAddOtherSequence()Removes the Add Other Sequence (seeAddOtherSequence
-