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.


Variable Index

 o LCList

Constructor Index

 o SelectList()

Method Index

 o addLocalCondition(LocalCondition)
Add Local Condition to this Select List.
 o dropLocalCondition(LocalCondition)
Drop Local Condition from this Select List.
 o getSQL()
Get SQL from SelectList.
 o isConsistent(LocalCondition)
Check Consistency with LC with LCList.

Variables

 o LCList
 Vector LCList

Constructors

 o SelectList
 public SelectList()

Methods

 o 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.

 o isConsistent
 private boolean isConsistent(LocalCondition LC) throws Exception
Check Consistency with LC with LCList.

 o 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.

 o 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