01: /*
02: * The contents of this file are subject to the
03: * Mozilla Public License Version 1.1 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
06: *
07: * Software distributed under the License is distributed on an "AS IS"
08: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
09: * See the License for the specific language governing rights and
10: * limitations under the License.
11: *
12: * The Initial Developer of the Original Code is Simulacra Media Ltd.
13: * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14: *
15: * All Rights Reserved.
16: *
17: * Contributor(s):
18: */
19: package org.openharmonise.workfloweditor.model;
20:
21: /**
22: * An available role in a workflow model.
23: *
24: * @author Matthew Large
25: * @version $Revision: 1.1 $
26: *
27: */
28: public class Role {
29:
30: /**
31: * Title
32: */
33: private String m_sTitle = null;
34:
35: /**
36: *
37: */
38: public Role() {
39: super ();
40: }
41:
42: /**
43: * Construcsts a new role.
44: *
45: * @param sTitle Title
46: */
47: public Role(String sTitle) {
48: super ();
49: this .m_sTitle = sTitle;
50: }
51:
52: /**
53: * Returns the title of the role.
54: *
55: * @return Title
56: */
57: public String getTitle() {
58: return this .m_sTitle;
59: }
60:
61: /**
62: * Sets the title of the role.
63: *
64: * @param sTitle Title
65: */
66: public void setTitle(String sTitle) {
67: this.m_sTitle = sTitle;
68: }
69:
70: }
|