public abstract class CacheKey extends Object
MetaParams| Constructor and Description |
|---|
CacheKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Has the two objects the same PK values ?
|
abstract Class |
getType()
OrmUjo class
|
abstract Object |
getValue(int index)
Returns a PK on the selected index.
|
int |
hashCode()
Returns hash code
|
static CacheKey |
newInstance(Class type,
Object... pks)
Constructor for many keys
|
static CacheKey |
newInstance(Class type,
Object pk)
Constructor for one keyk
|
static CacheKey |
newInstance(OrmUjo bo,
MetaPKey pkey)
Constructor for the OrmUjo
|
abstract int |
size()
Count of PKs
|
public abstract int size()
public abstract Object getValue(int index)
public abstract Class getType()
public boolean equals(Object obj)
Copyright 2013, Pavel Ponec