jsim.jmessage
Class Query

java.lang.Object
  extended by jsim.jmessage.Message
      extended by jsim.jmessage.Query
All Implemented Interfaces:
java.io.Serializable

public class Query
extends Message

The Query class is a JSIM message type encapsulating a SQL query string.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jsim.jmessage.Message
actionType
 
Constructor Summary
Query(java.lang.String actionType, java.lang.String queryStr)
          Constructs a Query message.
 
Method Summary
 java.lang.String getQueryString()
          Returns the query string.
 
Methods inherited from class jsim.jmessage.Message
getActionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query(java.lang.String actionType,
             java.lang.String queryStr)
Constructs a Query message.

Parameters:
actionType - The type of query: "Sequence query" or "Normal query"
Method Detail

getQueryString

public java.lang.String getQueryString()
Returns the query string.

Returns:
String The query string