public class CarePlanActivity
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
CarePlanActivity.Builder
RecordBuilder for CarePlanActivity instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
CarePlanActivity()
Default constructor.
|
CarePlanActivity(String id,
List<CodeableConcept> outcomeCodeableConcept,
List<ResourceReference> outcomeReference,
List<Annotation> progress,
AppointmentCommunicationRequestDeviceRequestMedicationRequestNutritionOrderProcedureRequestReferralRequestRequestGroupTaskVisionPrescriptionReference reference,
CarePlanActivityDetail detail)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivity> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static CarePlanActivity |
fromByteBuffer(ByteBuffer b)
Deserializes a CarePlanActivity from a ByteBuffer.
|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivity> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
CarePlanActivityDetail |
getDetail()
Gets the value of the 'detail' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<CodeableConcept> |
getOutcomeCodeableConcept()
Gets the value of the 'outcomeCodeableConcept' field.
|
List<ResourceReference> |
getOutcomeReference()
Gets the value of the 'outcomeReference' field.
|
List<Annotation> |
getProgress()
Gets the value of the 'progress' field.
|
AppointmentCommunicationRequestDeviceRequestMedicationRequestNutritionOrderProcedureRequestReferralRequestRequestGroupTaskVisionPrescriptionReference |
getReference()
Gets the value of the 'reference' field.
|
org.apache.avro.Schema |
getSchema() |
static CarePlanActivity.Builder |
newBuilder()
Creates a new CarePlanActivity RecordBuilder.
|
static CarePlanActivity.Builder |
newBuilder(CarePlanActivity.Builder other)
Creates a new CarePlanActivity RecordBuilder by copying an existing Builder.
|
static CarePlanActivity.Builder |
newBuilder(CarePlanActivity other)
Creates a new CarePlanActivity RecordBuilder by copying an existing CarePlanActivity instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setDetail(CarePlanActivityDetail value)
Sets the value of the 'detail' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setOutcomeCodeableConcept(List<CodeableConcept> value)
Sets the value of the 'outcomeCodeableConcept' field.
|
void |
setOutcomeReference(List<ResourceReference> value)
Sets the value of the 'outcomeReference' field.
|
void |
setProgress(List<Annotation> value)
Sets the value of the 'progress' field.
|
void |
setReference(AppointmentCommunicationRequestDeviceRequestMedicationRequestNutritionOrderProcedureRequestReferralRequestRequestGroupTaskVisionPrescriptionReference value)
Sets the value of the 'reference' field.
|
ByteBuffer |
toByteBuffer()
Serializes this CarePlanActivity to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public CarePlanActivity()
newBuilder().public CarePlanActivity(String id, List<CodeableConcept> outcomeCodeableConcept, List<ResourceReference> outcomeReference, List<Annotation> progress, AppointmentCommunicationRequestDeviceRequestMedicationRequestNutritionOrderProcedureRequestReferralRequestRequestGroupTaskVisionPrescriptionReference reference, CarePlanActivityDetail detail)
id - Field for FHIR property idoutcomeCodeableConcept - Field for FHIR property outcomeCodeableConceptoutcomeReference - Field for FHIR property outcomeReferenceprogress - Field for FHIR property progressreference - Field for FHIR property referencedetail - Field for FHIR property detailpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivity> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivity> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static CarePlanActivity 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 List<CodeableConcept> getOutcomeCodeableConcept()
public void setOutcomeCodeableConcept(List<CodeableConcept> value)
value - the value to set.public List<ResourceReference> getOutcomeReference()
public void setOutcomeReference(List<ResourceReference> value)
value - the value to set.public List<Annotation> getProgress()
public void setProgress(List<Annotation> value)
value - the value to set.public AppointmentCommunicationRequestDeviceRequestMedicationRequestNutritionOrderProcedureRequestReferralRequestRequestGroupTaskVisionPrescriptionReference getReference()
public void setReference(AppointmentCommunicationRequestDeviceRequestMedicationRequestNutritionOrderProcedureRequestReferralRequestRequestGroupTaskVisionPrescriptionReference value)
value - the value to set.public CarePlanActivityDetail getDetail()
public void setDetail(CarePlanActivityDetail value)
value - the value to set.public static CarePlanActivity.Builder newBuilder()
public static CarePlanActivity.Builder newBuilder(CarePlanActivity.Builder other)
other - The existing builder to copy.public static CarePlanActivity.Builder newBuilder(CarePlanActivity 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.