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

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

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

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

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

            if (refobj != null)
            {
                this.Beneficiaries.Remove(refobj);
            }
        }
示例#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);
 }
示例#10
0
 public void AddBeneficiary(Stakeholder stakeholder)
 {
     ReferencedObject refobj = new ReferencedObject();
     refobj.UniqueID = stakeholder.UniqueID;
     this.Beneficiaries.Add(refobj);
 }