public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Tax)) {
return false;
}
Tax other = (Tax) obj;
if (obj == null) {
return false;
}
if (this == obj) {
return true;
}
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id == null && other.getId() == null) ||
(this.id != null &&
this.id.equals(other.getId()))) &&
((this.name == null && other.getName() == null) ||
(this.name != null &&
this.name.equals(other.getName()))) &&
this.percentage == other.getPercentage();
__equalsCalc = null;
return _equals;
}