1 | |
package org.kuali.student.lum.lu.bo; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import javax.persistence.Column; |
6 | |
import javax.persistence.JoinColumn; |
7 | |
import javax.persistence.JoinTable; |
8 | |
import javax.persistence.ManyToMany; |
9 | |
|
10 | |
import org.kuali.student.core.bo.KsMetaInactivatableFromToBase; |
11 | |
import org.kuali.student.core.bo.KsTypeBusinessObject; |
12 | |
|
13 | 0 | public class LuLuRelationType extends KsMetaInactivatableFromToBase implements KsTypeBusinessObject { |
14 | |
|
15 | |
private static final long serialVersionUID = 3365217787985069099L; |
16 | |
|
17 | |
@ManyToMany |
18 | |
@JoinTable(name = "KSLU_LULU_RELTN_TYPE_JN_LU_TYP", joinColumns = @JoinColumn(name = "LULU_RELTN_TYPE_ID", referencedColumnName = "ID"), inverseJoinColumns = @JoinColumn(name = "LU_TYPE_ID", referencedColumnName = "TYPE_KEY")) |
19 | |
private List<LuType> luTypes; |
20 | |
|
21 | |
@Column(name = "NAME") |
22 | |
private String name; |
23 | |
|
24 | |
@Column(name = "DESCR") |
25 | |
private String description; |
26 | |
|
27 | |
@Column(name = "REV_NAME") |
28 | |
private String reverseName; |
29 | |
|
30 | |
@Column(name = "REV_DESC") |
31 | |
private String reverseDescription; |
32 | |
|
33 | |
|
34 | |
public List<LuType> getLuTypes() { |
35 | 0 | return luTypes; |
36 | |
} |
37 | |
|
38 | |
public void setLuTypes(List<LuType> luTypes) { |
39 | 0 | this.luTypes = luTypes; |
40 | 0 | } |
41 | |
|
42 | |
public String getName() { |
43 | 0 | return name; |
44 | |
} |
45 | |
|
46 | |
public void setName(String name) { |
47 | 0 | this.name = name; |
48 | 0 | } |
49 | |
|
50 | |
public String getDescription() { |
51 | 0 | return description; |
52 | |
} |
53 | |
|
54 | |
public void setDescription(String description) { |
55 | 0 | this.description = description; |
56 | 0 | } |
57 | |
|
58 | |
public String getReverseName() { |
59 | 0 | return reverseName; |
60 | |
} |
61 | |
|
62 | |
public void setReverseName(String reverseName) { |
63 | 0 | this.reverseName = reverseName; |
64 | 0 | } |
65 | |
|
66 | |
public String getReverseDescription() { |
67 | 0 | return reverseDescription; |
68 | |
} |
69 | |
|
70 | |
public void setReverseDescription(String reverseDescription) { |
71 | 0 | this.reverseDescription = reverseDescription; |
72 | 0 | } |
73 | |
|
74 | |
|
75 | |
} |