|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.modelbase.sql.schema.helper.SchemaHelper
public class SchemaHelper
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. |
static java.util.List |
getTables(Schema schema)
Retrieves all persistent tables in a given Schema. |
static java.util.List |
getViews(Schema schema)
Retrieves all views in a given Schema. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaHelper()
| Method Detail |
|---|
public static Table findTable(Schema schema,
java.lang.String tableName)
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.
schema - the Schema to find a Table intableName - the String name of the Table to find
Table found or null
java.lang.NullPointerException - if given schema or given
tableName is nullpublic static java.util.List getTables(Schema schema)
public static java.util.List getViews(Schema schema)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||