@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof MultipleElementSymbol)) { return false; } MultipleElementSymbol other = (MultipleElementSymbol)obj; return EquivalenceUtil.areEqual(this.group, other.group); }
public boolean equals(Object obj) { if(obj == this) { return true; } else if(obj == null || !(obj instanceof RequestID)) { return false; } RequestID other = (RequestID)obj; return this.executionID == other.executionID && EquivalenceUtil.areEqual(this.connectionID, other.connectionID); }
public boolean equals(Object obj) { if(obj == this) { return true; } else if(obj == null || !(obj instanceof RequestID)) { return false; } RequestID other = (RequestID)obj; return this.executionID == other.executionID && EquivalenceUtil.areEqual(this.connectionID, other.connectionID); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof TableFunctionReference)) { return false; } TableFunctionReference other = (TableFunctionReference)obj; return EquivalenceUtil.areEqual(symbol, other.symbol); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof DerivedColumn)) { return false; } DerivedColumn other = (DerivedColumn)obj; return EquivalenceUtil.areEqual(alias, other.alias) && this.expression.equals(other.expression); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof DerivedColumn)) { return false; } DerivedColumn other = (DerivedColumn)obj; return EquivalenceUtil.areEqual(alias, other.alias) && this.expression.equals(other.expression); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof DerivedColumn)) { return false; } DerivedColumn other = (DerivedColumn)obj; return EquivalenceUtil.areEqual(alias, other.alias) && this.expression.equals(other.expression); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!super.equals(obj) || !(obj instanceof ObjectColumn)) { return false; } ObjectColumn other = (ObjectColumn)obj; return EquivalenceUtil.areEqual(this.path, other.path) && EquivalenceUtil.areEqual(this.defaultExpression, other.defaultExpression); }
public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof XMLElement)) { return false; } XMLElement other = (XMLElement)obj; return name.equalsIgnoreCase(other.name) && content.equals(other.content) && EquivalenceUtil.areEqual(this.namespaces, other.namespaces); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!super.equals(obj) || !(obj instanceof ArrayTable)) { return false; } ArrayTable other = (ArrayTable)obj; return this.columns.equals(other.columns) && EquivalenceUtil.areEqual(arrayValue, other.arrayValue); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!super.equals(obj) || !(obj instanceof ArrayTable)) { return false; } ArrayTable other = (ArrayTable)obj; return this.columns.equals(other.columns) && EquivalenceUtil.areEqual(arrayValue, other.arrayValue); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!super.equals(obj) || !(obj instanceof ArrayTable)) { return false; } ArrayTable other = (ArrayTable)obj; return this.columns.equals(other.columns) && EquivalenceUtil.areEqual(arrayValue, other.arrayValue); }
private Collection<ElementSymbol> getAllElementsUsed(Command cmd, GroupSymbol group) { Collection<ElementSymbol> elements = ElementCollectorVisitor.getElements(cmd, false, true); for (Iterator<ElementSymbol> iter = elements.iterator(); iter.hasNext();) { ElementSymbol es = iter.next(); if (!EquivalenceUtil.areEqual(group, es.getGroupSymbol())) { iter.remove(); } } return elements; }
@Override public void setLeftExpression(Expression expression) { if (!EquivalenceUtil.areEqual(expression, getLeftExpression())) { throw new TeiidRuntimeException("Attempt to modify immutable object"); //$NON-NLS-1$ } }
@Override public void setRightExpression(Expression expression) { if (!EquivalenceUtil.areEqual(expression, getRightExpression())) { throw new TeiidRuntimeException("Attempt to modify immutable object"); //$NON-NLS-1$ } }
public void setOperator(int operator) { if (!EquivalenceUtil.areEqual(operator, getOperator())) { throw new TeiidRuntimeException("Attempt to modify immutable object"); //$NON-NLS-1$ } };
public void setOperator(int operator) { if (!EquivalenceUtil.areEqual(operator, getOperator())) { throw new TeiidRuntimeException("Attempt to modify immutable object"); //$NON-NLS-1$ } };
public boolean equals(Object obj) { if(obj == this) { return true; } if(! (obj instanceof ExecutionContext)) { return false; } ExecutionContext other = (ExecutionContext) obj; return EquivalenceUtil.areEqual(this.getRequestId(), other.getRequestId()) && EquivalenceUtil.areEqual(this.getPartIdentifier(), other.getPartIdentifier()); }