00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package collections.ship.sentity;
00011
00012 import java.io.Serializable;
00013
00032 public class Supplier implements Serializable {
00033
00034 private transient String number;
00035 private String name;
00036 private int status;
00037 private String city;
00038
00039 public Supplier(String number, String name, int status, String city) {
00040
00041 this.number = number;
00042 this.name = name;
00043 this.status = status;
00044 this.city = city;
00045 }
00046
00051 void setKey(String number) {
00052
00053 this.number = number;
00054 }
00055
00056 public final String getNumber() {
00057
00058 return number;
00059 }
00060
00061 public final String getName() {
00062
00063 return name;
00064 }
00065
00066 public final int getStatus() {
00067
00068 return status;
00069 }
00070
00071 public final String getCity() {
00072
00073 return city;
00074 }
00075
00076 public String toString() {
00077
00078 return "[Supplier: number=" + number +
00079 " name=" + name +
00080 " status=" + status +
00081 " city=" + city + ']';
00082 }
00083 }