public static class MedicationPackageContent.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationPackageContent> implements org.apache.avro.data.RecordBuilder<MedicationPackageContent>
| Modifier and Type | Method and Description |
|---|---|
MedicationPackageContent |
build() |
MedicationPackageContent.Builder |
clearAmount()
Clears the value of the 'amount' field.
|
MedicationPackageContent.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationPackageContent.Builder |
clearItem()
Clears the value of the 'item' field.
|
Quantity |
getAmount()
Gets the value of the 'amount' field.
|
Quantity.Builder |
getAmountBuilder()
Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet.
|
String |
getId()
Gets the value of the 'id' field.
|
ChoiceCodeableConceptMedicationReference |
getItem()
Gets the value of the 'item' field.
|
ChoiceCodeableConceptMedicationReference.Builder |
getItemBuilder()
Gets the Builder instance for the 'item' field and creates one if it doesn't exist yet.
|
boolean |
hasAmount()
Checks whether the 'amount' field has been set.
|
boolean |
hasAmountBuilder()
Checks whether the 'amount' field has an active Builder instance
Field for FHIR property amount
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasItem()
Checks whether the 'item' field has been set.
|
boolean |
hasItemBuilder()
Checks whether the 'item' field has an active Builder instance
Field for FHIR property item
|
MedicationPackageContent.Builder |
setAmount(Quantity value)
Sets the value of the 'amount' field.
|
MedicationPackageContent.Builder |
setAmountBuilder(Quantity.Builder value)
Sets the Builder instance for the 'amount' field
Field for FHIR property amount
|
MedicationPackageContent.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationPackageContent.Builder |
setItem(ChoiceCodeableConceptMedicationReference value)
Sets the value of the 'item' field.
|
MedicationPackageContent.Builder |
setItemBuilder(ChoiceCodeableConceptMedicationReference.Builder value)
Sets the Builder instance for the 'item' field
Field for FHIR property item
|
public String getId()
public MedicationPackageContent.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public MedicationPackageContent.Builder clearId()
public ChoiceCodeableConceptMedicationReference getItem()
public MedicationPackageContent.Builder setItem(ChoiceCodeableConceptMedicationReference value)
value - The value of 'item'.public boolean hasItem()
public ChoiceCodeableConceptMedicationReference.Builder getItemBuilder()
public MedicationPackageContent.Builder setItemBuilder(ChoiceCodeableConceptMedicationReference.Builder value)
value - The builder instance that must be set.public boolean hasItemBuilder()
public MedicationPackageContent.Builder clearItem()
public Quantity getAmount()
public MedicationPackageContent.Builder setAmount(Quantity value)
value - The value of 'amount'.public boolean hasAmount()
public Quantity.Builder getAmountBuilder()
public MedicationPackageContent.Builder setAmountBuilder(Quantity.Builder value)
value - The builder instance that must be set.public boolean hasAmountBuilder()
public MedicationPackageContent.Builder clearAmount()
public MedicationPackageContent build()
build in interface org.apache.avro.data.RecordBuilder<MedicationPackageContent>Copyright © 2020. All rights reserved.