public class AllergyIntoleranceReaction
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AllergyIntoleranceReaction.Builder
RecordBuilder for AllergyIntoleranceReaction instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AllergyIntoleranceReaction()
Default constructor.
|
AllergyIntoleranceReaction(String id,
CodeableConcept substance,
List<CodeableConcept> manifestation,
String description,
String onset,
String severity,
CodeableConcept exposureRoute,
List<Annotation> note)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<AllergyIntoleranceReaction> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static AllergyIntoleranceReaction |
fromByteBuffer(ByteBuffer b)
Deserializes a AllergyIntoleranceReaction from a ByteBuffer.
|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<AllergyIntoleranceReaction> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
String |
getDescription()
Gets the value of the 'description' field.
|
CodeableConcept |
getExposureRoute()
Gets the value of the 'exposureRoute' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<CodeableConcept> |
getManifestation()
Gets the value of the 'manifestation' field.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
String |
getOnset()
Gets the value of the 'onset' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getSeverity()
Gets the value of the 'severity' field.
|
CodeableConcept |
getSubstance()
Gets the value of the 'substance' field.
|
static AllergyIntoleranceReaction.Builder |
newBuilder()
Creates a new AllergyIntoleranceReaction RecordBuilder.
|
static AllergyIntoleranceReaction.Builder |
newBuilder(AllergyIntoleranceReaction.Builder other)
Creates a new AllergyIntoleranceReaction RecordBuilder by copying an existing Builder.
|
static AllergyIntoleranceReaction.Builder |
newBuilder(AllergyIntoleranceReaction other)
Creates a new AllergyIntoleranceReaction RecordBuilder by copying an existing AllergyIntoleranceReaction instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setDescription(String value)
Sets the value of the 'description' field.
|
void |
setExposureRoute(CodeableConcept value)
Sets the value of the 'exposureRoute' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setManifestation(List<CodeableConcept> value)
Sets the value of the 'manifestation' field.
|
void |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
void |
setOnset(String value)
Sets the value of the 'onset' field.
|
void |
setSeverity(String value)
Sets the value of the 'severity' field.
|
void |
setSubstance(CodeableConcept value)
Sets the value of the 'substance' field.
|
ByteBuffer |
toByteBuffer()
Serializes this AllergyIntoleranceReaction to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public AllergyIntoleranceReaction()
newBuilder().public AllergyIntoleranceReaction(String id, CodeableConcept substance, List<CodeableConcept> manifestation, String description, String onset, String severity, CodeableConcept exposureRoute, List<Annotation> note)
id - Field for FHIR property idsubstance - Field for FHIR property substancemanifestation - Field for FHIR property manifestationdescription - Field for FHIR property descriptiononset - Field for FHIR property onsetseverity - Field for FHIR property severityexposureRoute - Field for FHIR property exposureRoutenote - Field for FHIR property notepublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<AllergyIntoleranceReaction> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<AllergyIntoleranceReaction> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static AllergyIntoleranceReaction 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 CodeableConcept getSubstance()
public void setSubstance(CodeableConcept value)
value - the value to set.public List<CodeableConcept> getManifestation()
public void setManifestation(List<CodeableConcept> value)
value - the value to set.public String getDescription()
public void setDescription(String value)
value - the value to set.public String getOnset()
public void setOnset(String value)
value - the value to set.public String getSeverity()
public void setSeverity(String value)
value - the value to set.public CodeableConcept getExposureRoute()
public void setExposureRoute(CodeableConcept value)
value - the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value - the value to set.public static AllergyIntoleranceReaction.Builder newBuilder()
public static AllergyIntoleranceReaction.Builder newBuilder(AllergyIntoleranceReaction.Builder other)
other - The existing builder to copy.public static AllergyIntoleranceReaction.Builder newBuilder(AllergyIntoleranceReaction 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.