include "primitives.alh" SimpleClassDiagram Architecture{ SimpleAttribute String{ constraint = $ String function constraint(model : Element, name : String): if (is_physical_string(model["model"][name])): return "OK"! else: return "String has non-string value"! $ } Class Group { name : String } Class Port { name : String } Association Connects (Port, Port) {} Association Contains (Group, Port) {} }