Exemple #1
0
        private void AddAssociation(UseCaseAssociation association)
        {
            var startShape = GetShape(association.First);
            var endShape   = GetShape(association.Second);

            AddConnection(new UseCaseAssociationConnection(association, startShape, endShape));
        }
Exemple #2
0
        public UseCaseAssociation AddAssociation(IUseCaseEntity first, IUseCaseEntity second)
        {
            var assocationRelationship = new UseCaseAssociation(first, second);

            AddRelationship(assocationRelationship);
            return(assocationRelationship);
        }
Exemple #3
0
 public bool InsertAssociation(UseCaseAssociation association)
 {
     return(model.InsertRelationship(association));
 }
 public UseCaseAssociationConnection(UseCaseAssociation relationship, Shape firstShape, Shape secondShape)
     : base(relationship, firstShape, secondShape)
 {
     this.association = relationship;
 }