Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`protected Map` | `bindings`
`protected Map` | `plistMap`

Fields inherited from class org.apache.cayenne.query.SelectQuery
`customDbAttributes, distinct, DISTINCT_DEFAULT, DISTINCT_PROPERTY, orderings`

Fields inherited from class org.apache.cayenne.query.QualifiedQuery
`qualifier`

Fields inherited from class org.apache.cayenne.query.AbstractQuery
`name, root`

Constructor Summary
`EOQuery(ObjEntity root, Map plistMap)`

Method Summary
`String` | `bindingClass(String name)`
`Collection` | `getBindingNames()`
`String` | `getEOName()`
`protected void` | `initFromPlist(Map plistMap)`
`Expression` | `makeQualifier(Map qualifierMap)` Creates the Expression equivalent of the EOFetchSpecification represented by the Map.

Methods inherited from class org.apache.cayenne.query.SelectQuery
`addCustomDbAttribute, addCustomDbAttributes, addOrdering, addOrdering, addOrdering, addOrderings, addPrefetch, aliasPathSplits, clearOrderings, clearPrefetches, createQuery, createSQLAction, encodeAsXML, getCacheGroups, getCachePolicy, getCacheStrategy, getCustomDbAttributes, getFetchLimit, getMetaData, getOrderings, getPageSize, getPrefetchTree, initWithProperties, isDistinct, isFetchingCustomAttributes, isFetchingDataRows, isRefreshingObjects, isResolvingInherited, queryWithParameters, queryWithParameters, removeOrdering, removePrefetch, route, setCacheGroups, setCachePolicy, setCacheStrategy, setDistinct, setFetchingDataRows, setFetchLimit, setPageSize, setPrefetchTree, setRefreshingObjects, setResolvingInherited`

Methods inherited from class org.apache.cayenne.query.QualifiedQuery
`andQualifier, getQualifier, orQualifier, setQualifier`

Methods inherited from class org.apache.cayenne.query.AbstractQuery
`getName, getRoot, 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`

Field Detail

### plistMap

    protected Map plistMap

### bindings

    protected Map bindings

Constructor Detail

### EOQuery

    public EOQuery(ObjEntity root,
                   Map plistMap)

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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