Class DataModelSupportImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.model.DataModelSupportImpl
- All Implemented Interfaces:
DataModelSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntityModelByName(String entityModelName) getEntityModelByTable(String targetTablename) getEntityModelsOfModule(AppModule module) getEntityModelsOfModule(String module) getModulenameOfEntityModel(String entityModelName) Returns the module name of the module that defined the specified entity model.getModulenameOfTargetTable(String targetTable) getModuleOfEntityModel(String entityModelName) getRelationsOfModule(AppModule module) getRelationsOfModule(String module) getRemovedRelationsOfModule(AppModule module) booleanisDefinedInModule(String entityModel, String moduleName)
-
Constructor Details
-
DataModelSupportImpl
-
-
Method Details
-
isDefinedInModule
- Specified by:
isDefinedInModulein interfaceDataModelSupport
-
getAllEntityModels
- Specified by:
getAllEntityModelsin interfaceDataModelSupport
-
getEntityModelsOfModule
- Specified by:
getEntityModelsOfModulein interfaceDataModelSupport
-
getRelationsOfModule
- Specified by:
getRelationsOfModulein interfaceDataModelSupport
-
getRelationsOfModule
- Specified by:
getRelationsOfModulein interfaceDataModelSupport
-
getRemovedRelationsOfModule
- Specified by:
getRemovedRelationsOfModulein interfaceDataModelSupport
-
getEntityModelsOfModule
public Iterator<EntityModel> getEntityModelsOfModule(AppModule module) throws DbRefactoringException - Specified by:
getEntityModelsOfModulein interfaceDataModelSupport- Throws:
DbRefactoringException
-
getModulenameOfEntityModel
Description copied from interface:DataModelSupportReturns the module name of the module that defined the specified entity model.- Specified by:
getModulenameOfEntityModelin interfaceDataModelSupport- Throws:
DbRefactoringException
-
getModuleOfEntityModel
- Specified by:
getModuleOfEntityModelin interfaceDataModelSupport
-
getEntityModelByName
- Specified by:
getEntityModelByNamein interfaceDataModelSupport- Throws:
DbRefactoringException
-
getEntityModelByTable
- Specified by:
getEntityModelByTablein interfaceDataModelSupport
-
getModulenameOfTargetTable
- Specified by:
getModulenameOfTargetTablein interfaceDataModelSupport
-