com.semarchy.mdm.runtime.model.physical
Interface IPhysicalModel
- All Superinterfaces:
- IDBSchema
public interface IPhysicalModel
- extends IDBSchema
getTables
List<? extends ITable> getTables()
- Specified by:
getTables
in interface IDBSchema
- Returns:
- the list of all tables defined in this physical model
getTable
ITable getTable(String name)
throws NoSuchTableException
- Specified by:
getTable
in interface IDBSchema
- Parameters:
name
-
- Returns:
- a table given its unique name in this model
- Throws:
NoSuchTableException
getIndexes
List<? extends IIndex> getIndexes()
- Specified by:
getIndexes
in interface IDBSchema
- Returns:
- the list of all indexes defined in this physical model
getIndex
IDBIndex getIndex(String pName)
throws NoSuchIndexException
- Specified by:
getIndex
in interface IDBSchema
- Parameters:
pName
-
- Returns:
- an index given its unique name in this model
- Throws:
NoSuchIndexException
getSequences
List<? extends ISequence> getSequences()
- Specified by:
getSequences
in interface IDBSchema
- Returns:
- the list of sequences defined in this model
getSequence
ISequence getSequence(String pName)
throws NoSuchSequenceException
- Specified by:
getSequence
in interface IDBSchema
- Parameters:
pName
-
- Returns:
- a sequence given its unique name
- Throws:
NoSuchSequenceException
getSequence
ISequence getSequence(IEntity pEntity)
- Parameters:
pEntity
-
- Returns:
- the main sequence defined for an entity for Sequence-based SDPK entities
getEntityTableMapping
IEntityTableMapping getEntityTableMapping(IEntity pEntity)
throws NoSuchEntityTableMappingException
- Parameters:
pEntity
- entity
- Returns:
- the entity/table mapping that applies for this entity. The entity table mapping is usually the one tied to the base entity of this entity
- Throws:
NoSuchEntityTableMappingException
- if the entity has not registered any entity mapping in this physical model
getEntityTableMappings
Collection<IEntityTableMapping> getEntityTableMappings()
- Returns:
- the collection of entity table mappings. Note the only mapped entities appear in this list
getMappedEntities
Set<IEntity> getMappedEntities()
- Returns:
- the set of mapped entities in this physical model. Usually, this represents the base entities
getModel
IModel getModel()
- Returns:
- the logical model to which this physical model is tied
getFullDBSchema
IDBSchema getFullDBSchema()
- Returns the IDBSchema including db objects that are static and the one that are related to logical model objects.
- Returns:
Copyright © 2015. All Rights Reserved.