View Javadoc

1   /*
2    * $Id: AbstractBPELElementVisitor.java,v 1.1 2004/12/15 14:18:10 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;
10  
11  import bexee.model.activity.Activity;
12  import bexee.model.activity.Assign;
13  import bexee.model.activity.Compensate;
14  import bexee.model.activity.Empty;
15  import bexee.model.activity.Flow;
16  import bexee.model.activity.Invoke;
17  import bexee.model.activity.Receive;
18  import bexee.model.activity.Reply;
19  import bexee.model.activity.Scope;
20  import bexee.model.activity.Sequence;
21  import bexee.model.activity.Terminate;
22  import bexee.model.activity.Throw;
23  import bexee.model.elements.Copy;
24  import bexee.model.elements.Correlation;
25  import bexee.model.elements.CorrelationPattern;
26  import bexee.model.elements.Link;
27  import bexee.model.elements.PartnerLink;
28  import bexee.model.elements.PartnerLinks;
29  import bexee.model.elements.Variable;
30  import bexee.model.elements.Variables;
31  import bexee.model.process.Process;
32  
33  /***
34   * This is a default <code>BPELElementVisitor</code> which provides empty
35   * implementations of all <code>visit(BPELElement)</code> methods. The purpose
36   * of this Visitor is to simplify the developpement of other Visitors, i.e. they
37   * don't have to provide empty method bodies for <code>BPELElement</code> s
38   * they're not interested into.
39   * 
40   * @author Pawel Kowalski
41   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
42   */
43  public abstract class AbstractBPELElementVisitor implements BPELElementVisitor {
44  
45      /***
46       * Empty method body for a <code>Process</code>
47       */
48      public void visit(Process process) {
49      }
50  
51      /***
52       * Empty method body for <code>Assign</code>
53       */
54      public void visit(Assign sssign) {
55      }
56  
57      /***
58       * Empty method body for <code>Compensate</code>
59       */
60      public void visit(Compensate compensate) {
61      }
62  
63      /***
64       * Empty method body for <code>Empty</code>
65       */
66      public void visit(Empty empty) {
67      }
68  
69      /***
70       * Empty method body for <code>Flow</code>
71       */
72      public void visit(Flow flow) {
73      }
74  
75      /***
76       * Empty method body for <code>Invoke</code>
77       */
78      public void visit(Invoke invoke) {
79      }
80  
81      /***
82       * Empty method body for <code>Receive</code>
83       */
84      public void visit(Receive Receive) {
85      }
86  
87      /***
88       * Empty method body for <code>Reply</code>
89       */
90      public void visit(Reply reply) {
91      }
92  
93      /***
94       * Empty method body for <code>Scope</code>
95       */
96      public void visit(Scope scope) {
97      }
98  
99      /***
100      * Empty method body for <code>Sequence</code>
101      */
102     public void visit(Sequence sequence) {
103     }
104 
105     /***
106      * Empty method body for <code>Terminate</code>
107      */
108     public void visit(Terminate terminate) {
109     }
110 
111     /***
112      * Empty method body for <code>Throw</code>
113      */
114     public void visit(Throw bexeethrow) {
115     }
116 
117     /***
118      * Empty method body for <code>Activity</code>
119      */
120     public void visit(Activity activity) {
121     }
122 
123     /***
124      * Empty method body for <code>Link</code>
125      */
126     public void visit(Link link) {
127     }
128 
129     /***
130      * Empty method body for <code>PartnerLink</code>
131      */
132     public void visit(PartnerLink partnerLink) {
133     }
134 
135     /***
136      * Empty method body for <code>Variable</code>
137      */
138     public void visit(Variable variable) {
139     }
140 
141     /***
142      * Empty method body for <code>Variables</code>
143      */
144     public void visit(Variables variables) {
145     }
146 
147     /***
148      * Empty method body for <code>PartnerLinks</code>
149      */
150     public void visit(PartnerLinks partnerLinks) {
151     }
152 
153     /***
154      * Empty method body for <code>Correlation</code>
155      */
156     public void visit(Correlation correlation) {
157     }
158 
159     /***
160      * Empty method body for <code>CorrelationPattern</code>
161      */
162     public void visit(CorrelationPattern correlationPattern) {
163     }
164 
165     /***
166      * Empty method body for <code>Copy</code>
167      */
168     public void visit(Copy copy) {
169     }
170 
171 }