Package ca.uhn.fhir.model.api
Class BaseIdentifiableElement
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
- All Implemented Interfaces:
IElement
,IIdentifiableElement
,ISupportsUndeclaredExtensions
,Serializable
,IBase
- Direct Known Subclasses:
BaseCodingDt
,BaseHumanNameDt
,BaseIdentifierDt
,BaseNarrativeDt
,BaseOperationOutcome.BaseIssue
,BasePrimitive
,BaseQuantityDt
,BaseResourceReferenceDt
,ExtensionDt
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsed to retrieve an ID for this specific element within a resource.getId()
Deprecated.void
setElementSpecificId
(String theElementSpecificId) Used to set an ID for this specific element within a resource.void
Deprecated.UsesetElementSpecificId(String)
instead.void
Deprecated.UsesetElementSpecificId(String)
instead.Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserData
-
Constructor Details
-
BaseIdentifiableElement
public BaseIdentifiableElement()
-
-
Method Details
-
getElementSpecificId
Description copied from interface:IIdentifiableElement
Used to retrieve an ID for this specific element within a resource. These are used for IDREF referenced between elements within a single resource, and do not have any other purpose.- Specified by:
getElementSpecificId
in interfaceIIdentifiableElement
-
getId
Deprecated.UsegetElementSpecificId()
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)- Specified by:
getId
in interfaceIIdentifiableElement
-
setElementSpecificId
Description copied from interface:IIdentifiableElement
Used to set an ID for this specific element within a resource. These are used for IDREF referenced between elements within a single resource, and do not have any other purpose.- Specified by:
setElementSpecificId
in interfaceIIdentifiableElement
-
setId
Deprecated.UsesetElementSpecificId(String)
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)- Specified by:
setId
in interfaceIIdentifiableElement
-
setId
Deprecated.UsesetElementSpecificId(String)
instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)- Specified by:
setId
in interfaceIIdentifiableElement
-
getElementSpecificId()
instead.