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:42 bostic Exp $
00008  */
00009 
00010 package collections.ship.sentity;
00011 
00021 public class ShipmentKey {
00022 
00023     private String partNumber;
00024     private String supplierNumber;
00025 
00026     public ShipmentKey(String partNumber, String supplierNumber) {
00027 
00028         this.partNumber = partNumber;
00029         this.supplierNumber = supplierNumber;
00030     }
00031 
00032     public final String getPartNumber() {
00033 
00034         return partNumber;
00035     }
00036 
00037     public final String getSupplierNumber() {
00038 
00039         return supplierNumber;
00040     }
00041 
00042     public String toString() {
00043 
00044         return "[ShipmentKey: supplier=" + supplierNumber +
00045             " part=" + partNumber + ']';
00046     }
00047 }

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