return false;
}
if (TransferEvent.class != obj.getClass()) {
return false;
}
TransferEvent other = (TransferEvent) obj;
if (this.transferEvent.getEventType() != other.getEventType()) {
return false;
}
if (this.transferEvent.getRequestType() != other.getRequestType()) {
return false;
}
if (this.transferEvent.getWagon() == null) {
if (other.getWagon() != null) {
return false;
}
} else if (!this.transferEvent.getWagon().equals(other.getWagon())) {
return false;
}
if (this.transferEvent.getResource() == null) {
if (other.getResource() != null) {
return false;
}
} else if (!this.transferEvent.getResource().equals(other.getResource())) {
return false;
}
if (this.transferEvent.getException() == null) {
if (other.getException() != null) {
return false;
}
} else if (!this.transferEvent.getException().equals(other.getException())) {
return false;
}
return true;
}