tp
Class Customer

java.lang.Object
  extended by tp.Customer
All Implemented Interfaces:
Serializable, Comparable<Customer>, Lockable

public class Customer
extends Object
implements Comparable<Customer>, Lockable, Serializable

unique customer identifier

See Also:
Serialized Form

Constructor Summary
Customer()
           
Customer(String s)
           
Customer(UUID xid)
           
 
Method Summary
 int compareTo(Customer other)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Customer

public Customer()

Customer

public Customer(String s)

Customer

public Customer(UUID xid)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Customer other)
Specified by:
compareTo in interface Comparable<Customer>