Interface SubtaskWorkitemCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AcquisitionSubtaskSequence.Item
- Enclosing class:
- SubtaskWorkitemCodeSequence
public static interface SubtaskWorkitemCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Subtask Workitem Code Sequence" (seeSubtaskWorkitemCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSubtaskWorkitemCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SubtaskWorkitemCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Subtask Workitem Code Sequence (seeSubtaskWorkitemCodeSequence)- Returns:
- a wrapper object implementing the
SubtaskWorkitemCodeSequence.Holderinterface.
-
builder
static SubtaskWorkitemCodeSequence.Holder.Builder builder()
- Returns:
- a
SubtaskWorkitemCodeSequence.Holder.Builderto create Subtask Workitem Code Sequence Items with a fluent API.
-
builder
static SubtaskWorkitemCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSubtaskWorkitemCodeSequence.Holder.Builder.- Returns:
- a
SubtaskWorkitemCodeSequence.Holder.Builderto create Subtask Workitem Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSubtaskWorkitemCodeSequence
default SubtaskWorkitemCodeSequence getSubtaskWorkitemCodeSequence()
- Returns:
- the Subtask Workitem Code Sequence (see
SubtaskWorkitemCodeSequence)
-
newSubtaskWorkitemCodeSequence
default SubtaskWorkitemCodeSequence newSubtaskWorkitemCodeSequence(int initialCapacity)
Adds a new Subtask Workitem Code Sequence. (seeSubtaskWorkitemCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Subtask Workitem Code Sequence- Returns:
- the newly created SubtaskWorkitemCodeSequence.
-
ensureSubtaskWorkitemCodeSequence
default SubtaskWorkitemCodeSequence ensureSubtaskWorkitemCodeSequence(int initialCapacity)
Adds a new Subtask Workitem Code Sequence (seeSubtaskWorkitemCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Subtask Workitem Code Sequence is created.- Returns:
- either the already existing Subtask Workitem Code Sequence (see
SubtaskWorkitemCodeSequence) or a new one with capacityinitialCapacity.
-
ensureSubtaskWorkitemCodeSequence
default SubtaskWorkitemCodeSequence ensureSubtaskWorkitemCodeSequence()
Adds a new Subtask Workitem Code Sequence (seeSubtaskWorkitemCodeSequence) with initial capacity 1 (seeensureSubtaskWorkitemCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Subtask Workitem Code Sequence (see
SubtaskWorkitemCodeSequence) or a new one with capacity 1.
-
containsSubtaskWorkitemCodeSequence
default boolean containsSubtaskWorkitemCodeSequence()
- Returns:
- whether it contains the Subtask Workitem Code Sequence (see
SubtaskWorkitemCodeSequence)
-
removeSubtaskWorkitemCodeSequence
default void removeSubtaskWorkitemCodeSequence()
Removes the Subtask Workitem Code Sequence (seeSubtaskWorkitemCodeSequence
-
-