Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (obj == this) return true;
if (!(obj instanceof AccountHolderPK)) return false;
AccountHolderPK pk = (AccountHolderPK)obj;
if (!lastName.equals(pk.lastName)) return false;
if (!ssn.equals(pk.ssn)) return false;
return true;
|
public java.lang.String | getLastName() return this.lastName;
|
public java.lang.String | getSsn() return ssn;
|
public int | hashCode()
int result = 17;
result = result * 31 + lastName.hashCode();
result = result * 31 + ssn.hashCode();
return result;
|
private void | readObject(java.io.ObjectInputStream ois)
ois.defaultReadObject();
deserialized = true;
|
public void | setLastName(java.lang.String lastName) this.lastName = lastName;
|
public void | setSsn(java.lang.String ssn) this.ssn = ssn;
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer(getClass().getName());
sb.append("[lastName=");
sb.append(lastName);
sb.append(",ssn=");
sb.append(ssn);
sb.append(",deserialized=");
sb.append(deserialized);
sb.append("]");
return sb.toString();
|