diff --git a/src/main/resources/diagrams/spring-petclinic-with-vademecum.uxf b/src/main/resources/diagrams/spring-petclinic-with-vademecum.uxf index b6ae14310c2..2bf65cd732d 100644 --- a/src/main/resources/diagrams/spring-petclinic-with-vademecum.uxf +++ b/src/main/resources/diagrams/spring-petclinic-with-vademecum.uxf @@ -29,13 +29,13 @@ UMLClass 620 - 250 + 100 280 70 Pet -- -birthDate: LocalDate {Date} +birthDate: Date {Past} @@ -43,7 +43,7 @@ birthDate: LocalDate {Date} UMLClass 100 - 500 + 350 100 40 @@ -54,7 +54,7 @@ birthDate: LocalDate {Date} Relation 700 - 210 + 60 30 60 @@ -65,14 +65,13 @@ birthDate: LocalDate {Date} UMLClass 650 - 160 - 130 - 60 + 20 + 190 + 50 NamedEntity -- -name: String - +name: String {NotEmpty} @@ -80,21 +79,21 @@ name: String UMLClass 250 - 250 + 100 230 90 Visit -- -date: LocalDate {Date} -description: String +date: Date +description: String {NotEmpty} UMLClass 860 - 360 + 210 120 40 @@ -106,21 +105,21 @@ description: String Relation 470 - 270 + 130 170 - 60 + 50 lt=- m1=1 m2=0..n - 150.0;30.0;10.0;30.0 + 150.0;20.0;10.0;20.0 Relation 700 - 210 + 60 380 270 @@ -131,7 +130,7 @@ m2=0..n Relation 770 - 310 + 160 110 90 @@ -142,20 +141,20 @@ m2=0..n UMLClass 1010 - 460 + 310 180 90 Disease -- -description: String +description: String {NotEmpty} Relation 700 - 210 + 60 270 170 @@ -166,7 +165,7 @@ description: String UMLClass 1190 - 580 + 430 100 50 @@ -178,7 +177,7 @@ description: String Relation 700 - 210 + 60 530 390 @@ -189,7 +188,7 @@ description: String UMLClass 350 - 480 + 330 190 60 @@ -202,21 +201,22 @@ description: String UMLClass 390 - 620 + 470 260 80 Treatment -- -description: String -dose: Integer +description: String {NotEmpty} +dose: Integer {Min(1)} +periodicity: String UMLClass 1250 - 670 + 520 100 40 @@ -227,7 +227,7 @@ dose: Integer Relation 700 - 210 + 60 640 480 @@ -238,8 +238,8 @@ dose: Integer Relation 370 - 330 - 60 + 180 + 50 170 lt=-> @@ -251,22 +251,22 @@ m2=1 Relation 190 - 490 + 350 180 - 60 + 50 lt=<- m1=1 m2=0..n - 10.0;30.0;160.0;30.0 + 10.0;20.0;160.0;20.0 Relation 400 - 530 - 60 + 380 + 50 110 lt=- @@ -279,35 +279,35 @@ m2=0..n Relation 640 - 660 + 520 630 - 60 + 50 lt=- m1=0..n m2=0..1 - 10.0;30.0;610.0;30.0 + 10.0;20.0;610.0;20.0 Relation 530 - 480 + 340 500 - 60 + 50 lt=<- m1=1 m2=0..n - 480.0;30.0;10.0;30.0 + 480.0;20.0;10.0;20.0 Relation 1070 - 540 + 390 140 100 @@ -320,22 +320,22 @@ m2=1..n UMLClass - 760 - 580 - 200 + 750 + 430 + 210 80 Prevalence -- -percentage: int -usualSeverity: String +percentage: int {Min(0),Max(100)} +usualSeverity: String {NotEmpty} Relation 950 - 590 + 440 150 60 @@ -347,7 +347,7 @@ usualSeverity: String Relation 870 - 390 + 240 160 120 @@ -361,7 +361,7 @@ develops UMLNote 0 - 720 + 570 490 80 @@ -375,7 +375,7 @@ is compatible with the type of pet of its related visit Relation 190 - 530 + 380 210 210 @@ -387,7 +387,7 @@ fg=red UMLClass 1470 - 660 + 510 140 50 @@ -398,7 +398,7 @@ fg=red Relation 700 - 210 + 60 840 470 @@ -409,22 +409,22 @@ fg=red Relation 1340 - 660 + 520 150 - 60 + 50 lt=-> m1=0..n m2=1 contains - 10.0;30.0;130.0;30.0 + 10.0;20.0;130.0;20.0 Relation 1540 - 670 - 270 + 520 + 240 110 lt=- @@ -438,7 +438,7 @@ with UMLNote 540 - 730 + 580 640 80 @@ -452,7 +452,7 @@ contain incompatible active principles Relation 510 - 690 + 540 140 60