1 | |
package org.kuali.student.lum.lu.entity; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import javax.persistence.CascadeType; |
6 | |
import javax.persistence.Entity; |
7 | |
import javax.persistence.OneToMany; |
8 | |
import javax.persistence.Table; |
9 | |
|
10 | |
import org.kuali.student.common.entity.Type; |
11 | |
|
12 | |
@Entity |
13 | |
@Table(name = "KSLU_CLU_PUBL_TYPE") |
14 | 0 | public class CluPublicationType extends Type<CluPublicationTypeAttribute>{ |
15 | |
|
16 | |
private static final long serialVersionUID = 1L; |
17 | |
|
18 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
19 | |
private List<CluPublicationTypeAttribute> attributes; |
20 | |
|
21 | |
public List<CluPublicationTypeAttribute> getAttributes() { |
22 | 0 | return attributes; |
23 | |
} |
24 | |
|
25 | |
public void setAttributes(List<CluPublicationTypeAttribute> attributes) { |
26 | 0 | this.attributes = attributes; |
27 | 0 | } |
28 | |
} |