1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.bo.ui;
17
18 import org.hibernate.annotations.Type;
19 import org.kuali.rice.kim.document.IdentityManagementRoleDocument;
20 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21
22 import javax.persistence.Column;
23 import javax.persistence.MappedSuperclass;
24 import javax.persistence.Transient;
25
26
27
28
29
30
31 @MappedSuperclass
32 public class RoleDocumentBoBase extends PersistableBusinessObjectBase {
33 @Column(name="DOC_HDR_ID")
34 protected String documentNumber;
35 @Type(type="yes_no")
36 @Column(name="ACTV_IND")
37 protected boolean active;
38 @Type(type="yes_no")
39 @Column(name="EDIT_FLAG")
40 protected boolean edit;
41 @Transient
42 protected IdentityManagementRoleDocument roleDocument;
43
44 public String getDocumentNumber() {
45 return this.documentNumber;
46 }
47
48 public void setDocumentNumber(String documentNumber) {
49 this.documentNumber = documentNumber;
50 }
51
52 public boolean isActive() {
53 return this.active;
54 }
55
56 public void setActive(boolean active) {
57 this.active = active;
58 }
59
60 public IdentityManagementRoleDocument getRoleDocument() {
61 return this.roleDocument;
62 }
63
64 public void setRoleDocument(IdentityManagementRoleDocument roleDocument) {
65 this.roleDocument = roleDocument;
66 }
67
68 public boolean isEdit() {
69 return this.edit;
70 }
71
72 public void setEdit(boolean edit) {
73 this.edit = edit;
74 }
75
76 }