com.pow2.dao.datalist
Class Query

java.lang.Object
  extended bycom.pow2.dao.datalist.Query

public class Query
extends Object

Query class

Author:
Luca Fossato

Constructor Summary
Query()
           
 
Method Summary
 String getCondition()
          Gets the condition attribute of the Query object
 String getOrderBy()
          Gets the orderBy attribute of the Query object
 String getQuery()
          Gets the query attribute of the Query object
 void setCondition(String condition)
          Sets the condition attribute of the Query object
 void setOrderBy(String orderBy)
          Sets the orderBy attribute of the Query object
 void setQuery(String query)
          Sets the query attribute of the Query object
 String toString()
          Get the string representation of the Query class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

getQuery

public String getQuery()
Gets the query attribute of the Query object

Returns:
The query value

setQuery

public void setQuery(String query)
Sets the query attribute of the Query object

Parameters:
query - The new query value

setCondition

public void setCondition(String condition)
Sets the condition attribute of the Query object

Parameters:
condition - The new condition value

getCondition

public String getCondition()
Gets the condition attribute of the Query object

Returns:
The condition value

setOrderBy

public void setOrderBy(String orderBy)
Sets the orderBy attribute of the Query object

Parameters:
orderBy - The new orderBy value

getOrderBy

public String getOrderBy()
Gets the orderBy attribute of the Query object

Returns:
The orderBy value

toString

public String toString()
Get the string representation of the Query class.

Returns:
the string representation of the Query class


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.