|
@@ -19,8 +19,18 @@ SimpleClassDiagrams CoreFormalism {
|
|
|
$
|
|
|
}
|
|
|
|
|
|
+ Class Boolean {
|
|
|
+ $
|
|
|
+ if (bool_not(is_physical_bool(self))):
|
|
|
+ return "Boolean has no bool value"!
|
|
|
+ else:
|
|
|
+ return "OK"!
|
|
|
+ $
|
|
|
+ }
|
|
|
+
|
|
|
Class User {
|
|
|
name : String
|
|
|
+ admin : Boolean
|
|
|
}
|
|
|
|
|
|
Class Group {
|
|
@@ -40,11 +50,9 @@ SimpleClassDiagrams CoreFormalism {
|
|
|
location : String
|
|
|
}
|
|
|
|
|
|
- Class ModelTransformation : Transformation {
|
|
|
- }
|
|
|
+ Class ModelTransformation : Transformation {}
|
|
|
|
|
|
- Class ActionLanguage : Transformation {
|
|
|
- }
|
|
|
+ Class ActionLanguage : Transformation {}
|
|
|
}
|
|
|
|
|
|
export CoreFormalism to models/CoreFormalism
|