public override List <string> doRule(SQLWrapperClasses.SQLConnector eaConnector, SQLWrapperClasses.SQLRepository repository) { var result = new List <String>(); if (eaConnector.Stereotype == SDMModelingMain.LinkVariableStereotype || eaConnector.Stereotype == TGGModelingMain.TggLinkVariableStereotype) { SQLConnectorTag tag = EAUtil.findTaggedValue(eaConnector, ObjectVariable.BindingSemanticsTaggedValueName); if (tag != null && tag.Value.ToLower() == "optional") { result.Add("Optional ist not supported anymore"); } } return(result); }
public override void doRuleQuickFix(SQLWrapperClasses.SQLConnector eaConnector, SQLWrapperClasses.SQLRepository repository, int i, string errorMessage) { throw new NotImplementedException(); }