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.hibernate.annotations.GenericGenerator;
19 import org.hibernate.annotations.Parameter;
20 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21
22 import javax.persistence.*;
23
24
25
26
27
28
29 @Entity
30 @Table(name="KREW_EDL_DEF_T")
31
32 public class EDocLiteDefinition extends PersistableBusinessObjectBase {
33 private static final long serialVersionUID = 6230450806784021509L;
34
35
36
37 @Id
38 @GeneratedValue(generator="KREW_EDL_S")
39 @GenericGenerator(name="KREW_EDL_S",strategy="org.hibernate.id.enhanced.SequenceStyleGenerator",parameters={
40 @Parameter(name="sequence_name",value="KREW_EDL_S"),
41 @Parameter(name="value_column",value="id")
42 })
43 @Column(name = "EDOCLT_DEF_ID")
44 private Long eDocLiteDefId;
45
46
47
48 @Column(name="NM")
49 private String name;
50
51
52
53 @Lob
54 @Basic(fetch=FetchType.LAZY)
55 @Column(name="XML")
56 private String xmlContent;
57
58
59
60 @Column(name="ACTV_IND")
61 private Boolean activeInd;
62
63 public Long getEDocLiteDefId() {
64 return eDocLiteDefId;
65 }
66 public void setEDocLiteDefId(Long eDocLiteDefId) {
67 this.eDocLiteDefId = eDocLiteDefId;
68 }
69 public String getName() {
70 return name;
71 }
72 public void setName(String name) {
73 this.name = name;
74 }
75 public String getXmlContent() {
76 return xmlContent;
77 }
78 public void setXmlContent(String xmlContent) {
79 this.xmlContent = xmlContent;
80 }
81 public Boolean getActiveInd() {
82 return activeInd;
83 }
84 public void setActiveInd(Boolean activeInd) {
85 this.activeInd = activeInd;
86 }
87 }