Interface KeratometryRightEyeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
KeratometryMeasurementsModule
- All Known Implementing Classes:
KeratometryMeasurementsIOD,KeratometryRightEyeSequence.SimpleHolder
- Enclosing class:
- KeratometryRightEyeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Keratometry Right Eye Sequence" (see
KeratometryRightEyeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault KeratometryRightEyeSequenceAdds a new Keratometry Right Eye Sequence (seeKeratometryRightEyeSequence) with initial capacity 1 (seeensureKeratometryRightEyeSequence(int)) if it does not already exist.default KeratometryRightEyeSequenceensureKeratometryRightEyeSequence(int initialCapacity) Adds a new Keratometry Right Eye Sequence (seeKeratometryRightEyeSequence) if it does not already exist.default KeratometryRightEyeSequencedefault KeratometryRightEyeSequencenewKeratometryRightEyeSequence(int initialCapacity) Adds a new Keratometry Right Eye Sequence.default voidRemoves the Keratometry Right Eye Sequence (seeKeratometryRightEyeSequencewrap(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 Keratometry Right Eye Sequence (seeKeratometryRightEyeSequence)- Returns:
- A wrapper object implementing the
KeratometryRightEyeSequence.Holderinterface.
-
builder
- Returns:
- a
KeratometryRightEyeSequence.Holder.Builderto create Keratometry Right Eye Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theKeratometryRightEyeSequence.Holder.Builder.- Returns:
- a
KeratometryRightEyeSequence.Holder.Builderto create Keratometry Right Eye Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getKeratometryRightEyeSequence
- Returns:
- the Keratometry Right Eye Sequence (see
KeratometryRightEyeSequence)
-
newKeratometryRightEyeSequence
Adds a new Keratometry Right Eye Sequence. (seeKeratometryRightEyeSequence)- Parameters:
initialCapacity- the initial capacity for the new Keratometry Right Eye Sequence
-
ensureKeratometryRightEyeSequence
Adds a new Keratometry Right Eye Sequence (seeKeratometryRightEyeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Keratometry Right Eye Sequence is created.- Returns:
- Either the already existing Keratometry Right Eye Sequence (see
KeratometryRightEyeSequence) or a new one with capacityinitialCapacity.
-
ensureKeratometryRightEyeSequence
Adds a new Keratometry Right Eye Sequence (seeKeratometryRightEyeSequence) with initial capacity 1 (seeensureKeratometryRightEyeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Keratometry Right Eye Sequence (see
KeratometryRightEyeSequence) or a new one with capacity 1.
-
containsKeratometryRightEyeSequence
default boolean containsKeratometryRightEyeSequence()- Returns:
- Whether it contains the Keratometry Right Eye Sequence (see
KeratometryRightEyeSequence)
-
removeKeratometryRightEyeSequence
default void removeKeratometryRightEyeSequence()Removes the Keratometry Right Eye Sequence (seeKeratometryRightEyeSequence
-