public static org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent convertBundleEntryRequestComponent(org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryRequestComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent tgt = new org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent(); copyElement(src, tgt); tgt.setMethod(convertHTTPVerb(src.getMethod())); tgt.setUrl(src.getUrl()); if (src.hasIfNoneMatch()) tgt.setIfNoneMatch(src.getIfNoneMatch()); if (src.hasIfModifiedSince()) tgt.setIfModifiedSince(src.getIfModifiedSince()); if (src.hasIfMatch()) tgt.setIfMatch(src.getIfMatch()); if (src.hasIfNoneExist()) tgt.setIfNoneExist(src.getIfNoneExist()); return tgt; }
public org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent convertBundleEntryRequestComponent(org.hl7.fhir.instance.model.Bundle.BundleEntryRequestComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent tgt = new org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent(); copyElement(src, tgt); tgt.setMethod(convertHTTPVerb(src.getMethod())); tgt.setUrl(src.getUrl()); tgt.setIfNoneMatch(src.getIfNoneMatch()); tgt.setIfModifiedSince(src.getIfModifiedSince()); tgt.setIfMatch(src.getIfMatch()); tgt.setIfNoneExist(src.getIfNoneExist()); return tgt; }
public static org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent convertBundleEntryRequestComponent(org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryRequestComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent tgt = new org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent(); copyElement(src, tgt); tgt.setMethod(convertHTTPVerb(src.getMethod())); tgt.setUrl(src.getUrl()); if (src.hasIfNoneMatch()) tgt.setIfNoneMatch(src.getIfNoneMatch()); if (src.hasIfModifiedSince()) tgt.setIfModifiedSince(src.getIfModifiedSince()); if (src.hasIfMatch()) tgt.setIfMatch(src.getIfMatch()); if (src.hasIfNoneExist()) tgt.setIfNoneExist(src.getIfNoneExist()); return tgt; }
public org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent convertBundleEntryRequestComponent(org.hl7.fhir.instance.model.Bundle.BundleEntryRequestComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent tgt = new org.hl7.fhir.dstu3.model.Bundle.BundleEntryRequestComponent(); copyElement(src, tgt); tgt.setMethod(convertHTTPVerb(src.getMethod())); tgt.setUrl(src.getUrl()); tgt.setIfNoneMatch(src.getIfNoneMatch()); tgt.setIfModifiedSince(src.getIfModifiedSince()); tgt.setIfMatch(src.getIfMatch()); tgt.setIfNoneExist(src.getIfNoneExist()); return tgt; }