public final class LongId extends OpenJPAId
OpenJPAId
subclass appropriate for long fields.subs, type, TYPE_VALUE_SEP
Constructor and Description |
---|
LongId(Class cls,
long key) |
LongId(Class cls,
Long key) |
LongId(Class cls,
long key,
boolean subs) |
LongId(Class cls,
String key) |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
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.
|
String |
toString() |
compareTo, equals, getType, hashCode, hasSubclasses, setManagedInstanceType, setManagedInstanceType
public LongId(Class cls, long key)
public LongId(Class cls, long key, boolean subs)
public long getId()
public Object getIdObject()
OpenJPAId
getIdObject
in class OpenJPAId
protected int idHash()
OpenJPAId
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.