public class ClaimItemDetailSubDetail
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ClaimItemDetailSubDetail.Builder
RecordBuilder for ClaimItemDetailSubDetail instances.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
ClaimItemDetailSubDetail()
Default constructor.
|
ClaimItemDetailSubDetail(String id,
Integer sequence,
CodeableConcept revenue,
CodeableConcept category,
CodeableConcept service,
List<CodeableConcept> modifier,
List<CodeableConcept> programCode,
Quantity quantity,
Money unitPrice,
BigDecimal factor,
Money net,
List<DeviceReference> udi)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.avro.message.BinaryMessageDecoder<ClaimItemDetailSubDetail> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore . |
static ClaimItemDetailSubDetail |
fromByteBuffer(ByteBuffer b)
Deserializes a ClaimItemDetailSubDetail from a ByteBuffer.
|
Object |
get(int field$) |
CodeableConcept |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<ClaimItemDetailSubDetail> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
BigDecimal |
getFactor()
Gets the value of the 'factor' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<CodeableConcept> |
getModifier()
Gets the value of the 'modifier' field.
|
Money |
getNet()
Gets the value of the 'net' field.
|
List<CodeableConcept> |
getProgramCode()
Gets the value of the 'programCode' field.
|
Quantity |
getQuantity()
Gets the value of the 'quantity' field.
|
CodeableConcept |
getRevenue()
Gets the value of the 'revenue' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getSequence()
Gets the value of the 'sequence' field.
|
CodeableConcept |
getService()
Gets the value of the 'service' field.
|
List<DeviceReference> |
getUdi()
Gets the value of the 'udi' field.
|
Money |
getUnitPrice()
Gets the value of the 'unitPrice' field.
|
static ClaimItemDetailSubDetail.Builder |
newBuilder()
Creates a new ClaimItemDetailSubDetail RecordBuilder.
|
static ClaimItemDetailSubDetail.Builder |
newBuilder(ClaimItemDetailSubDetail.Builder other)
Creates a new ClaimItemDetailSubDetail RecordBuilder by copying an existing Builder.
|
static ClaimItemDetailSubDetail.Builder |
newBuilder(ClaimItemDetailSubDetail other)
Creates a new ClaimItemDetailSubDetail RecordBuilder by copying an existing ClaimItemDetailSubDetail instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setCategory(CodeableConcept value)
Sets the value of the 'category' field.
|
void |
setFactor(BigDecimal value)
Sets the value of the 'factor' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setModifier(List<CodeableConcept> value)
Sets the value of the 'modifier' field.
|
void |
setNet(Money value)
Sets the value of the 'net' field.
|
void |
setProgramCode(List<CodeableConcept> value)
Sets the value of the 'programCode' field.
|
void |
setQuantity(Quantity value)
Sets the value of the 'quantity' field.
|
void |
setRevenue(CodeableConcept value)
Sets the value of the 'revenue' field.
|
void |
setSequence(Integer value)
Sets the value of the 'sequence' field.
|
void |
setService(CodeableConcept value)
Sets the value of the 'service' field.
|
void |
setUdi(List<DeviceReference> value)
Sets the value of the 'udi' field.
|
void |
setUnitPrice(Money value)
Sets the value of the 'unitPrice' field.
|
ByteBuffer |
toByteBuffer()
Serializes this ClaimItemDetailSubDetail to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public ClaimItemDetailSubDetail()
newBuilder()
.public ClaimItemDetailSubDetail(String id, Integer sequence, CodeableConcept revenue, CodeableConcept category, CodeableConcept service, List<CodeableConcept> modifier, List<CodeableConcept> programCode, Quantity quantity, Money unitPrice, BigDecimal factor, Money net, List<DeviceReference> udi)
id
- Field for FHIR property idsequence
- Field for FHIR property sequencerevenue
- Field for FHIR property revenuecategory
- Field for FHIR property categoryservice
- Field for FHIR property servicemodifier
- Field for FHIR property modifierprogramCode
- Field for FHIR property programCodequantity
- Field for FHIR property quantityunitPrice
- Field for FHIR property unitPricefactor
- Field for FHIR property factornet
- Field for FHIR property netudi
- Field for FHIR property udipublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimItemDetailSubDetail> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<ClaimItemDetailSubDetail> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore
.resolver
- a SchemaStore
used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOException
public static ClaimItemDetailSubDetail fromByteBuffer(ByteBuffer b) throws IOException
IOException
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public 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 getRevenue()
public void setRevenue(CodeableConcept value)
value
- the value to set.public CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value
- the value to set.public CodeableConcept getService()
public void setService(CodeableConcept value)
value
- the value to set.public List<CodeableConcept> getModifier()
public void setModifier(List<CodeableConcept> value)
value
- the value to set.public List<CodeableConcept> getProgramCode()
public void setProgramCode(List<CodeableConcept> value)
value
- the value to set.public Quantity getQuantity()
public void setQuantity(Quantity value)
value
- the value to set.public Money getUnitPrice()
public void setUnitPrice(Money value)
value
- the value to set.public BigDecimal getFactor()
public void setFactor(BigDecimal value)
value
- the value to set.public Money getNet()
public void setNet(Money value)
value
- the value to set.public List<DeviceReference> getUdi()
public void setUdi(List<DeviceReference> value)
value
- the value to set.public static ClaimItemDetailSubDetail.Builder newBuilder()
public static ClaimItemDetailSubDetail.Builder newBuilder(ClaimItemDetailSubDetail.Builder other)
other
- The existing builder to copy.public static ClaimItemDetailSubDetail.Builder newBuilder(ClaimItemDetailSubDetail other)
other
- The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
Copyright © 2020. All rights reserved.