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 java.util.LinkedHashMap; |
19 | |
|
20 | |
import javax.persistence.Column; |
21 | |
import javax.persistence.MappedSuperclass; |
22 | |
|
23 | |
import org.hibernate.annotations.Type; |
24 | |
import org.kuali.rice.kim.document.IdentityManagementRoleDocument; |
25 | |
import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; |
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
@MappedSuperclass |
33 | 0 | public class RoleDocumentBoBase extends PersistableBusinessObjectBase { |
34 | |
@Column(name="DOC_HDR_ID") |
35 | |
protected String documentNumber; |
36 | |
@Type(type="yes_no") |
37 | |
@Column(name="ACTV_IND") |
38 | |
protected boolean active; |
39 | |
@Type(type="yes_no") |
40 | |
@Column(name="EDIT_FLAG") |
41 | |
protected boolean edit; |
42 | |
protected IdentityManagementRoleDocument roleDocument; |
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
@Override |
50 | |
protected LinkedHashMap toStringMapper() { |
51 | 0 | LinkedHashMap m = new LinkedHashMap(); |
52 | 0 | m.put( "documentNumber", documentNumber ); |
53 | 0 | return m; |
54 | |
} |
55 | |
|
56 | |
public String getDocumentNumber() { |
57 | 0 | return this.documentNumber; |
58 | |
} |
59 | |
|
60 | |
public void setDocumentNumber(String documentNumber) { |
61 | 0 | this.documentNumber = documentNumber; |
62 | 0 | } |
63 | |
|
64 | |
public boolean isActive() { |
65 | 0 | return this.active; |
66 | |
} |
67 | |
|
68 | |
public void setActive(boolean active) { |
69 | 0 | this.active = active; |
70 | 0 | } |
71 | |
|
72 | |
public IdentityManagementRoleDocument getRoleDocument() { |
73 | 0 | return this.roleDocument; |
74 | |
} |
75 | |
|
76 | |
public void setRoleDocument(IdentityManagementRoleDocument roleDocument) { |
77 | 0 | this.roleDocument = roleDocument; |
78 | 0 | } |
79 | |
|
80 | |
public boolean isEdit() { |
81 | 0 | return this.edit; |
82 | |
} |
83 | |
|
84 | |
public void setEdit(boolean edit) { |
85 | 0 | this.edit = edit; |
86 | 0 | } |
87 | |
|
88 | |
} |