org.apache.openjpa.util
public class BigIntegerId extends OpenJPAId
Constructor and Description |
---|
BigIntegerId(java.lang.Class cls,
java.math.BigInteger key) |
BigIntegerId(java.lang.Class cls,
java.math.BigInteger key,
boolean subs) |
BigIntegerId(java.lang.Class cls,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getId() |
java.lang.Object |
getIdObject()
Return the identity value as an object.
|
protected boolean |
idEquals(OpenJPAId other)
Compare the id to the id of the given instance.
|
protected int |
idHash()
Return the id's hash code.
|
java.lang.String |
toString() |
compareTo, equals, getType, hashCode, hasSubclasses, setManagedInstanceType, setManagedInstanceType
public BigIntegerId(java.lang.Class cls, java.lang.String key)
public BigIntegerId(java.lang.Class cls, java.math.BigInteger key)
public BigIntegerId(java.lang.Class cls, java.math.BigInteger key, boolean subs)
public java.math.BigInteger getId()
public java.lang.Object getIdObject()
OpenJPAId
getIdObject
in class OpenJPAId
protected int idHash()
OpenJPAId