/p>
*/
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;
}
/**
* @ param rate4 the rate4 to set
*/
public void setRate4 ( int rate4) {
this . rate4=rate4;
}
/**
* @ param rate5 the rate5 to set
*/
public void setRate5 ( int rate5) {
this . rate5=rate5;
}
/* (non-Javadoc)
*see java. lang. Object # equals (java. Lang. Object)
*/
@ Override
public boolean equals (Object obj) {
if ( this == obj) {
return true ;
}
if (obj == null ) {
return false ;
}
if (! (obj instanceof Item)) {
return false ;
} other=(Item) obj;
if (rate1...