/** Scans through this mapping class looking for a table whose * name matches the name passed in. * @param name name of the table to find. * @return the meta data table whose name matches the name parameter */ public MappingTableElement getTable (String name) { Iterator tableIterator = getTables().iterator(); while (tableIterator.hasNext()) { MappingTableElement table = (MappingTableElement)tableIterator.next(); if (table.getName().equals(name)) return table; } return null; }
/** Scans through this mapping class looking for a table whose * name matches the name passed in. * @param name name of the table to find. * @return the meta data table whose name matches the name parameter */ public MappingTableElement getTable (String name) { Iterator tableIterator = getTables().iterator(); while (tableIterator.hasNext()) { MappingTableElement table = (MappingTableElement)tableIterator.next(); if (table.getName().equals(name)) return table; } return null; }
ArrayList tables = getTables();
ArrayList tables = getTables();
Collection tables = getTables(); Iterator iterator = null; boolean found = false;
Collection tables = getTables(); Iterator iterator = null; boolean found = false;
parentTable, TableElement table) throws ModelException ArrayList tables = getTables();
parentTable, TableElement table) throws ModelException ArrayList tables = getTables();
ArrayList tables = getTables();
ArrayList tables = getTables();