View Javadoc

1   /*
2    * $Id: RolesImpl.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 bexee.model.elements.Roles;
12  
13  /***
14   * Default implementation of the <code>Roles</code> BPEL element.
15   * 
16   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
17   * @author Patric Fornasier
18   * @author Pawel Kowalski
19   */
20  public class RolesImpl implements Roles {
21  
22      private String role;
23  
24      //***************************************************/
25      // c'tors
26      //***************************************************/
27  
28      public RolesImpl(String role) {
29          super();
30          this.role = role;
31      }
32  
33      //***************************************************/
34      // bexee.model.elements.Roles
35      //***************************************************/
36  
37      public void setRole(String role) {
38          this.role = role;
39      }
40  
41      public String getRole() {
42          return role;
43      }
44  
45  }