com.mizar.uscensus.maftiger
Class FacesahPK

java.lang.Object
  extended by com.mizar.uscensus.maftiger.FacesahPK
All Implemented Interfaces:
java.io.Serializable

@Embeddable
public class FacesahPK
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
FacesahPK()
           
FacesahPK(java.lang.String hydroid, java.lang.Long tfid)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares two FacesahPK objects.
 java.lang.String getHydroid()
           
 java.lang.Long getTfid()
           
 int hashCode()
           
 void setHydroid(java.lang.String hydroid)
           
 void setTfid(java.lang.Long tfid)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacesahPK

public FacesahPK()

FacesahPK

public FacesahPK(java.lang.String hydroid,
                 java.lang.Long tfid)
Method Detail

toString

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

equals

public boolean equals(java.lang.Object other)
Compares two FacesahPK objects.

Overrides:
equals in class java.lang.Object
Parameters:
other - Object to compare.
Returns:
True with both hydroid and tfid are the same, false otherwise. Will also return false if other is not instance of FacesahPK.

hashCode

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

setHydroid

public void setHydroid(java.lang.String hydroid)

getHydroid

public java.lang.String getHydroid()

setTfid

public void setTfid(java.lang.Long tfid)

getTfid

public java.lang.Long getTfid()