diff options
| author | mo khan <mo.khan@gmail.com> | 2020-01-01 14:27:04 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-01-01 14:27:04 -0700 |
| commit | 58ed506affe32bc7640007285d0c82cf66eba5ef (patch) | |
| tree | e3e543e59569a1c1590ef3df81327facba6ea307 /assignments/1 | |
| parent | 44f1230cdbbf0dbab5763984b416949ee64b5016 (diff) | |
Convert uml to image
Diffstat (limited to 'assignments/1')
| -rw-r--r-- | assignments/1/README.md | 22 | ||||
| -rw-r--r-- | assignments/1/associative-entity.png | bin | 0 -> 10258 bytes | |||
| -rw-r--r-- | assignments/1/associative-entity.uml | 19 |
3 files changed, 20 insertions, 21 deletions
diff --git a/assignments/1/README.md b/assignments/1/README.md index f2e1989..1929ff0 100644 --- a/assignments/1/README.md +++ b/assignments/1/README.md @@ -47,27 +47,7 @@ a. Associative entity > An entity type that associates the instances of one or more entity types and contains attributes that are peculiar to the relationship between those entity instances. Project ||-<- Policy ->-|| SoftwareLicense - ```plantuml - @startuml - entity 'Project' as project { - *id: number - *name: varchar(255) - } - entity 'Policy' as policy { - *id: number - *classification: number - *project_id: number - *software_license_id: number - } - entity 'SoftwareLicense' as license { - *id: number - *spdx_id: varchar(255) - *name: varchar(255) - } - project ||..|{ policy - license ||..|{ policy - @enduml - ``` +  b. Weak entity c. Unary relationship diff --git a/assignments/1/associative-entity.png b/assignments/1/associative-entity.png Binary files differnew file mode 100644 index 0000000..6e62f99 --- /dev/null +++ b/assignments/1/associative-entity.png diff --git a/assignments/1/associative-entity.uml b/assignments/1/associative-entity.uml new file mode 100644 index 0000000..a52a489 --- /dev/null +++ b/assignments/1/associative-entity.uml @@ -0,0 +1,19 @@ +@startuml +entity "Project" as project { + *id: number + *name: varchar(255) +} +entity "Policy" as policy { + *id: number + *classification: number + *project_id: number + *software_license_id: number +} +entity "SoftwareLicense" as license { + *id: number + *spdx_id: varchar(255) + *name: varchar(255) +} +project ||..|{ policy +license ||..|{ policy +@enduml |
