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:47 bostic Exp $
00008  */
00009 
00010 package collections.ship.tuple;
00011 
00012 import java.io.Serializable;
00013 
00025 public class SupplierData implements Serializable {
00026 
00027     private String name;
00028     private int status;
00029     private String city;
00030 
00031     public SupplierData(String name, int status, String city) {
00032 
00033         this.name = name;
00034         this.status = status;
00035         this.city = city;
00036     }
00037 
00038     public final String getName() {
00039 
00040         return name;
00041     }
00042 
00043     public final int getStatus() {
00044 
00045         return status;
00046     }
00047 
00048     public final String getCity() {
00049 
00050         return city;
00051     }
00052 
00053     public String toString() {
00054 
00055         return "[SupplierData: name=" + name +
00056             " status=" + status +
00057             " city=" + city + ']';
00058     }
00059 }

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