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

ShipmentData.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: ShipmentData.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 
00024 public class ShipmentData implements Serializable {
00025 
00026     private int quantity;
00027 
00028     public ShipmentData(int quantity) {
00029 
00030         this.quantity = quantity;
00031     }
00032 
00033     public final int getQuantity() {
00034 
00035         return quantity;
00036     }
00037 
00038     public String toString() {
00039 
00040         return "[ShipmentData: quantity=" + quantity + ']';
00041     }
00042 }

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