Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class QueryStatementInfo

java.lang.Object
  extended byoracle.dacf.dataset.Query
      extended byoracle.dacf.dataset.QueryStatementInfo
All Implemented Interfaces:
java.lang.Cloneable

public class QueryStatementInfo
extends Query

Creates a view object based on an arbitrary SQL statement.

Version:
SDK

Field Summary
 
Fields inherited from class oracle.dacf.dataset.Query
_DEBUG, _DesignTimeHasChanged_
 
Constructor Summary
protected QueryStatementInfo(java.lang.String name, java.lang.String s)
          Constructs a QueryStatementInfo using a complete SQL statement.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the specified object defines an identical QueryStatementInfo instance.
 java.lang.String getStatement()
          Returns the SQL statement that defines the query.
 void setStatement(java.lang.String statement)
          Sets the SQL statement that defines the query.
 
Methods inherited from class oracle.dacf.dataset.Query
clone, getName, getQueryParams, setName, setQueryParams
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryStatementInfo

protected QueryStatementInfo(java.lang.String name,
                             java.lang.String s)
Constructs a QueryStatementInfo using a complete SQL statement.

Parameters:
s - the SQL statement.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Returns true if the specified object defines an identical QueryStatementInfo instance.

Specified by:
equals in class Query
Returns:
true the objects are identical; false otherwise.

getStatement

public java.lang.String getStatement()
Returns the SQL statement that defines the query.

Returns:
the SQL statement that defines the query.

setStatement

public void setStatement(java.lang.String statement)
Sets the SQL statement that defines the query. This can be an arbitrary statement.


Oracle Data-aware Controls Reference

 

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