FileDocCategorySizeDatePackage
ShipPK.javaAPI DocExample592Sat Mar 06 07:24:16 GMT 1999com.titan.ship

ShipPK

public class ShipPK extends Object implements Serializable

Fields Summary
public int
id
Constructors Summary
public ShipPK()

public ShipPK(int value)

        id = value;
    
Methods Summary
public booleanequals(java.lang.Object obj)

         if(obj == null || !(obj instanceof ShipPK))
             return false;
         else if(((ShipPK)obj).id == id)
             return true;
         else
             return false;
    
public inthashCode()

       return id;
    
public java.lang.StringtoString()

       return String.valueOf(id);