public class NoOpConverter extends HapiConverter<org.apache.avro.Schema>
HapiConverter.HapiFieldSetter, HapiConverter.HapiObjectConverter, HapiConverter.MultiValueConverter| Modifier and Type | Field and Description |
|---|---|
static NoOpConverter |
INSTANCE |
| Constructor and Description |
|---|
NoOpConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromHapi(Object input)
Converts a HAPI object or list of objects to the equivalent
in the alternative data model.
|
org.apache.avro.Schema |
getDataType()
Returns the schema of the converted item.
|
HapiConverter.HapiFieldSetter |
toHapiConverter(ca.uhn.fhir.context.BaseRuntimeElementDefinition... elementDefinitions)
Returns a field setter to be used when converting an object of an
alternative model to HAPI.
|
extensionUrl, getElementTypepublic static final NoOpConverter INSTANCE
public Object fromHapi(Object input)
HapiConverterfromHapi in class HapiConverter<org.apache.avro.Schema>input - a HAPI object.public org.apache.avro.Schema getDataType()
HapiConvertergetDataType in class HapiConverter<org.apache.avro.Schema>public HapiConverter.HapiFieldSetter toHapiConverter(ca.uhn.fhir.context.BaseRuntimeElementDefinition... elementDefinitions)
HapiConvertertoHapiConverter in class HapiConverter<org.apache.avro.Schema>elementDefinitions - the set of element definitions that the element can be.Copyright © 2020. All rights reserved.