org.apache.cayenne.wocompat
Class EOQuery
java.lang.Object
org.apache.cayenne.query.AbstractQuery
org.apache.cayenne.query.QualifiedQuery
org.apache.cayenne.query.SelectQuery
org.apache.cayenne.wocompat.EOQuery
- All Implemented Interfaces:
- Serializable, ParameterizedQuery, Query, XMLSerializable
public class EOQuery
- extends SelectQuery
A descriptor of SelectQuery loaded from EOModel. It is an informal "decorator" of
Cayenne SelectQuery to provide access to the extra information of WebObjects
EOFetchSpecification.
- Since:
- 1.1
- Author:
- Andrus Adamchik
- See Also:
- Serialized Form
Methods inherited from class org.apache.cayenne.query.SelectQuery |
addCustomDbAttribute, addCustomDbAttributes, addOrdering, addOrdering, addOrdering, addOrderings, addPrefetch, andParentQualifier, clearOrderings, clearPrefetches, createQuery, createSQLAction, encodeAsXML, getCacheGroups, getCachePolicy, getCustomDbAttributes, getFetchLimit, getMetaData, getOrderings, getPageSize, getParentObjEntityName, getParentQualifier, getPrefetchTree, initWithProperties, isDistinct, isFetchingCustomAttributes, isFetchingDataRows, isQualifiedOnParent, isRefreshingObjects, isResolvingInherited, orParentQualifier, queryWithParameters, queryWithParameters, removeOrdering, removePrefetch, route, setCacheGroups, setCachePolicy, setDistinct, setFetchingDataRows, setFetchLimit, setPageSize, setParentObjEntityName, setParentQualifier, setPrefetchTree, setRefreshingObjects, setResolvingInherited |
Methods inherited from interface org.apache.cayenne.query.Query |
getName |
plistMap
protected Map plistMap
bindings
protected Map bindings
EOQuery
public EOQuery(ObjEntity root,
Map plistMap)
initFromPlist
protected void initFromPlist(Map plistMap)
getEOName
public String getEOName()
getBindingNames
public Collection getBindingNames()
bindingClass
public String bindingClass(String name)
makeQualifier
public Expression makeQualifier(Map qualifierMap)
- Creates the Expression equivalent of the EOFetchSpecification represented by the
Map.
- Parameters:
qualifierMap
- - FetchSpecification to translate
- Returns:
- Expression equivalent to FetchSpecification
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.