|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.hibernate.objectstore.metamodel.criteria.HibernateInstancesCriteria
public abstract class HibernateInstancesCriteria
Superclass of all InstancesCriteria which use Hibernate to access the database.
| Field Summary | |
|---|---|
static int |
LIST
|
static int |
UNIQUE_RESULT
|
| Constructor Summary | |
|---|---|
protected |
HibernateInstancesCriteria()
provided for serialization purposes only. |
|
HibernateInstancesCriteria(java.lang.Class<?> type,
int resultType)
|
| Method Summary | |
|---|---|
protected java.lang.Class<?> |
getCls()
|
abstract java.util.List<?> |
getResults()
Return the results of executing the Hibernate query. |
int |
getResultType()
|
NakedObjectSpecification |
getSpecification()
|
boolean |
includeSubclasses()
Not required as this will be in the Hibernate query/criteria |
boolean |
matches(NakedObject object)
Not required as this will be decided by the Hibernate query/criteria |
abstract void |
setSession(org.hibernate.Session session)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LIST
public static final int UNIQUE_RESULT
| Constructor Detail |
|---|
public HibernateInstancesCriteria(java.lang.Class<?> type,
int resultType)
protected HibernateInstancesCriteria()
| Method Detail |
|---|
public NakedObjectSpecification getSpecification()
getSpecification in interface PersistenceQuerypublic boolean includeSubclasses()
public boolean matches(NakedObject object)
public abstract java.util.List<?> getResults()
public abstract void setSession(org.hibernate.Session session)
public int getResultType()
protected java.lang.Class<?> getCls()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||