Interface ToricIOLPowerSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IOLPowerSequence.Item,ToricIOLPowerSequence.SimpleHolder
- Enclosing class:
- ToricIOLPowerSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Toric IOL Power Sequence" (see
ToricIOLPowerSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ToricIOLPowerSequenceAdds 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 ToricIOLPowerSequencedefault ToricIOLPowerSequencenewToricIOLPowerSequence(int initialCapacity) Adds a new Toric IOL Power Sequence.default voidRemoves the Toric IOL Power Sequence (seeToricIOLPowerSequencestatic ToricIOLPowerSequence.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Toric IOL Power Sequence (seeToricIOLPowerSequence)- Returns:
- A wrapper object implementing the
ToricIOLPowerSequence.Holderinterface.
-
builder
- Returns:
- a
ToricIOLPowerSequence.Holder.Builderto create Toric IOL Power Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the Toric IOL Power Sequence (see
ToricIOLPowerSequence)
-
newToricIOLPowerSequence
Adds a new Toric IOL Power Sequence. (seeToricIOLPowerSequence)- Parameters:
initialCapacity- the initial capacity for the new Toric IOL Power Sequence
-
ensureToricIOLPowerSequence
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
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
-