requirements.mvc 755 B

12345678910111213141516171819202122232425262728
  1. include "primitives.alh"
  2. SimpleClassDiagrams Requirements{
  3. SimpleAttribute 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 : String
  14. scope : String
  15. level : String
  16. actors : String
  17. preconditions : String
  18. postconditions : String
  19. main_success_scenario : String
  20. alternative_scenario : String
  21. alternate_scenario_misuse: String
  22. special_requirements : String
  23. technology : String
  24. }
  25. }