예제 #1
0
        public override List <string> doRule(SQLWrapperClasses.SQLElement sqlElement, SQLWrapperClasses.SQLRepository sqlRepository)
        {
            var result = new List <String>();

            if (sqlElement.Stereotype == SDMModelingMain.ObjectVariableStereotype || sqlElement.Stereotype == TGGModelingMain.TggObjectVariableStereotype)
            {
                SQLTaggedValue tag = EAUtil.findTaggedValue(sqlElement, ObjectVariable.BindingSemanticsTaggedValueName);
                if (tag != null)
                {
                    if (tag.Value.ToLower() == "optional")
                    {
                        result.Add("Optional ist not supported anymore");
                    }
                }
            }
            return(result);
        }
예제 #2
0
 public override void doRuleQuickFix(SQLWrapperClasses.SQLElement sqlElement, SQLWrapperClasses.SQLRepository sqlRepository, int i, string errorMessage)
 {
     throw new NotImplementedException();
 }