public class BigDecimalId extends OpenJPAId
Constructor and Description |
---|
BigDecimalId(java.lang.Class cls,
java.math.BigDecimal key) |
BigDecimalId(java.lang.Class cls,
java.math.BigDecimal key,
boolean subs) |
BigDecimalId(java.lang.Class cls,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
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 BigDecimalId(java.lang.Class cls, java.lang.String key)
public BigDecimalId(java.lang.Class cls, java.math.BigDecimal key)
public BigDecimalId(java.lang.Class cls, java.math.BigDecimal key, boolean subs)
public java.math.BigDecimal getId()
public java.lang.Object getIdObject()
OpenJPAId
getIdObject
in class OpenJPAId
protected int idHash()
OpenJPAId