com.semarchy.mdm.runtime.model.physical
Interface IEntityTableMapping


public interface IEntityTableMapping

Interface that defines a mapping between an entity and all its physical tables

Author:
skamel

Method Summary
 IEntity getEntity()
           
 ISequence getIDSequence()
          The sequence used to compute this entity IDs: The Golden ID if matching behavior is MatchingBehavior.FUZZY_MATCHING The DataEntry ID for new record if matching behavior is MatchingBehavior.EXACT_ID_MATCHING
 IPhysicalModel getPhysicalModel()
           
 ITable getTable(String pTableType)
           
 Collection<ITable> getTables()
           
 Set<String> getTableTypes()
           
 

Method Detail

getTables

Collection<ITable> getTables()
Returns:
the collection of tables defined in this mapping

getTable

ITable getTable(String pTableType)
                throws NoSuchTableException
Parameters:
pTableType -
Returns:
a table given its type
Throws:
NoSuchTableException - if the type does not match any table definition

getTableTypes

Set<String> getTableTypes()
Returns:
the set of table types defined in this mapping

getEntity

IEntity getEntity()
Returns:
the entity mapped to the set of tables of this mapping

getPhysicalModel

IPhysicalModel getPhysicalModel()

getIDSequence

ISequence getIDSequence()
The sequence used to compute this entity IDs:

Returns:


Copyright © 2015. All Rights Reserved.