com.semarchy.mdm.runtime.model.dbschema
Interface IDBSchema

All Known Subinterfaces:
IPhysicalModel

public interface IDBSchema


Method Summary
 boolean containsIndex(String pIndexName)
          REturns true if index is defined in this schema
 boolean containsTable(String name)
           
 IDBIndex getIndex(String pName)
           
 List<? extends IDBIndex> getIndexes()
           
 IDBSequence getSequence(String pName)
           
 List<? extends IDBSequence> getSequences()
           
 IDBSourceCode getSourceCodeObject(String pName, IDBSourceCode.SourceCodeType type)
           
 List<? extends IDBSourceCode> getSourceCodeObjects()
           
 IDBTable getTable(String name)
           
 List<? extends IDBTable> getTables()
           
 

Method Detail

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.