@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof RelationType)) return false; RelationType that = (RelationType) o; if (!cloneOnLeftCopy.equals(that.cloneOnLeftCopy)) return false; if (!cloneOnLeftVersion.equals(that.cloneOnLeftVersion)) return false; if (!cloneOnRightCopy.equals(that.cloneOnRightCopy)) return false; if (!cloneOnRightVersion.equals(that.cloneOnRightVersion)) return false; if (!description.equals(that.description)) return false; if (!leftResolver.equals(that.leftResolver)) return false; if (!leftobjectprotected.equals(that.leftobjectprotected)) return false; if (!name.equals(that.name)) return false; if (!rightResolver.equals(that.rightResolver)) return false; if (!rightobjectprotected.equals(that.rightobjectprotected)) return false; return true; }