public class UriType extends PrimitiveType<String>
| Constructor and Description |
|---|
UriType()
Constructor
|
UriType(String theValue)
Constructor
|
UriType(URI theValue)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
UriType |
copy() |
protected String |
encode(String theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
boolean |
equals(String theString)
Compares the given string to the string representation of this URI.
|
boolean |
equalsDeep(Base obj) |
String |
fhirType() |
static OidType |
fromOid(String theOid)
Creates a new OidType instance which uses the given OID as the content (and prepends "urn:oid:" to the OID string
in the value of the newly created OidType, 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
|
asStringValue, equalsShallow, forceStringValue, fpValue, fromStringValue, getProperty, getTypesForProperty, getValue, getValueAsString, hasPrimitiveValue, hasValue, isEmpty, isPrimitive, makeProperty, primitiveValue, readExternal, setProperty, setProperty, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternaladdChild, addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getNamedProperty, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, listChildren, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDatapublic UriType()
public UriType copy()
copy in class PrimitiveType<String>protected String encode(String theValue)
PrimitiveTypeencode in class PrimitiveType<String>theValue - Will not be nullpublic boolean equals(String theString)
Object.equals(Object) method, since that method returns false unless it is
passed an instance of UriTypepublic int hashCode()
hashCode in class PrimitiveType<String>protected String parse(String theValue)
PrimitiveTypeparse in class PrimitiveType<String>theValue - Will not be nullpublic static OidType fromOid(String theOid)
theOid - The OID to use (null is acceptable and will result in a UriDt instance with a
null value)public boolean equalsDeep(Base obj)
equalsDeep in class PrimitiveType<String>Copyright © 2014–2021 Health Level 7. All rights reserved.