001: /*
002: * $Id: Invoke.java,v 1.11 2004/12/09 12:34:38 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:
010: package bexee.model.activity;
011:
012: import java.util.List;
013:
014: import javax.xml.namespace.QName;
015:
016: import bexee.model.elements.CatchFault;
017: import bexee.model.elements.Correlations;
018: import bexee.model.elements.PartnerLink;
019: import bexee.model.elements.Variable;
020:
021: /**
022: * Representation of a BPEL Invoke activity.
023: *
024: * @version $Revision: 1.11 $, $Date: 2004/12/09 12:34:38 $
025: * @author Patric Fornasier
026: * @author Pawel Kowalski
027: */
028: public interface Invoke extends Activity {
029:
030: // **************************************************/
031: // xml attributes
032: // **************************************************/
033:
034: /**
035: * Set the PartnerLink of this Invoke.
036: *
037: * @param partnerLink
038: */
039: public void setPartnerLink(PartnerLink partnerLink);
040:
041: /**
042: * Get the PartnerLink of this Invoke.
043: *
044: * @return
045: */
046: public PartnerLink getPartnerLink();
047:
048: /**
049: * Set the PortType QName of this Invoke.
050: *
051: * @param portType
052: */
053: public void setPortType(QName portType);
054:
055: /**
056: * Get the PortType QName of this Invoke.
057: *
058: * @return
059: */
060: public QName getPortType();
061:
062: /**
063: * Set the operation to be called by this Invoke.
064: *
065: * @param operation
066: */
067: public void setOperation(String operation);
068:
069: /**
070: * Get the operation to be called by this Invoke.
071: *
072: * @return
073: */
074: public String getOperation();
075:
076: /**
077: * Set the InputVariable of this Invoke.
078: *
079: * @param inputVariable
080: */
081: public void setInputVariable(Variable inputVariable);
082:
083: /**
084: * Get the InputVariable of this Invoke.
085: *
086: * @return
087: */
088: public Variable getInputVariable();
089:
090: /**
091: * Set the OutputVariable of this Invoke.
092: *
093: * @param outputVariable
094: */
095: public void setOutputVariable(Variable outputVariable);
096:
097: /**
098: * Get the OutputVariable of this Invoke.
099: *
100: * @return
101: */
102: public Variable getOutputVariable();
103:
104: //**************************************************/
105: // xml elements
106: //**************************************************/
107:
108: /**
109: * Set the Correlations of this Invoke.
110: *
111: * @param correlations
112: */
113: public void setCorrelations(Correlations correlations);
114:
115: /**
116: * Get the Correlations of this Invoke.
117: *
118: * @return
119: */
120: public Correlations getCorrelations();
121:
122: /**
123: * Add a Catch to this Invoke.
124: *
125: * @param catchFault
126: */
127: public void addCatchFault(CatchFault catchFault);
128:
129: /**
130: * Set all Catch elements of this Invoke.
131: *
132: * @param catchFaults
133: */
134: public void setCatchFaults(List catchFaults);
135:
136: /**
137: * Get all Catch elements of this Invoke.
138: *
139: * @return
140: */
141: public List getCatchFaults();
142:
143: /**
144: * Set the CatchAll of this Invoke.
145: *
146: * @param catchAll
147: */
148: public void setCatchAll(CatchAll catchAll);
149:
150: /**
151: * Get the CatchAll of this Invoke.
152: *
153: * @return
154: */
155: public CatchAll getCatchAll();
156:
157: /**
158: * Set the CompensationHandler of this Invoke.
159: *
160: * @param compensationHandler
161: */
162: public void setCompensationHandler(
163: CompensationHandler compensationHandler);
164:
165: /**
166: * Get the CompensationHandler of this Invoke.
167: *
168: * @return
169: */
170: public CompensationHandler getCompensationHandler();
171:
172: //**************************************************/
173: // helper methods
174: //**************************************************/
175:
176: /**
177: * Is this Invoke synchronous.
178: *
179: * @return
180: */
181: public boolean isSynchronous();
182:
183: }
|