public class Reference extends BaseReference implements IBaseReference, ICompositeType
| Constructor and Description |
|---|
Reference() |
Reference(IAnyResource theResource)
Constructor
|
Reference(IdType theReference)
Constructor
|
Reference(String theReference)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Reference |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
getDisplay() |
StringType |
getDisplayElement() |
String |
getReference() |
boolean |
hasDisplay() |
boolean |
hasDisplayElement() |
boolean |
hasReference() |
boolean |
hasReferenceElement() |
boolean |
isEmpty() |
Reference |
setDisplay(String value) |
Reference |
setDisplayElement(StringType value) |
Reference |
setReference(String value) |
Reference |
setReferenceElement(StringType value) |
getReferenceElement, getResource, setResourceaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getId, getIdElement, hasExtension, hasId, hasIdElement, setId, setIdElementchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReferenceElement, getResource, setResourcepublic Reference()
public Reference(String theReference)
theReference - The given reference string (e.g. "Patient/123" or "http://example.com/Patient/123")public Reference(IdType theReference)
theReference - The given reference as an IdType (e.g. "Patient/123" or "http://example.com/Patient/123")public Reference(IAnyResource theResource)
theResource - The resource represented by this referencepublic boolean hasReferenceElement()
reference (A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the valuepublic boolean hasReference()
public Reference setReferenceElement(StringType value)
value - reference (A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the valuepublic String getReference()
public Reference setReference(String value)
setReference in interface IBaseReferencevalue - A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.public StringType getDisplayElement()
getDisplayElement in interface IBaseReferencedisplay (Plain text narrative that identifies the resource in addition to the resource reference.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the valuepublic boolean hasDisplayElement()
public boolean hasDisplay()
public Reference setDisplayElement(StringType value)
value - display (Plain text narrative that identifies the resource in addition to the resource reference.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the valuepublic String getDisplay()
public Reference setDisplay(String value)
setDisplay in interface IBaseReferencevalue - Plain text narrative that identifies the resource in addition to the resource reference.public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class Elementpublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BaseReferenceCopyright © 2014–2015 University Health Network. All rights reserved.