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.
-
From
- From clause
-
Name
- Name of the IS
-
Select
- Select clause
-
SQLStatement
- Our part of the SQL statement.
-
Where
- Where Clause
-
ISQuery(String, String, String, String)
- Constructor - Merely initializes some values.
-
getFrom()
-
-
getName()
-
-
getSelect()
-
-
getSQLStatement()
-
-
getWhere()
-
Name
private String Name
- Name of the IS
Select
private String Select
- Select clause
From
private String From
- From clause
Where
private String Where
- Where Clause
SQLStatement
private String SQLStatement
- Our part of the SQL statement.
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.
getName
public String getName()
- Returns:
- Name of the Query
getWhere
public String getWhere()
- Returns:
- string containing the select clause for this IS.
getSelect
public String getSelect()
- Returns:
- string containing the project clause for this IS.
getFrom
public String getFrom()
- Returns:
- string containing the join clause for this IS.
getSQLStatement
public String getSQLStatement()
- Returns:
- string containing the SQL Statement for this IS.
All Packages Class Hierarchy This Package Previous Next Index