View Javadoc

1   /*
2    * $Id: CorrelationPatternImpl.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 bexee.core.ProcessController;
12  import bexee.core.ProcessInstance;
13  import bexee.model.BPELElementVisitor;
14  import bexee.model.elements.CorrelationPattern;
15  
16  /***
17   * Default implementation of the <code>CorrelationPattern</code> BPEL element.
18   * 
19   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
20   * @author Patric Fornasier
21   * @author Pawel Kowalski
22   */
23  public class CorrelationPatternImpl implements CorrelationPattern {
24  
25      private String correlationString;
26  
27      //***************************************************/
28      // c'tors
29      //***************************************************/
30  
31      public CorrelationPatternImpl() {
32          super();
33      }
34  
35      //***************************************************/
36      // bexee.model.elements.CorrelationPattern
37      //***************************************************/
38  
39      public void setCorrelationString(String correlationString) {
40          this.correlationString = correlationString;
41      }
42  
43      public String getCorrelationString() {
44          return correlationString;
45      }
46  
47      //***************************************************/
48      // bexee.model.BPELElement
49      //***************************************************/
50  
51      public void accept(ProcessController controller, ProcessInstance instance)
52              throws Exception {
53          controller.process(this, instance);
54      }
55  
56      public void accept(BPELElementVisitor elementVisitor) {
57          elementVisitor.visit(this);
58      }
59  
60  }