Example #1
0
        public void AddMappedUseCase(UseCase useCase)
        {
            ReferencedObject refobj = new ReferencedObject();

            refobj.UniqueID = useCase.UniqueID;
            this.MappedUseCases.Add(refobj);
        }
Example #2
0
        public void AddBeneficiary(Stakeholder stakeholder)
        {
            ReferencedObject refobj = new ReferencedObject();

            refobj.UniqueID = stakeholder.UniqueID;
            this.Beneficiaries.Add(refobj);
        }
Example #3
0
        public void AddProponent(Stakeholder stakeholder)
        {
            ReferencedObject refobj = new ReferencedObject();

            refobj.UniqueID = stakeholder.UniqueID;
            this.Proponents.Add(refobj);
        }
Example #4
0
        public void RemoveMappedUseCase(UseCase useCase)
        {
            ReferencedObject refobj = (ReferencedObject)this.MappedUseCases.FindByUniqueID(useCase.UniqueID);

            if (refobj != null)
            {
                this.MappedUseCases.Remove(refobj);
            }
        }
Example #5
0
        public void RemoveBeneficiary(Stakeholder stakeholder)
        {
            ReferencedObject refobj = (ReferencedObject)this.Beneficiaries.FindByUniqueID(stakeholder.UniqueID);

            if (refobj != null)
            {
                this.Beneficiaries.Remove(refobj);
            }
        }
Example #6
0
        public void RemoveProponent(Stakeholder stakeholder)
        {
            ReferencedObject refobj = (ReferencedObject)this.Proponents.FindByUniqueID(stakeholder.UniqueID);

            if (refobj != null)
            {
                this.Proponents.Remove(refobj);
            }
        }
        public object FindByUniqueID(String uniqueID)
        {
            ReferencedObject refobj = null;

            foreach (ReferencedObject tmpRefobj in this.items)
            {
                if (tmpRefobj.UniqueID == uniqueID)
                {
                    refobj = tmpRefobj;
                }
            }

            return(refobj);
        }
 public void AddProponent(Stakeholder stakeholder)
 {
     ReferencedObject refobj = new ReferencedObject();
     refobj.UniqueID = stakeholder.UniqueID;
     this.Proponents.Add(refobj);
 }
 public void AddMappedUseCase(UseCase useCase)
 {
     ReferencedObject refobj = new ReferencedObject();
     refobj.UniqueID = useCase.UniqueID;
     this.MappedUseCases.Add(refobj);
 }
 public void AddBeneficiary(Stakeholder stakeholder)
 {
     ReferencedObject refobj = new ReferencedObject();
     refobj.UniqueID = stakeholder.UniqueID;
     this.Beneficiaries.Add(refobj);
 }