1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.edl.bo; |
18 | |
|
19 | |
import java.io.Serializable; |
20 | |
import java.util.LinkedHashMap; |
21 | |
|
22 | |
import javax.persistence.Column; |
23 | |
import javax.persistence.Entity; |
24 | |
import javax.persistence.Id; |
25 | |
import javax.persistence.Table; |
26 | |
import javax.persistence.Transient; |
27 | |
|
28 | |
import org.kuali.rice.core.jpa.annotations.Sequence; |
29 | |
import org.kuali.rice.kew.bo.KewPersistableBusinessObjectBase; |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
@Entity |
37 | |
@Table(name="KREW_EDL_ASSCTN_T") |
38 | |
@Sequence(name="KREW_EDL_S", property="edocLiteAssocId") |
39 | 0 | public class EDocLiteAssociation extends KewPersistableBusinessObjectBase implements Serializable{ |
40 | |
|
41 | |
private static final long serialVersionUID = 7300251507982374010L; |
42 | |
|
43 | |
|
44 | |
|
45 | |
@Id |
46 | |
@Column(name="EDOCLT_ASSOC_ID") |
47 | |
private Long edocLiteAssocId; |
48 | |
|
49 | |
|
50 | |
|
51 | |
@Column(name="DOC_TYP_NM") |
52 | |
private String edlName; |
53 | |
|
54 | |
|
55 | |
|
56 | |
@Column(name="EDL_DEF_NM") |
57 | |
private String definition; |
58 | |
|
59 | |
|
60 | |
|
61 | |
@Column(name="STYLE_NM") |
62 | |
private String style; |
63 | |
|
64 | |
|
65 | |
|
66 | |
@Column(name="ACTV_IND") |
67 | |
private Boolean activeInd; |
68 | |
|
69 | |
@Transient |
70 | |
private String actionsUrl; |
71 | |
|
72 | |
public Long getEdocLiteAssocId() { |
73 | 0 | return edocLiteAssocId; |
74 | |
} |
75 | |
public void setEdocLiteAssocId(Long edocLiteAssocId) { |
76 | 0 | this.edocLiteAssocId = edocLiteAssocId; |
77 | 0 | } |
78 | |
public String getEdlName() { |
79 | 0 | return edlName; |
80 | |
} |
81 | |
public void setEdlName(String edlName) { |
82 | 0 | this.edlName = edlName; |
83 | 0 | } |
84 | |
public String getDefinition() { |
85 | 0 | return definition; |
86 | |
} |
87 | |
public void setDefinition(String definition) { |
88 | 0 | this.definition = definition; |
89 | 0 | } |
90 | |
public String getStyle() { |
91 | 0 | return style; |
92 | |
} |
93 | |
public void setStyle(String style) { |
94 | 0 | this.style = style; |
95 | 0 | } |
96 | |
public Boolean getActiveInd() { |
97 | 0 | return activeInd; |
98 | |
} |
99 | |
public void setActiveInd(Boolean activeInd) { |
100 | 0 | this.activeInd = activeInd; |
101 | 0 | } |
102 | |
|
103 | |
public String toString() { |
104 | 0 | return "[EDocLiteAssociation: edocLiteAssocId=" + edocLiteAssocId |
105 | |
+ ", edlName=" + edlName |
106 | |
+ ", definition=" + definition |
107 | |
+ ", style=" + style |
108 | |
+ ", activeInd=" + activeInd |
109 | |
+ ", versionNumber=" + versionNumber |
110 | |
+ "]"; |
111 | |
} |
112 | |
public String getActionsUrl() { |
113 | 0 | return actionsUrl; |
114 | |
} |
115 | |
public void setActionsUrl(String actionsUrl) { |
116 | 0 | this.actionsUrl = actionsUrl; |
117 | 0 | } |
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
@Override |
124 | |
protected LinkedHashMap<String, Object> toStringMapper() { |
125 | 0 | LinkedHashMap<String, Object> propMap = new LinkedHashMap<String, Object>(); |
126 | 0 | propMap.put("edocLiteAssocId", getEdocLiteAssocId()); |
127 | 0 | propMap.put("edlName", getEdlName()); |
128 | 0 | propMap.put("definition", getDefinition()); |
129 | 0 | propMap.put("style", getStyle()); |
130 | 0 | propMap.put("activeInd", getActiveInd()); |
131 | 0 | propMap.put("versionNumber", getVersionNumber()); |
132 | 0 | return propMap; |
133 | |
|
134 | |
} |
135 | |
} |