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
public abstract class BaseIdentifiableElement extends BaseElement implements IIdentifiableElement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseIdentifiableElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetElementSpecificId()Used to retrieve an ID for this specific element within a resource.IdDtgetId()Deprecated.UsegetElementSpecificId()instead.voidsetElementSpecificId(String theElementSpecificId)Used to set an ID for this specific element within a resource.voidsetId(IdDt theId)Deprecated.UsesetElementSpecificId(String)instead.voidsetId(String theId)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 Detail
-
BaseIdentifiableElement
public BaseIdentifiableElement()
-
-
Method Detail
-
getElementSpecificId
public String getElementSpecificId()
Description copied from interface:IIdentifiableElementUsed 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:
getElementSpecificIdin interfaceIIdentifiableElement
-
getId
@Deprecated public IdDt getId()
Deprecated.UsegetElementSpecificId()instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)- Specified by:
getIdin interfaceIIdentifiableElement
-
setElementSpecificId
public void setElementSpecificId(String theElementSpecificId)
Description copied from interface:IIdentifiableElementUsed 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:
setElementSpecificIdin interfaceIIdentifiableElement
-
setId
@Deprecated public void setId(IdDt theId)
Deprecated.UsesetElementSpecificId(String)instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)- Specified by:
setIdin interfaceIIdentifiableElement
-
setId
@Deprecated public void setId(String theId)
Deprecated.UsesetElementSpecificId(String)instead. This method will be removed because it is easily confused with other ID methods (such as patient#getIdentifier)- Specified by:
setIdin interfaceIIdentifiableElement
-
-