EVEDemo.SWEEP
Class JoinList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--EVEDemo.SWEEP.JoinList

public class JoinList
extends java.util.Vector
implements java.io.Serializable

JoinList Join List will hold all the Relations involved in this view. All the join conditions (Global conditions) of Join Here, the Join conditions must related to the Relaltion in the join list, otherwise, we cannot insert that conditions in our join list.

See Also:
Serialized Form

Field Summary
(package private)  JoinConditionList JCList
           
(package private)  RelationList RList
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData, serialVersionUID
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
JoinList()
           
 
Method Summary
 void addJC(JoinCondition JC)
           
 void addRelation(Relation Ref)
           
private  void dropJC(JoinCondition JC)
           
private  void dropRelation(Relation Ref)
           
 java.lang.String getConditionSQL()
          Get SQL format of JoinConditions back.
 JoinConditionList getJCList()
           
 java.lang.String getSQL()
          Get SQL for this JoinList.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

RList

RelationList RList

JCList

JoinConditionList JCList
Constructor Detail

JoinList

public JoinList()
Method Detail

getJCList

public JoinConditionList getJCList()

addRelation

public void addRelation(Relation Ref)
                 throws java.lang.Exception

dropRelation

private void dropRelation(Relation Ref)
                   throws java.lang.Exception

addJC

public void addJC(JoinCondition JC)
           throws java.lang.Exception

dropJC

private void dropJC(JoinCondition JC)
             throws java.lang.Exception

getSQL

public java.lang.String getSQL()
Get SQL for this JoinList. It will return a relation list seperated by ','. It directly called method: RelationList:getSQL().

getConditionSQL

public java.lang.String getConditionSQL()
Get SQL format of JoinConditions back. E.g. ... WHERE R.A = S.B, S.C = T.D ... , will return R.A = S.B, S.C = T.D It directly called method: JoinConditionList:getSQL()