1 | |
package org.kuali.student.enrollment.lpr.model.usinginfc; |
2 | |
|
3 | |
import org.kuali.student.common.infc.AttributeInfc; |
4 | |
|
5 | |
import javax.persistence.*; |
6 | |
import java.io.Serializable; |
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
@Entity |
12 | 0 | public class AttributeEntity implements AttributeInfc, Serializable { |
13 | |
private static final long serialVersionUID = -8609058228324425537L; |
14 | |
|
15 | |
@Id |
16 | |
@GeneratedValue |
17 | |
private Long id; |
18 | |
|
19 | |
@Enumerated(EnumType.STRING) |
20 | |
private String path; |
21 | |
|
22 | |
private String key; |
23 | |
|
24 | |
private String value; |
25 | |
|
26 | |
public String getId() { |
27 | 0 | return Long.toString(id.longValue()); |
28 | |
} |
29 | |
|
30 | |
public void setId(Long id) { |
31 | 0 | this.id = id; |
32 | 0 | } |
33 | |
|
34 | |
public String getPath() { |
35 | 0 | return path; |
36 | |
} |
37 | |
|
38 | |
public void setPath(String path) { |
39 | 0 | this.path = path; |
40 | 0 | } |
41 | |
|
42 | |
@Override |
43 | |
public String getKey() { |
44 | 0 | return key; |
45 | |
} |
46 | |
|
47 | |
@Override |
48 | |
public String getValue() { |
49 | 0 | return value; |
50 | |
} |
51 | |
} |