return key;\r
}\r
}\r
- \r
- public void setKey(String key) {\r
- logger.debug("Setting key on demand to: " + key);\r
- this.key = key;\r
- }\r
- \r
+ \r
public String toString () {\r
return pz2commands.toString();\r
}\r
- \r
- public boolean searchEquals(Object otherQueryState) {\r
- if (otherQueryState instanceof QueryState) {\r
- return getCommand("search").equals(((QueryState) otherQueryState).getCommand("search"));\r
- } else {\r
- return false;\r
- }\r
- }\r
- \r
+ \r
public boolean equals (Object otherQueryState) {\r
if (otherQueryState instanceof QueryState) {\r
return this.toString().equals(otherQueryState.toString()); \r