- Timestamp:
- 02/04/10 21:57:54 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/DataContext.java
r886 r888 65 65 * many situations so if you want to update the schemas, use the 66 66 * refreshSchemas() method. 67 * @throws Meta ModelException67 * @throws MetadataBeansException 68 68 * if an error occurs retrieving the schema model 69 69 */ 70 public Schema[] getSchemas() throws Meta ModelException {70 public Schema[] getSchemas() throws MetadataBeansException { 71 71 String[] schemaNames = getSchemaNames(); 72 72 for (int i = 0; i < schemaNames.length; i++) { … … 83 83 /** 84 84 * @return an array of valid schema names 85 * @throws Meta ModelException85 * @throws MetadataBeansException 86 86 * if an error occurs retrieving the schema model 87 87 */ 88 public String[] getSchemaNames() throws Meta ModelException {88 public String[] getSchemaNames() throws MetadataBeansException { 89 89 if (_schemaNames == null) { 90 90 _schemaNames = _strategy.getSchemaNames(); … … 99 99 * single available schema and in that case this will of course be 100 100 * the schema returned. 101 * @throws Meta ModelException101 * @throws MetadataBeansException 102 102 * if an error occurs retrieving the schema model 103 103 */ 104 public Schema getDefaultSchema() throws Meta ModelException {104 public Schema getDefaultSchema() throws MetadataBeansException { 105 105 Schema result = null; 106 106 String defaultSchemaName = _strategy.getDefaultSchemaName(); … … 133 133 * @return the Schema with the specified name or null if no such schema 134 134 * exists 135 * @throws Meta ModelException135 * @throws MetadataBeansException 136 136 * if an error occurs retrieving the schema model 137 137 */ 138 public Schema getSchemaByName(String name) throws Meta ModelException {138 public Schema getSchemaByName(String name) throws MetadataBeansException { 139 139 Schema schema = _schemas.get(name); 140 140 if (schema != null) { … … 158 158 * the query object to execute 159 159 * @return the dataset produced from executing the query 160 * @throws Meta ModelException160 * @throws MetadataBeansException 161 161 * if the specified query does not make sense or cannot be 162 162 * executed because of restraints on the type of datastore. 163 163 */ 164 public DataSet executeQuery(Query query) throws Meta ModelException {164 public DataSet executeQuery(Query query) throws MetadataBeansException { 165 165 DataSet dataSet = _strategy.executeQuery(query); 166 166 return dataSet;
Note: See TracChangeset
for help on using the changeset viewer.
