com.ibm.websphere.samples.plantsbywebsphereejb
Class SupplierKey

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebsphereejb.SupplierKey
All Implemented Interfaces:
java.io.Serializable

public class SupplierKey
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 java.lang.String supplierID
           
 
Constructor Summary
SupplierKey()
          Constructs an SupplierKey object.
SupplierKey(java.lang.String supplierID)
          Constructs a newly allocated SupplierKey object that represents the primitive long argument.
 
Method Summary
 boolean equals(java.lang.Object o)
          Determines if the SupplierKey object passed to the method matches this SupplierKey object.
 int hashCode()
          Generates a hash code for this CustomerKey object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supplierID

public java.lang.String supplierID
Constructor Detail

SupplierKey

public SupplierKey()
Constructs an SupplierKey object.


SupplierKey

public SupplierKey(java.lang.String supplierID)
Constructs a newly allocated SupplierKey object that represents the primitive long argument.

Method Detail

equals

public boolean equals(java.lang.Object o)
Determines if the SupplierKey object passed to the method matches this SupplierKey object.

Overrides:
equals in class java.lang.Object
Parameters:
o - java.lang.Object The SupplierKey object to compare to this SupplierKey object.
Returns:
boolean The pass object is either equal to this SupplierKey object (true) or not.

hashCode

public int hashCode()
Generates a hash code for this CustomerKey object.

Overrides:
hashCode in class java.lang.Object
Returns:
int The hash code.