Class DataType
- java.lang.Object
-
- org.wso2.healthcare.integration.v2tofhir.data.DataType
-
public class DataType extends Object
Data holder class to hold data type information extracted from mapping files.
-
-
Field Summary
Fields Modifier and Type Field Description protected XpathEvaluatorevaluator
-
Constructor Summary
Constructors Constructor Description DataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecord(org.apache.commons.csv.CSVRecord record)org.hl7.fhir.r4.model.TypecreateAndPopulateDataType(org.apache.synapse.MessageContext messageContext, String parentXpath, String vocabularyMap)Map<Long,String>getDataTypeMap()org.hl7.fhir.r4.model.TypegetFhirType()StringgetParentXpath()List<org.apache.commons.csv.CSVRecord>getRecordList()StringgetTargetFhirDataType()voidsetDataTypeMap(Map<Long,String> dataTypeMap)org.hl7.fhir.r4.model.TypesetFhirType(org.hl7.fhir.r4.model.Type fhirType)voidsetParentXpath(String parentXpath)voidsetRecordList(List<org.apache.commons.csv.CSVRecord> recordList)voidsetTargetFhirDataType(String targetFhirDataType)
-
-
-
Field Detail
-
evaluator
protected XpathEvaluator evaluator
-
-
Method Detail
-
getRecordList
public List<org.apache.commons.csv.CSVRecord> getRecordList()
-
addRecord
public void addRecord(org.apache.commons.csv.CSVRecord record)
-
setRecordList
public void setRecordList(List<org.apache.commons.csv.CSVRecord> recordList)
-
getParentXpath
public String getParentXpath()
-
setParentXpath
public void setParentXpath(String parentXpath)
-
getTargetFhirDataType
public String getTargetFhirDataType()
-
setTargetFhirDataType
public void setTargetFhirDataType(String targetFhirDataType)
-
setFhirType
public org.hl7.fhir.r4.model.Type setFhirType(org.hl7.fhir.r4.model.Type fhirType)
-
getFhirType
public org.hl7.fhir.r4.model.Type getFhirType()
-
createAndPopulateDataType
public org.hl7.fhir.r4.model.Type createAndPopulateDataType(org.apache.synapse.MessageContext messageContext, String parentXpath, String vocabularyMap) throws V2ToFhirException- Throws:
V2ToFhirException
-
-