oracle.dacf.dataset
Class Query
java.lang.Object
|
+--oracle.dacf.dataset.Query
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- QueryClauses, QueryStatementInfo
- public abstract class Query
- extends java.lang.Object
- implements java.lang.Cloneable
Query provides the basic functions of a DAC Query definition. This class
provides methods for getting and setting the query name, getting and setting
the query parameters, and testing for equality. The query can be either
a predefined View Object or a dynamically created query.
This class is subclassed by:
- QueryClauses, which builds a View Object from a SQL statement where
the ORDERBY and WHERE clauses can be get or set.
- QueryStatementInfo, which builds a View Object from an arbitrary
SQL statement.
- Version:
- SDK
- See Also:
QueryStatementInfo
,
QueryClauses
Constructor Summary |
Query()
|
Method Summary |
java.lang.Object |
clone()
|
abstract boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Returns the query name. |
java.lang.Object[] |
getQueryParams()
Returns this query's parameters. |
void |
setName(java.lang.String name)
Sets the query name. |
void |
setQueryParams(java.lang.Object[] nuQueryParams)
Stores this query's parameters. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_DesignTimeHasChanged_
public boolean _DesignTimeHasChanged_
_DEBUG
protected static final boolean _DEBUG
Query
public Query()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
equals
public abstract boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getName
public java.lang.String getName()
- Returns the query name. This can be either the name of a dynamic
query or the name of a predefined View Object.
- Returns:
- the name of the query.
setName
public void setName(java.lang.String name)
- Sets the query name. This can be either the name of a dynamic
query or the name of a predefined View Object.
- Parameters:
name
- the query name.
setQueryParams
public void setQueryParams(java.lang.Object[] nuQueryParams)
- Stores this query's parameters.
- Parameters:
nuQueryParams
- the parameters to be used with this query.- See Also:
getQueryParams()
getQueryParams
public java.lang.Object[] getQueryParams()
- Returns this query's parameters.
- Returns:
- the parameters to be used with this query.
- See Also:
#setQueryParams()