org.eclipse.wst.rdb.internal.models.sql.schema.helper
Class SchemaHelper

java.lang.Object
  |
  +--org.eclipse.wst.rdb.internal.models.sql.schema.helper.SchemaHelper

public class SchemaHelper
extends java.lang.Object

Author:
ckadner Helper to provide convenience methods that are related to com.ibm.db.models.sql.schema.Schema.

Constructor Summary
SchemaHelper()
           
 
Method Summary
static Table findTable(Schema schema, java.lang.String tableName)
          Finds a Table by its name in a given Schema, the given tableName is not case sensitive.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaHelper

public SchemaHelper()
Method Detail

findTable

public static Table findTable(Schema schema,
                              java.lang.String tableName)
Finds a Table by its name in a given Schema, the given tableName is not case sensitive. Look at DatabaseHelper.findSchema(Database, String) to see how the Schema can be found in a Database.
Parameters:
schema - the Schema to find a Table in
tableName - the String name of the Table to find
Returns:
the Table found or null
Throws:
NullPointerException - if given schema or given tableName is null