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

Supplier.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: Supplier.java,v 12.2 2005/06/16 20:22:47 bostic Exp $
00008  */
00009 
00010 package collections.ship.tuple;
00011 
00022 public class Supplier {
00023 
00024     private String number;
00025     private String name;
00026     private int status;
00027     private String city;
00028 
00029     public Supplier(String number, String name, int status, String city) {
00030 
00031         this.number = number;
00032         this.name = name;
00033         this.status = status;
00034         this.city = city;
00035     }
00036 
00037     public final String getNumber() {
00038 
00039         return number;
00040     }
00041 
00042     public final String getName() {
00043 
00044         return name;
00045     }
00046 
00047     public final int getStatus() {
00048 
00049         return status;
00050     }
00051 
00052     public final String getCity() {
00053 
00054         return city;
00055     }
00056 
00057     public String toString() {
00058 
00059         return "[Supplier: number=" + number +
00060                " name=" + name +
00061                " status=" + status +
00062                " city=" + city + ']';
00063     }
00064 }

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