1 package org.simantics.db.layer0.variable;
3 public class VariableX implements VariableOrResource {
5 public final Variable value;
7 public VariableX(Variable value) {
12 public String toString() {
13 return "VariableX " + value;
17 public boolean equals(Object obj) {
20 if(obj == null || obj.getClass() != getClass())
22 VariableX other = (VariableX)obj;
23 return value == null ? other.value == null : value.equals(other.value);
27 public int hashCode() {
28 return 31 * (value == null ? 0 : value.hashCode()) + 13532;