C# Class EAAddinFramework.Databases.Transformation.DB2.DB2TableTransformer

Description of DB2TableTransformer.
Inheritance: EATableTransformer
Show file Open project: GeertBellekens/Enterprise-Architect-Add-in-Framework Class Usage Examples

Protected Properties

Property Type Description
_columnTransformers List

Private Properties

Property Type Description

Public Methods

Method Description
DB2TableTransformer ( Database database, NameTranslator nameTranslator ) : System

constructor

addRemoteColumnsAndKeys ( ) : void
getDependingAssociationEnds ( ) : List

gets the Class Elements that are needed for this logical element. This means the classes to which this element has an association to with multiplicity of 1..1 or 0..1. We will need these classes because they will create one or more columns in the associated table.

rename ( string newName ) : void
setTableName ( string fixedTableString, int nameCounter ) : void

Protected Methods

Method Description
createTable ( System logicalClasses ) : void
createTable ( TSF.UmlToolingFramework.Wrappers.EA classElement ) : void
transformLogicalAttribute ( TSF.UmlToolingFramework.Wrappers.EA attribute ) : Column

Method Details

DB2TableTransformer() public method

constructor
public DB2TableTransformer ( Database database, NameTranslator nameTranslator ) : System
database EAAddinFramework.Databases.Database the database the table should belong to
nameTranslator NameTranslator the nametranslator
return System

addRemoteColumnsAndKeys() public method

public addRemoteColumnsAndKeys ( ) : void
return void

createTable() protected method

protected createTable ( System logicalClasses ) : void
logicalClasses System
return void

createTable() protected method

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

getDependingAssociationEnds() public method

gets the Class Elements that are needed for this logical element. This means the classes to which this element has an association to with multiplicity of 1..1 or 0..1. We will need these classes because they will create one or more columns in the associated table.
public getDependingAssociationEnds ( ) : List
return List

rename() public method

public rename ( string newName ) : void
newName string
return void

setTableName() public method

public setTableName ( string fixedTableString, int nameCounter ) : void
fixedTableString string
nameCounter int
return void

transformLogicalAttribute() protected method

protected transformLogicalAttribute ( TSF.UmlToolingFramework.Wrappers.EA attribute ) : Column
attribute TSF.UmlToolingFramework.Wrappers.EA
return EAAddinFramework.Databases.Column

Property Details

_columnTransformers protected property

protected List _columnTransformers
return List