public class ImmunizationVaccinationProtocol
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmunizationVaccinationProtocol.Builder
RecordBuilder for ImmunizationVaccinationProtocol instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ImmunizationVaccinationProtocol()
Default constructor.
|
ImmunizationVaccinationProtocol(String id,
Integer doseSequence,
String description,
OrganizationReference authority,
String series,
Integer seriesDoses,
List<CodeableConcept> targetDisease,
CodeableConcept doseStatus,
CodeableConcept doseStatusReason)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<ImmunizationVaccinationProtocol> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static ImmunizationVaccinationProtocol |
fromByteBuffer(ByteBuffer b)
Deserializes a ImmunizationVaccinationProtocol from a ByteBuffer.
|
Object |
get(int field$) |
OrganizationReference |
getAuthority()
Gets the value of the 'authority' field.
|
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<ImmunizationVaccinationProtocol> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
String |
getDescription()
Gets the value of the 'description' field.
|
Integer |
getDoseSequence()
Gets the value of the 'doseSequence' field.
|
CodeableConcept |
getDoseStatus()
Gets the value of the 'doseStatus' field.
|
CodeableConcept |
getDoseStatusReason()
Gets the value of the 'doseStatusReason' field.
|
String |
getId()
Gets the value of the 'id' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getSeries()
Gets the value of the 'series' field.
|
Integer |
getSeriesDoses()
Gets the value of the 'seriesDoses' field.
|
List<CodeableConcept> |
getTargetDisease()
Gets the value of the 'targetDisease' field.
|
static ImmunizationVaccinationProtocol.Builder |
newBuilder()
Creates a new ImmunizationVaccinationProtocol RecordBuilder.
|
static ImmunizationVaccinationProtocol.Builder |
newBuilder(ImmunizationVaccinationProtocol.Builder other)
Creates a new ImmunizationVaccinationProtocol RecordBuilder by copying an existing Builder.
|
static ImmunizationVaccinationProtocol.Builder |
newBuilder(ImmunizationVaccinationProtocol other)
Creates a new ImmunizationVaccinationProtocol RecordBuilder by copying an existing ImmunizationVaccinationProtocol instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAuthority(OrganizationReference value)
Sets the value of the 'authority' field.
|
void |
setDescription(String value)
Sets the value of the 'description' field.
|
void |
setDoseSequence(Integer value)
Sets the value of the 'doseSequence' field.
|
void |
setDoseStatus(CodeableConcept value)
Sets the value of the 'doseStatus' field.
|
void |
setDoseStatusReason(CodeableConcept value)
Sets the value of the 'doseStatusReason' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setSeries(String value)
Sets the value of the 'series' field.
|
void |
setSeriesDoses(Integer value)
Sets the value of the 'seriesDoses' field.
|
void |
setTargetDisease(List<CodeableConcept> value)
Sets the value of the 'targetDisease' field.
|
ByteBuffer |
toByteBuffer()
Serializes this ImmunizationVaccinationProtocol to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public ImmunizationVaccinationProtocol()
newBuilder().public ImmunizationVaccinationProtocol(String id, Integer doseSequence, String description, OrganizationReference authority, String series, Integer seriesDoses, List<CodeableConcept> targetDisease, CodeableConcept doseStatus, CodeableConcept doseStatusReason)
id - Field for FHIR property iddoseSequence - Field for FHIR property doseSequencedescription - Field for FHIR property descriptionauthority - Field for FHIR property authorityseries - Field for FHIR property seriesseriesDoses - Field for FHIR property seriesDosestargetDisease - Field for FHIR property targetDiseasedoseStatus - Field for FHIR property doseStatusdoseStatusReason - Field for FHIR property doseStatusReasonpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<ImmunizationVaccinationProtocol> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<ImmunizationVaccinationProtocol> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static ImmunizationVaccinationProtocol fromByteBuffer(ByteBuffer b) throws IOException
IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getId()
public void setId(String value)
value - the value to set.public Integer getDoseSequence()
public void setDoseSequence(Integer value)
value - the value to set.public String getDescription()
public void setDescription(String value)
value - the value to set.public OrganizationReference getAuthority()
public void setAuthority(OrganizationReference value)
value - the value to set.public String getSeries()
public void setSeries(String value)
value - the value to set.public Integer getSeriesDoses()
public void setSeriesDoses(Integer value)
value - the value to set.public List<CodeableConcept> getTargetDisease()
public void setTargetDisease(List<CodeableConcept> value)
value - the value to set.public CodeableConcept getDoseStatus()
public void setDoseStatus(CodeableConcept value)
value - the value to set.public CodeableConcept getDoseStatusReason()
public void setDoseStatusReason(CodeableConcept value)
value - the value to set.public static ImmunizationVaccinationProtocol.Builder newBuilder()
public static ImmunizationVaccinationProtocol.Builder newBuilder(ImmunizationVaccinationProtocol.Builder other)
other - The existing builder to copy.public static ImmunizationVaccinationProtocol.Builder newBuilder(ImmunizationVaccinationProtocol other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2020. All rights reserved.