public final class ObjectId extends OpenJPAId
subs, type, TYPE_VALUE_SEP
Constructor and Description |
---|
ObjectId(java.lang.Class cls,
java.lang.Object key) |
ObjectId(java.lang.Class cls,
java.lang.Object key,
boolean subs) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getId() |
java.lang.Object |
getIdObject()
Return the identity value as an object.
|
protected boolean |
idEquals(OpenJPAId o)
Compare the id to the id of the given instance.
|
protected int |
idHash()
Return the id's hash code.
|
(package private) void |
setId(java.lang.Object id)
Allow utilities in this package to mutate id.
|
compareTo, equals, getType, hashCode, hasSubclasses, setManagedInstanceType, setManagedInstanceType, toString
public ObjectId(java.lang.Class cls, java.lang.Object key)
public ObjectId(java.lang.Class cls, java.lang.Object key, boolean subs)
public java.lang.Object getId()
void setId(java.lang.Object id)
public java.lang.Object getIdObject()
OpenJPAId
getIdObject
in class OpenJPAId
protected int idHash()
OpenJPAId
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.