/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. */ @Override public boolean equals(Object expression) { if (this == expression) { return true; } if (!super.equals(expression)) { return false; } if ((this.onClause != null) || (((ObjectExpression)expression).onClause != null)) { return false; } return this.shouldUseOuterJoin == ((ObjectExpression)expression).shouldUseOuterJoin; }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. */ @Override public boolean equals(Object expression) { if (this == expression) { return true; } if (!super.equals(expression)) { return false; } if ((this.onClause != null) || (((ObjectExpression)expression).onClause != null)) { return false; } return this.shouldUseOuterJoin == ((ObjectExpression)expression).shouldUseOuterJoin; }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. */ @Override public boolean equals(Object object) { if (this == object) { return true; } if (!super.equals(object)) { return false; } TableExpression expression = (TableExpression) object; return ((this.table == expression.table) || ((this.table != null) && this.table.equals(expression.table))); }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. */ @Override public boolean equals(Object object) { if (this == object) { return true; } if (!super.equals(object)) { return false; } TableExpression expression = (TableExpression) object; return ((this.table == expression.table) || ((this.table != null) && this.table.equals(expression.table))); }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. */ public boolean equals(Object expression) { if (this == expression) { return true; } return super.equals(expression) && (shouldUseOuterJoin() == ((ObjectExpression)expression).shouldUseOuterJoin()); }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. */ public boolean equals(Object object) { if (this == object) { return true; } if (!super.equals(object)) { return false; } TableExpression expression = (TableExpression) object; return ((getTable() == expression.getTable()) || ((getTable() != null) && getTable().equals(expression.getTable()))); }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. * This must be over written by each subclass. */ public boolean equals(Object object) { if (this == object) { return true; } if (!super.equals(object)) { return false; } FieldExpression expression = (FieldExpression)object; return ((getField() == expression.getField()) || ((getField() != null) && getField().equals(expression.getField()))); }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. * This must be over written by each subclass. */ public boolean equals(Object object) { if (this == object) { return true; } if (!super.equals(object)) { return false; } FieldExpression expression = (FieldExpression)object; return ((getField() == expression.getField()) || ((getField() != null) && getField().equals(expression.getField()))); }
/** * INTERNAL: * Return if the expression is equal to the other. * This is used to allow dynamic expression's SQL to be cached. * This must be over written by each subclass. */ public boolean equals(Object object) { if (this == object) { return true; } if (!super.equals(object)) { return false; } FieldExpression expression = (FieldExpression)object; return ((getField() == expression.getField()) || ((getField() != null) && getField().equals(expression.getField()))); }