return 9;
}
public Object getValueAt(int column, int row) {
if (row < getJbsObjects().size()) {
PaymentTerm paymentTerm = (PaymentTerm) getJbsObjects().get(row);
//logger.debug(article.getUserNo());
switch (column) {
case 0:
return paymentTerm.getDays1();
case 1:
return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount1()) + " %";
case 2:
return paymentTerm.getDays2();
case 3:
return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount2()) + " %";
case 4:
return paymentTerm.getDays3();
case 5:
return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount3()) + " %";
case 6:
return paymentTerm.getDays4();
case 7:
return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount4()) + " %";
case 8:
String text = paymentTerm.getText(ClientGlobals.getMainDbLanguage());
if (text == null) {
text = "";
}
if (text.length() > 25) {
text = text.substring(0, 25) + "...";