C# Class EAAddinFramework.Databases.Table

Description of Table.
Inheritance: DatabaseItem, DatabaseFramework.Table
Datei anzeigen Open project: GeertBellekens/Enterprise-Architect-Add-in-Framework Class Usage Examples

Private Properties

Property Type Description
createTraceTaggedValue void
getColumnsFromAttributes void
setTracesToLogicalClasses void

Public Methods

Method Description
Table ( Database owner, Class wrappedClass ) : System
Table ( Database owner, string name ) : System
addColumn ( DatabaseFramework column ) : void
addConstraint ( DatabaseFramework constraint ) : void
createAsNewItem ( DatabaseFramework owner, bool save = true ) : DatabaseFramework.DatabaseItem
delete ( ) : void
getCorrespondingColumn ( Column newColumn, List alreadyMappedColumns ) : Column

gets te columns that corresponds to the given column. If the properties are exactly the same then this column is returned. If not the columns that is based on the same logical attribute is returned.

getCorrespondingForeignKey ( ForeignKey newForeignKey ) : ForeignKey

removeColumn ( DatabaseFramework column ) : void
removeConstraint ( DatabaseFramework constraint ) : void
save ( ) : void

Protected Methods

Method Description
updateDetails ( DatabaseFramework newDatabaseItem ) : void

Private Methods

Method Description
createTraceTaggedValue ( ) : void
getColumnsFromAttributes ( ) : void
setTracesToLogicalClasses ( ) : void

Method Details

Table() public method

public Table ( Database owner, Class wrappedClass ) : System
owner Database
wrappedClass TSF.UmlToolingFramework.Wrappers.EA.Class
return System

Table() public method

public Table ( Database owner, string name ) : System
owner Database
name string
return System

addColumn() public method

public addColumn ( DatabaseFramework column ) : void
column DatabaseFramework
return void

addConstraint() public method

public addConstraint ( DatabaseFramework constraint ) : void
constraint DatabaseFramework
return void

createAsNewItem() public method

public createAsNewItem ( DatabaseFramework owner, bool save = true ) : DatabaseFramework.DatabaseItem
owner DatabaseFramework
save bool
return DatabaseFramework.DatabaseItem

delete() public method

public delete ( ) : void
return void

getCorrespondingColumn() public method

gets te columns that corresponds to the given column. If the properties are exactly the same then this column is returned. If not the columns that is based on the same logical attribute is returned.
public getCorrespondingColumn ( Column newColumn, List alreadyMappedColumns ) : Column
newColumn Column the column to compare to
alreadyMappedColumns List
return Column

getCorrespondingForeignKey() public method

public getCorrespondingForeignKey ( ForeignKey newForeignKey ) : ForeignKey
newForeignKey ForeignKey
return ForeignKey

removeColumn() public method

public removeColumn ( DatabaseFramework column ) : void
column DatabaseFramework
return void

removeConstraint() public method

public removeConstraint ( DatabaseFramework constraint ) : void
constraint DatabaseFramework
return void

save() public method

public save ( ) : void
return void

updateDetails() protected method

protected updateDetails ( DatabaseFramework newDatabaseItem ) : void
newDatabaseItem DatabaseFramework
return void