
Package ca.uhn.fhir.jpa.model.entity
Class BaseHasResource<T>
java.lang.Object
ca.uhn.fhir.jpa.model.entity.BaseHasResource<T>
- All Implemented Interfaces:
IBasePersistedResource<JpaPid>,IResourceLookup<JpaPid>,IBaseResourceEntity<T>,Serializable
- Direct Known Subclasses:
ResourceHistoryTable,ResourceTable
@MappedSuperclass
public abstract class BaseHasResource<T>
extends Object
implements IBaseResourceEntity<T>, IBasePersistedResource<JpaPid>, Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BaseTagaddTag(TagDefinition theDef) If the resource is deleted, returns the date/time that the resource was deleted at.ca.uhn.fhir.context.FhirVersionEnumca.uhn.fhir.model.primitive.InstantDtabstract Collection<? extends BaseTag> getTags()ca.uhn.fhir.model.primitive.InstantDtbooleanvoidsetDeleted(Date theDate) voidsetFhirVersion(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion) voidsetHasTags(boolean theHasTags) voidsetPublished(ca.uhn.fhir.model.primitive.InstantDt thePublished) voidsetPublished(Date thePublished) voidsetUpdated(Date theUpdated) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.jpa.model.cross.IBasePersistedResource
getIdDt, getVersion, isDeleted, setNotDeletedMethods inherited from interface ca.uhn.fhir.jpa.model.entity.IBaseResourceEntity
getId, getIdDt, getPartitionId, getResourceId, getResourceType, getResourceTypeId, getVersionMethods inherited from interface ca.uhn.fhir.jpa.model.cross.IResourceLookup
getFhirId, getPartitionId, 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:IResourceLookupIf the resource is deleted, returns the date/time that the resource was deleted at. Otherwise, returnsnull- Specified by:
getDeletedin interfaceIBaseResourceEntity<T>- Specified by:
getDeletedin interfaceIResourceLookup<T>
-
getFhirVersion
- Specified by:
getFhirVersionin interfaceIBaseResourceEntity<T>
-
setFhirVersion
-
setDeleted
-
getPublished
- Specified by:
getPublishedin interfaceIBaseResourceEntity<T>
-
getPublishedDate
-
setPublished
-
setPublished
-
getTags
-
getUpdated
- Specified by:
getUpdatedin interfaceIBaseResourceEntity<T>
-
getUpdatedDate
- Specified by:
getUpdatedDatein interfaceIBaseResourceEntity<T>
-
setUpdated
-
isHasTags
- Specified by:
isHasTagsin interfaceIBaseResourceEntity<T>
-
setHasTags
-