public void copyValues(DomainResource dst) { super.copyValues(dst); dst.text = text == null ? null : text.copy(); if (contained != null) { dst.contained = new ArrayList<Resource>(); for (Resource i : contained) dst.contained.add(i.copy()); }; if (extension != null) { dst.extension = new ArrayList<Extension>(); for (Extension i : extension) dst.extension.add(i.copy()); }; if (modifierExtension != null) { dst.modifierExtension = new ArrayList<Extension>(); for (Extension i : modifierExtension) dst.modifierExtension.add(i.copy()); }; }
public ParametersParameterComponent copy() { ParametersParameterComponent dst = new ParametersParameterComponent(); copyValues(dst); dst.name = name == null ? null : name.copy(); dst.value = value == null ? null : value.copy(); dst.resource = resource == null ? null : resource.copy(); if (part != null) { dst.part = new ArrayList<ParametersParameterComponent>(); for (ParametersParameterComponent i : part) dst.part.add(i.copy()); }; return dst; }
public BundleEntryComponent copy() { BundleEntryComponent dst = new BundleEntryComponent(); copyValues(dst); if (link != null) { dst.link = new ArrayList<BundleLinkComponent>(); for (BundleLinkComponent i : link) dst.link.add(i.copy()); }; dst.fullUrl = fullUrl == null ? null : fullUrl.copy(); dst.resource = resource == null ? null : resource.copy(); dst.search = search == null ? null : search.copy(); dst.request = request == null ? null : request.copy(); dst.response = response == null ? null : response.copy(); return dst; }
public BundleEntryResponseComponent copy() { BundleEntryResponseComponent dst = new BundleEntryResponseComponent(); copyValues(dst); dst.status = status == null ? null : status.copy(); dst.location = location == null ? null : location.copy(); dst.etag = etag == null ? null : etag.copy(); dst.lastModified = lastModified == null ? null : lastModified.copy(); dst.outcome = outcome == null ? null : outcome.copy(); return dst; }