1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.entity; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import javax.persistence.CascadeType; |
21 | |
import javax.persistence.Column; |
22 | |
import javax.persistence.Entity; |
23 | |
import javax.persistence.OneToMany; |
24 | |
import javax.persistence.Table; |
25 | |
|
26 | |
import org.kuali.student.common.entity.AttributeOwner; |
27 | |
import org.kuali.student.common.entity.BaseEntity; |
28 | |
|
29 | |
@Entity |
30 | |
@Table(name = "KSLU_CLU_IDENT") |
31 | 801 | public class CluIdentifier extends BaseEntity implements AttributeOwner<CluIdentifierAttribute> { |
32 | |
|
33 | |
@Column(name = "CD") |
34 | |
private String code; |
35 | |
|
36 | |
@Column(name = "SHRT_NAME") |
37 | |
private String shortName; |
38 | |
|
39 | |
@Column(name = "LNG_NAME") |
40 | |
private String longName; |
41 | |
|
42 | |
@Column(name = "LVL") |
43 | |
private String level; |
44 | |
|
45 | |
@Column(name = "DIV") |
46 | |
private String division; |
47 | |
|
48 | |
@Column(name = "VARTN") |
49 | |
private String variation; |
50 | |
|
51 | |
@Column(name = "SUFX_CD") |
52 | |
private String suffixCode; |
53 | |
|
54 | |
@Column(name = "ORG_ID") |
55 | |
private String orgId; |
56 | |
|
57 | |
@Column(name = "TYPE") |
58 | |
private String type; |
59 | |
|
60 | |
@Column(name = "ST") |
61 | |
private String state; |
62 | |
|
63 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
64 | |
private List<CluIdentifierAttribute> attributes; |
65 | |
|
66 | |
public String getCode() { |
67 | 999 | return code; |
68 | |
} |
69 | |
|
70 | |
public void setCode(String code) { |
71 | 277 | this.code = code; |
72 | 277 | } |
73 | |
|
74 | |
public String getShortName() { |
75 | 999 | return shortName; |
76 | |
} |
77 | |
|
78 | |
public void setShortName(String shortName) { |
79 | 277 | this.shortName = shortName; |
80 | 277 | } |
81 | |
|
82 | |
public String getLongName() { |
83 | 999 | return longName; |
84 | |
} |
85 | |
|
86 | |
public void setLongName(String longName) { |
87 | 277 | this.longName = longName; |
88 | 277 | } |
89 | |
|
90 | |
public String getLevel() { |
91 | 999 | return level; |
92 | |
} |
93 | |
|
94 | |
public void setLevel(String level) { |
95 | 277 | this.level = level; |
96 | 277 | } |
97 | |
|
98 | |
public String getDivision() { |
99 | 999 | return division; |
100 | |
} |
101 | |
|
102 | |
public void setDivision(String division) { |
103 | 277 | this.division = division; |
104 | 277 | } |
105 | |
|
106 | |
public String getVariation() { |
107 | 999 | return variation; |
108 | |
} |
109 | |
|
110 | |
public void setVariation(String variation) { |
111 | 277 | this.variation = variation; |
112 | 277 | } |
113 | |
|
114 | |
public String getType() { |
115 | 999 | return type; |
116 | |
} |
117 | |
|
118 | |
public void setType(String type) { |
119 | 277 | this.type = type; |
120 | 277 | } |
121 | |
|
122 | |
public String getState() { |
123 | 999 | return state; |
124 | |
} |
125 | |
|
126 | |
public void setState(String state) { |
127 | 277 | this.state = state; |
128 | 277 | } |
129 | |
|
130 | |
public String getSuffixCode() { |
131 | 999 | return suffixCode; |
132 | |
} |
133 | |
|
134 | |
public void setSuffixCode(String suffixCode) { |
135 | 277 | this.suffixCode = suffixCode; |
136 | 277 | } |
137 | |
|
138 | |
public String getOrgId() { |
139 | 999 | return orgId; |
140 | |
} |
141 | |
|
142 | |
public void setOrgId(String orgId) { |
143 | 277 | this.orgId = orgId; |
144 | 277 | } |
145 | |
|
146 | |
public List<CluIdentifierAttribute> getAttributes() { |
147 | 1830 | return attributes; |
148 | |
} |
149 | |
|
150 | |
public void setAttributes(List<CluIdentifierAttribute> attributes) { |
151 | 430 | this.attributes = attributes; |
152 | 430 | } |
153 | |
} |