Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class QueryClauses

java.lang.Object
  extended byoracle.dacf.dataset.Query
      extended byoracle.dacf.dataset.QueryClauses
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
QueryInfo, QueryViewInfo

public abstract class QueryClauses
extends Query

QueryClauses is the abstract base class for defining a query where the WHERE and ORDERBY clauses can be isolated and manipulated. The query can be either a predefined View Object or a dynamically created query. This class is subclassed by:

Version:
SDK
See Also:
QueryInfo, QueryViewInfo

Field Summary
protected  java.lang.String _orderby
           
protected  java.lang.String _where
           
 
Fields inherited from class oracle.dacf.dataset.Query
_DesignTimeHasChanged_
 
Constructor Summary
QueryClauses()
           
 
Method Summary
 java.lang.String getOrderByClause()
          Returns the ORDERBY clause for the query.
 java.lang.String getWhereClause()
          Returns the WHERE clause for the SQL query.
 void setOrderByClause(java.lang.String orderbyClause)
          Sets the ORDERBY clause for the query.
 void setWhereClause(java.lang.String whereClause)
          Sets the WHERE clause for the SQL query.
 
Methods inherited from class oracle.dacf.dataset.Query
clone, equals, getName, getQueryParams, setName, setQueryParams
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_where

protected java.lang.String _where

_orderby

protected java.lang.String _orderby
Constructor Detail

QueryClauses

public QueryClauses()
Method Detail

getWhereClause

public java.lang.String getWhereClause()
Returns the WHERE clause for the SQL query.

Returns:
the WHERE clause for the query.

setWhereClause

public void setWhereClause(java.lang.String whereClause)
Sets the WHERE clause for the SQL query. This can be an arbitrary SQL expression.

Be careful when using this method: this method can change the entire definition of a dynamic query, but is needed to support augmentation of a predefined query.

Parameters:
whereClause - the WHERE clause for the query.

getOrderByClause

public java.lang.String getOrderByClause()
Returns the ORDERBY clause for the query.

Returns:
the ORDERBY clause for the query.

setOrderByClause

public void setOrderByClause(java.lang.String orderbyClause)
Sets the ORDERBY clause for the query. This can be an arbitrary SQL expression.

Parameters:
orderbyClause - the ORDERBY clause for the query.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.