diff options
| -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 | ||||
| -rwxr-xr-x | bin/uml | 3 |
4 files changed, 23 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 @@ -0,0 +1,3 @@ +#!/bin/sh + +plantuml assignments/1/associative-entity.uml |
