Package ca.uhn.fhir.jpa.model.entity
Class BaseHasResource
java.lang.Object
ca.uhn.fhir.jpa.model.entity.BasePartitionable
ca.uhn.fhir.jpa.model.entity.BaseHasResource
- All Implemented Interfaces:
IBasePersistedResource<JpaPid>
,IResourceLookup<JpaPid>
,IBaseResourceEntity
,Serializable
- Direct Known Subclasses:
ResourceHistoryTable
,ResourceTable
@MappedSuperclass
public abstract class BaseHasResource
extends BasePartitionable
implements IBaseResourceEntity, IBasePersistedResource<JpaPid>
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BaseTag
addTag
(TagDefinition theDef) If the resource is deleted, returns the date/time that the resource was deleted at.ca.uhn.fhir.context.FhirVersionEnum
ca.uhn.fhir.model.primitive.InstantDt
abstract Collection
<? extends BaseTag> getTags()
ca.uhn.fhir.model.primitive.InstantDt
boolean
void
setDeleted
(Date theDate) void
setFhirVersion
(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion) void
setHasTags
(boolean theHasTags) void
setPublished
(ca.uhn.fhir.model.primitive.InstantDt thePublished) void
setPublished
(Date thePublished) void
setUpdated
(Date theUpdated) Methods inherited from class ca.uhn.fhir.jpa.model.entity.BasePartitionable
getPartitionId, setPartitionId, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.jpa.model.cross.IBasePersistedResource
getIdDt, getVersion, isDeleted, setNotDeleted
Methods inherited from interface ca.uhn.fhir.jpa.model.entity.IBaseResourceEntity
getId, getIdDt, getPartitionId, getResourceId, getResourceType, getVersion
Methods inherited from interface ca.uhn.fhir.jpa.model.cross.IResourceLookup
getFhirId, getPersistentId, getResourceType
-
Field Details
-
RES_PUBLISHED
- See Also:
-
RES_UPDATED
- See Also:
-
-
Constructor Details
-
BaseHasResource
public BaseHasResource()
-
-
Method Details
-
addTag
-
getDeleted
Description copied from interface:IResourceLookup
If the resource is deleted, returns the date/time that the resource was deleted at. Otherwise, returnsnull
- Specified by:
getDeleted
in interfaceIBaseResourceEntity
- Specified by:
getDeleted
in interfaceIResourceLookup<JpaPid>
-
getFhirVersion
- Specified by:
getFhirVersion
in interfaceIBaseResourceEntity
-
setFhirVersion
-
setDeleted
-
getPublished
- Specified by:
getPublished
in interfaceIBaseResourceEntity
-
getPublishedDate
-
setPublished
-
setPublished
-
getTags
-
getUpdated
- Specified by:
getUpdated
in interfaceIBaseResourceEntity
-
getUpdatedDate
- Specified by:
getUpdatedDate
in interfaceIBaseResourceEntity
-
setUpdated
-
isHasTags
- Specified by:
isHasTags
in interfaceIBaseResourceEntity
-
setHasTags
-