
Package org.hl7.fhir.dstu3.model
Class BaseResource
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.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:
- Serialized Form
-
Field Summary
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
Constructors Constructor Description BaseResource()
-
Method Summary
Modifier and Type Method Description ca.uhn.fhir.context.FhirVersionEnum
getStructureFhirVersionEnum()
boolean
isResource()
BaseResource
setId(org.hl7.fhir.instance.model.api.IIdType value)
abstract BaseResource
setIdElement(IdType theIdType)
Methods inherited from class org.hl7.fhir.dstu3.model.Base
addChild, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, equalsDeep, equalsShallow, fhirType, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getIdBase, getNamedProperty, getNamedProperty, getProperty, getTypesForProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isEmpty, isMetadataBased, isPrimitive, listChildren, listChildrenByName, listChildrenByName, makeProperty, primitiveValue, 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
-
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
-