com.sap.portal.unification.hrnpnode
Interface IHRNPMultiOp

All Superinterfaces:
IHRNPNode

public interface IHRNPMultiOp
extends IHRNPNode

Non-binary operator. String representation of such operator is "(HRNPSource50/HRNPSource)(operator)(HRNPSource50/HRNPSource)[(operator) (HRNPSource50/HRNPSource)[(operator)(HRNPSource50/HRNPSource)...]]" Example: "server:port/system/table/attrib/value&server:port/system/table/attrib/value &server:port/system/table/attrib/value or server:port/system/table/attrib/value&* / * /table/attrib/value (without spaces), where * / * represent the same server:port/system as in the first element. Operators always are from the same kind - there cannot be two different operators in one object, if this is so, exception is thrown. HRNP Tree representation of such HRNPSource50/HRNPSource is an operatornode which leafs are operands.

Version:
1.0

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
 java.lang.String getOp()
          gets a String representation of the operator.
 IHRNPNode[] getOperands()
          gets a Vector of IHRNPSource50/IHRNPSource which are the operands of IHRNPMultiOp
 void nullify()
          Sets all members to be null or 0.
 void setOp(java.lang.String op)
          sets the operator sign.
 void setOperands(IHRNPNode[] vec)
          sets a Vector of IHRNPSource50/IHRNPSource which are the operands of IHRNPMultiOp
 
Methods inherited from interface com.sap.portal.unification.hrnpnode.IHRNPNode
clone, equals, getHRNPLink, print, toString
 

Method Detail

nullify

public void nullify()
Sets all members to be null or 0.

getOp

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

setOp

public void setOp(java.lang.String op)
sets the operator sign.
Parameters:
op - String representation of the operator

getOperands

public IHRNPNode[] getOperands()
gets a Vector of IHRNPSource50/IHRNPSource which are the operands of IHRNPMultiOp
Returns:
operands of this IHRNPMultiOp

setOperands

public void setOperands(IHRNPNode[] vec)
sets a Vector of IHRNPSource50/IHRNPSource which are the operands of IHRNPMultiOp
Parameters:
vec - - operands of this IHRNPMultiOp