Exemplo n.º 1
0
        public void computeFeatures()
        {
            this.EOperations = new List <EOperation>();
            this.EAttributes = new List <EAttribute>();
            if (EaElement.Abstract == "1")
            {
                isAbstract = true;
            }
            this.isInterface = EaElement.IsSpec;
            this.Alias       = this.EaElement.Alias;

            foreach (SQLAttribute attribute in this.EaElement.Attributes)
            {
                EAttribute eAttribute = new EAttribute(attribute, Repository);
                eAttribute.computeAttributes();
                this.EAttributes.Add(eAttribute);
            }
            foreach (SQLMethod parameter in this.EaElement.Methods)
            {
                EOperation eOperation = new EOperation(parameter, Repository);
                eOperation.computeAttributes();
                this.EOperations.Add(eOperation);
            }
        }