String name = _column.getName();
AmberColumn column = null;
if (_sourceType instanceof EntityType) {
EntityType entityType = (EntityType) _sourceType;
String tableName = _column.getTable();
AmberTable table;
if (tableName.equals("")) {
table = entityType.getTable();
if (table == null)
throw error(_field, L.l("{0} @Column(name='{1}') is an unknown table.",
_fieldName,
name));
}
else {
table = entityType.getSecondaryTable(tableName);
if (table == null)
throw error(_field, L.l("{0} @Column(table='{1}') is an unknown secondary table.",
_fieldName,
tableName));