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_LU_PUBL_TYPE") |
29 | 0 | public class LuPublicationType extends Type<LuPublicationTypeAttribute> { |
30 | |
|
31 | |
private static final long serialVersionUID = 1L; |
32 | |
|
33 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
34 | |
private List<LuPublicationTypeAttribute> attributes; |
35 | |
|
36 | |
public List<LuPublicationTypeAttribute> getAttributes() { |
37 | 0 | return attributes; |
38 | |
} |
39 | |
|
40 | |
public void setAttributes(List<LuPublicationTypeAttribute> attributes) { |
41 | 0 | this.attributes = attributes; |
42 | 0 | } |
43 | |
} |