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.Entity; |
22 | |
import javax.persistence.OneToMany; |
23 | |
import javax.persistence.Table; |
24 | |
|
25 | |
import org.kuali.student.common.entity.Type; |
26 | |
|
27 | |
@Entity |
28 | |
@Table(name = "KSLU_CLU_LO_RELTN_TYPE") |
29 | 86 | public class CluLoRelationType extends Type<CluLoRelationTypeAttribute> { |
30 | |
|
31 | |
private static final long serialVersionUID = 1L; |
32 | |
|
33 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
34 | |
private List<CluLoRelationTypeAttribute> attributes; |
35 | |
|
36 | |
public List<CluLoRelationTypeAttribute> getAttributes() { |
37 | 0 | return attributes; |
38 | |
} |
39 | |
|
40 | |
public void setAttributes(List<CluLoRelationTypeAttribute> attributes) { |
41 | 0 | this.attributes = attributes; |
42 | 0 | } |
43 | |
} |