public class BooleanId extends OpenJPAId
OpenJPAId subclass appropriate for boolean fields.subs, type, TYPE_VALUE_SEP| Constructor and Description |
|---|
BooleanId(java.lang.Class cls,
boolean key) |
BooleanId(java.lang.Class cls,
java.lang.Boolean key) |
BooleanId(java.lang.Class cls,
boolean key,
boolean subs) |
BooleanId(java.lang.Class cls,
java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
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, setManagedInstanceTypepublic BooleanId(java.lang.Class cls,
java.lang.Boolean key)
public BooleanId(java.lang.Class cls,
java.lang.String key)
public BooleanId(java.lang.Class cls,
boolean key)
public BooleanId(java.lang.Class cls,
boolean key,
boolean subs)
public boolean getId()
public java.lang.Object getIdObject()
OpenJPAIdgetIdObject in class OpenJPAIdprotected boolean idEquals(OpenJPAId other)
OpenJPAIdCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.