|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.orm.ao.CacheKey
public abstract class CacheKey
UJO CacheKey
MetaParams| Constructor Summary | |
|---|---|
CacheKey()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheKey()
| Method Detail |
|---|
public abstract int size()
public abstract Object getValue(int index)
public abstract Class getType()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
public static CacheKey newInstance(OrmUjo bo,
MetaPKey pkey)
public static CacheKey newInstance(Class type,
Object pk)
public static CacheKey newInstance(Class type,
Object... pks)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||