com.semarchy.mdm.runtime.model.dbschema
Interface IDBSchema
- All Known Subinterfaces:
- IPhysicalModel
public interface IDBSchema
getTables
List<? extends IDBTable> getTables()
- Returns:
- the list of all tables defined in this physical model
getTable
IDBTable getTable(String name)
throws NoSuchTableException
- Parameters:
name
-
- Returns:
- a table given its unique name in this model
- Throws:
NoSuchTableException
containsTable
boolean containsTable(String name)
getIndexes
List<? extends IDBIndex> getIndexes()
- Returns:
- the list of all indexes defined in this physical model
getIndex
IDBIndex getIndex(String pName)
throws NoSuchIndexException
- Parameters:
pName
-
- Returns:
- an index given its unique name in this model
- Throws:
NoSuchIndexException
containsIndex
boolean containsIndex(String pIndexName)
- REturns true if index is defined in this schema
- Parameters:
pIndexName
-
- Returns:
getSequences
List<? extends IDBSequence> getSequences()
- Returns:
- the list of sequences defined in this model
getSequence
IDBSequence getSequence(String pName)
throws NoSuchSequenceException
- Parameters:
pName
-
- Returns:
- a sequence given its unique name
- Throws:
NoSuchSequenceException
getSourceCodeObjects
List<? extends IDBSourceCode> getSourceCodeObjects()
- Returns:
- the list of source code objects
getSourceCodeObject
IDBSourceCode getSourceCodeObject(String pName,
IDBSourceCode.SourceCodeType type)
throws NoSuchSourceCodeException
- Parameters:
pName
-
- Returns:
- a sequence given its unique name
- Throws:
NoSuchSequenceException
NoSuchSourceCodeException
Copyright © 2015. All Rights Reserved.