Interface OphthalmicImageTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OphthalmicOpticalCoherenceTomographyEnFaceImageModule
- All Known Implementing Classes:
OphthalmicImageTypeCodeSequence.SimpleHolder,OphthalmicOpticalCoherenceTomographyEnFaceImageIOD
- Enclosing class:
- OphthalmicImageTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ophthalmic Image Type Code Sequence" (see
OphthalmicImageTypeCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault OphthalmicImageTypeCodeSequenceAdds a new Ophthalmic Image Type Code Sequence (seeOphthalmicImageTypeCodeSequence) with initial capacity 1 (seeensureOphthalmicImageTypeCodeSequence(int)) if it does not already exist.default OphthalmicImageTypeCodeSequenceensureOphthalmicImageTypeCodeSequence(int initialCapacity) Adds a new Ophthalmic Image Type Code Sequence (seeOphthalmicImageTypeCodeSequence) if it does not already exist.default OphthalmicImageTypeCodeSequencedefault OphthalmicImageTypeCodeSequencenewOphthalmicImageTypeCodeSequence(int initialCapacity) Adds a new Ophthalmic Image Type Code Sequence.default voidRemoves the Ophthalmic Image Type Code Sequence (seeOphthalmicImageTypeCodeSequencewrap(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 Image Type Code Sequence (seeOphthalmicImageTypeCodeSequence)- Returns:
- A wrapper object implementing the
OphthalmicImageTypeCodeSequence.Holderinterface.
-
builder
- Returns:
- a
OphthalmicImageTypeCodeSequence.Holder.Builderto create Ophthalmic Image Type Code Sequence Items with a fluent API.
-
builder
static OphthalmicImageTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theOphthalmicImageTypeCodeSequence.Holder.Builder.- Returns:
- a
OphthalmicImageTypeCodeSequence.Holder.Builderto create Ophthalmic Image Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOphthalmicImageTypeCodeSequence
- Returns:
- the Ophthalmic Image Type Code Sequence (see
OphthalmicImageTypeCodeSequence)
-
newOphthalmicImageTypeCodeSequence
Adds a new Ophthalmic Image Type Code Sequence. (seeOphthalmicImageTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Ophthalmic Image Type Code Sequence
-
ensureOphthalmicImageTypeCodeSequence
Adds a new Ophthalmic Image Type Code Sequence (seeOphthalmicImageTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Ophthalmic Image Type Code Sequence is created.- Returns:
- Either the already existing Ophthalmic Image Type Code Sequence (see
OphthalmicImageTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureOphthalmicImageTypeCodeSequence
Adds a new Ophthalmic Image Type Code Sequence (seeOphthalmicImageTypeCodeSequence) with initial capacity 1 (seeensureOphthalmicImageTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Ophthalmic Image Type Code Sequence (see
OphthalmicImageTypeCodeSequence) or a new one with capacity 1.
-
containsOphthalmicImageTypeCodeSequence
default boolean containsOphthalmicImageTypeCodeSequence()- Returns:
- Whether it contains the Ophthalmic Image Type Code Sequence (see
OphthalmicImageTypeCodeSequence)
-
removeOphthalmicImageTypeCodeSequence
default void removeOphthalmicImageTypeCodeSequence()Removes the Ophthalmic Image Type Code Sequence (seeOphthalmicImageTypeCodeSequence
-