how i can read tax rate from line level ? i want to read 1.05 that is my tax rate, i want to read this like salesItemEntity.taxamount like

how i can read tax rate from line level ? i want to read 1.05 that is my tax rate, i want to read this like salesItemEntity.taxamount like

SalesItemEntity salesItemEntity = (SalesItemEntity)args[1];

    int intLngth = args.length;       if (intLngth == 2)     {            if (salesItemEntity.getMaterial() != null)         {             BigDecimal dclQty1 = salesItemEntity.getQuantity();             double dblSalesQty = dclQty1.doubleValue();             if (dblSalesQty == 1)             {                 InputDialogInFrame frame = new InputDialogInFrame();                 frame.setAlwaysOnTop(true);                    double AmountWithoutVAT = Double.parseDouble(JOptionPane.showInputDialog(frame,"Item Name : " + salesItemEntity.getDescription() + System.lineSeparator() +"Available Quantity : "  + System.lineSeparator() + "Price With VAT : " + salesItemEntity.getUnitGrossAmount().toString() + System.lineSeparator() + "Price Without VAT : " + salesItemEntity.getUnitNetAmount() + System.lineSeparator() + "Enter New Price Without VAT : ", ""));                       if (Double.toString(AmountWithoutVAT) != "")                     {                         if (salesItemEntity.getNote() != "Done")                         {                             CDBSession dbSession1 = CDBSessionFactory.instance.createSession();                             IReceiptManager rdto = new ReceiptManager(dbSession1);                              double AmountWithVAT = AmountWithoutVAT * 1.05;                               salesItemEntity.setUnitGrossAmount(new BigDecimal(AmountWithVAT));                             salesItemEntity.setUnitPriceChanged(true);                               rdto.calculate(receipt,EntityActions.Update);                              if(!dbSession1.isClosed())                             {                                 dbSession1.closeDBSession();                                 dbSession1.close();                                  dbSession1 = null;                               }                          }                                                }                 salesItemEntity.setNote("Done");             }             }     }  }