Package com.ads.api.beans.sm
Class SMSchema
java.lang.Object
com.ads.api.beans.sm.SMSchema
This class provides some beans control methods related to Schema, and its related Audit History Details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds Table as specified in SMTable Object.voidAdds the SMTable Object for the specified tableName.Returns the list of SMTable objects.getComponent(String tableName) Returns the SMTable Object for the specified tableName.Returns the list of SMTable objects.getSynonym(String tableName) Returns the SMTable Object for the specified tableName.Returns the list of SMTable objects of type SYNONYM.Returns the SMTable Object for the specified tableName.getTable(String tableName, SMTable.SMTableType tableType) Returns the SMTable Object for the specified tableName.Returns the list of SMTable objects.Returns the SMTable Object for the specified tableName.getViews()Returns the list of SMTable objects of type VIEW.voidsetEnvironment(SMEnvironment environment) Method sets the environment object as specified.voidsetSchemaName(String schemaName) Method sets the schemaName as specified.toString()
-
Constructor Details
-
SMSchema
public SMSchema() -
SMSchema
-
-
Method Details
-
addTable
Adds Table as specified in SMTable Object.- Parameters:
table- SMTable
-
addTable
Adds the SMTable Object for the specified tableName.- Parameters:
table- SMTablename- String
-
getAllTables
Returns the list of SMTable objects.- Returns:
- SMTable objects Collection
-
getEntities
Returns the list of SMTable objects.- Returns:
- SMTable objects Collection
-
getTables
Returns the list of SMTable objects.- Returns:
- SMTable objects Collection
-
getViews
Returns the list of SMTable objects of type VIEW.- Returns:
- SMTable objects Collection
-
getSynonyms
Returns the list of SMTable objects of type SYNONYM.- Returns:
- SMTable objects Collection
-
getSchemaName
- Returns:
- the schemaName
-
setSchemaName
Method sets the schemaName as specified.- Parameters:
schemaName- the schemaName to set
-
getTable
Returns the SMTable Object for the specified tableName.- Parameters:
tableName- String- Returns:
- SMTable
-
getView
Returns the SMTable Object for the specified tableName.- Parameters:
tableName- String- Returns:
- SMTable
-
getSynonym
Returns the SMTable Object for the specified tableName.- Parameters:
tableName- String- Returns:
- SMTable
-
getComponent
Returns the SMTable Object for the specified tableName.- Parameters:
tableName- String- Returns:
- SMTable
-
getTable
Returns the SMTable Object for the specified tableName.- Parameters:
tableName- String- Returns:
- SMTable
-
getEnvironment
- Returns:
- the environment
-
setEnvironment
Method sets the environment object as specified.- Parameters:
environment- the environment to set
-
toString
-