/** * @param value Indicates where the message should be routed to. */ public MessageDestinationComponent setEndpoint(String value) { if (this.endpoint == null) this.endpoint = new UrlType(); this.endpoint.setValue(value); return this; }
public static UrlType newUrl(String value) throws URISyntaxException { if (value == null) return null; UrlType res = new UrlType(); res.setValue(value); return res; }
/** * @param value The network address of the endpoint. For solutions that do not use network addresses for routing, it can be just an identifier. */ public CapabilityStatementMessagingEndpointComponent setAddress(String value) { if (this.address == null) this.address = new UrlType(); this.address.setValue(value); return this; }
/** * @param value The uri that describes the actual end-point to connect to. */ public Endpoint setAddress(String value) { if (this.address == null) this.address = new UrlType(); this.address.setValue(value); return this; }
/** * @return {@link #name} (The source address for the page.) */ public UrlType getNameUrlType() throws FHIRException { if (this.name == null) this.name = new UrlType(); if (!(this.name instanceof UrlType)) throw new FHIRException("Type mismatch: the type UrlType was expected, but "+this.name.getClass().getName()+" was encountered"); return (UrlType) this.name; }
/** * @param value Identifies the routing target to send acknowledgements to. */ public MessageSourceComponent setEndpoint(String value) { if (this.endpoint == null) this.endpoint = new UrlType(); this.endpoint.setValue(value); return this; }
/** * @return {@link #url} (A location where the data can be accessed.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UrlType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Attachment.url"); else if (Configuration.doAutoCreate()) this.url = new UrlType(); // bb return this.url; }
/** * @return {@link #rendering} (A pointer to official web page, PDF or other rendering of the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getRendering" gives direct access to the value */ public UrlType getRenderingElement() { if (this.rendering == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImplementationGuideManifestComponent.rendering"); else if (Configuration.doAutoCreate()) this.rendering = new UrlType(); // bb return this.rendering; }
/** * @return {@link #url} (A url for the artifact that can be followed to access the actual content.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UrlType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create RelatedArtifact.url"); else if (Configuration.doAutoCreate()) this.url = new UrlType(); // bb return this.url; }
/** * @return {@link #relativePath} (The relative path for primary page for this resource within the IG.). This is the underlying object with id, value and extensions. The accessor "getRelativePath" gives direct access to the value */ public UrlType getRelativePathElement() { if (this.relativePath == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ManifestResourceComponent.relativePath"); else if (Configuration.doAutoCreate()) this.relativePath = new UrlType(); // bb return this.relativePath; }
/** * @return {@link #address} (The network address of the endpoint. For solutions that do not use network addresses for routing, it can be just an identifier.). This is the underlying object with id, value and extensions. The accessor "getAddress" gives direct access to the value */ public UrlType getAddressElement() { if (this.address == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CapabilityStatementMessagingEndpointComponent.address"); else if (Configuration.doAutoCreate()) this.address = new UrlType(); // bb return this.address; }
/** * @return {@link #endpoint} (The url that describes the actual end-point to send messages to.). This is the underlying object with id, value and extensions. The accessor "getEndpoint" gives direct access to the value */ public UrlType getEndpointElement() { if (this.endpoint == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubscriptionChannelComponent.endpoint"); else if (Configuration.doAutoCreate()) this.endpoint = new UrlType(); // bb return this.endpoint; }
/** * @return {@link #url} (An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UrlType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CapabilityStatementImplementationComponent.url"); else if (Configuration.doAutoCreate()) this.url = new UrlType(); // bb return this.url; }
/** * @return {@link #url} (An absolute base URL for the implementation.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UrlType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create TerminologyCapabilitiesImplementationComponent.url"); else if (Configuration.doAutoCreate()) this.url = new UrlType(); // bb return this.url; }
/** * @return {@link #address} (The uri that describes the actual end-point to connect to.). This is the underlying object with id, value and extensions. The accessor "getAddress" gives direct access to the value */ public UrlType getAddressElement() { if (this.address == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Endpoint.address"); else if (Configuration.doAutoCreate()) this.address = new UrlType(); // bb return this.address; }
/** * @return {@link #endpoint} (Indicates where the message should be routed to.). This is the underlying object with id, value and extensions. The accessor "getEndpoint" gives direct access to the value */ public UrlType getEndpointElement() { if (this.endpoint == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create MessageDestinationComponent.endpoint"); else if (Configuration.doAutoCreate()) this.endpoint = new UrlType(); // bb return this.endpoint; }
public org.hl7.fhir.r4.model.UrlType convertUriToUrl(org.hl7.fhir.instance.model.UriType src) throws FHIRException { org.hl7.fhir.r4.model.UrlType tgt = new org.hl7.fhir.r4.model.UrlType(src.getValue()); copyElement(src, tgt); return tgt; }
public UrlType castToUrl(Base b) throws FHIRException { if (b instanceof UrlType) return (UrlType) b; else if (b.hasPrimitiveValue()) return new UrlType(b.primitiveValue()); else throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a Uri"); }
/** * Constructor */ @Override public UrlType copy() { UrlType ret = new UrlType(getValue()); copyValues(ret); return ret; }
public static org.hl7.fhir.r4.model.UrlType convertUriToUrl(org.hl7.fhir.dstu2016may.model.UriType src) throws FHIRException { org.hl7.fhir.r4.model.UrlType tgt = new org.hl7.fhir.r4.model.UrlType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }