public class CacheId extends Object implements Serializable, Comparable<CacheId>
Modifier and Type | Method and Description |
---|---|
void |
add(Object value)
Append the value to the end of the primary key values.
|
int |
compareTo(CacheId id)
Determine if the receiver is greater or less than the key.
|
boolean |
equals(CacheId id)
Determine if the receiver is equal to key.
|
boolean |
equals(Object object)
Determine if the receiver is equal to anObject.
|
Object[] |
getPrimaryKey() |
boolean |
hasArray() |
int |
hashCode()
Return the precomputed hashcode.
|
void |
set(int index,
Object value)
Set the value in the primary key values.
|
void |
setPrimaryKey(Object[] primaryKey) |
String |
toString() |
public static final CacheId EMPTY
public CacheId()
public CacheId(Object[] primaryKey)
public Object[] getPrimaryKey()
public void setPrimaryKey(Object[] primaryKey)
public void add(Object value)
public void set(int index, Object value)
public boolean equals(Object object)
equals
in class Object
CacheKey.equals(CacheKey)
public boolean equals(CacheId id)
public int compareTo(CacheId id)
compareTo
in interface Comparable<CacheId>
public boolean hasArray()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference