19 package com.mysql.clusterj.jpatest.model;
21 import java.io.Serializable;
49 public boolean equals(Object obj) {
50 if (obj == null || !this.getClass().equals(obj.getClass()))
53 return (this.longpk.equals(o.longpk)
54 && this.intpk == o.intpk
55 && this.stringpk.equals(o.stringpk));
59 public int hashCode() {
60 return stringpk.hashCode() + (int)intpk + longpk.intValue();
66 result.append(
"LongIntStringOid[");
67 result.append(longpk);
71 result.append(stringpk);
73 return result.toString();