Interface OphthalmicUltrasoundMethodCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OphthalmicAxialMeasurementsModule
- All Known Implementing Classes:
OphthalmicAxialLengthSequence.Item,OphthalmicAxialMeasurementsIOD,OphthalmicUltrasoundMethodCodeSequence.SimpleHolder
- Enclosing class:
- OphthalmicUltrasoundMethodCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ophthalmic Ultrasound Method Code Sequence" (see
OphthalmicUltrasoundMethodCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence) with initial capacity 1 (seeensureOphthalmicUltrasoundMethodCodeSequence(int)) if it does not already exist.ensureOphthalmicUltrasoundMethodCodeSequence(int initialCapacity) Adds a new Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence) if it does not already exist.newOphthalmicUltrasoundMethodCodeSequence(int initialCapacity) Adds a new Ophthalmic Ultrasound Method Code Sequence.default voidRemoves the Ophthalmic Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequencewrap(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 Ultrasound Method Code Sequence (seeOphthalmicUltrasoundMethodCodeSequence)- Returns:
- A wrapper object implementing the
OphthalmicUltrasoundMethodCodeSequence.Holderinterface.
-
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
- 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
-
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
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
-