Class com.ibm.ivj.db.uibeans.Query
java.lang.Object
|
+----com.ibm.ivj.db.uibeans.Query
- public class Query
- extends Object
- implements Serializable
Query contains references to a connection alias and a SQL specification. Query
is used to set the query property of a Select bean.
- Version:
- 1.0 06/30/98
Constructor Index
- Query(DatabaseConnection, StatementMetaData)
- Constructs a new Query and sets the connection alias and the SQL specification the
the specified values.
Method Index
- getConnectionAlias()
- Returns the associated com.ibm.db.DatabaseConnection that represents the
connection alias for a Select bean.
- getSQLSpec()
- Returns the associated com.ibm.db.StatementMetaData that represents a SQL
specification for a Select bean.
- setConnectionAlias(DatabaseConnection)
- Associates a com.ibm.db.DatabaseConnection with the Query.
- setSQLSpec(StatementMetaData)
- Associates a com.ibm.db.StatementMetaData with the Query.
Constructors
Query
public Query(DatabaseConnection conAlias,
StatementMetaData sqlSpec)
- Constructs a new Query and sets the connection alias and the SQL specification the
the specified values.
- Parameters:
- conAlias - the connection alias represented by a DatabaseConnection
- sqlSpec - the SQL specification represented by a StatementMetadata
- See Also:
- DatabaseConnection, StatementMetaData
Methods
getConnectionAlias
public DatabaseConnection getConnectionAlias()
- Returns the associated com.ibm.db.DatabaseConnection that represents the
connection alias for a Select bean.
- Returns:
- the associated DatabaseConnection that represents a connection alias
- See Also:
- setConnectionAlias
getSQLSpec
public StatementMetaData getSQLSpec()
- Returns the associated com.ibm.db.StatementMetaData that represents a SQL
specification for a Select bean.
- Returns:
- the associated StatementMetaData that represents a SQL specification
- See Also:
- setSQLSpec
setConnectionAlias
public void setConnectionAlias(DatabaseConnection connectionAlias)
- Associates a com.ibm.db.DatabaseConnection with the Query. A DatabaseConnection
represents a connection alias for a Select bean.
- Parameters:
- connectionAlias - the associated DatabaseConnection
- See Also:
- getConnectionAlias
setSQLSpec
public void setSQLSpec(StatementMetaData SQLspec)
- Associates a com.ibm.db.StatementMetaData with the Query. A StatementMetaData
represents a SQL specification for a Select bean.
- Parameters:
- SQLspec - the associated StatementMetaData
- See Also:
- getSQLspec
