All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class DSRG.MW.ISQuery

java.lang.Object
   |
   +----DSRG.MW.ISQuery

public class ISQuery
extends Object
Class that encapsulates data we need to create and manipulate SQL queries on.


Variable Index

 o From
From clause
 o Name
Name of the IS
 o Select
Select clause
 o SQLStatement
Our part of the SQL statement.
 o Where
Where Clause

Constructor Index

 o ISQuery(String, String, String, String)
Constructor - Merely initializes some values.

Method Index

 o getFrom()
 o getName()
 o getSelect()
 o getSQLStatement()
 o getWhere()

Variables

 o Name
 private String Name
Name of the IS

 o Select
 private String Select
Select clause

 o From
 private String From
From clause

 o Where
 private String Where
Where Clause

 o SQLStatement
 private String SQLStatement
Our part of the SQL statement.

Constructors

 o ISQuery
 public ISQuery(String ISname,
                String sel,
                String frm,
                String whr)
Constructor - Merely initializes some values.

Parameters:
name - The name of this particular IS
sqlstatement - An sql statement that deals only with this IS.

Methods

 o getName
 public String getName()
Returns:
Name of the Query
 o getWhere
 public String getWhere()
Returns:
string containing the select clause for this IS.
 o getSelect
 public String getSelect()
Returns:
string containing the project clause for this IS.
 o getFrom
 public String getFrom()
Returns:
string containing the join clause for this IS.
 o getSQLStatement
 public String getSQLStatement()
Returns:
string containing the SQL Statement for this IS.

All Packages  Class Hierarchy  This Package  Previous  Next  Index