All Packages Class Hierarchy This Package Previous Next Index
Class SWEEP.SelectList
java.lang.Object
|
+----java.util.Vector
|
+----SWEEP.SelectList
- public class SelectList
- extends Vector
- implements Serializable
Select List is a list of LOCAL Conditions.
It will include a Vector of LOCAL Conditions.
-
LCList
-
-
SelectList()
-
-
addLocalCondition(LocalCondition)
- Add Local Condition to this Select List.
-
dropLocalCondition(LocalCondition)
- Drop Local Condition from this Select List.
-
getSQL()
- Get SQL from SelectList.
-
isConsistent(LocalCondition)
- Check Consistency with LC with LCList.
LCList
Vector LCList
SelectList
public SelectList()
addLocalCondition
public void addLocalCondition(LocalCondition LC) throws Exception
- Add Local Condition to this Select List.
This will do the Consistency checking first then, if consistent, I will add it
in the LocalCondition List. Local Condition must be Unique.
isConsistent
private boolean isConsistent(LocalCondition LC) throws Exception
- Check Consistency with LC with LCList.
dropLocalCondition
public void dropLocalCondition(LocalCondition LC) throws Exception
- Drop Local Condition from this Select List.
The reference of LC must be in the LCList, It will not be delete from the LCList
if they only have same value.
getSQL
public String getSQL()
- Get SQL from SelectList.
E.g. WHERE R.A > 5 AND R.B < 10, sql will be: R.A > 5 AND R.B < 10
All Packages Class Hierarchy This Package Previous Next Index