Method Summary |
|
public void | addEqualityPredicate(SQLObject input, SQLDBColumn col) Adds equality predicate to the condition. |
public void | addObject(SQLObject newObject) Adds given SQLObject instance to this SQLDefinition. |
public void | addSecondPassSQLObject(SQLObject sqlObj, Element element) Adds SQLObject to list of object references to be resolved in a second pass. |
public Object | clone() |
public Object | cloneSQLObject() |
public SQLObject | createObject(String objTag) Creates a new SQLObject instance of the given type with the given display name -
does not associated the vended SQLObject with this instance. |
public SQLObject | createSQLObject(String className) Creates a new SQLObject instance of the given type with the given display name -
does not associated the vended SQLObject with this instance. |
public boolean | equals(Object obj) |
String | generateId() |
public Collection | getAllObjects() Gets the Collection of active SQLObjects. |
public Attribute | getAttribute(String attrName) |
public Collection | getAttributeNames() |
public Object | getAttributeValue(String attrName) |
public String | getConditionText() |
public String | getConditionText(boolean constructIfEmpty) |
public String | getDisplayName() Gets display name. |
public GUIInfo | getGUIInfo() |
public int | getGuiMode() |
public Collection | getInputCanvasObjectsNotIn(List gg) |
public SQLObject | getObject(String objectId, int type) Gets associated SQLObject instance, if any, with the given object ID. |
public Collection | getObjectsOfType(int type) |
public Object | getParent() Gets parent object, if any, that owns this SQLDefinition instance. |
public Object | getParentObject() |
public List | getParticipatingColumns() |
public SQLPredicate | getRootPredicate() |
SQLObject | getSQLObject(String id) |
public int | hashCode() Overrides default implementation to compute hashcode based on any associated
attributes as well as values of non-transient member variables. |
public boolean | isConditionDefined() |
public boolean | isContainsJavaOperators() Check if a java operator is used in the model. |
boolean | isIdExists(String id) |
public SQLObject | isObjectExist(SQLObject obj) |
public boolean | isValid() |
public void | parseXML(Element xmlElement) Parses the XML content, if any, using the given Element as a source for
reconstituting the member variables and collections of this instance. |
public void | removeAllObjects() |
public void | removeDanglingColumnRef(ColumnRefImpl col) |
public void | removeDanglingColumnRef(SQLObject column) |
public void | removeEqualsPredicate(SQLDBColumn col, SQLObject value) Removes equality operator "col = value" from the condition and any reference to it
using "AND" operator. |
public void | removeObject(SQLObject sqlObj) |
public void | removeObjects(Collection sqlObjs) Removes the given list of objects from SQLCondition collection. |
public void | replaceTargetColumnIsNullPredicate() Removes the "TargetColumn IS NULL" expression from the target condition. |
public void | setAttribute(String attrName, Object val) |
public void | setConditionText(String text) |
public void | setContainsJavaOperators(boolean javaOp) |
public void | setDisplayName(String newName) Sets display name to given value. |
public void | setGuiMode(int mode) |
public void | setParent(Object newParent) Sets parent object, if any, that owns this SQLDefinition instance. |
public void | setParentObject(Object myParent) |
public String | toXMLString(String prefix) Returns the XML representation of collabSegment.
Parameters: prefix - the xml. |
public List | validate() |
public void | visit(SQLVisitor visitor) |