Interface ToricIOLPowerSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
IOLPowerSequence.Item
- Enclosing class:
- ToricIOLPowerSequence
public static interface ToricIOLPowerSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Toric IOL Power Sequence" (seeToricIOLPowerSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classToricIOLPowerSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ToricIOLPowerSequence.Holder.Builderbuilder()static ToricIOLPowerSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsToricIOLPowerSequence()default ToricIOLPowerSequenceensureToricIOLPowerSequence()Adds a new Toric IOL Power Sequence (seeToricIOLPowerSequence) with initial capacity 1 (seeensureToricIOLPowerSequence(int)) if it does not already exist.default ToricIOLPowerSequenceensureToricIOLPowerSequence(int initialCapacity)Adds a new Toric IOL Power Sequence (seeToricIOLPowerSequence) if it does not already exist.default ToricIOLPowerSequencegetToricIOLPowerSequence()default ToricIOLPowerSequencenewToricIOLPowerSequence(int initialCapacity)Adds a new Toric IOL Power Sequence.default voidremoveToricIOLPowerSequence()Removes the Toric IOL Power Sequence (seeToricIOLPowerSequencestatic ToricIOLPowerSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ToricIOLPowerSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Toric IOL Power Sequence (seeToricIOLPowerSequence)- Returns:
- a wrapper object implementing the
ToricIOLPowerSequence.Holderinterface.
-
builder
static ToricIOLPowerSequence.Holder.Builder builder()
- Returns:
- a
ToricIOLPowerSequence.Holder.Builderto create Toric IOL Power Sequence Items with a fluent API.
-
builder
static ToricIOLPowerSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theToricIOLPowerSequence.Holder.Builder.- Returns:
- a
ToricIOLPowerSequence.Holder.Builderto create Toric IOL Power Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getToricIOLPowerSequence
default ToricIOLPowerSequence getToricIOLPowerSequence()
- Returns:
- the Toric IOL Power Sequence (see
ToricIOLPowerSequence)
-
newToricIOLPowerSequence
default ToricIOLPowerSequence newToricIOLPowerSequence(int initialCapacity)
Adds a new Toric IOL Power Sequence. (seeToricIOLPowerSequence)- Parameters:
initialCapacity- the initial capacity for the new Toric IOL Power Sequence- Returns:
- the newly created ToricIOLPowerSequence.
-
ensureToricIOLPowerSequence
default ToricIOLPowerSequence ensureToricIOLPowerSequence(int initialCapacity)
Adds a new Toric IOL Power Sequence (seeToricIOLPowerSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Toric IOL Power Sequence is created.- Returns:
- either the already existing Toric IOL Power Sequence (see
ToricIOLPowerSequence) or a new one with capacityinitialCapacity.
-
ensureToricIOLPowerSequence
default ToricIOLPowerSequence ensureToricIOLPowerSequence()
Adds a new Toric IOL Power Sequence (seeToricIOLPowerSequence) with initial capacity 1 (seeensureToricIOLPowerSequence(int)) if it does not already exist.- Returns:
- either the already existing Toric IOL Power Sequence (see
ToricIOLPowerSequence) or a new one with capacity 1.
-
containsToricIOLPowerSequence
default boolean containsToricIOLPowerSequence()
- Returns:
- whether it contains the Toric IOL Power Sequence (see
ToricIOLPowerSequence)
-
removeToricIOLPowerSequence
default void removeToricIOLPowerSequence()
Removes the Toric IOL Power Sequence (seeToricIOLPowerSequence
-
-