All Packages Class Hierarchy This Package Previous Next Index
Class DSRG.VKB.Condition_Component
java.lang.Object
|
+----DSRG.VKB.View_Component
|
+----DSRG.VKB.Condition_Component
- public class Condition_Component
- extends View_Component
- implements Serializable, Cloneable
Condition View component. It's a part of WHERE clause.
All the condition here, should be sorted in one direction.
It means Left one is attribute, right one could be a number of another attribute
If that is another attribute, it sort in a way that operator is "<" or "<=".
If the operator is "==" or "!=", we sorted in the alphabet order.
-
cond
-
-
Condition_Component()
- Default Construction
-
Condition_Component(Condition)
- Construct a Condition Component from an condition.
-
clone()
- Clone the Condition_Component.
-
getCondition()
- get Condition
-
getRelations()
- Get Relations of this condition components
-
setCondition(Condition)
- Set Condition.
-
toString()
- Display this condition component
cond
Condition cond
Condition_Component
public Condition_Component()
- Default Construction
Condition_Component
public Condition_Component(Condition cd)
- Construct a Condition Component from an condition.
The default parameters are all true.
- Parameters:
- cd - The condition of this component.
setCondition
public void setCondition(Condition c)
- Set Condition. Could be Local_Condition or Join_Condition
getCondition
public Condition getCondition()
- get Condition
toString
public String toString()
- Display this condition component
- Overrides:
- toString in class Object
getRelations
public Vector getRelations()
- Get Relations of this condition components
- Returns:
- A vector of relations, at most two.
clone
public Object clone()
- Clone the Condition_Component.
- Overrides:
- clone in class View_Component
All Packages Class Hierarchy This Package Previous Next Index