|
|
@ -33,11 +33,6 @@ public final class VehicleIdentificationNumber {
|
|
|
|
this.vin = vin;
|
|
|
|
this.vin = vin;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public int hashCode() {
|
|
|
|
|
|
|
|
return this.vin.hashCode();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (obj == this) {
|
|
|
|
if (obj == this) {
|
|
|
@ -49,6 +44,11 @@ public final class VehicleIdentificationNumber {
|
|
|
|
return this.vin.equals(((VehicleIdentificationNumber) obj).vin);
|
|
|
|
return this.vin.equals(((VehicleIdentificationNumber) obj).vin);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public int hashCode() {
|
|
|
|
|
|
|
|
return this.vin.hashCode();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
public String toString() {
|
|
|
|
return this.vin;
|
|
|
|
return this.vin;
|
|
|
|