requirements.mvc 631 B

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