Interface OphthalmicAxialLengthSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IntraocularLensCalculationsLeftEyeSequence.Item,IntraocularLensCalculationsRightEyeSequence.Item,OphthalmicAxialLengthSequence.SimpleHolder
- Enclosing class:
- OphthalmicAxialLengthSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ophthalmic Axial Length Sequence" (see
OphthalmicAxialLengthSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault OphthalmicAxialLengthSequenceAdds a new Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequence) with initial capacity 1 (seeensureOphthalmicAxialLengthSequence(int)) if it does not already exist.default OphthalmicAxialLengthSequenceensureOphthalmicAxialLengthSequence(int initialCapacity) Adds a new Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequence) if it does not already exist.default OphthalmicAxialLengthSequencedefault OphthalmicAxialLengthSequencenewOphthalmicAxialLengthSequence(int initialCapacity) Adds a new Ophthalmic Axial Length Sequence.default voidRemoves the Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequencewrap(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 Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequence)- Returns:
- A wrapper object implementing the
OphthalmicAxialLengthSequence.Holderinterface.
-
builder
- Returns:
- a
OphthalmicAxialLengthSequence.Holder.Builderto create Ophthalmic Axial Length Sequence Items with a fluent API.
-
builder
static OphthalmicAxialLengthSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theOphthalmicAxialLengthSequence.Holder.Builder.- Returns:
- a
OphthalmicAxialLengthSequence.Holder.Builderto create Ophthalmic Axial Length Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOphthalmicAxialLengthSequence
- Returns:
- the Ophthalmic Axial Length Sequence (see
OphthalmicAxialLengthSequence)
-
newOphthalmicAxialLengthSequence
Adds a new Ophthalmic Axial Length Sequence. (seeOphthalmicAxialLengthSequence)- Parameters:
initialCapacity- the initial capacity for the new Ophthalmic Axial Length Sequence
-
ensureOphthalmicAxialLengthSequence
Adds a new Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Ophthalmic Axial Length Sequence is created.- Returns:
- Either the already existing Ophthalmic Axial Length Sequence (see
OphthalmicAxialLengthSequence) or a new one with capacityinitialCapacity.
-
ensureOphthalmicAxialLengthSequence
Adds a new Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequence) with initial capacity 1 (seeensureOphthalmicAxialLengthSequence(int)) if it does not already exist.- Returns:
- Either the already existing Ophthalmic Axial Length Sequence (see
OphthalmicAxialLengthSequence) or a new one with capacity 1.
-
containsOphthalmicAxialLengthSequence
default boolean containsOphthalmicAxialLengthSequence()- Returns:
- Whether it contains the Ophthalmic Axial Length Sequence (see
OphthalmicAxialLengthSequence)
-
removeOphthalmicAxialLengthSequence
default void removeOphthalmicAxialLengthSequence()Removes the Ophthalmic Axial Length Sequence (seeOphthalmicAxialLengthSequence
-