return 3;
}
public Object getValueAt(int column, int row) {
if (row < this.getJbsObjects().size()) {
EmployeeNewsEntry newsEntry = (EmployeeNewsEntry)this.getJbsObjects().get(row);
switch (column) {
case 0 :
String sJobGroup = "";
if (newsEntry.getJobGroup()!=null)
sJobGroup = newsEntry.getJobGroup().getName(ClientGlobals.getMainDbLanguage());
return sJobGroup;
case 1 :
String sDate = "";
if (newsEntry.getNewsDate()!=null)
sDate = ClientGlobals.getDateFormat().format(newsEntry.getNewsDate().getTime());
return sDate;
case 2 :
return newsEntry.getHeadline(ClientGlobals.getMainDbLanguage());
default :
return "";
}
} else