001: /*
002: * $Id: AbstractBPELElementVisitor.java,v 1.2 2004/12/09 12:34:32 kowap Exp $
003: *
004: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
005: * Berne University of Applied Sciences
006: * School of Engineering and Information Technology
007: * All rights reserved.
008: */
009: package bexee.model;
010:
011: import bexee.model.activity.Activity;
012: import bexee.model.activity.Assign;
013: import bexee.model.activity.Compensate;
014: import bexee.model.activity.Empty;
015: import bexee.model.activity.Flow;
016: import bexee.model.activity.Invoke;
017: import bexee.model.activity.Receive;
018: import bexee.model.activity.Reply;
019: import bexee.model.activity.Scope;
020: import bexee.model.activity.Sequence;
021: import bexee.model.activity.Terminate;
022: import bexee.model.activity.Throw;
023: import bexee.model.elements.Copy;
024: import bexee.model.elements.Correlation;
025: import bexee.model.elements.CorrelationPattern;
026: import bexee.model.elements.Link;
027: import bexee.model.elements.PartnerLink;
028: import bexee.model.elements.PartnerLinks;
029: import bexee.model.elements.Variable;
030: import bexee.model.elements.Variables;
031: import bexee.model.process.Process;
032:
033: /**
034: * This is a default <code>BPELElementVisitor</code> which provides empty
035: * implementations of all <code>visit(BPELElement)</code> methods. The purpose
036: * of this Visitor is to simplify the developpement of other Visitors, i.e. they
037: * don't have to provide empty method bodies for <code>BPELElement</code> s
038: * they're not interested into.
039: *
040: * @author Pawel Kowalski
041: * @version $Revision: 1.2 $, $Date: 2004/12/09 12:34:32 $
042: */
043: public abstract class AbstractBPELElementVisitor implements
044: BPELElementVisitor {
045:
046: /**
047: * Empty method body for a <code>Process</code>
048: */
049: public void visit(Process process) {
050: }
051:
052: /**
053: * Empty method body for <code>Assign</code>
054: */
055: public void visit(Assign sssign) {
056: }
057:
058: /**
059: * Empty method body for <code>Compensate</code>
060: */
061: public void visit(Compensate compensate) {
062: }
063:
064: /**
065: * Empty method body for <code>Empty</code>
066: */
067: public void visit(Empty empty) {
068: }
069:
070: /**
071: * Empty method body for <code>Flow</code>
072: */
073: public void visit(Flow flow) {
074: }
075:
076: /**
077: * Empty method body for <code>Invoke</code>
078: */
079: public void visit(Invoke invoke) {
080: }
081:
082: /**
083: * Empty method body for <code>Receive</code>
084: */
085: public void visit(Receive Receive) {
086: }
087:
088: /**
089: * Empty method body for <code>Reply</code>
090: */
091: public void visit(Reply reply) {
092: }
093:
094: /**
095: * Empty method body for <code>Scope</code>
096: */
097: public void visit(Scope scope) {
098: }
099:
100: /**
101: * Empty method body for <code>Sequence</code>
102: */
103: public void visit(Sequence sequence) {
104: }
105:
106: /**
107: * Empty method body for <code>Terminate</code>
108: */
109: public void visit(Terminate terminate) {
110: }
111:
112: /**
113: * Empty method body for <code>Throw</code>
114: */
115: public void visit(Throw bexeethrow) {
116: }
117:
118: /**
119: * Empty method body for <code>Activity</code>
120: */
121: public void visit(Activity activity) {
122: }
123:
124: /**
125: * Empty method body for <code>Link</code>
126: */
127: public void visit(Link link) {
128: }
129:
130: /**
131: * Empty method body for <code>PartnerLink</code>
132: */
133: public void visit(PartnerLink partnerLink) {
134: }
135:
136: /**
137: * Empty method body for <code>Variable</code>
138: */
139: public void visit(Variable variable) {
140: }
141:
142: /**
143: * Empty method body for <code>Variables</code>
144: */
145: public void visit(Variables variables) {
146: }
147:
148: /**
149: * Empty method body for <code>PartnerLinks</code>
150: */
151: public void visit(PartnerLinks partnerLinks) {
152: }
153:
154: /**
155: * Empty method body for <code>Correlation</code>
156: */
157: public void visit(Correlation correlation) {
158: }
159:
160: /**
161: * Empty method body for <code>CorrelationPattern</code>
162: */
163: public void visit(CorrelationPattern correlationPattern) {
164: }
165:
166: /**
167: * Empty method body for <code>Copy</code>
168: */
169: public void visit(Copy copy) {
170: }
171:
172: }
|