2=0;
this . rate3=0;
this . rate4=0;
this . rate5=0;
}
public String getId () {
return id;
}
public Item getPair () {
return pair;
}
public void setPair (Item pair) {
this . pair=pair;
}
public boolean hasPair () {
return pair! = null ;
}
/**
* @ return the volume
*/
public int getVolume () {
return volume;
}
/**
* @ return the weight
*/
public int getWeight () {
return weight;
}
/**
* @ return the rate1
*/
public int getRate1 () {
return rate1;
}
/**
* @ return the rate2
*/
public int getRate2 () {
return rate2;
}
/**
* @ return the rate3
*/
public int getRate3 () {
return rate3;
}
/**
* @ return the rate4
*/
public int getRate4 () {
return rate4;
}
/**
* @ return the rate5
*/
public int getRate5 () {
return rate5;
}
/**
* @ param volume the volume to set
*/
public void setVolume ( int volume) {
this . volume=volume;
}
/**
* @ param weight the weight to set
*/
public void setWeight ( int weight) {
this . weight=weight;
}
/**
* @ param rate1 the rate1 to set
*/
public void setRate1 ( int rate1) {
this . rate1=rate1;
}
/**
* @ param rate2 the rate2 to set
*/
public void setRate2 ( int rate2) {
this . rate2=rate2;
}
/**
* @ param rate3 the rate3 to set
*/
public void setRate3 ( int rate3) {
this . rate3=rate3;
}...