org.hibernate.ejb.criteria.expression
Interface BinaryOperatorExpression<T>

All Superinterfaces:
javax.persistence.criteria.Expression<T>, javax.persistence.criteria.Selection<T>, TupleElement<T>
All Known Implementing Classes:
BinaryArithmeticOperation, ComparisonPredicate

public interface BinaryOperatorExpression<T>
extends javax.persistence.criteria.Expression<T>

Contract for operators with two operands.

Author:
Steve Ebersole

Method Summary
 javax.persistence.criteria.Expression<?> getLeftHandOperand()
          Get the left-hand operand.
 javax.persistence.criteria.Expression<?> getRightHandOperand()
          Get the right-hand operand.
 
Methods inherited from interface javax.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
 
Methods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 

Method Detail

getRightHandOperand

javax.persistence.criteria.Expression<?> getRightHandOperand()
Get the right-hand operand.

Returns:
The right-hand operand.

getLeftHandOperand

javax.persistence.criteria.Expression<?> getLeftHandOperand()
Get the left-hand operand.

Returns:
The left-hand operand.


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.