throw new IllegalStateException("The columnIndex (" + columnIndex + ") is invalid.");
}
}
public Object getValueAt(int rowIndex, int columnIndex) {
ScoreDetail scoreDetail = scoreDetailList.get(rowIndex);
switch (columnIndex) {
case 0:
return scoreDetail.getRuleId();
case 1:
return scoreDetail.getConstraintType();
case 2:
return scoreDetail.getOccurrenceSize();
case 3:
return scoreDetail.getScoreTotal();
default:
throw new IllegalStateException("The columnIndex (" + columnIndex + ") is invalid.");
}
}