+
+ @Override
+ public boolean equals(Object obj) {
+ if (obj.getClass() != this.getClass())
+ return false;
+ ItemQuery other = (ItemQuery)obj;
+ if (!type.equals(other.type))
+ return false;
+ return libUri.equals(other.libUri);
+ }
+
+ @Override
+ public int hashCode() {
+ return type.hashCode() + libUri.hashCode();
+ }