001: /*
002: * $Id: Receive.java,v 1.13 2004/12/09 12:34:36 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 javax.xml.namespace.QName;
013:
014: import bexee.model.elements.Correlations;
015: import bexee.model.elements.PartnerLink;
016: import bexee.model.elements.Variable;
017:
018: /**
019: * Representation of a BPEL Receive activity.
020: *
021: * @version $Revision: 1.13 $, $Date: 2004/12/09 12:34:36 $
022: * @author Patric Fornasier
023: * @author Pawel Kowalski
024: */
025: public interface Receive extends Activity {
026:
027: /**
028: * Default createInstance property value.
029: */
030: public static final boolean DEFAULT_CREATE_ACTIVITY = false;
031:
032: //**************************************************/
033: // xml attributes
034: //**************************************************/
035:
036: /**
037: * Set the PartnerLink of this Receive.
038: *
039: * @param partnerLink
040: */
041: public void setPartnerLink(PartnerLink partnerLink);
042:
043: /**
044: * Get the PartnerLink of this Receive.
045: *
046: * @return
047: */
048: public PartnerLink getPartnerLink();
049:
050: /**
051: * Set the PortType QName of this Receive.
052: *
053: * @param portType
054: */
055: public void setPortType(QName portType);
056:
057: /**
058: * Get the PortType QName of this Receive.
059: *
060: * @return
061: */
062: public QName getPortType();
063:
064: /**
065: * Set the operation name of this Receive.
066: *
067: * @param operation
068: */
069: public void setOperation(String operation);
070:
071: /**
072: * Get the operation name of this Receive.
073: *
074: * @return
075: */
076: public String getOperation();
077:
078: /**
079: * Set the Variable of this Receive.
080: *
081: * @param variable
082: */
083: public void setVariable(Variable variable);
084:
085: /**
086: * Get the Variable of this Receive.
087: *
088: * @return
089: */
090: public Variable getVariable();
091:
092: /**
093: * Set the create instance property of this Receive.
094: *
095: * @param createInstance
096: */
097: public void setCreateInstance(boolean createInstance);
098:
099: /**
100: * Get the create instance property of this Receive. This property
101: * signalized whether this Receive might cause a new instance of a business
102: * process to be created.
103: *
104: * @return
105: */
106: public boolean isCreateInstance();
107:
108: //**************************************************/
109: // xml elements
110: //**************************************************/
111:
112: /**
113: * Set the Correlations of this Receive.
114: *
115: * @param correlations
116: */
117: public void setCorrelations(Correlations correlations);
118:
119: /**
120: * Get the Correlations of this Receive.
121: *
122: * @return
123: */
124: public Correlations getCorrelations();
125:
126: }
|