Package org.hl7.fhir.r4.model
Class BaseResource
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.BaseResource
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
- Direct Known Subclasses:
Resource
public abstract class BaseResource
extends Base
implements org.hl7.fhir.instance.model.api.IAnyResource, ca.uhn.fhir.model.api.IElement
- See Also:
-
Field Summary
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.context.FhirVersionEnum
boolean
setId
(org.hl7.fhir.instance.model.api.IIdType value) abstract BaseResource
setIdElement
(IdType theIdType) Methods inherited from class org.hl7.fhir.r4.model.Base
addChild, castToAddress, 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, copy, copyValues, dateTimeValue, equals, equalsDeep, equalsShallow, fhirType, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getIdBase, getNamedProperty, getNamedProperty, getProperty, getTypesForProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isEmpty, isMetadataBased, isPrimitive, listChildren, listChildrenByName, listChildrenByName, makeProperty, primitiveValue, removeChild, setIdBase, setProperty, setProperty, setUserData, setUserDataINN
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, hasFormatComment, isEmpty
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, isDeleted
-
Constructor Details
-
BaseResource
public BaseResource()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Parameters:
value
- The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.
-
setIdElement
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
-
isResource
- Overrides:
isResource
in classBase
-