public static class MedicationPackageBatch.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationPackageBatch> implements org.apache.avro.data.RecordBuilder<MedicationPackageBatch>
Modifier and Type | Method and Description |
---|---|
MedicationPackageBatch |
build() |
MedicationPackageBatch.Builder |
clearExpirationDate()
Clears the value of the 'expirationDate' field.
|
MedicationPackageBatch.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationPackageBatch.Builder |
clearLotNumber()
Clears the value of the 'lotNumber' field.
|
String |
getExpirationDate()
Gets the value of the 'expirationDate' field.
|
String |
getId()
Gets the value of the 'id' field.
|
String |
getLotNumber()
Gets the value of the 'lotNumber' field.
|
boolean |
hasExpirationDate()
Checks whether the 'expirationDate' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasLotNumber()
Checks whether the 'lotNumber' field has been set.
|
MedicationPackageBatch.Builder |
setExpirationDate(String value)
Sets the value of the 'expirationDate' field.
|
MedicationPackageBatch.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationPackageBatch.Builder |
setLotNumber(String value)
Sets the value of the 'lotNumber' field.
|
public String getId()
public MedicationPackageBatch.Builder setId(String value)
value
- The value of 'id'.public boolean hasId()
public MedicationPackageBatch.Builder clearId()
public String getLotNumber()
public MedicationPackageBatch.Builder setLotNumber(String value)
value
- The value of 'lotNumber'.public boolean hasLotNumber()
public MedicationPackageBatch.Builder clearLotNumber()
public String getExpirationDate()
public MedicationPackageBatch.Builder setExpirationDate(String value)
value
- The value of 'expirationDate'.public boolean hasExpirationDate()
public MedicationPackageBatch.Builder clearExpirationDate()
public MedicationPackageBatch build()
build
in interface org.apache.avro.data.RecordBuilder<MedicationPackageBatch>
Copyright © 2020. All rights reserved.