Adds equality predicate to the condition. If a different predicate already exists
then it is linked with "AND" predicator. Ex: 1) col = input 2) (T1.EMP_ID =
S1.EMP_ID) AND (T1.LAST_NAME = S2.LAST_NAME)
Parameters: newInput - Parameters: col - throws: com.sun.sql.framework.exception.BaseException -
getAttribute
public Attribute getAttribute(String attrName)(Code)
Gets an Attribute based on its name
Parameters: attrName - attribute Name Attribute instance associated with attrName, or null if none exists
Gets the object referenced by a named Attribute, if it exists.
Parameters: attrName - attribute Name Object referenced by Attributed with name attrName, or null if none exists
Get the condition sql text. Tries to construct Sql text from graphic model if the
sql text is null or empty.
Parameters: constructIfEmpty - condition sql text
is this condition a valid condition
true if condition is valid
removeDanglingColumnRef
public void removeDanglingColumnRef(SQLObject column) throws BaseException(Code)
when a table is removed whose column are refered in this condition rhen we need to
remove the column references
Parameters: column - AbstractDBColumn throws: com.sun.sql.framework.exception.BaseException -
Removes equality operator "col = value" from the condition and any reference to it
using "AND" operator.
Parameters: col - Parameters: victim - throws: BaseException -
replaceTargetColumnIsNullPredicate
public void replaceTargetColumnIsNullPredicate() throws BaseException(Code)
Removes the "targetColumn IS NULL" predicate from the target condition. Used when
target table is outer joined with source/table view and SQL being generated for
ANSI satndard FROM clause.
throws: BaseException -
Sets an attribute name-value pair. The name of the Attribute should be one of the
String constants defined in this class.
Parameters: attrName - attribute Name Parameters: val - value of the attribute