01: /*
02: * $Id: CorrelationPatternImpl.java,v 1.5 2004/12/09 12:34:42 kowap Exp $
03: *
04: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
05: * Berne University of Applied Sciences
06: * School of Engineering and Information Technology
07: * All rights reserved.
08: */
09: 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.5 $, $Date: 2004/12/09 12:34:42 $
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,
52: ProcessInstance instance) throws Exception {
53: controller.process(this , instance);
54: }
55:
56: public void accept(BPELElementVisitor elementVisitor) {
57: elementVisitor.visit(this);
58: }
59:
60: }
|