use of org.apache.cayenne.dbsync.merge.token.MergerToken in project cayenne by apache.
the class MergerTokenTableModel method setValueAt.
public void setValueAt(Object value, int rowIndex, int columnIndex) {
MergerToken token = getToken(rowIndex);
switch(columnIndex) {
case COL_SELECT:
Boolean val = (Boolean) value;
getController().select(token, val.booleanValue());
break;
case COL_DIRECTION:
MergeDirection direction = (MergeDirection) value;
getController().setDirection(token, direction);
break;
}
}
Aggregations