Package ca.uhn.fhir.jpa.mdm.svc
Class MdmModelConverterSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmModelConverterSvcImpl
- All Implemented Interfaces:
IMdmModelConverterSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.mdm.api.MdmLinkJsontoJson(ca.uhn.fhir.mdm.api.IMdmLink theLink) Creates JSON representation of the provided MDM linkca.uhn.fhir.mdm.api.MdmLinkWithRevisionJsontoJson(ca.uhn.fhir.mdm.api.MdmLinkWithRevision<? extends ca.uhn.fhir.mdm.api.IMdmLink<?>> theMdmLinkRevision) Creates JSON representation of the provided MDM link with revision data
-
Constructor Details
-
MdmModelConverterSvcImpl
public MdmModelConverterSvcImpl()
-
-
Method Details
-
toJson
Description copied from interface:IMdmModelConverterSvcCreates JSON representation of the provided MDM link- Specified by:
toJsonin interfaceIMdmModelConverterSvc- Parameters:
theLink- Link to convert- Returns:
- Returns the converted link
-
toJson
public ca.uhn.fhir.mdm.api.MdmLinkWithRevisionJson toJson(ca.uhn.fhir.mdm.api.MdmLinkWithRevision<? extends ca.uhn.fhir.mdm.api.IMdmLink<?>> theMdmLinkRevision) Description copied from interface:IMdmModelConverterSvcCreates JSON representation of the provided MDM link with revision data- Specified by:
toJsonin interfaceIMdmModelConverterSvc- Parameters:
theMdmLinkRevision- Link with revision data to convert- Returns:
- Returns the converted link
-