com.sap.portal.unification.hrnpnode
Interface IHRNPOperatorNode

All Superinterfaces:
IHRNPNode

public interface IHRNPOperatorNode
extends IHRNPNode

HRNP Node that is a binary operator. Has right and left operands which are HRNPNodes. For non-binary operators use @see com.sap.portal.unification.hrnpnode.IHRNPMultiOp Title: DQP Project Description: DQP - Distributed Query Parser. Copyright: Copyright (c) 2002 Company: SAP Portals

Version:
1.1

Fields inherited from interface com.sap.portal.unification.hrnpnode.IHRNPNode
DELIMETER_SEPARATOR, DELIMETER_SERVER, OPERATOR_DRAG_AND_RELATE, OPERATOR_FILTER, OPERATOR_OR, RELATION_BRACE_LEFT, RELATION_BRACE_RIGHT
 
Method Summary
 IHRNPNode getLeft()
          Gets a left leaf of this node
 java.lang.String getOp()
           
 java.lang.String getRelation()
          Gets a relation of this node
 IHRNPNode getRight()
          Gets a right leaf of this node
 void setLeft(IHRNPNode left)
          sets the left leaf of a node
 void setOp(java.lang.String op)
          Sets the operator string
 void setRelation(java.lang.String relation)
          Sets a relation of this node
 void setRight(IHRNPNode right)
          Sets a right leaf of this node
 
Methods inherited from interface com.sap.portal.unification.hrnpnode.IHRNPNode
clone, equals, getHRNPLink, print, toString
 

Method Detail

getOp

public java.lang.String getOp()
Returns:
String representation of the operator sign

setOp

public void setOp(java.lang.String op)
Sets the operator string
Parameters:
op - string represantation of the operator.

getLeft

public IHRNPNode getLeft()
Gets a left leaf of this node
Returns:
Left operand of this operator node

setLeft

public void setLeft(IHRNPNode left)
sets the left leaf of a node
Parameters:
left - left operand of this operator node

getRight

public IHRNPNode getRight()
Gets a right leaf of this node
Returns:
Right operand of this operator node

setRight

public void setRight(IHRNPNode right)
Sets a right leaf of this node
Parameters:
right - right operand of this operator node

setRelation

public void setRelation(java.lang.String relation)
Sets a relation of this node
Parameters:
relation - relation of this operator node

getRelation

public java.lang.String getRelation()
Gets a relation of this node
Returns:
Relation of this operator node