public final class DoubleId extends OpenJPAId
OpenJPAId
subclass appropriate for double fields.subs, type, TYPE_VALUE_SEP
Constructor and Description |
---|
DoubleId(Class cls,
double key) |
DoubleId(Class cls,
Double key) |
DoubleId(Class cls,
double key,
boolean subs) |
DoubleId(Class cls,
String key) |
Modifier and Type | Method and Description |
---|---|
double |
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 DoubleId(Class cls, double key)
public DoubleId(Class cls, double key, boolean subs)
public double getId()
public Object getIdObject()
OpenJPAId
getIdObject
in class OpenJPAId
protected int idHash()
OpenJPAId
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.