Interface TypeOfOpticalCorrection.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IntraocularLensCalculationsLeftEyeSequence.Item,IntraocularLensCalculationsRightEyeSequence.Item,TypeOfOpticalCorrection.SimpleHolder
- Enclosing class:
- TypeOfOpticalCorrection
A class implementing this interface can hold attributes which contain the DICOM tag "Type of Optical Correction" (see
TypeOfOpticalCorrection)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TypeOfOpticalCorrectiondefault voidRemoves the Type of Optical Correction (seeTypeOfOpticalCorrectionwrap(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 Type of Optical Correction (seeTypeOfOpticalCorrection)- Returns:
- A wrapper object implementing the
TypeOfOpticalCorrection.Holderinterface.
-
builder
- Returns:
- a
TypeOfOpticalCorrection.Holder.Builderto create Type of Optical Correction Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTypeOfOpticalCorrection.Holder.Builder.- Returns:
- a
TypeOfOpticalCorrection.Holder.Builderto create Type of Optical Correction Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTypeOfOpticalCorrection
- Returns:
- the Type of Optical Correction (see
TypeOfOpticalCorrection)
-
containsTypeOfOpticalCorrection
default boolean containsTypeOfOpticalCorrection()- Returns:
- Whether it contains the Type of Optical Correction (see
TypeOfOpticalCorrection)
-
removeTypeOfOpticalCorrection
default void removeTypeOfOpticalCorrection()Removes the Type of Optical Correction (seeTypeOfOpticalCorrection
-