Interface IOLFormulaCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
IntraocularLensCalculationsLeftEyeSequence.Item,IntraocularLensCalculationsRightEyeSequence.Item
- Enclosing class:
- IOLFormulaCodeSequence
public static interface IOLFormulaCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "IOL Formula Code Sequence" (seeIOLFormulaCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIOLFormulaCodeSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static IOLFormulaCodeSequence.Holder.Builderbuilder()static IOLFormulaCodeSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsIOLFormulaCodeSequence()default IOLFormulaCodeSequenceensureIOLFormulaCodeSequence()Adds a new IOL Formula Code Sequence (seeIOLFormulaCodeSequence) with initial capacity 1 (seeensureIOLFormulaCodeSequence(int)) if it does not already exist.default IOLFormulaCodeSequenceensureIOLFormulaCodeSequence(int initialCapacity)Adds a new IOL Formula Code Sequence (seeIOLFormulaCodeSequence) if it does not already exist.default IOLFormulaCodeSequencegetIOLFormulaCodeSequence()default IOLFormulaCodeSequencenewIOLFormulaCodeSequence(int initialCapacity)Adds a new IOL Formula Code Sequence.default voidremoveIOLFormulaCodeSequence()Removes the IOL Formula Code Sequence (seeIOLFormulaCodeSequencestatic IOLFormulaCodeSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static IOLFormulaCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the IOL Formula Code Sequence (seeIOLFormulaCodeSequence)- Returns:
- a wrapper object implementing the
IOLFormulaCodeSequence.Holderinterface.
-
builder
static IOLFormulaCodeSequence.Holder.Builder builder()
- Returns:
- a
IOLFormulaCodeSequence.Holder.Builderto create IOL Formula Code Sequence Items with a fluent API.
-
builder
static IOLFormulaCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theIOLFormulaCodeSequence.Holder.Builder.- Returns:
- a
IOLFormulaCodeSequence.Holder.Builderto create IOL Formula Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIOLFormulaCodeSequence
default IOLFormulaCodeSequence getIOLFormulaCodeSequence()
- Returns:
- the IOL Formula Code Sequence (see
IOLFormulaCodeSequence)
-
newIOLFormulaCodeSequence
default IOLFormulaCodeSequence newIOLFormulaCodeSequence(int initialCapacity)
Adds a new IOL Formula Code Sequence. (seeIOLFormulaCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new IOL Formula Code Sequence- Returns:
- the newly created IOLFormulaCodeSequence.
-
ensureIOLFormulaCodeSequence
default IOLFormulaCodeSequence ensureIOLFormulaCodeSequence(int initialCapacity)
Adds a new IOL Formula Code Sequence (seeIOLFormulaCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new IOL Formula Code Sequence is created.- Returns:
- either the already existing IOL Formula Code Sequence (see
IOLFormulaCodeSequence) or a new one with capacityinitialCapacity.
-
ensureIOLFormulaCodeSequence
default IOLFormulaCodeSequence ensureIOLFormulaCodeSequence()
Adds a new IOL Formula Code Sequence (seeIOLFormulaCodeSequence) with initial capacity 1 (seeensureIOLFormulaCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing IOL Formula Code Sequence (see
IOLFormulaCodeSequence) or a new one with capacity 1.
-
containsIOLFormulaCodeSequence
default boolean containsIOLFormulaCodeSequence()
- Returns:
- whether it contains the IOL Formula Code Sequence (see
IOLFormulaCodeSequence)
-
removeIOLFormulaCodeSequence
default void removeIOLFormulaCodeSequence()
Removes the IOL Formula Code Sequence (seeIOLFormulaCodeSequence
-
-