00001
00002
00003
00004
00005
00006
00007
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 }