|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.query.jdo.JDOQueryDefinitionImpl
public class JDOQueryDefinitionImpl
is a basic implementation of the QueryDefinition interface.
Field Summary | |
---|---|
protected java.lang.Class |
candidateClass
Class of candadate classes. |
protected java.util.Collection |
candidateInstances
Candidate classes or extent for the query. |
protected Extent |
extentClass
|
protected boolean |
fetchIdentifierOnly
|
protected java.lang.String |
filter
Query filter. |
protected java.lang.String |
grouping
|
protected boolean |
ignoreCache
IgnoreCache option. |
protected java.util.List |
importStatements
the import statements is transformed into a simple vector |
protected long |
indexFirst
|
protected long |
indexLast
|
protected java.util.List |
order
|
protected java.lang.String |
parameters
Query parameters and variables declaration |
protected java.lang.String |
result
|
protected java.lang.Class |
resultClass
|
protected short |
type
|
protected boolean |
unique
|
protected java.lang.String |
variables
|
protected boolean |
withPrefetch
|
Fields inherited from interface org.objectweb.speedo.query.api.QueryDefinition |
---|
TYPE_DELETE, TYPE_SELECT, TYPE_UPDATE |
Constructor Summary | |
---|---|
JDOQueryDefinitionImpl()
|
|
JDOQueryDefinitionImpl(JDOQueryDefinitionImpl qd)
|
Method Summary | |
---|---|
void |
defineWith(JDOQueryDefinitionImpl qd)
|
boolean |
equals(java.lang.Object obj)
|
boolean |
fetchIdentifierOnly()
|
java.lang.Class |
getCandidateClass()
|
java.util.Collection |
getCollection()
|
Extent |
getExtent()
|
java.lang.String |
getFilter()
|
java.lang.String |
getGrouping()
|
java.util.List |
getImportStatements()
|
boolean |
getIncludeSubClasses()
|
long |
getIndexFirst()
The application may want to skip some number of results that may have been previously returned, and additionally may want to limit the number of instances returned from a query. |
long |
getIndexLast()
The application may want to skip some number of results that may have been previously returned, and additionally may want to limit the number of instances returned from a query. |
java.util.List |
getOrder()
|
java.lang.String |
getParameters()
|
short |
getQueryType()
|
java.lang.String |
getResult()
|
java.lang.Class |
getResultClass()
|
boolean |
getUnique()
|
java.lang.String |
getVariables()
|
int |
hashCode()
|
boolean |
isCollection()
|
boolean |
isIgnoreCache()
|
java.lang.String |
qdToString(boolean oneLine)
|
static java.lang.String |
queryType2string(short type)
|
java.lang.String |
toString()
|
boolean |
withPrefetch()
|
void |
withPrefetch(boolean withPrefetch)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected short type
protected boolean ignoreCache
protected java.util.Collection candidateInstances
protected Extent extentClass
protected java.lang.Class candidateClass
protected java.lang.String filter
protected java.lang.String parameters
protected java.lang.String variables
protected java.util.List importStatements
protected java.util.List order
protected transient long indexFirst
protected transient long indexLast
protected boolean unique
protected java.lang.String result
protected java.lang.Class resultClass
protected boolean withPrefetch
protected java.lang.String grouping
protected boolean fetchIdentifierOnly
Constructor Detail |
---|
public JDOQueryDefinitionImpl()
public JDOQueryDefinitionImpl(JDOQueryDefinitionImpl qd)
Method Detail |
---|
public static java.lang.String queryType2string(short type)
public void defineWith(JDOQueryDefinitionImpl qd)
public boolean fetchIdentifierOnly()
fetchIdentifierOnly
in interface QueryDefinition
public short getQueryType()
getQueryType
in interface QueryDefinition
public java.lang.Class getCandidateClass()
public boolean isCollection()
public java.util.Collection getCollection()
public java.lang.String getParameters()
public java.lang.String getVariables()
public java.lang.String getFilter()
public Extent getExtent()
public java.util.List getImportStatements()
public boolean isIgnoreCache()
public java.util.List getOrder()
public long getIndexFirst()
QueryDefinition
getIndexFirst
in interface QueryDefinition
public long getIndexLast()
QueryDefinition
getIndexLast
in interface QueryDefinition
public boolean getUnique()
public java.lang.String getResult()
public java.lang.Class getResultClass()
public boolean getIncludeSubClasses()
public java.lang.String getGrouping()
public boolean withPrefetch()
withPrefetch
in interface QueryDefinition
public void withPrefetch(boolean withPrefetch)
withPrefetch
in interface QueryDefinition
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String qdToString(boolean oneLine)
qdToString
in interface QueryDefinition
public int hashCode()
hashCode
in interface QueryDefinition
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface QueryDefinition
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |