+package com.indexdata.pz2utils4jsf.pazpar2.commands;\r
+\r
+import com.indexdata.pz2utils4jsf.pazpar2.commands.Expression;\r
+\r
+public class Expression {\r
+ \r
+ String leftEntity;\r
+ String operator;\r
+ String rightEntity;\r
+ public Expression (String leftEntity, String operator, String rightEntity) {\r
+ this.leftEntity = leftEntity;\r
+ this.operator = operator;\r
+ this.rightEntity = rightEntity; \r
+ }\r
+ \r
+ public Expression copy() {\r
+ return new Expression(leftEntity,operator,rightEntity);\r
+ }\r
+ \r
+ public String toString() {\r
+ return leftEntity + operator + rightEntity;\r
+ }\r
+ \r
+\r
+}\r