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.remote
Class QueryMessage

    java.lang.Object
      org.apache.cayenne.remote.QueryMessage

All Implemented Interfaces:
  Serializable, ClientMessage

    public class QueryMessage

extends Object
implements ClientMessage

A message passed to a DataChannel to request a query execution with result returned as QueryResponse.

Since:
  1.2
Author:
  Andrus Adamchik
See Also:
  Serialized Form

Field Summary
`protected Query` | `query`

Constructor Summary
`QueryMessage(Query query)`

Method Summary
`Query` | `getQuery()`
`String` | `toString()` Returns a description of the type of message.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### query

    protected Query query

Constructor Detail

### QueryMessage

    public QueryMessage(Query query)

Method Detail

### getQuery

    public Query getQuery()

### toString

    public String toString()

  Returns a description of the type of message. In this case always "Query".

  Overrides:
    `toString` in class `Object`

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.