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