Class DataModelSupportImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.model.DataModelSupportImpl
- All Implemented Interfaces:
DataModelSupport
-
Constructor Summary
-
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) boolean
isDefinedInModule
(String entityModel, String moduleName)
-
Constructor Details
-
DataModelSupportImpl
-
-
Method Details
-
isDefinedInModule
- Specified by:
isDefinedInModule
in interfaceDataModelSupport
-
getAllEntityModels
- Specified by:
getAllEntityModels
in interfaceDataModelSupport
-
getEntityModelsOfModule
- Specified by:
getEntityModelsOfModule
in interfaceDataModelSupport
-
getRelationsOfModule
- Specified by:
getRelationsOfModule
in interfaceDataModelSupport
-
getRelationsOfModule
- Specified by:
getRelationsOfModule
in interfaceDataModelSupport
-
getRemovedRelationsOfModule
- Specified by:
getRemovedRelationsOfModule
in interfaceDataModelSupport
-
getEntityModelsOfModule
public Iterator<EntityModel> getEntityModelsOfModule(AppModule module) throws DbRefactoringException - Specified by:
getEntityModelsOfModule
in interfaceDataModelSupport
- Throws:
DbRefactoringException
-
getModulenameOfEntityModel
Description copied from interface:DataModelSupport
Returns the module name of the module that defined the specified entity model.- Specified by:
getModulenameOfEntityModel
in interfaceDataModelSupport
- Throws:
DbRefactoringException
-
getModuleOfEntityModel
- Specified by:
getModuleOfEntityModel
in interfaceDataModelSupport
-
getEntityModelByName
- Specified by:
getEntityModelByName
in interfaceDataModelSupport
- Throws:
DbRefactoringException
-
getEntityModelByTable
- Specified by:
getEntityModelByTable
in interfaceDataModelSupport
-
getModulenameOfTargetTable
- Specified by:
getModulenameOfTargetTable
in interfaceDataModelSupport
-