public boolean equals(Object obj){
  if (obj instanceof MRfQResponseLineQty) {
    MRfQResponseLineQty cmp=(MRfQResponseLineQty)obj;
    if (!cmp.isValidAmt() || !isValidAmt())     return false;
    BigDecimal cmpNet=cmp.getNetAmt();
    if (cmpNet == null)     return false;
    BigDecimal net=cmp.getNetAmt();
    if (net == null)     return false;
    return cmpNet.compareTo(net) == 0;
  }
  return false;
}

public boolean equals ( Object obj ) { if ( obj instanceof MRfQResponseLineQty ) { MRfQResponseLineQty cmp = ( MRfQResponseLineQty ) obj ; if ( ! cmp . isValidAmt ( ) || ! isValidAmt ( ) ) return false ; BigDecimal cmpNet = cmp . getNetAmt ( ) ; if ( cmpNet == null ) return false ; BigDecimal net = cmp . getNetAmt ( ) ; if ( net == null ) return false ; return cmpNet . compareTo ( net ) == 0 ; } return false ; }
is net amount equal ?
