View Javadoc

1   /*
2    * $Id: RoleImpl.java,v 1.1 2004/12/15 14:18:18 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.wsdl.extensions.partnerlinktype.impl;
10  
11  import javax.wsdl.PortType;
12  
13  import bexee.wsdl.extensions.partnerlinktype.Role;
14  
15  /***
16   * A default implementation of the <code>Role</code> BPEL extension to WSDL.
17   * 
18   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:18 $
19   * @author Patric Fornasier
20   * @author Pawel Kowalski
21   */
22  public class RoleImpl implements Role {
23  
24      private String name;
25  
26      private PortType portType;
27  
28      /***
29       * @return Returns the name.
30       */
31      public String getName() {
32          return name;
33      }
34  
35      /***
36       * @param name
37       *            The name to set.
38       */
39      public void setName(String name) {
40          this.name = name;
41      }
42  
43      /***
44       * @return Returns the portType.
45       */
46      public PortType getPortType() {
47          return portType;
48      }
49  
50      /***
51       * @param portType
52       *            The portType to set.
53       */
54      public void setPortType(PortType portType) {
55          this.portType = portType;
56      }
57  }