requirements.mvc 672 B

12345678910111213141516171819202122232425262728
  1. include "primitives.alh"
  2. SimpleAttribute String{
  3. name = "String"
  4. constraint = $
  5. String function constraint_String(model : Element, name : String):
  6. if (is_physical_string(model["model"][name])):
  7. return "OK"!
  8. else:
  9. return "String has non-string value"!
  10. $
  11. }
  12. Class UseCase {
  13. name = "UseCase"
  14. name : String
  15. scope : String
  16. level : String
  17. actors : String
  18. preconditions : String
  19. postconditions : String
  20. main_success_scenario : String
  21. alternative_scenario : String
  22. alternate_scenario_misuse: String
  23. special_requirements : String
  24. technology : String
  25. }