Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

ShipmentKey.java

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 2002-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: ShipmentKey.java,v 12.2 2005/06/16 20:22:23 bostic Exp $
00008  */
00009 
00010 package collections.ship.basic;
00011 
00012 import java.io.Serializable;
00013 
00023 public class ShipmentKey implements Serializable {
00024 
00025     private String partNumber;
00026     private String supplierNumber;
00027 
00028     public ShipmentKey(String partNumber, String supplierNumber) {
00029 
00030         this.partNumber = partNumber;
00031         this.supplierNumber = supplierNumber;
00032     }
00033 
00034     public final String getPartNumber() {
00035 
00036         return partNumber;
00037     }
00038 
00039     public final String getSupplierNumber() {
00040 
00041         return supplierNumber;
00042     }
00043 
00044     public String toString() {
00045 
00046         return "[ShipmentKey: supplier=" + supplierNumber +
00047             " part=" + partNumber + ']';
00048     }
00049 }

Generated on Sun Dec 25 12:14:27 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2