nextgrid.api.pom
Class Query

java.lang.Object
  extended by nextgrid.api.pom.Query
All Implemented Interfaces:
java.io.Serializable

public final class Query
extends java.lang.Object
implements java.io.Serializable

Encapsulates a single query in a specific query language.

Author:
Rodrigo Ruiz
See Also:
QueryProfile, Serialized Form

Constructor Summary
Query(java.lang.String lang, java.lang.String text)
          Creates a new instance.
 
Method Summary
 java.lang.String getLang()
          Gets the language value.
 java.lang.String getText()
          Gets the text value.
 
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 lang,
             java.lang.String text)
Creates a new instance.

Parameters:
lang - The query language identifier
text - The query text
Method Detail

getLang

public java.lang.String getLang()
Gets the language value.

Returns:
The language

getText

public java.lang.String getText()
Gets the text value.

Returns:
The text


Copyright © 2006-2008 Grid Systems, S.A.. All Rights Reserved.