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 javax.persistence.Column;
19 import javax.persistence.MappedSuperclass;
20 import javax.persistence.Transient;
21
22 import org.hibernate.annotations.Type;
23
24
25
26
27
28
29
30 @MappedSuperclass
31 public class KimDocumentBoActivatableBase extends KimDocumentBoBase {
32 private static final long serialVersionUID = 9042706897191231670L;
33
34 @Type(type="yes_no")
35 @Column(name="ACTV_IND")
36 protected boolean active = true;
37
38 @Transient
39 protected boolean edit;
40
41 public boolean isActive() {
42 return this.active;
43 }
44
45 public void setActive(boolean active) {
46 this.active = active;
47 }
48
49 public boolean isEdit() {
50 return this.edit;
51 }
52
53 public void setEdit(boolean edit) {
54 this.edit = edit;
55 }
56 }