public class DBSchema
extends java.lang.Object
Constructor and Description |
---|
DBSchema() |
DBSchema(java.lang.String schemaName) |
Modifier and Type | Method and Description |
---|---|
void |
addTable(DBTable table)
Adds Table as specified in DBTable Object.
|
void |
addTableByReferenceId(DBTable table)
Adds Table as specified in DBTable Object.
|
void |
addTables(java.util.Collection<DBTable> values)
Adds the Tables as specified as Collection of DBTable Objects.
|
java.util.HashMap<DBTable.TableType,java.util.List<DBTable>> |
getAllLists()
Returns the List of DBTable.
|
DBEnvironment |
getEnvironment()
Returns the DBEnvironment Object.
|
DBTable |
getObject(java.lang.String objectName) |
java.lang.String |
getSchemaName()
Returns the schemaName.
|
DBTable |
getSynonym(java.lang.String synonymName)
Returns the DBTable Object for the specified synonymName.
|
java.util.HashMap<java.lang.String,DBTable> |
getSynonymMap()
Returns the HashMap of Synonyms.
|
java.util.List<DBTable> |
getSynonyms()
Returns the synonyms.
|
DBTable |
getTable(DBTable.TableType type,
java.lang.String tableName)
Returns the DBTable Object for the specified TableType and tableName.
|
DBTable |
getTable(java.lang.String tableName)
Returns the DBTable object for the specified tableName.
|
java.util.HashMap<java.lang.String,DBTable> |
getTableMap()
Returns the HashMap of hmTables.
|
java.util.List<DBTable> |
getTables()
Returns the List of DBTable Objects.
|
java.util.List<DBTable> |
getTables(DBTable.TableType[] tableTypes)
Returns the List of DBTables
|
DBTable |
getView(java.lang.String viewName)
Returns the DBTable Object for the specified viewName.
|
java.util.HashMap<java.lang.String,DBTable> |
getViewMap()
Returns the HashMap of hmViews.
|
java.util.List<DBTable> |
getViews()
Returns the List of DBTable Object
|
void |
setEnvironment(DBEnvironment dbEnvironment)
Sets the dbEnvironment as specified.
|
void |
setSchemaName(java.lang.String schemaName)
Sets the schemaName as specified.
|
java.lang.String |
toString()
Returns the string representation.
|
public DBSchema()
public DBSchema(java.lang.String schemaName)
schemaName
- public java.util.HashMap<DBTable.TableType,java.util.List<DBTable>> getAllLists()
public java.lang.String getSchemaName()
public void setSchemaName(java.lang.String schemaName)
schemaName
- Stringpublic java.util.HashMap<java.lang.String,DBTable> getTableMap()
public DBTable getTable(java.lang.String tableName)
tableName
- Stringpublic java.util.List<DBTable> getTables()
public java.util.HashMap<java.lang.String,DBTable> getViewMap()
public DBTable getView(java.lang.String viewName)
viewName
- Stringpublic java.util.List<DBTable> getViews()
public java.util.HashMap<java.lang.String,DBTable> getSynonymMap()
public DBTable getSynonym(java.lang.String synonymName)
synonymName
- Stringpublic java.util.List<DBTable> getSynonyms()
public DBTable getTable(DBTable.TableType type, java.lang.String tableName)
type
- DBTabletableName
- Stringpublic void addTable(DBTable table)
table
- DBTablepublic void addTableByReferenceId(DBTable table)
table
- DBTablepublic java.util.List<DBTable> getTables(DBTable.TableType[] tableTypes)
tableTypes
- DBTable Objectpublic void addTables(java.util.Collection<DBTable> values)
values
- Collectionpublic java.lang.String toString()
toString
in class java.lang.Object
public DBEnvironment getEnvironment()
public void setEnvironment(DBEnvironment dbEnvironment)
dbEnvironment
- DBEnvironmentpublic DBTable getObject(java.lang.String objectName)