01: /*
02: * Copyright 2005-2007 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.kuali.workflow.role;
18:
19: import java.io.Serializable;
20: import java.util.ArrayList;
21: import java.util.List;
22:
23: /**
24: *
25: * @author ewestfal
26: */
27: public class Role implements Serializable {
28:
29: private Long roleId;
30:
31: private String name;
32: private String description;
33: private Integer lockVerNbr;
34:
35: private List<RoleAttribute> attributes = new ArrayList<RoleAttribute>();
36:
37: public List<RoleAttribute> getAttributes() {
38: return attributes;
39: }
40:
41: public void setAttributes(List<RoleAttribute> attributes) {
42: this .attributes = attributes;
43: }
44:
45: public String getDescription() {
46: return description;
47: }
48:
49: public void setDescription(String description) {
50: this .description = description;
51: }
52:
53: public Integer getLockVerNbr() {
54: return lockVerNbr;
55: }
56:
57: public void setLockVerNbr(Integer lockVerNbr) {
58: this .lockVerNbr = lockVerNbr;
59: }
60:
61: public String getName() {
62: return name;
63: }
64:
65: public void setName(String name) {
66: this .name = name;
67: }
68:
69: public Long getRoleId() {
70: return roleId;
71: }
72:
73: public void setRoleId(Long roleId) {
74: this.roleId = roleId;
75: }
76:
77: }
|