View Javadoc

1   /**
2    * Copyright 2004-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.kpme.core.role;
17  
18  public enum KPMERole {
19  	
20  	REVIEWER ("Reviewer"),
21  	APPROVER ("Approver"),
22  	APPROVER_DELEGATE ("Approver Delegate"),
23  	TIME_DEPARTMENT_VIEW_ONLY ("Time Department View Only"),
24  	TIME_DEPARTMENT_ADMINISTRATOR ("Time Department Administrator"),
25  	LEAVE_DEPARTMENT_VIEW_ONLY ("Leave Department View Only"),
26  	LEAVE_DEPARTMENT_ADMINISTRATOR ("Leave Department Administrator"),
27  	TIME_LOCATION_VIEW_ONLY ("Time Location View Only"),
28  	TIME_LOCATION_ADMINISTRATOR ("Time Location Administrator"),
29  	LEAVE_LOCATION_VIEW_ONLY ("Leave Location View Only"),
30  	LEAVE_LOCATION_ADMINISTRATOR ("Leave Location Administrator"),
31  	TIME_SYSTEM_VIEW_ONLY ("Time System View Only"),
32  	TIME_SYSTEM_ADMINISTRATOR ("Time System Administrator"),
33  	LEAVE_SYSTEM_VIEW_ONLY ("Leave System View Only"),
34  	LEAVE_SYSTEM_ADMINISTRATOR ("Leave System Administrator"),
35  	PAYROLL_PROCESSOR ("Payroll Processor"),
36  	PAYROLL_PROCESSOR_DELEGATE ("Payroll Processor Delegate"),
37  	
38  	// derived roles
39  	DERIVED_ROLE_POSITION ("Derived Role : Position");
40  	
41  	private String roleName;
42  	
43  	private KPMERole(String roleName) {
44  		this.roleName = roleName;
45  	}
46  
47  	public String getRoleName() {
48  		return roleName;
49  	}
50  
51  	public void setRoleName(String roleName) {
52  		this.roleName = roleName;
53  	}
54  
55  }