C# Class EAAddinFramework.Databases.Transformation.EADatabaseTransformer

Description of EADatabaseTransformer.
Inheritance: EADatabaseItemTransformer, DatabaseFramework.Transformation.DatabaseTransformer
Exibir arquivo Open project: GeertBellekens/Enterprise-Architect-Add-in-Framework

Protected Properties

Property Type Description
_tableTransformers List

Public Methods

Method Description
EADatabaseTransformer ( DatabaseFactory factory, TSF.UmlToolingFramework.Wrappers.EA model, NameTranslator nameTranslator ) : System
getCorrespondingTransformer ( DatabaseFramework item ) : DatabaseFramework.Transformation.DatabaseItemTransformer
refresh ( ) : void
renameItem ( DatabaseFramework item, string newName ) : void
transformLogicalPackage ( TSF.UmlToolingFramework.UML logicalPackage ) : DatabaseFramework.Database

Protected Methods

Method Description
addTable ( TSF.UmlToolingFramework.Wrappers.EA classElement ) : void
createNewDatabase ( ) : void

create the initial database from the logical package

createTables ( ) : void
nameUnnamedTables ( ) : void
removeAbstractTables ( ) : void

abstract tables need to be removed. All foreign keys to these tables have to be replaced by foreign key's to the tables for the subclasses of the logical class

Method Details

EADatabaseTransformer() public method

public EADatabaseTransformer ( DatabaseFactory factory, TSF.UmlToolingFramework.Wrappers.EA model, NameTranslator nameTranslator ) : System
factory EAAddinFramework.Databases.DatabaseFactory
model TSF.UmlToolingFramework.Wrappers.EA
nameTranslator NameTranslator
return System

addTable() protected abstract method

protected abstract addTable ( TSF.UmlToolingFramework.Wrappers.EA classElement ) : void
classElement TSF.UmlToolingFramework.Wrappers.EA
return void

createNewDatabase() protected abstract method

create the initial database from the logical package
protected abstract createNewDatabase ( ) : void
return void

createTables() protected method

protected createTables ( ) : void
return void

getCorrespondingTransformer() public method

public getCorrespondingTransformer ( DatabaseFramework item ) : DatabaseFramework.Transformation.DatabaseItemTransformer
item DatabaseFramework
return DatabaseFramework.Transformation.DatabaseItemTransformer

nameUnnamedTables() protected abstract method

protected abstract nameUnnamedTables ( ) : void
return void

refresh() public method

public refresh ( ) : void
return void

removeAbstractTables() protected abstract method

abstract tables need to be removed. All foreign keys to these tables have to be replaced by foreign key's to the tables for the subclasses of the logical class
protected abstract removeAbstractTables ( ) : void
return void

renameItem() public method

public renameItem ( DatabaseFramework item, string newName ) : void
item DatabaseFramework
newName string
return void

transformLogicalPackage() public method

public transformLogicalPackage ( TSF.UmlToolingFramework.UML logicalPackage ) : DatabaseFramework.Database
logicalPackage TSF.UmlToolingFramework.UML
return DatabaseFramework.Database

Property Details

_tableTransformers protected_oe property

protected List _tableTransformers
return List