public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof OrderIdentifier)) {
return false;
}
OrderIdentifier other = (OrderIdentifier) obj;
if (obj == null) {
return false;
}
if (this == obj) {
return true;
}
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.dateNew == null && other.getDateNew() == null) ||
(this.dateNew != null &&
this.dateNew.equals(other.getDateNew()))) &&
((this.documentNo == null && other.getDocumentNo() == null) ||
(this.documentNo != null &&
this.documentNo.equals(other.getDocumentNo())));
__equalsCalc = null;
return _equals;
}