requirements.mvc 732 B

123456789101112131415161718192021222324252627
  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. 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. }
  24. }