org.apache.cayenne.wocompat
Class EOSQLQuery

java.lang.Object
  extended by org.apache.cayenne.query.AbstractQuery
      extended by org.apache.cayenne.query.SQLTemplate
          extended by org.apache.cayenne.wocompat.EOSQLQuery
All Implemented Interfaces:
Serializable, ParameterizedQuery, Query, XMLSerializable

public class EOSQLQuery
extends SQLTemplate

A descriptor of SQLTemplate loaded from EOModel. It is an informal "decorator" of Cayenne SQLTemplate to provide access to the extra information of WebObjects EOFetchSpecification.

Since:
1.2
See Also:
Serialized Form

Field Summary
protected  Map plistMap
           
 
Fields inherited from class org.apache.cayenne.query.SQLTemplate
columnNamesCapitalization, defaultTemplate, parameters, result, templates
 
Fields inherited from class org.apache.cayenne.query.AbstractQuery
name, root
 
Constructor Summary
EOSQLQuery(ObjEntity root, Map plistMap)
           
 
Method Summary
protected  void initFromPlist(Map plistMap)
           
 
Methods inherited from class org.apache.cayenne.query.SQLTemplate
addPrefetch, addPrefetches, clearPrefetches, createQuery, createSQLAction, encodeAsXML, getCacheGroups, getCachePolicy, getCacheStrategy, getColumnNamesCapitalization, getCustomTemplate, getDefaultTemplate, getFetchLimit, getFetchOffset, getMetaData, getPageSize, getParameters, getPrefetchTree, getResult, getStatementFetchSize, getTemplate, getTemplateKeys, initWithProperties, isFetchingDataRows, isRefreshingObjects, isResolvingInherited, parametersIterator, parametersSize, queryWithParameters, removePrefetch, removeTemplate, setCacheGroups, setCachePolicy, setCacheStrategy, setColumnNamesCapitalization, setDefaultTemplate, setFetchingDataRows, setFetchLimit, setFetchOffset, setPageSize, setParameters, setRefreshingObjects, setResolvingInherited, setResult, setStatementFetchSize, setTemplate
 
Methods inherited from class org.apache.cayenne.query.AbstractQuery
getName, getRoot, route, setName, setRoot, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cayenne.query.Query
getName, route
 

Field Detail

plistMap

protected Map plistMap
Constructor Detail

EOSQLQuery

public EOSQLQuery(ObjEntity root,
                  Map plistMap)
Method Detail

initFromPlist

protected void initFromPlist(Map plistMap)


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.