1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lrc.entity; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import javax.persistence.CascadeType; |
21 | |
import javax.persistence.Entity; |
22 | |
import javax.persistence.OneToMany; |
23 | |
import javax.persistence.Table; |
24 | |
|
25 | |
import org.kuali.student.core.entity.Type; |
26 | |
|
27 | |
@Entity |
28 | |
@Table(name = "KSLR_RESCOMP_TYPE") |
29 | 103 | public class ResultComponentType extends Type<ResultComponentTypeAttribute> { |
30 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
31 | |
private List<ResultComponentTypeAttribute> attributes; |
32 | |
|
33 | |
@Override |
34 | |
public List<ResultComponentTypeAttribute> getAttributes() { |
35 | 71 | return attributes; |
36 | |
} |
37 | |
|
38 | |
@Override |
39 | |
public void setAttributes(List<ResultComponentTypeAttribute> attributes) { |
40 | 0 | this.attributes=attributes; |
41 | 0 | } |
42 | |
|
43 | |
} |