01: /*
02: * $Id: ToImpl.java,v 1.5 2004/12/09 12:34:41 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 javax.xml.namespace.QName;
12:
13: import bexee.model.elements.PartnerLink;
14: import bexee.model.elements.To;
15: import bexee.model.elements.Variable;
16:
17: /**
18: * Default implementation of the <code>To</code> BPEL element.
19: *
20: * @version $Revision: 1.5 $, $Date: 2004/12/09 12:34:41 $
21: * @author Patric Fornasier
22: * @author Pawel Kowalski
23: */
24: public class ToImpl implements To {
25:
26: private Variable variable;
27:
28: private String part;
29:
30: private String query;
31:
32: private QName property;
33:
34: private PartnerLink partnerLink;
35:
36: //**************************************************/
37: // c'tors
38: //**************************************************/
39:
40: public ToImpl() {
41: super ();
42: }
43:
44: //**************************************************/
45: // bexee.model.elements.To
46: //**************************************************/
47:
48: public void setVariable(Variable variable) {
49: this .variable = variable;
50: }
51:
52: public Variable getVariable() {
53: return variable;
54: }
55:
56: public void setPart(String part) {
57: this .part = part;
58: }
59:
60: public String getPart() {
61: return part;
62: }
63:
64: public void setQuery(String query) {
65: this .query = query;
66: }
67:
68: public String getQuery() {
69: return query;
70: }
71:
72: public void setProperty(QName property) {
73: this .property = property;
74: }
75:
76: public QName getProperty() {
77: return property;
78: }
79:
80: public void setPartnerLink(PartnerLink partnerLink) {
81: this .partnerLink = partnerLink;
82: }
83:
84: public PartnerLink getPartnerLink() {
85: return partnerLink;
86: }
87:
88: }
|