Class CustomerCreditUpdatePreparedStatementSetter

    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static java.math.BigDecimalFIXED_AMOUNT 
      static java.lang.StringQUERY 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidsetValues​(CustomerCredit customerCredit, java.sql.PreparedStatement ps)
      Set parameter values on the given PreparedStatement as determined from the provided item.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FIXED_AMOUNT

        public static final java.math.BigDecimal FIXED_AMOUNT
    • Constructor Detail

      • CustomerCreditUpdatePreparedStatementSetter

        public CustomerCreditUpdatePreparedStatementSetter()
    • Method Detail

      • setValues

        public void setValues​(CustomerCredit customerCredit,
                              java.sql.PreparedStatement ps)
                       throws java.sql.SQLException
        Description copied from interface: ItemPreparedStatementSetter
        Set parameter values on the given PreparedStatement as determined from the provided item.
        Specified by:
        setValues in interface ItemPreparedStatementSetter<CustomerCredit>
        Parameters:
        customerCredit - the item to obtain the values from
        ps - the PreparedStatement to invoke setter methods on
        Throws:
        java.sql.SQLException - if a SQLException is encountered (i.e. there is no need to catch SQLException)