View Javadoc

1   /*
2    * $Id: FromImpl.java,v 1.1 2004/12/15 14:18:12 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.elements.impl;
10  
11  import javax.xml.namespace.QName;
12  
13  import bexee.model.elements.From;
14  import bexee.model.elements.PartnerLink;
15  import bexee.model.elements.Roles;
16  import bexee.model.elements.Variable;
17  
18  /***
19   * Default implementation of the <code>From</code> BPEL element.
20   * 
21   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
22   * @author Patric Fornasier
23   * @author Pawel Kowalski
24   */
25  public class FromImpl implements From {
26  
27      private Variable variable;
28  
29      private String part;
30  
31      private String query;
32  
33      private QName property;
34  
35      private PartnerLink partnerLink;
36  
37      private Roles roles;
38  
39      private String expression;
40  
41      private boolean isOpaque;
42  
43      //***************************************************/
44      // c'tors
45      //***************************************************/
46  
47      public FromImpl() {
48          super();
49      }
50  
51      //***************************************************/
52      // bexee.model.elements.From
53      //***************************************************/
54  
55      public void setVariable(Variable variable) {
56          this.variable = variable;
57      }
58  
59      public Variable getVariable() {
60          return variable;
61      }
62  
63      public void setPart(String part) {
64          this.part = part;
65      }
66  
67      public String getPart() {
68          return part;
69      }
70  
71      public void setQuery(String query) {
72          this.query = query;
73      }
74  
75      public String getQuery() {
76          return query;
77      }
78  
79      public void setProperty(QName property) {
80          this.property = property;
81      }
82  
83      public QName getProperty() {
84          return property;
85      }
86  
87      public void setPartnerLink(PartnerLink partnerLink) {
88          this.partnerLink = partnerLink;
89      }
90  
91      public PartnerLink getPartnerLink() {
92          return partnerLink;
93      }
94  
95      public void setEndpointReference(Roles roles) {
96          this.roles = roles;
97      }
98  
99      public Roles getEndpointReference() {
100         return roles;
101     }
102 
103     public void setExpression(String expression) {
104         this.expression = expression;
105     }
106 
107     public String getExpression() {
108         return expression;
109     }
110 
111     public void setOpaque(boolean isOpaque) {
112         this.isOpaque = isOpaque;
113     }
114 
115     public boolean isOpaque() {
116         return isOpaque;
117     }
118 
119 }