public class ProcedureFocalDevice
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcedureFocalDevice.Builder
RecordBuilder for ProcedureFocalDevice instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ProcedureFocalDevice()
Default constructor.
|
ProcedureFocalDevice(String id,
CodeableConcept action,
DeviceReference manipulated)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<ProcedureFocalDevice> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static ProcedureFocalDevice |
fromByteBuffer(ByteBuffer b)
Deserializes a ProcedureFocalDevice from a ByteBuffer.
|
Object |
get(int field$) |
CodeableConcept |
getAction()
Gets the value of the 'action' field.
|
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<ProcedureFocalDevice> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
String |
getId()
Gets the value of the 'id' field.
|
DeviceReference |
getManipulated()
Gets the value of the 'manipulated' field.
|
org.apache.avro.Schema |
getSchema() |
static ProcedureFocalDevice.Builder |
newBuilder()
Creates a new ProcedureFocalDevice RecordBuilder.
|
static ProcedureFocalDevice.Builder |
newBuilder(ProcedureFocalDevice.Builder other)
Creates a new ProcedureFocalDevice RecordBuilder by copying an existing Builder.
|
static ProcedureFocalDevice.Builder |
newBuilder(ProcedureFocalDevice other)
Creates a new ProcedureFocalDevice RecordBuilder by copying an existing ProcedureFocalDevice instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAction(CodeableConcept value)
Sets the value of the 'action' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setManipulated(DeviceReference value)
Sets the value of the 'manipulated' field.
|
ByteBuffer |
toByteBuffer()
Serializes this ProcedureFocalDevice to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public ProcedureFocalDevice()
newBuilder().public ProcedureFocalDevice(String id, CodeableConcept action, DeviceReference manipulated)
id - Field for FHIR property idaction - Field for FHIR property actionmanipulated - Field for FHIR property manipulatedpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<ProcedureFocalDevice> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<ProcedureFocalDevice> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static ProcedureFocalDevice 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 getAction()
public void setAction(CodeableConcept value)
value - the value to set.public DeviceReference getManipulated()
public void setManipulated(DeviceReference value)
value - the value to set.public static ProcedureFocalDevice.Builder newBuilder()
public static ProcedureFocalDevice.Builder newBuilder(ProcedureFocalDevice.Builder other)
other - The existing builder to copy.public static ProcedureFocalDevice.Builder newBuilder(ProcedureFocalDevice 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.