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.Column; |
22 | |
import javax.persistence.Entity; |
23 | |
import javax.persistence.OneToMany; |
24 | |
import javax.persistence.Table; |
25 | |
|
26 | |
import org.kuali.student.common.entity.Type; |
27 | |
|
28 | |
@Entity |
29 | |
@Table(name = "KSLU_LUTYPE") |
30 | 432 | public class LuType extends Type<LuTypeAttribute> { |
31 | |
|
32 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
33 | |
private List<LuTypeAttribute> attributes; |
34 | |
|
35 | |
@Column(name = "INSTR_FRMT") |
36 | |
private String instructionalFormat; |
37 | |
|
38 | |
@Column(name = "DLVR_MTHD") |
39 | |
private String deliveryMethod; |
40 | |
|
41 | |
public List<LuTypeAttribute> getAttributes() { |
42 | 0 | return attributes; |
43 | |
} |
44 | |
|
45 | |
public void setAttributes(List<LuTypeAttribute> attributes) { |
46 | 0 | this.attributes = attributes; |
47 | 0 | } |
48 | |
|
49 | |
public String getInstructionalFormat() { |
50 | 0 | return instructionalFormat; |
51 | |
} |
52 | |
|
53 | |
public void setInstructionalFormat(String instructionalFormat) { |
54 | 0 | this.instructionalFormat = instructionalFormat; |
55 | 0 | } |
56 | |
|
57 | |
public String getDeliveryMethod() { |
58 | 0 | return deliveryMethod; |
59 | |
} |
60 | |
|
61 | |
public void setDeliveryMethod(String deliveryMethod) { |
62 | 0 | this.deliveryMethod = deliveryMethod; |
63 | 0 | } |
64 | |
} |