public class ClaimInformation
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ClaimInformation.Builder
RecordBuilder for ClaimInformation instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ClaimInformation()
Default constructor.
|
ClaimInformation(String id,
Integer sequence,
CodeableConcept category,
CodeableConcept code,
ChoicePeriodDate timing,
ChoiceAttachmentQuantityResourceReferenceString value,
CodeableConcept reason)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<ClaimInformation> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static ClaimInformation |
fromByteBuffer(ByteBuffer b)
Deserializes a ClaimInformation from a ByteBuffer.
|
Object |
get(int field$) |
CodeableConcept |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CodeableConcept |
getCode()
Gets the value of the 'code' field.
|
static org.apache.avro.message.BinaryMessageDecoder<ClaimInformation> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
String |
getId()
Gets the value of the 'id' field.
|
CodeableConcept |
getReason()
Gets the value of the 'reason' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getSequence()
Gets the value of the 'sequence' field.
|
ChoicePeriodDate |
getTiming()
Gets the value of the 'timing' field.
|
ChoiceAttachmentQuantityResourceReferenceString |
getValue()
Gets the value of the 'value' field.
|
static ClaimInformation.Builder |
newBuilder()
Creates a new ClaimInformation RecordBuilder.
|
static ClaimInformation.Builder |
newBuilder(ClaimInformation.Builder other)
Creates a new ClaimInformation RecordBuilder by copying an existing Builder.
|
static ClaimInformation.Builder |
newBuilder(ClaimInformation other)
Creates a new ClaimInformation RecordBuilder by copying an existing ClaimInformation instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setCategory(CodeableConcept value)
Sets the value of the 'category' field.
|
void |
setCode(CodeableConcept value)
Sets the value of the 'code' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setReason(CodeableConcept value)
Sets the value of the 'reason' field.
|
void |
setSequence(Integer value)
Sets the value of the 'sequence' field.
|
void |
setTiming(ChoicePeriodDate value)
Sets the value of the 'timing' field.
|
void |
setValue(ChoiceAttachmentQuantityResourceReferenceString value)
Sets the value of the 'value' field.
|
ByteBuffer |
toByteBuffer()
Serializes this ClaimInformation to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public ClaimInformation()
newBuilder().public ClaimInformation(String id, Integer sequence, CodeableConcept category, CodeableConcept code, ChoicePeriodDate timing, ChoiceAttachmentQuantityResourceReferenceString value, CodeableConcept reason)
id - Field for FHIR property idsequence - Field for FHIR property sequencecategory - Field for FHIR property categorycode - Field for FHIR property codetiming - Field for FHIR property timingvalue - Field for FHIR property valuereason - Field for FHIR property reasonpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimInformation> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimInformation> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static ClaimInformation 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 CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value - the value to set.public CodeableConcept getCode()
public void setCode(CodeableConcept value)
value - the value to set.public ChoicePeriodDate getTiming()
public void setTiming(ChoicePeriodDate value)
value - the value to set.public ChoiceAttachmentQuantityResourceReferenceString getValue()
public void setValue(ChoiceAttachmentQuantityResourceReferenceString value)
value - the value to set.public CodeableConcept getReason()
public void setReason(CodeableConcept value)
value - the value to set.public static ClaimInformation.Builder newBuilder()
public static ClaimInformation.Builder newBuilder(ClaimInformation.Builder other)
other - The existing builder to copy.public static ClaimInformation.Builder newBuilder(ClaimInformation 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.