Interface IOLPowerSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
IntraocularLensCalculationsLeftEyeSequence.Item,IntraocularLensCalculationsRightEyeSequence.Item
- Enclosing class:
- IOLPowerSequence
public static interface IOLPowerSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "IOL Power Sequence" (seeIOLPowerSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIOLPowerSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static IOLPowerSequence.Holder.Builderbuilder()static IOLPowerSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsIOLPowerSequence()default IOLPowerSequenceensureIOLPowerSequence()Adds a new IOL Power Sequence (seeIOLPowerSequence) with initial capacity 1 (seeensureIOLPowerSequence(int)) if it does not already exist.default IOLPowerSequenceensureIOLPowerSequence(int initialCapacity)Adds a new IOL Power Sequence (seeIOLPowerSequence) if it does not already exist.default IOLPowerSequencegetIOLPowerSequence()default IOLPowerSequencenewIOLPowerSequence(int initialCapacity)Adds a new IOL Power Sequence.default voidremoveIOLPowerSequence()Removes the IOL Power Sequence (seeIOLPowerSequencestatic IOLPowerSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static IOLPowerSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the IOL Power Sequence (seeIOLPowerSequence)- Returns:
- a wrapper object implementing the
IOLPowerSequence.Holderinterface.
-
builder
static IOLPowerSequence.Holder.Builder builder()
- Returns:
- a
IOLPowerSequence.Holder.Builderto create IOL Power Sequence Items with a fluent API.
-
builder
static IOLPowerSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theIOLPowerSequence.Holder.Builder.- Returns:
- a
IOLPowerSequence.Holder.Builderto create IOL Power Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIOLPowerSequence
default IOLPowerSequence getIOLPowerSequence()
- Returns:
- the IOL Power Sequence (see
IOLPowerSequence)
-
newIOLPowerSequence
default IOLPowerSequence newIOLPowerSequence(int initialCapacity)
Adds a new IOL Power Sequence. (seeIOLPowerSequence)- Parameters:
initialCapacity- the initial capacity for the new IOL Power Sequence- Returns:
- the newly created IOLPowerSequence.
-
ensureIOLPowerSequence
default IOLPowerSequence ensureIOLPowerSequence(int initialCapacity)
Adds a new IOL Power Sequence (seeIOLPowerSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new IOL Power Sequence is created.- Returns:
- either the already existing IOL Power Sequence (see
IOLPowerSequence) or a new one with capacityinitialCapacity.
-
ensureIOLPowerSequence
default IOLPowerSequence ensureIOLPowerSequence()
Adds a new IOL Power Sequence (seeIOLPowerSequence) with initial capacity 1 (seeensureIOLPowerSequence(int)) if it does not already exist.- Returns:
- either the already existing IOL Power Sequence (see
IOLPowerSequence) or a new one with capacity 1.
-
containsIOLPowerSequence
default boolean containsIOLPowerSequence()
- Returns:
- whether it contains the IOL Power Sequence (see
IOLPowerSequence)
-
removeIOLPowerSequence
default void removeIOLPowerSequence()
Removes the IOL Power Sequence (seeIOLPowerSequence
-
-