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