1 package org.simantics.db.layer0.variable;
3 import org.simantics.db.Resource;
5 public class ResourceX implements VariableOrResource {
7 public final Resource value;
9 public ResourceX(Resource value) {
14 public String toString() {
15 return "ResourceX " + value;
19 public boolean equals(Object obj) {
22 if(obj == null || obj.getClass() != getClass())
24 ResourceX other = (ResourceX)obj;
25 return value == null ? other.value == null : value.equals(other.value);
29 public int hashCode() {
30 return 31 * (value == null ? 0 : value.hashCode()) + 13532;