org.apache.cayenne.remote
Class QueryMessage

java.lang.Object
  extended by 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
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


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