public class Meta
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Meta.Builder
RecordBuilder for Meta instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
Meta()
Default constructor.
|
Meta(String id,
String versionId,
String lastUpdated,
List<String> profile,
List<Coding> security,
List<Coding> tag)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<Meta> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static Meta |
fromByteBuffer(ByteBuffer b)
Deserializes a Meta from a ByteBuffer.
|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
static org.apache.avro.message.BinaryMessageDecoder<Meta> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
String |
getId()
Gets the value of the 'id' field.
|
String |
getLastUpdated()
Gets the value of the 'lastUpdated' field.
|
List<String> |
getProfile()
Gets the value of the 'profile' field.
|
org.apache.avro.Schema |
getSchema() |
List<Coding> |
getSecurity()
Gets the value of the 'security' field.
|
List<Coding> |
getTag()
Gets the value of the 'tag' field.
|
String |
getVersionId()
Gets the value of the 'versionId' field.
|
static Meta.Builder |
newBuilder()
Creates a new Meta RecordBuilder.
|
static Meta.Builder |
newBuilder(Meta.Builder other)
Creates a new Meta RecordBuilder by copying an existing Builder.
|
static Meta.Builder |
newBuilder(Meta other)
Creates a new Meta RecordBuilder by copying an existing Meta instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setLastUpdated(String value)
Sets the value of the 'lastUpdated' field.
|
void |
setProfile(List<String> value)
Sets the value of the 'profile' field.
|
void |
setSecurity(List<Coding> value)
Sets the value of the 'security' field.
|
void |
setTag(List<Coding> value)
Sets the value of the 'tag' field.
|
void |
setVersionId(String value)
Sets the value of the 'versionId' field.
|
ByteBuffer |
toByteBuffer()
Serializes this Meta to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public Meta()
newBuilder().public Meta(String id, String versionId, String lastUpdated, List<String> profile, List<Coding> security, List<Coding> tag)
id - Field for FHIR property idversionId - Field for FHIR property versionIdlastUpdated - Field for FHIR property lastUpdatedprofile - Field for FHIR property profilesecurity - Field for FHIR property securitytag - Field for FHIR property tagpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<Meta> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<Meta> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static Meta 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 String getVersionId()
public void setVersionId(String value)
value - the value to set.public String getLastUpdated()
public void setLastUpdated(String value)
value - the value to set.public List<String> getProfile()
public void setProfile(List<String> value)
value - the value to set.public List<Coding> getSecurity()
public void setSecurity(List<Coding> value)
value - the value to set.public List<Coding> getTag()
public void setTag(List<Coding> value)
value - the value to set.public static Meta.Builder newBuilder()
public static Meta.Builder newBuilder(Meta.Builder other)
other - The existing builder to copy.public static Meta.Builder newBuilder(Meta 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.