public class SMSchema
extends java.lang.Object
Constructor and Description |
---|
SMSchema() |
SMSchema(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addTable(SMTable table)
Adds Table as specified in DBTable Object.
|
void |
addTable(java.lang.String name,
SMTable table) |
java.util.Collection<SMTable> |
getAllTables() |
java.util.Collection<SMTable> |
getEntities(SMTable.SMTableType type) |
SMEnvironment |
getEnvironment() |
java.lang.String |
getSchemaName() |
java.util.Collection<SMTable> |
getSynonyms() |
SMTable |
getTable(java.lang.String tableName)
Returns the DBTable Object for the specified TableType and tableName.
|
java.util.Collection<SMTable> |
getTables() |
java.util.Collection<SMTable> |
getViews() |
void |
setEnvironment(SMEnvironment environment) |
void |
setSchemaName(java.lang.String schemaName) |
public void addTable(SMTable table)
table
- DBTablepublic void addTable(java.lang.String name, SMTable table)
public java.util.Collection<SMTable> getAllTables()
public java.util.Collection<SMTable> getEntities(SMTable.SMTableType type)
public java.util.Collection<SMTable> getTables()
public java.util.Collection<SMTable> getViews()
public java.util.Collection<SMTable> getSynonyms()
public java.lang.String getSchemaName()
public void setSchemaName(java.lang.String schemaName)
schemaName
- the schemaName to setpublic SMTable getTable(java.lang.String tableName)
type
- DBTabletableName
- Stringpublic SMEnvironment getEnvironment()
public void setEnvironment(SMEnvironment environment)
environment
- the environment to set