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
|
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 |
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