C# Class EAAddinFramework.Databases.Table

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

Private Properties

Свойство Type Description
createTraceTaggedValue void
getColumnsFromAttributes void
setTracesToLogicalClasses void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
updateDetails ( DatabaseFramework newDatabaseItem ) : void

Private Methods

Méthode Description
createTraceTaggedValue ( ) : void
getColumnsFromAttributes ( ) : void
setTracesToLogicalClasses ( ) : void

Method Details

Table() public méthode

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

Table() public méthode

public Table ( Database owner, string name ) : System
owner Database
name string
Résultat System

addColumn() public méthode

public addColumn ( DatabaseFramework column ) : void
column DatabaseFramework
Résultat void

addConstraint() public méthode

public addConstraint ( DatabaseFramework constraint ) : void
constraint DatabaseFramework
Résultat void

createAsNewItem() public méthode

public createAsNewItem ( DatabaseFramework owner, bool save = true ) : DatabaseFramework.DatabaseItem
owner DatabaseFramework
save bool
Résultat DatabaseFramework.DatabaseItem

delete() public méthode

public delete ( ) : void
Résultat void

getCorrespondingColumn() public méthode

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
Résultat Column

getCorrespondingForeignKey() public méthode

public getCorrespondingForeignKey ( ForeignKey newForeignKey ) : ForeignKey
newForeignKey ForeignKey
Résultat ForeignKey

removeColumn() public méthode

public removeColumn ( DatabaseFramework column ) : void
column DatabaseFramework
Résultat void

removeConstraint() public méthode

public removeConstraint ( DatabaseFramework constraint ) : void
constraint DatabaseFramework
Résultat void

save() public méthode

public save ( ) : void
Résultat void

updateDetails() protected méthode

protected updateDetails ( DatabaseFramework newDatabaseItem ) : void
newDatabaseItem DatabaseFramework
Résultat void