Class ResourcePersistentId
java.lang.Object
ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId
This class is an abstraction for however primary keys are stored in the underlying storage engine. This might be
a Long, a String, or something else.
-
Constructor Summary
ConstructorsConstructorDescriptionResourcePersistentId(Object theId) ResourcePersistentId(Object theId, Long theVersion) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic List<ResourcePersistentId>fromLongList(List<Long> theResultList) org.hl7.fhir.instance.model.api.IIdTypegetId()inthashCode()setAssociatedResourceId(org.hl7.fhir.instance.model.api.IIdType theAssociatedResourceId) voidvoidsetVersion(Long theVersion) toLongList(Collection<ResourcePersistentId> thePids) toString()
-
Constructor Details
-
ResourcePersistentId
-
ResourcePersistentId
- Parameters:
theVersion- This should only be populated if a specific version is needed. If you want the current version, leave this asnull
-
-
Method Details
-
getAssociatedResourceId
-
setAssociatedResourceId
public ResourcePersistentId setAssociatedResourceId(org.hl7.fhir.instance.model.api.IIdType theAssociatedResourceId) -
equals
-
hashCode
-
getId
-
setId
-
getIdAsLong
-
toString
-
getVersion
-
setVersion
- Parameters:
theVersion- This should only be populated if a specific version is needed. If you want the current version, leave this asnull
-
toLongList
-
fromLongList
-