/** @return the field that represents the key to this logging table (batch id etc) */ public LogTableField getKeyField() { for (LogTableField field : fields) { if (field.isKey()) { return field; } } return null; }
public boolean containsKeyField() { for (LogTableField field : fields) { if (field.isKey()) { return true; } } return false; }