DSRG.MW
Class ISQuery

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

public class ISQuery
extends java.lang.Object

Class that encapsulates data we need to create and manipulate SQL queries on.


Field Summary
private  java.lang.String From
          From clause
private  java.lang.String Name
          Name of the IS
private  java.lang.String Select
          Select clause
private  java.lang.String SQLStatement
          Our part of the SQL statement.
private  java.lang.String Where
          Where Clause
 
Constructor Summary
ISQuery(java.lang.String ISname, java.lang.String sel, java.lang.String frm, java.lang.String whr)
          Constructor - Merely initializes some values.
 
Method Summary
 java.lang.String getFrom()
           
 java.lang.String getName()
           
 java.lang.String getSelect()
           
 java.lang.String getSQLStatement()
           
 java.lang.String getWhere()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

Name

private java.lang.String Name
Name of the IS

Select

private java.lang.String Select
Select clause

From

private java.lang.String From
From clause

Where

private java.lang.String Where
Where Clause

SQLStatement

private java.lang.String SQLStatement
Our part of the SQL statement.
Constructor Detail

ISQuery

public ISQuery(java.lang.String ISname,
               java.lang.String sel,
               java.lang.String frm,
               java.lang.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.
Method Detail

getName

public java.lang.String getName()
Returns:
Name of the Query

getWhere

public java.lang.String getWhere()
Returns:
string containing the select clause for this IS.

getSelect

public java.lang.String getSelect()
Returns:
string containing the project clause for this IS.

getFrom

public java.lang.String getFrom()
Returns:
string containing the join clause for this IS.

getSQLStatement

public java.lang.String getSQLStatement()
Returns:
string containing the SQL Statement for this IS.