Things to watch

Relationships

These are all the valid relations, if you do not select one above this will be flaged as a loose syntax error and effect the Model Evaluation.

Local Image

Class Properties

Properties should be declared as below:

ClassName
--
-attributeName:attributeType
--
+operationName(paramName: paramType): operationReturnType
--

Like this example:

Student
--
-name:String
-age:Integer
--
+addCoursworkMark(Grade: Real): Boolean
--

It is important to seperate name, attributes and operations using –

LooseSyntaxErrors

  • Error A1 : Unconnected Relation for an Association
  • Error A2 : Unconnected Relation for an Generalization
  • Error A3 : Relationship not correctly defined (e.g. doesnt match expected above)
  • Error A4 : Unconnected Relation Realization
  • Error A5 : Visibility not correctly defined. (can only be +,-,# currently)
  • Error A6 : Functionally/ Element currently not implemented