Interface OphthalmicFrameLocationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OphthalmicFrameLocationSequence.SimpleHolder
- Enclosing class:
- OphthalmicFrameLocationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ophthalmic Frame Location Sequence" (see
OphthalmicFrameLocationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault OphthalmicFrameLocationSequenceAdds a new Ophthalmic Frame Location Sequence (seeOphthalmicFrameLocationSequence) with initial capacity 1 (seeensureOphthalmicFrameLocationSequence(int)) if it does not already exist.default OphthalmicFrameLocationSequenceensureOphthalmicFrameLocationSequence(int initialCapacity) Adds a new Ophthalmic Frame Location Sequence (seeOphthalmicFrameLocationSequence) if it does not already exist.default OphthalmicFrameLocationSequencedefault OphthalmicFrameLocationSequencenewOphthalmicFrameLocationSequence(int initialCapacity) Adds a new Ophthalmic Frame Location Sequence.default voidRemoves the Ophthalmic Frame Location Sequence (seeOphthalmicFrameLocationSequencewrap(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 Frame Location Sequence (seeOphthalmicFrameLocationSequence)- Returns:
- A wrapper object implementing the
OphthalmicFrameLocationSequence.Holderinterface.
-
builder
- Returns:
- a
OphthalmicFrameLocationSequence.Holder.Builderto create Ophthalmic Frame Location Sequence Items with a fluent API.
-
builder
static OphthalmicFrameLocationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theOphthalmicFrameLocationSequence.Holder.Builder.- Returns:
- a
OphthalmicFrameLocationSequence.Holder.Builderto create Ophthalmic Frame Location Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOphthalmicFrameLocationSequence
- Returns:
- the Ophthalmic Frame Location Sequence (see
OphthalmicFrameLocationSequence)
-
newOphthalmicFrameLocationSequence
Adds a new Ophthalmic Frame Location Sequence. (seeOphthalmicFrameLocationSequence)- Parameters:
initialCapacity- the initial capacity for the new Ophthalmic Frame Location Sequence
-
ensureOphthalmicFrameLocationSequence
Adds a new Ophthalmic Frame Location Sequence (seeOphthalmicFrameLocationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Ophthalmic Frame Location Sequence is created.- Returns:
- Either the already existing Ophthalmic Frame Location Sequence (see
OphthalmicFrameLocationSequence) or a new one with capacityinitialCapacity.
-
ensureOphthalmicFrameLocationSequence
Adds a new Ophthalmic Frame Location Sequence (seeOphthalmicFrameLocationSequence) with initial capacity 1 (seeensureOphthalmicFrameLocationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Ophthalmic Frame Location Sequence (see
OphthalmicFrameLocationSequence) or a new one with capacity 1.
-
containsOphthalmicFrameLocationSequence
default boolean containsOphthalmicFrameLocationSequence()- Returns:
- Whether it contains the Ophthalmic Frame Location Sequence (see
OphthalmicFrameLocationSequence)
-
removeOphthalmicFrameLocationSequence
default void removeOphthalmicFrameLocationSequence()Removes the Ophthalmic Frame Location Sequence (seeOphthalmicFrameLocationSequence
-