public static class MedicationPackage.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationPackage> implements org.apache.avro.data.RecordBuilder<MedicationPackage>
| Modifier and Type | Method and Description |
|---|---|
MedicationPackage |
build() |
MedicationPackage.Builder |
clearBatch()
Clears the value of the 'batch' field.
|
MedicationPackage.Builder |
clearContainer()
Clears the value of the 'container' field.
|
MedicationPackage.Builder |
clearContent()
Clears the value of the 'content' field.
|
MedicationPackage.Builder |
clearId()
Clears the value of the 'id' field.
|
List<MedicationPackageBatch> |
getBatch()
Gets the value of the 'batch' field.
|
CodeableConcept |
getContainer()
Gets the value of the 'container' field.
|
CodeableConcept.Builder |
getContainerBuilder()
Gets the Builder instance for the 'container' field and creates one if it doesn't exist yet.
|
List<MedicationPackageContent> |
getContent()
Gets the value of the 'content' field.
|
String |
getId()
Gets the value of the 'id' field.
|
boolean |
hasBatch()
Checks whether the 'batch' field has been set.
|
boolean |
hasContainer()
Checks whether the 'container' field has been set.
|
boolean |
hasContainerBuilder()
Checks whether the 'container' field has an active Builder instance
Field for FHIR property container
|
boolean |
hasContent()
Checks whether the 'content' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
MedicationPackage.Builder |
setBatch(List<MedicationPackageBatch> value)
Sets the value of the 'batch' field.
|
MedicationPackage.Builder |
setContainer(CodeableConcept value)
Sets the value of the 'container' field.
|
MedicationPackage.Builder |
setContainerBuilder(CodeableConcept.Builder value)
Sets the Builder instance for the 'container' field
Field for FHIR property container
|
MedicationPackage.Builder |
setContent(List<MedicationPackageContent> value)
Sets the value of the 'content' field.
|
MedicationPackage.Builder |
setId(String value)
Sets the value of the 'id' field.
|
public String getId()
public MedicationPackage.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public MedicationPackage.Builder clearId()
public CodeableConcept getContainer()
public MedicationPackage.Builder setContainer(CodeableConcept value)
value - The value of 'container'.public boolean hasContainer()
public CodeableConcept.Builder getContainerBuilder()
public MedicationPackage.Builder setContainerBuilder(CodeableConcept.Builder value)
value - The builder instance that must be set.public boolean hasContainerBuilder()
public MedicationPackage.Builder clearContainer()
public List<MedicationPackageContent> getContent()
public MedicationPackage.Builder setContent(List<MedicationPackageContent> value)
value - The value of 'content'.public boolean hasContent()
public MedicationPackage.Builder clearContent()
public List<MedicationPackageBatch> getBatch()
public MedicationPackage.Builder setBatch(List<MedicationPackageBatch> value)
value - The value of 'batch'.public boolean hasBatch()
public MedicationPackage.Builder clearBatch()
public MedicationPackage build()
build in interface org.apache.avro.data.RecordBuilder<MedicationPackage>Copyright © 2020. All rights reserved.