@namespace(uri="InnoModelingTool", prefix="InnoModelingTool") package InnoModelingTool; @gmf.diagram class InnoModel { val Employee[*] employees; val Determinant[*] determinants; } @gmf.node(figure="rectangle", label.icon="false", label="name", label.placement="external") class Employee { attr String name; @gmf.link(width="2", color="0,0,255", target.decoration="arrow", style="dash") ref CEOLidership exercises; } abstract class Determinant { attr String name; } @gmf.node(label="v1,v2", figure="rectangle", label.pattern="aa:{0}:{1}", tool.small.bundle="InnoModelingTool", tool.small.path="icons/CEO.gif") class CEOLidership extends Determinant{ attr String v1; attr String v2; @gmf.label(label.parser="MessageFormatParser", label.icon="false", label.pattern="Tolerance Of Ambiguity : {0}") attr CEOFactorValue toleranceofamiguityvalue; @gmf.label(label.parser="MessageFormatParser", label.icon="false", label.pattern="Self Confidence : {0}") attr CEOFactorValue selfconfidencevalue; } //ENUM enum CEOFactorValue{ no = 0; yes = 1; noEvidence = 2; }