| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.orm.hibernate.Querier<X>
edu.princeton.wordnet.orm.hibernate.GenericQuery<X>
public class GenericQuery<X>
Generic query
| Field Summary | |
|---|---|
| private static java.io.PrintStream | thePrintStreamPrintstream for SQL statements | 
| private  java.lang.String | theStatementStatement | 
| Constructor Summary | |
|---|---|
| GenericQuery(java.lang.String thisStatement)Constructor | |
| Method Summary | |
|---|---|
|  java.util.Collection<X> | getThings()Get things | 
| protected  org.hibernate.Query | make(org.hibernate.Session thisSession)Make Hibernate query | 
| static void | setPrintStream(java.io.PrintStream thisPrintStream)Set print stream | 
| Methods inherited from class edu.princeton.wordnet.orm.hibernate.Querier | 
|---|
| run, runXml | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private final java.lang.String theStatement
private static java.io.PrintStream thePrintStream
| Constructor Detail | 
|---|
public GenericQuery(java.lang.String thisStatement)
thisStatement - statement| Method Detail | 
|---|
protected org.hibernate.Query make(org.hibernate.Session thisSession)
Querier
make in class Querier<X>thisSession - Hibernate session
public java.util.Collection<X> getThings()
                                  throws java.lang.Exception
java.lang.Exceptionpublic static void setPrintStream(java.io.PrintStream thisPrintStream)
thisPrintStream - printstream to set| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||