org.glassfish.ha.store.criteria.spi
Class BinaryExpressionNode<T>

java.lang.Object
  extended by org.glassfish.ha.store.criteria.spi.ExpressionNode<T>
      extended by org.glassfish.ha.store.criteria.spi.BinaryExpressionNode<T>
Type Parameters:
T - The type of the expression
All Implemented Interfaces:
Expression<T>
Direct Known Subclasses:
LogicalExpressionNode

public class BinaryExpressionNode<T>
extends ExpressionNode<T>

A class that represents a binary operation.

Author:
Mahesh.Kannan@Sun.Com

Field Summary
 
Fields inherited from class org.glassfish.ha.store.criteria.spi.ExpressionNode
returnType
 
Constructor Summary
BinaryExpressionNode(Opcode opcode, Class<T> returnType, ExpressionNode<T> left)
           
BinaryExpressionNode(Opcode opcode, Class<T> returnType, ExpressionNode<T> left, ExpressionNode<T> right)
           
 
Method Summary
 ExpressionNode<T> getLeft()
           
 ExpressionNode<T> getRight()
           
 
Methods inherited from class org.glassfish.ha.store.criteria.spi.ExpressionNode
getOpcode, getReturnType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryExpressionNode

public BinaryExpressionNode(Opcode opcode,
                            Class<T> returnType,
                            ExpressionNode<T> left)

BinaryExpressionNode

public BinaryExpressionNode(Opcode opcode,
                            Class<T> returnType,
                            ExpressionNode<T> left,
                            ExpressionNode<T> right)
Method Detail

getLeft

public ExpressionNode<T> getLeft()

getRight

public ExpressionNode<T> getRight()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.