/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object * @see java.lang.Object#clone() */ public Object clone() { Expression leftCopy = null; if(getLeftExpression() != null) { leftCopy = (Expression) getLeftExpression().clone(); } QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } SubqueryCompareCriteria copy = new SubqueryCompareCriteria(leftCopy, copyCommand, this.getOperator(), this.getPredicateQuantifier()); if (this.subqueryHint != null) { copy.subqueryHint = this.subqueryHint.clone(); } if (this.arrayExpression != null) { copy.arrayExpression = (Expression) this.arrayExpression.clone(); } return copy; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object * @see java.lang.Object#clone() */ public Object clone() { Expression leftCopy = null; if(getLeftExpression() != null) { leftCopy = (Expression) getLeftExpression().clone(); } QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } SubqueryCompareCriteria copy = new SubqueryCompareCriteria(leftCopy, copyCommand, this.getOperator(), this.getPredicateQuantifier()); if (this.subqueryHint != null) { copy.subqueryHint = this.subqueryHint.clone(); } if (this.arrayExpression != null) { copy.arrayExpression = (Expression) this.arrayExpression.clone(); } return copy; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object * @see java.lang.Object#clone() */ public Object clone() { Expression leftCopy = null; if(getLeftExpression() != null) { leftCopy = (Expression) getLeftExpression().clone(); } QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } SubqueryCompareCriteria copy = new SubqueryCompareCriteria(leftCopy, copyCommand, this.getOperator(), this.getPredicateQuantifier()); if (this.subqueryHint != null) { copy.subqueryHint = this.subqueryHint.clone(); } if (this.arrayExpression != null) { copy.arrayExpression = (Expression) this.arrayExpression.clone(); } return copy; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object */ public SubquerySetCriteria clone() { Expression copy = null; if(getExpression() != null) { copy = (Expression) getExpression().clone(); } QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } SubquerySetCriteria criteriaCopy = new SubquerySetCriteria(copy, copyCommand); criteriaCopy.setNegated(isNegated()); criteriaCopy.subqueryHint = this.subqueryHint.clone(); return criteriaCopy; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object */ public SubquerySetCriteria clone() { Expression copy = null; if(getExpression() != null) { copy = (Expression) getExpression().clone(); } QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } SubquerySetCriteria criteriaCopy = new SubquerySetCriteria(copy, copyCommand); criteriaCopy.setNegated(isNegated()); criteriaCopy.subqueryHint = this.subqueryHint.clone(); return criteriaCopy; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object */ public SubquerySetCriteria clone() { Expression copy = null; if(getExpression() != null) { copy = (Expression) getExpression().clone(); } QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } SubquerySetCriteria criteriaCopy = new SubquerySetCriteria(copy, copyCommand); criteriaCopy.setNegated(isNegated()); criteriaCopy.subqueryHint = this.subqueryHint.clone(); return criteriaCopy; }
/** * Returns a safe clone * @see java.lang.Object#clone() */ public Object clone() { QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } ScalarSubquery clone = new ScalarSubquery(copyCommand); //Don't invoke the lazy-loading getType() clone.setType(this.type); clone.shouldEvaluate = this.shouldEvaluate; if (this.subqueryHint != null) { clone.subqueryHint = subqueryHint.clone(); } return clone; }
/** * Returns a safe clone * @see java.lang.Object#clone() */ public Object clone() { QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } ScalarSubquery clone = new ScalarSubquery(copyCommand); //Don't invoke the lazy-loading getType() clone.setType(this.type); clone.shouldEvaluate = this.shouldEvaluate; if (this.subqueryHint != null) { clone.subqueryHint = subqueryHint.clone(); } return clone; }
/** * Returns a safe clone * @see java.lang.Object#clone() */ public Object clone() { QueryCommand copyCommand = null; if(getCommand() != null) { copyCommand = (QueryCommand) getCommand().clone(); } ScalarSubquery clone = new ScalarSubquery(copyCommand); //Don't invoke the lazy-loading getType() clone.setType(this.type); clone.shouldEvaluate = this.shouldEvaluate; if (this.subqueryHint != null) { clone.subqueryHint = subqueryHint.clone(); } return clone; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object * @see java.lang.Object#clone() */ public Object clone() { ExistsCriteria ec = new ExistsCriteria((QueryCommand) this.command.clone()); ec.subqueryHint = this.subqueryHint.clone(); ec.setNegated(this.negated); ec.shouldEvaluate = this.shouldEvaluate; return ec; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object * @see java.lang.Object#clone() */ public Object clone() { ExistsCriteria ec = new ExistsCriteria((QueryCommand) this.command.clone()); ec.subqueryHint = this.subqueryHint.clone(); ec.setNegated(this.negated); ec.shouldEvaluate = this.shouldEvaluate; return ec; }
/** * Deep copy of object. The values Iterator of this object * will not be cloned - it will be null in the new object * (see #setValueIterator setValueIterator}). * @return Deep copy of object * @see java.lang.Object#clone() */ public Object clone() { ExistsCriteria ec = new ExistsCriteria((QueryCommand) this.command.clone()); ec.subqueryHint = this.subqueryHint.clone(); ec.setNegated(this.negated); ec.shouldEvaluate = this.shouldEvaluate; return ec; }