Interface MultipleComponentApprovalSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- MultipleComponentApprovalSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Multiple Component Approval Sequence" (see
MultipleComponentApprovalSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence) with initial capacity 1 (seeensureMultipleComponentApprovalSequence(int)) if it does not already exist.ensureMultipleComponentApprovalSequence(int initialCapacity) Adds a new Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence) if it does not already exist.newMultipleComponentApprovalSequence(int initialCapacity) Adds a new Multiple Component Approval Sequence.default voidRemoves the Multiple Component Approval Sequence (seeMultipleComponentApprovalSequencewrap(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 Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence)- Returns:
- A wrapper object implementing the
MultipleComponentApprovalSequence.Holderinterface.
-
getMultipleComponentApprovalSequence
- Returns:
- the Multiple Component Approval Sequence (see
MultipleComponentApprovalSequence)
-
newMultipleComponentApprovalSequence
Adds a new Multiple Component Approval Sequence. (seeMultipleComponentApprovalSequence)- Parameters:
initialCapacity- the initial capacity for the new Multiple Component Approval Sequence
-
ensureMultipleComponentApprovalSequence
default MultipleComponentApprovalSequence ensureMultipleComponentApprovalSequence(int initialCapacity) Adds a new Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Multiple Component Approval Sequence is created.- Returns:
- Either the already existing Multiple Component Approval Sequence (see
MultipleComponentApprovalSequence) or a new one with capacityinitialCapacity.
-
ensureMultipleComponentApprovalSequence
Adds a new Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence) with initial capacity 1 (seeensureMultipleComponentApprovalSequence(int)) if it does not already exist.- Returns:
- Either the already existing Multiple Component Approval Sequence (see
MultipleComponentApprovalSequence) or a new one with capacity 1.
-
containsMultipleComponentApprovalSequence
default boolean containsMultipleComponentApprovalSequence()- Returns:
- Whether it contains the Multiple Component Approval Sequence (see
MultipleComponentApprovalSequence)
-
removeMultipleComponentApprovalSequence
default void removeMultipleComponentApprovalSequence()Removes the Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence
-