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