| Listing 11. Share OCL constraints: attach(s:Service). |
|
context Share::attach(s:Service)
pre: services->excludes(s) pre liveness:s.features->forAll(f | discovery([f.id](http://f.id/)).notEmpty()) pre safeness: s.fratures->closure(collect(discovery(id).fratures)->excludes(s) post: services->includes(s) |