t3.portfolios
Class Person

java.lang.Object
  extended by t3.portfolios.Person

public class Person
extends java.lang.Object

A data structure class representing a single person. Two instances with identical field data will return true when compared using the .equals() method.

Author:
pjt40

Field Summary
 int clientId
           
 int personId
           
 
Constructor Summary
Person(int clientId, int personId)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

clientId

public final int clientId

personId

public final int personId
Constructor Detail

Person

public Person(int clientId,
              int personId)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object