Package ca.uhn.fhir.jpa.model.entity
Class IdAndPartitionId
java.lang.Object
ca.uhn.fhir.jpa.model.entity.IdAndPartitionId
- All Implemented Interfaces:
Serializable
This class is used to store the PID for a given table, and if we're running in
database partition mode, it also stores the partition ID.
- See Also:
-
Constructor Summary
ConstructorDescriptionIdAndPartitionId
(Long theId) IdAndPartitionId
(Long theId, Integer thePartitionId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static IdAndPartitionId
forId
(Long theId, BasePartitionable thePartitionable) getId()
int
hashCode()
void
void
setPartitionIdValue
(Integer thePartitionIdValue) toString()
-
Constructor Details
-
IdAndPartitionId
-
IdAndPartitionId
public IdAndPartitionId() -
IdAndPartitionId
-
-
Method Details