1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.edl.impl.bo;
17
18 import org.kuali.rice.krad.data.jpa.converters.Boolean01Converter;
19 import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
20
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 import javax.persistence.Basic;
24 import javax.persistence.Column;
25 import javax.persistence.Convert;
26 import javax.persistence.Entity;
27 import javax.persistence.FetchType;
28 import javax.persistence.GeneratedValue;
29 import javax.persistence.Id;
30 import javax.persistence.Lob;
31 import javax.persistence.Table;
32
33
34
35
36
37
38 @Entity
39 @Table(name="KREW_EDL_DEF_T")
40 public class EDocLiteDefinition extends PersistableBusinessObjectBase {
41
42 private static final long serialVersionUID = 6230450806784021509L;
43
44
45
46 @Id
47 @GeneratedValue(generator="KREW_EDL_S")
48 @PortableSequenceGenerator(name = "KREW_EDL_S")
49 @Column(name = "EDOCLT_DEF_ID", nullable = false)
50 private Long id;
51
52
53
54 @Column(name="NM", nullable = false)
55 private String name;
56
57
58
59 @Lob
60 @Basic(fetch=FetchType.LAZY)
61 @Column(name="XML", nullable = false)
62 private String xmlContent;
63
64
65
66 @Convert(converter=Boolean01Converter.class)
67 @Column(name="ACTV_IND", nullable = false)
68 private Boolean activeInd;
69
70
71
72
73
74 public Long getId() {
75 return id;
76 }
77
78
79
80
81
82 public void setId(Long id) {
83 this.id = id;
84 }
85
86
87
88
89
90 public String getName() {
91 return name;
92 }
93
94
95
96
97
98 public void setName(String name) {
99 this.name = name;
100 }
101
102
103
104
105
106 public String getXmlContent() {
107 return xmlContent;
108 }
109
110
111
112
113
114 public void setXmlContent(String xmlContent) {
115 this.xmlContent = xmlContent;
116 }
117
118
119
120
121
122 public Boolean getActiveInd() {
123 return activeInd;
124 }
125
126
127
128
129
130 public void setActiveInd(Boolean activeInd) {
131 this.activeInd = activeInd;
132 }
133 }