Esempio n. 1
0
        public void Save()
        {
            base.Save();
            foreach (UMLCollaboration col in Collaborations)
            {
                col.Save();
            }


            if (IterationOld != null)
            {
                IterationOld.RemoveUseCaseToTag(this);
            }
            if (Iteration != null)
            {
                Iteration.AddUseCaseToTag(this);
                this.ClearTagCollection(Constants.UMLProfile.ESTIMATION, Constants.UMLUseCase.TDS_ESTIMATION, "Iteration Associated");
                UMLIterationCollection collection = new UMLIterationCollection();
                collection.Add(Iteration);
                this.SaveTagCollection <UMLIteration, UMLIterationCollection>(collection, Constants.UMLProfile.ESTIMATION, Constants.UMLUseCase.TDS_ESTIMATION, "Iteration Associated");
            }
        }