001: /*
002: * $Id: FromImpl.java,v 1.7 2004/12/09 12:34:43 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.elements.impl;
010:
011: import javax.xml.namespace.QName;
012:
013: import bexee.model.elements.From;
014: import bexee.model.elements.PartnerLink;
015: import bexee.model.elements.Roles;
016: import bexee.model.elements.Variable;
017:
018: /**
019: * Default implementation of the <code>From</code> BPEL element.
020: *
021: * @version $Revision: 1.7 $, $Date: 2004/12/09 12:34:43 $
022: * @author Patric Fornasier
023: * @author Pawel Kowalski
024: */
025: public class FromImpl implements From {
026:
027: private Variable variable;
028:
029: private String part;
030:
031: private String query;
032:
033: private QName property;
034:
035: private PartnerLink partnerLink;
036:
037: private Roles roles;
038:
039: private String expression;
040:
041: private boolean isOpaque;
042:
043: //**************************************************/
044: // c'tors
045: //**************************************************/
046:
047: public FromImpl() {
048: super ();
049: }
050:
051: //**************************************************/
052: // bexee.model.elements.From
053: //**************************************************/
054:
055: public void setVariable(Variable variable) {
056: this .variable = variable;
057: }
058:
059: public Variable getVariable() {
060: return variable;
061: }
062:
063: public void setPart(String part) {
064: this .part = part;
065: }
066:
067: public String getPart() {
068: return part;
069: }
070:
071: public void setQuery(String query) {
072: this .query = query;
073: }
074:
075: public String getQuery() {
076: return query;
077: }
078:
079: public void setProperty(QName property) {
080: this .property = property;
081: }
082:
083: public QName getProperty() {
084: return property;
085: }
086:
087: public void setPartnerLink(PartnerLink partnerLink) {
088: this .partnerLink = partnerLink;
089: }
090:
091: public PartnerLink getPartnerLink() {
092: return partnerLink;
093: }
094:
095: public void setEndpointReference(Roles roles) {
096: this .roles = roles;
097: }
098:
099: 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: }
|