public class UriDt extends BasePrimitive<String>
| Constructor and Description |
|---|
UriDt()
Create a new String
|
UriDt(String theValue)
Create a new String
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
encode(String theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
boolean |
equals(Object obj) |
boolean |
equals(String theString)
Compares the given string to the string representation of this URI.
|
static UriDt |
fromOid(String theOid)
Creates a new UriDt instance which uses the given OID as the content (and prepends "urn:oid:" to the OID string
in the value of the newly created UriDt, per the FHIR specification).
|
int |
hashCode() |
protected String |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
getValue, getValueAsString, isEmpty, readExternal, setValue, setValueAsString, toString, updateStringValue, writeExternalgetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentpublic UriDt()
protected String encode(String theValue)
BasePrimitiveencode in class BasePrimitive<String>theValue - Will not be nullpublic boolean equals(Object obj)
equals in class BasePrimitive<String>public boolean equals(String theString)
equals(Object) method, since that method returns false unless it is
passed an instance of UriDtpublic int hashCode()
hashCode in class BasePrimitive<String>protected String parse(String theValue)
BasePrimitiveparse in class BasePrimitive<String>theValue - Will not be nullpublic static UriDt fromOid(String theOid)
theOid - The OID to use (null is acceptable and will result in a UriDt instance with a
null value)Copyright © 2014–2017 University Health Network. All rights reserved.