Class RatioBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.RatioBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,RatioBuilder
- Enclosing interface:
- RatioBuilder
public static class RatioBuilder.Impl extends java.lang.Object implements RatioBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.RatioBuilder
RatioBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forRatio
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.Ratiobuild()RatioBuilder.ImplwithDenominator(@NonNull QuantityBuilder denominator)RatioBuilder.ImplwithDenominator(@NonNull com.babylonhealth.lit.core.model.Quantity denominator)RatioBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)RatioBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)RatioBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)RatioBuilder.ImplwithId(@NonNull java.lang.String id)RatioBuilder.ImplwithNumerator(@NonNull QuantityBuilder numerator)RatioBuilder.ImplwithNumerator(@NonNull com.babylonhealth.lit.core.model.Quantity numerator)
-
-
-
Method Detail
-
withId
public RatioBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withExtension
public RatioBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public RatioBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public RatioBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
withNumerator
public RatioBuilder.Impl withNumerator(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity numerator)
- Parameters:
numerator- - The value of the numerator.
-
withNumerator
public RatioBuilder.Impl withNumerator(@NonNull @NonNull QuantityBuilder numerator)
-
withDenominator
public RatioBuilder.Impl withDenominator(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity denominator)
- Parameters:
denominator- - The value of the denominator.
-
withDenominator
public RatioBuilder.Impl withDenominator(@NonNull @NonNull QuantityBuilder denominator)
-
build
public com.babylonhealth.lit.core.model.Ratio build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceRatioBuilder
-
-