return (int)this.getJbsObjects().size();
}
*/
public Object getValueAt(int column, int row) {
if (row < getJbsObjects().size()) {
Article article = (Article) getJbsObjects().get(row);
ArticlePrice price = null;
if ((column==3) || (column==4))
price = article.getPrice(Calendar.getInstance());
//logger.debug(article.getUserNo());
switch (column) {
case 0:
String userNo = "";
if (article.getUserNo() != null) {
userNo = article.getUserNo();
}
return userNo;
case 1:
String articleName = article.getShortText(ClientGlobals.getMainDbLanguage());
if (articleName == null) {
//TODO change!!
//articleName = "";
articleName = String.valueOf(row);
}
return articleName;
case 2:
String matchCode = "";
if (article.getMatchCode() != null) {
matchCode = article.getMatchCode();
}
return matchCode;
case 3:
String sCostPrice = "";
if (price!=null)