Interface OphthalmicUltrasoundMethodCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
OphthalmicAxialMeasurementsModule
- All Known Implementing Classes:
OphthalmicAxialLengthSequence.Item,OphthalmicAxialMeasurementsIOD,OphthalmicUltrasoundMethodCodeSequence.SimpleHolder
- Enclosing class:
- OphthalmicUltrasoundMethodCodeSequence
public static interface OphthalmicUltrasoundMethodCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Ophthalmic Ultrasound Method Code Sequence" (seeOphthalmicUltrasoundMethodCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOphthalmicUltrasoundMethodCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static OphthalmicUltrasoundMethodCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence)- Returns:
- a wrapper object implementing the
OphthalmicUltrasoundMethodCodeSequence.Holderinterface.
-
builder
static OphthalmicUltrasoundMethodCodeSequence.Holder.Builder builder()
- Returns:
- a
OphthalmicUltrasoundMethodCodeSequence.Holder.Builderto create Ophthalmic Ultrasound Method Code Sequence Items with a fluent API.
-
builder
static OphthalmicUltrasoundMethodCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theOphthalmicUltrasoundMethodCodeSequence.Holder.Builder.- Returns:
- a
OphthalmicUltrasoundMethodCodeSequence.Holder.Builderto create Ophthalmic Ultrasound Method Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOphthalmicUltrasoundMethodCodeSequence
default OphthalmicUltrasoundMethodCodeSequence getOphthalmicUltrasoundMethodCodeSequence()
- Returns:
- the Ophthalmic Ultrasound Method Code Sequence (see
OphthalmicUltrasoundMethodCodeSequence)
-
newOphthalmicUltrasoundMethodCodeSequence
default OphthalmicUltrasoundMethodCodeSequence newOphthalmicUltrasoundMethodCodeSequence(int initialCapacity)
Adds a new Ophthalmic Ultrasound Method Code Sequence. (seeOphthalmicUltrasoundMethodCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Ophthalmic Ultrasound Method Code Sequence- Returns:
- the newly created OphthalmicUltrasoundMethodCodeSequence.
-
ensureOphthalmicUltrasoundMethodCodeSequence
default OphthalmicUltrasoundMethodCodeSequence ensureOphthalmicUltrasoundMethodCodeSequence(int initialCapacity)
Adds a new Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Ophthalmic Ultrasound Method Code Sequence is created.- Returns:
- either the already existing Ophthalmic Ultrasound Method Code Sequence (see
OphthalmicUltrasoundMethodCodeSequence) or a new one with capacityinitialCapacity.
-
ensureOphthalmicUltrasoundMethodCodeSequence
default OphthalmicUltrasoundMethodCodeSequence ensureOphthalmicUltrasoundMethodCodeSequence()
Adds a new Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence) with initial capacity 1 (seeensureOphthalmicUltrasoundMethodCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Ophthalmic Ultrasound Method Code Sequence (see
OphthalmicUltrasoundMethodCodeSequence) or a new one with capacity 1.
-
containsOphthalmicUltrasoundMethodCodeSequence
default boolean containsOphthalmicUltrasoundMethodCodeSequence()
- Returns:
- whether it contains the Ophthalmic Ultrasound Method Code Sequence (see
OphthalmicUltrasoundMethodCodeSequence)
-
removeOphthalmicUltrasoundMethodCodeSequence
default void removeOphthalmicUltrasoundMethodCodeSequence()
Removes the Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence
-
-