package com.sleepycat.examples.bdb.shipment.entity;
public class Part {
private String number;
private String name;
private String color;
private Weight weight;
private String city;
public Part(String number, String name, String color, Weight weight,
String city) {
this.number = number;
this.name = name;
this.color = color;
this.weight = weight;
this.city = city;
}
public final String getNumber() {
return number;
}
public final String getName() {
return name;
}
public final String getColor() {
return color;
}
public final Weight getWeight() {
return weight;
}
public final String getCity() {
return city;
}
public String toString() {
return "[Part: number=" + number +
" name=" + name +
" color=" + color +
" weight=" + weight +
" city=" + city + ']';
}
}