oracle.dacf.dataset
Class QueryStatementInfo
java.lang.Object
|
+--oracle.dacf.dataset.Query
|
+--oracle.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
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 java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryStatementInfo
protected QueryStatementInfo(java.lang.String name,
java.lang.String s)
- Constructs a QueryStatementInfo using a complete SQL statement.
- Parameters:
s
- the SQL statement.
equals
public boolean equals(java.lang.Object obj)
- Returns true if the specified object defines an identical
QueryStatementInfo instance.
- Overrides:
equals
in class Query
- Parameters:
the
- object you want to compare.- 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.
- Parameters:
statment
- the SQL statement that defines the query.