com.mizar.uscensus.maftiger
Class FeatnamesPK

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

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

See Also:
Serialized Form

Constructor Summary
FeatnamesPK()
           
FeatnamesPK(java.lang.String linearid, java.lang.Long tlid)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares two FeatnamesPK objects.
 java.lang.String getLinearid()
           
 java.lang.Long getTlid()
           
 int hashCode()
           
 void setLinearid(java.lang.String linearid)
           
 void setTlid(java.lang.Long tlid)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatnamesPK

public FeatnamesPK()

FeatnamesPK

public FeatnamesPK(java.lang.String linearid,
                   java.lang.Long tlid)
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 FeatnamesPK objects.

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

hashCode

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

setLinearid

public void setLinearid(java.lang.String linearid)

getLinearid

public java.lang.String getLinearid()

setTlid

public void setTlid(java.lang.Long tlid)

getTlid

public java.lang.Long getTlid()