Interface MultipleComponentApprovalSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- MultipleComponentApprovalSequence
public static interface MultipleComponentApprovalSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Multiple Component Approval Sequence" (seeMultipleComponentApprovalSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMultipleComponentApprovalSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static MultipleComponentApprovalSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Multiple Component Approval Sequence (seeMultipleComponentApprovalSequence)- Returns:
- a wrapper object implementing the
MultipleComponentApprovalSequence.Holderinterface.
-
builder
static MultipleComponentApprovalSequence.Holder.Builder builder()
- Returns:
- a
MultipleComponentApprovalSequence.Holder.Builderto create Multiple Component Approval Sequence Items with a fluent API.
-
builder
static MultipleComponentApprovalSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theMultipleComponentApprovalSequence.Holder.Builder.- Returns:
- a
MultipleComponentApprovalSequence.Holder.Builderto create Multiple Component Approval Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMultipleComponentApprovalSequence
default MultipleComponentApprovalSequence getMultipleComponentApprovalSequence()
- Returns:
- the Multiple Component Approval Sequence (see
MultipleComponentApprovalSequence)
-
newMultipleComponentApprovalSequence
default MultipleComponentApprovalSequence newMultipleComponentApprovalSequence(int initialCapacity)
Adds a new Multiple Component Approval Sequence. (seeMultipleComponentApprovalSequence)- Parameters:
initialCapacity- the initial capacity for the new Multiple Component Approval Sequence- Returns:
- the newly created MultipleComponentApprovalSequence.
-
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
default MultipleComponentApprovalSequence 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
-
-