Interface OutputInformationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
OutputInformationSequence.SimpleHolder,StorageProtocolElementSequence.Item,UnifiedProcedureStepPerformedProcedureSequence.Item
- Enclosing class:
- OutputInformationSequence
public static interface OutputInformationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Output Information Sequence" (seeOutputInformationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOutputInformationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static OutputInformationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Output Information Sequence (seeOutputInformationSequence)- Returns:
- a wrapper object implementing the
OutputInformationSequence.Holderinterface.
-
builder
static OutputInformationSequence.Holder.Builder builder()
- Returns:
- a
OutputInformationSequence.Holder.Builderto create Output Information Sequence Items with a fluent API.
-
builder
static OutputInformationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theOutputInformationSequence.Holder.Builder.- Returns:
- a
OutputInformationSequence.Holder.Builderto create Output Information Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOutputInformationSequence
default OutputInformationSequence getOutputInformationSequence()
- Returns:
- the Output Information Sequence (see
OutputInformationSequence)
-
newOutputInformationSequence
default OutputInformationSequence newOutputInformationSequence(int initialCapacity)
Adds a new Output Information Sequence. (seeOutputInformationSequence)- Parameters:
initialCapacity- the initial capacity for the new Output Information Sequence- Returns:
- the newly created OutputInformationSequence.
-
ensureOutputInformationSequence
default OutputInformationSequence ensureOutputInformationSequence(int initialCapacity)
Adds a new Output Information Sequence (seeOutputInformationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Output Information Sequence is created.- Returns:
- either the already existing Output Information Sequence (see
OutputInformationSequence) or a new one with capacityinitialCapacity.
-
ensureOutputInformationSequence
default OutputInformationSequence ensureOutputInformationSequence()
Adds a new Output Information Sequence (seeOutputInformationSequence) with initial capacity 1 (seeensureOutputInformationSequence(int)) if it does not already exist.- Returns:
- either the already existing Output Information Sequence (see
OutputInformationSequence) or a new one with capacity 1.
-
containsOutputInformationSequence
default boolean containsOutputInformationSequence()
- Returns:
- whether it contains the Output Information Sequence (see
OutputInformationSequence)
-
removeOutputInformationSequence
default void removeOutputInformationSequence()
Removes the Output Information Sequence (seeOutputInformationSequence
-
-