Clover coverage report - bexee - 0.1
Coverage timestamp: Do Dez 16 2004 13:24:06 CET
file stats: LOC: 61   Methods: 5
NCLOC: 27   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
PartnerLinksImpl.java - 83.3% 80% 81.8%
coverage coverage
 1   
 /*
 2   
  * $Id: PartnerLinksImpl.java,v 1.1 2004/12/15 14:18:12 patforna Exp $
 3   
  *
 4   
  * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
 5   
  * Berne University of Applied Sciences
 6   
  * School of Engineering and Information Technology
 7   
  * All rights reserved.
 8   
  */
 9   
 package bexee.model.elements.impl;
 10   
 
 11   
 import java.util.ArrayList;
 12   
 import java.util.List;
 13   
 
 14   
 import bexee.core.ProcessController;
 15   
 import bexee.core.ProcessInstance;
 16   
 import bexee.model.BPELElementVisitor;
 17   
 import bexee.model.elements.PartnerLink;
 18   
 import bexee.model.elements.PartnerLinks;
 19   
 
 20   
 /**
 21   
  * Default implementation of the <code>PartnerLinks</code> BPEL element.
 22   
  * 
 23   
  * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
 24   
  * @author Patric Fornasier
 25   
  * @author Pawel Kowalski
 26   
  */
 27   
 public class PartnerLinksImpl implements PartnerLinks {
 28   
 
 29   
     private List partnerLinks = null;
 30   
 
 31  32
     public PartnerLinksImpl() {
 32  32
         super();
 33  32
         partnerLinks = new ArrayList();
 34   
     }
 35   
 
 36   
     //**************************************************/
 37   
     // bexee.model.elements.PartnerLinks
 38   
     //**************************************************/
 39   
 
 40  94
     public void addPartnerLink(PartnerLink partnerLink) {
 41  94
         partnerLinks.add(partnerLink);
 42   
     }
 43   
 
 44  16
     public List getPartnerLinks() {
 45  16
         return partnerLinks;
 46   
     }
 47   
 
 48   
     //**************************************************/
 49   
     // bexee.model.BPELElement
 50   
     //**************************************************/
 51   
 
 52  4
     public void accept(ProcessController controller, ProcessInstance instance)
 53   
             throws Exception {
 54  4
         controller.process(this, instance);
 55   
     }
 56   
 
 57  0
     public void accept(BPELElementVisitor elementVisitor) {
 58  0
         elementVisitor.visit(this);
 59   
     }
 60   
 
 61   
 }