
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
-
-
Constructor Summary
Constructors Constructor Description BaseResource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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
-
-
-
-
Constructor Detail
-
BaseResource
public BaseResource()
-
-
Method Detail
-
setId
public BaseResource setId(org.hl7.fhir.instance.model.api.IIdType value)
- 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
public abstract BaseResource setIdElement(IdType theIdType)
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
-
isResource
public boolean isResource()
- Overrides:
isResource
in classBase
-
-