public PersonEthnicityTable(Table table) { this.table = (com.netspective.axiom.schema.table.BasicTable) table; this.schema = table.getSchema(); this.accessors = table.getQueryDefinition().getSelects(); crSessIdForeignKey = table.getColumns().get(COLINDEX_CR_SESS_ID).getForeignKey(); recStatIdForeignKey = table.getColumns().get(COLINDEX_REC_STAT_ID).getForeignKey(); personIdForeignKey = (ParentForeignKey) table.getColumns().get(COLINDEX_PERSON_ID).getForeignKey(); ethnicityIdForeignKey = table.getColumns().get(COLINDEX_ETHNICITY_ID).getForeignKey(); }
public PersonIdentifierTable(Table table) { this.table = (com.netspective.axiom.schema.table.BasicTable) table; this.schema = table.getSchema(); this.accessors = table.getQueryDefinition().getSelects(); crSessIdForeignKey = table.getColumns().get(COLINDEX_CR_SESS_ID).getForeignKey(); recStatIdForeignKey = table.getColumns().get(COLINDEX_REC_STAT_ID).getForeignKey(); personIdForeignKey = (ParentForeignKey) table.getColumns().get(COLINDEX_PERSON_ID).getForeignKey(); orgIdForeignKey = table.getColumns().get(COLINDEX_ORG_ID).getForeignKey(); idTypeIdForeignKey = table.getColumns().get(COLINDEX_ID_TYPE_ID).getForeignKey(); sourceTypeIdForeignKey = table.getColumns().get(COLINDEX_SOURCE_TYPE_ID).getForeignKey(); }