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

SupplierData.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: SupplierData.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 SupplierData implements Serializable {
00025 
00026     private String name;
00027     private int status;
00028     private String city;
00029 
00030     public SupplierData(String name, int status, String city) {
00031 
00032         this.name = name;
00033         this.status = status;
00034         this.city = city;
00035     }
00036 
00037     public final String getName() {
00038 
00039         return name;
00040     }
00041 
00042     public final int getStatus() {
00043 
00044         return status;
00045     }
00046 
00047     public final String getCity() {
00048 
00049         return city;
00050     }
00051 
00052     public String toString() {
00053 
00054         return "[SupplierData: name=" + name +
00055             " status=" + status +
00056             " city=" + city + ']';
00057     }
00058 }

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