Interface VisualAcuityRightEyeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VisualAcuityMeasurementsModule
- All Known Implementing Classes:
VisualAcuityMeasurementsIOD,VisualAcuityRightEyeSequence.SimpleHolder
- Enclosing class:
- VisualAcuityRightEyeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Visual Acuity Right Eye Sequence" (see
VisualAcuityRightEyeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault VisualAcuityRightEyeSequenceAdds a new Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequence) with initial capacity 1 (seeensureVisualAcuityRightEyeSequence(int)) if it does not already exist.default VisualAcuityRightEyeSequenceensureVisualAcuityRightEyeSequence(int initialCapacity) Adds a new Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequence) if it does not already exist.default VisualAcuityRightEyeSequencedefault VisualAcuityRightEyeSequencenewVisualAcuityRightEyeSequence(int initialCapacity) Adds a new Visual Acuity Right Eye Sequence.default voidRemoves the Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequencewrap(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 Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequence)- Returns:
- A wrapper object implementing the
VisualAcuityRightEyeSequence.Holderinterface.
-
builder
- Returns:
- a
VisualAcuityRightEyeSequence.Holder.Builderto create Visual Acuity Right Eye Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theVisualAcuityRightEyeSequence.Holder.Builder.- Returns:
- a
VisualAcuityRightEyeSequence.Holder.Builderto create Visual Acuity Right Eye Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getVisualAcuityRightEyeSequence
- Returns:
- the Visual Acuity Right Eye Sequence (see
VisualAcuityRightEyeSequence)
-
newVisualAcuityRightEyeSequence
Adds a new Visual Acuity Right Eye Sequence. (seeVisualAcuityRightEyeSequence)- Parameters:
initialCapacity- the initial capacity for the new Visual Acuity Right Eye Sequence
-
ensureVisualAcuityRightEyeSequence
Adds a new Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Visual Acuity Right Eye Sequence is created.- Returns:
- Either the already existing Visual Acuity Right Eye Sequence (see
VisualAcuityRightEyeSequence) or a new one with capacityinitialCapacity.
-
ensureVisualAcuityRightEyeSequence
Adds a new Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequence) with initial capacity 1 (seeensureVisualAcuityRightEyeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Visual Acuity Right Eye Sequence (see
VisualAcuityRightEyeSequence) or a new one with capacity 1.
-
containsVisualAcuityRightEyeSequence
default boolean containsVisualAcuityRightEyeSequence()- Returns:
- Whether it contains the Visual Acuity Right Eye Sequence (see
VisualAcuityRightEyeSequence)
-
removeVisualAcuityRightEyeSequence
default void removeVisualAcuityRightEyeSequence()Removes the Visual Acuity Right Eye Sequence (seeVisualAcuityRightEyeSequence
-