public TestScriptMetadataCapabilityComponent addCapability() { //3 TestScriptMetadataCapabilityComponent t = new TestScriptMetadataCapabilityComponent(); if (this.capability == null) this.capability = new ArrayList<TestScriptMetadataCapabilityComponent>(); this.capability.add(t); return t; }
public TestScriptMetadataCapabilityComponent copy() { TestScriptMetadataCapabilityComponent dst = new TestScriptMetadataCapabilityComponent(); copyValues(dst); dst.required = required == null ? null : required.copy(); dst.validated = validated == null ? null : validated.copy(); dst.description = description == null ? null : description.copy(); if (origin != null) { dst.origin = new ArrayList<IntegerType>(); for (IntegerType i : origin) dst.origin.add(i.copy()); }; dst.destination = destination == null ? null : destination.copy(); if (link != null) { dst.link = new ArrayList<UriType>(); for (UriType i : link) dst.link.add(i.copy()); }; dst.capabilities = capabilities == null ? null : capabilities.copy(); return dst; }
public TestScriptMetadataCapabilityComponent addCapability() { //3 TestScriptMetadataCapabilityComponent t = new TestScriptMetadataCapabilityComponent(); if (this.capability == null) this.capability = new ArrayList<TestScriptMetadataCapabilityComponent>(); this.capability.add(t); return t; }
public TestScriptMetadataCapabilityComponent copy() { TestScriptMetadataCapabilityComponent dst = new TestScriptMetadataCapabilityComponent(); copyValues(dst); dst.required = required == null ? null : required.copy(); dst.validated = validated == null ? null : validated.copy(); dst.description = description == null ? null : description.copy(); if (origin != null) { dst.origin = new ArrayList<IntegerType>(); for (IntegerType i : origin) dst.origin.add(i.copy()); }; dst.destination = destination == null ? null : destination.copy(); if (link != null) { dst.link = new ArrayList<UriType>(); for (UriType i : link) dst.link.add(i.copy()); }; dst.capabilities = capabilities == null ? null : capabilities.copy(); return dst; }
public org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent convertTestScriptMetadataCapabilityComponent(org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent tgt = new org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent(); copyElement(src, tgt); tgt.setRequired(src.getRequired()); tgt.setValidated(src.getValidated()); tgt.setDescription(src.getDescription()); tgt.setDestination(src.getDestination()); for (org.hl7.fhir.instance.model.UriType t : src.getLink()) tgt.addLink(t.getValue()); tgt.setCapabilitiesElement(convertReferenceToCanonical(src.getConformance())); return tgt; }
public org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent convertTestScriptMetadataCapabilityComponent(org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent tgt = new org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent(); copyElement(src, tgt); tgt.setRequired(src.getRequired()); tgt.setValidated(src.getValidated()); tgt.setDescription(src.getDescription()); tgt.setDestination(src.getDestination()); for (org.hl7.fhir.instance.model.UriType t : src.getLink()) tgt.addLink(t.getValue()); tgt.setCapabilitiesElement(convertReferenceToCanonical(src.getConformance())); return tgt; }