public class ClaimInsurance
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ClaimInsurance.Builder
RecordBuilder for ClaimInsurance instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ClaimInsurance()
Default constructor.
|
ClaimInsurance(String id,
Integer sequence,
Boolean focal,
CoverageReference coverage,
String businessArrangement,
List<String> preAuthRef,
ClaimResponseReference claimResponse)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<ClaimInsurance> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static ClaimInsurance |
fromByteBuffer(ByteBuffer b)
Deserializes a ClaimInsurance from a ByteBuffer.
|
Object |
get(int field$) |
String |
getBusinessArrangement()
Gets the value of the 'businessArrangement' field.
|
ClaimResponseReference |
getClaimResponse()
Gets the value of the 'claimResponse' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CoverageReference |
getCoverage()
Gets the value of the 'coverage' field.
|
static org.apache.avro.message.BinaryMessageDecoder<ClaimInsurance> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
Boolean |
getFocal()
Gets the value of the 'focal' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<String> |
getPreAuthRef()
Gets the value of the 'preAuthRef' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getSequence()
Gets the value of the 'sequence' field.
|
static ClaimInsurance.Builder |
newBuilder()
Creates a new ClaimInsurance RecordBuilder.
|
static ClaimInsurance.Builder |
newBuilder(ClaimInsurance.Builder other)
Creates a new ClaimInsurance RecordBuilder by copying an existing Builder.
|
static ClaimInsurance.Builder |
newBuilder(ClaimInsurance other)
Creates a new ClaimInsurance RecordBuilder by copying an existing ClaimInsurance instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBusinessArrangement(String value)
Sets the value of the 'businessArrangement' field.
|
void |
setClaimResponse(ClaimResponseReference value)
Sets the value of the 'claimResponse' field.
|
void |
setCoverage(CoverageReference value)
Sets the value of the 'coverage' field.
|
void |
setFocal(Boolean value)
Sets the value of the 'focal' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setPreAuthRef(List<String> value)
Sets the value of the 'preAuthRef' field.
|
void |
setSequence(Integer value)
Sets the value of the 'sequence' field.
|
ByteBuffer |
toByteBuffer()
Serializes this ClaimInsurance to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public ClaimInsurance()
newBuilder().public ClaimInsurance(String id, Integer sequence, Boolean focal, CoverageReference coverage, String businessArrangement, List<String> preAuthRef, ClaimResponseReference claimResponse)
id - Field for FHIR property idsequence - Field for FHIR property sequencefocal - Field for FHIR property focalcoverage - Field for FHIR property coveragebusinessArrangement - Field for FHIR property businessArrangementpreAuthRef - Field for FHIR property preAuthRefclaimResponse - Field for FHIR property claimResponsepublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimInsurance> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimInsurance> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static ClaimInsurance 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 getSequence()
public void setSequence(Integer value)
value - the value to set.public Boolean getFocal()
public void setFocal(Boolean value)
value - the value to set.public CoverageReference getCoverage()
public void setCoverage(CoverageReference value)
value - the value to set.public String getBusinessArrangement()
public void setBusinessArrangement(String value)
value - the value to set.public List<String> getPreAuthRef()
public void setPreAuthRef(List<String> value)
value - the value to set.public ClaimResponseReference getClaimResponse()
public void setClaimResponse(ClaimResponseReference value)
value - the value to set.public static ClaimInsurance.Builder newBuilder()
public static ClaimInsurance.Builder newBuilder(ClaimInsurance.Builder other)
other - The existing builder to copy.public static ClaimInsurance.Builder newBuilder(ClaimInsurance 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.