com.semarchy.mdm.runtime.model.dataaccess
Interface IEntityViewMapping


public interface IEntityViewMapping


Method Summary
 IDataAccessModel getDataAccessModel()
           
 IEntity getEntity()
           
 IView getViewByName(String pViewName)
           
 IView getViewByType(String pViewType)
           
 List<IView> getViews()
           
 Set<String> getViewTypes()
           
 

Method Detail

getDataAccessModel

IDataAccessModel getDataAccessModel()
Returns:
the data access model this mapping belongs to

getEntity

IEntity getEntity()
Returns:
the entity on which this mapping is based

getViews

List<IView> getViews()
Returns:
the List of views defined in this mapping

getViewByType

IView getViewByType(String pViewType)
                    throws NoSuchViewException
Parameters:
pViewType -
Returns:
a view given its type
Throws:
NoSuchViewException - if the type does not match any view definition

getViewByName

IView getViewByName(String pViewName)
                    throws NoSuchViewException
Parameters:
pViewName -
Returns:
a view given its Name
Throws:
NoSuchViewException - if the name does not match any view definition

getViewTypes

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


Copyright © 2015. All Rights Reserved.