throw new IllegalStateException("The columnIndex (" + columnIndex + ") is invalid.");
}
}
public Object getValueAt(int rowIndex, int columnIndex) {
ConstraintMatchTotal constraintMatchTotal = constraintMatchTotalList.get(rowIndex);
switch (columnIndex) {
case 0:
return constraintMatchTotal.getConstraintPackage();
case 1:
return constraintMatchTotal.getConstraintName();
case 2:
return constraintMatchTotal.getScoreLevel();
case 3:
return constraintMatchTotal.getConstraintMatchCount();
case 4:
return constraintMatchTotal.getWeightTotalAsNumber();
default:
throw new IllegalStateException("The columnIndex (" + columnIndex + ") is invalid.");
}
}