protected void addUnmappedFieldToMain(DatabaseField field, Info info) { for (int operation = INSERT; operation <= UPDATE; operation++) { if (info.is(operation)) { addFieldToMain(operation, UNMAPPED, field); addFieldToMain(operation, ALL, field); } } }
protected void addMappedFieldToMain(DatabaseField field, Info info) { for (int operation = INSERT; operation <= UPDATE; operation++) { for (int state = RETURN_ONLY; state <= WRITE_RETURN; state++) { if (info.is(operation, state)) { addFieldToMain(operation, state, field); addFieldToMain(operation, MAPPED, field); addFieldToMain(operation, ALL, field); } } } }