Interface AddIntermediateSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AddIntermediateSequence.SimpleHolder,LeftLensSequence.Item,RightLensSequence.Item,SubjectiveRefractionLeftEyeSequence.Item,SubjectiveRefractionRightEyeSequence.Item,UnspecifiedLateralityLensSequence.Item
- Enclosing class:
- AddIntermediateSequence
public static interface AddIntermediateSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Add Intermediate Sequence" (seeAddIntermediateSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAddIntermediateSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static AddIntermediateSequence.Holder.Builderbuilder()static AddIntermediateSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsAddIntermediateSequence()default AddIntermediateSequenceensureAddIntermediateSequence()Adds a new Add Intermediate Sequence (seeAddIntermediateSequence) with initial capacity 1 (seeensureAddIntermediateSequence(int)) if it does not already exist.default AddIntermediateSequenceensureAddIntermediateSequence(int initialCapacity)Adds a new Add Intermediate Sequence (seeAddIntermediateSequence) if it does not already exist.default AddIntermediateSequencegetAddIntermediateSequence()default AddIntermediateSequencenewAddIntermediateSequence(int initialCapacity)Adds a new Add Intermediate Sequence.default voidremoveAddIntermediateSequence()Removes the Add Intermediate Sequence (seeAddIntermediateSequencestatic AddIntermediateSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static AddIntermediateSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Add Intermediate Sequence (seeAddIntermediateSequence)- Returns:
- a wrapper object implementing the
AddIntermediateSequence.Holderinterface.
-
builder
static AddIntermediateSequence.Holder.Builder builder()
- Returns:
- a
AddIntermediateSequence.Holder.Builderto create Add Intermediate Sequence Items with a fluent API.
-
builder
static AddIntermediateSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theAddIntermediateSequence.Holder.Builder.- Returns:
- a
AddIntermediateSequence.Holder.Builderto create Add Intermediate Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAddIntermediateSequence
default AddIntermediateSequence getAddIntermediateSequence()
- Returns:
- the Add Intermediate Sequence (see
AddIntermediateSequence)
-
newAddIntermediateSequence
default AddIntermediateSequence newAddIntermediateSequence(int initialCapacity)
Adds a new Add Intermediate Sequence. (seeAddIntermediateSequence)- Parameters:
initialCapacity- the initial capacity for the new Add Intermediate Sequence- Returns:
- the newly created AddIntermediateSequence.
-
ensureAddIntermediateSequence
default AddIntermediateSequence ensureAddIntermediateSequence(int initialCapacity)
Adds a new Add Intermediate Sequence (seeAddIntermediateSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Add Intermediate Sequence is created.- Returns:
- either the already existing Add Intermediate Sequence (see
AddIntermediateSequence) or a new one with capacityinitialCapacity.
-
ensureAddIntermediateSequence
default AddIntermediateSequence ensureAddIntermediateSequence()
Adds a new Add Intermediate Sequence (seeAddIntermediateSequence) with initial capacity 1 (seeensureAddIntermediateSequence(int)) if it does not already exist.- Returns:
- either the already existing Add Intermediate Sequence (see
AddIntermediateSequence) or a new one with capacity 1.
-
containsAddIntermediateSequence
default boolean containsAddIntermediateSequence()
- Returns:
- whether it contains the Add Intermediate Sequence (see
AddIntermediateSequence)
-
removeAddIntermediateSequence
default void removeAddIntermediateSequence()
Removes the Add Intermediate Sequence (seeAddIntermediateSequence
-
-