summaryrefslogtreecommitdiff
path: root/docs/ForeignKeyClassDiagram.mp
blob: 4bc389098cc0a7ca093838c1f9a552af46499f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
input metauml;
beginfig(1);
    Class.ForeignKeyConstraint("ForeignKeyConstraint")
           ("+name: String",
           	"+parent: Table",
           	"+parentColumns: List<TableColumns>",
           	"+childTable: Table",
           	"+deleteRule: int",
           	"+updateRule: int")
           ("+CompareTo(ForeignKeyConstraint): Boolean");

    drawObjects(ForeignKeyConstraint);
endfig;
end