1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.help;
18
19 import javax.persistence.Column;
20 import javax.persistence.Entity;
21 import javax.persistence.Id;
22 import javax.persistence.NamedQueries;
23 import javax.persistence.NamedQuery;
24 import javax.persistence.Table;
25 import javax.persistence.Version;
26
27 import org.kuali.rice.core.jpa.annotations.Sequence;
28
29
30
31
32
33
34
35 @Entity
36 @Table(name="KREW_HLP_T")
37 @NamedQueries({
38 @NamedQuery(name="HelpEntry.FindById", query="select he from HelpEntry he where he.helpId = :helpId"),
39 @NamedQuery(name="HelpEntry.FindByKey", query="select he from HelpEntry he where he.helpKey = :helpKey")
40 })
41 @Sequence(name="KREW_HLP_S", property="helpId")
42 public class HelpEntry {
43 @Id
44 @Column(name="HLP_ID")
45 private Long helpId;
46 @Column(name="NM")
47 private String helpName;
48 @Column(name="HLP_TXT")
49 private String helpText;
50 @Column(name="KEY_CD")
51 private String helpKey;
52 @Version
53 @Column(name="VER_NBR")
54 private Integer lockVerNbr;
55
56 public Long getHelpId() {
57 return helpId;
58 }
59 public void setHelpId(Long helpId) {
60 this.helpId = helpId;
61 }
62 public String getHelpName() {
63 return helpName;
64 }
65 public void setHelpName(String helpName) {
66 this.helpName = helpName;
67 }
68 public String getHelpText() {
69 return helpText;
70 }
71 public void setHelpText(String helpText) {
72 this.helpText = helpText;
73 }
74 public Integer getLockVerNbr() {
75 return lockVerNbr;
76 }
77 public void setLockVerNbr(Integer lockVerNbr) {
78 this.lockVerNbr = lockVerNbr;
79 }
80 public String getHelpKey() {
81 return helpKey;
82 }
83 public void setHelpKey(String helpKey) {
84 this.helpKey = helpKey;
85 }
86 }
87