Class MoneyQuantityBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.MoneyQuantityBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ElementBuilder,com.babylonhealth.lit.core_java.builders.QuantityBuilder,MoneyQuantityBuilder
- Enclosing interface:
- MoneyQuantityBuilder
public static class MoneyQuantityBuilder.Impl extends java.lang.Object implements MoneyQuantityBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.MoneyQuantityBuilder
MoneyQuantityBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forMoneyQuantity
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.MoneyQuantitybuild()MoneyQuantityBuilder.ImplwithCode(@NonNull java.lang.String code)MoneyQuantityBuilder.ImplwithComparator(@NonNull com.babylonhealth.lit.core.QUANTITY_COMPARATOR comparator)MoneyQuantityBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)MoneyQuantityBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)MoneyQuantityBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)MoneyQuantityBuilder.ImplwithId(@NonNull java.lang.String id)MoneyQuantityBuilder.ImplwithSystem(@NonNull java.lang.String system)MoneyQuantityBuilder.ImplwithUnit(@NonNull java.lang.String unit)MoneyQuantityBuilder.ImplwithValue(@NonNull scala.math.BigDecimal value)
-
-
-
Method Detail
-
withId
public MoneyQuantityBuilder.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.
-
withUnit
public MoneyQuantityBuilder.Impl withUnit(@NonNull @NonNull java.lang.String unit)
- Parameters:
unit- - A human-readable form of the unit.
-
withCode
public MoneyQuantityBuilder.Impl withCode(@NonNull @NonNull java.lang.String code)
- Parameters:
code- - A computer processable form of the unit in some unit representation system.
-
withValue
public MoneyQuantityBuilder.Impl withValue(@NonNull @NonNull scala.math.BigDecimal value)
- Parameters:
value- - The value of the measured amount. The value includes an implicit precision in the presentation of the value.
-
withSystem
public MoneyQuantityBuilder.Impl withSystem(@NonNull @NonNull java.lang.String system)
- Parameters:
system- - The identification of the system that provides the coded form of the unit.
-
withExtension
public MoneyQuantityBuilder.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 MoneyQuantityBuilder.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 MoneyQuantityBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withComparator
public MoneyQuantityBuilder.Impl withComparator(@NonNull @NonNull com.babylonhealth.lit.core.QUANTITY_COMPARATOR comparator)
- Parameters:
comparator- - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
-
build
public com.babylonhealth.lit.hl7.model.MoneyQuantity build()
- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ElementBuilder- Specified by:
buildin interfaceMoneyQuantityBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.QuantityBuilder
-
-