1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.impl.common.template;
17
18 import javax.persistence.Column;
19 import org.hibernate.annotations.Type;
20 import org.kuali.rice.kim.api.common.template.TemplateContract;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 public abstract class TemplateBo extends PersistableBusinessObjectBase implements TemplateContract {
24
25 @Column(name="NMSPC_CD")
26 private String namespaceCode;
27
28 @Column(name="NM")
29 private String name;
30
31 @Column(name="DESC_TXT", length=400)
32 private String description;
33
34 @Column(name="KIM_TYP_ID")
35 private String kimTypeId;
36
37 @Column(name="ACTV_IND")
38 @Type(type="yes_no")
39 private boolean active;
40
41 @Override
42 public String getNamespaceCode() {
43 return namespaceCode;
44 }
45
46 public void setNamespaceCode(String namespaceCode) {
47 this.namespaceCode = namespaceCode;
48 }
49
50 @Override
51 public String getName() {
52 return name;
53 }
54
55 public void setName(String name) {
56 this.name = name;
57 }
58
59 @Override
60 public String getDescription() {
61 return description;
62 }
63
64 public void setDescription(String description) {
65 this.description = description;
66 }
67
68 @Override
69 public String getKimTypeId() {
70 return kimTypeId;
71 }
72
73 public void setKimTypeId(String kimTypeId) {
74 this.kimTypeId = kimTypeId;
75 }
76
77 @Override
78 public boolean isActive() {
79 return active;
80 }
81
82 public void setActive(boolean active) {
83 this.active = active;
84 }
85 }