1 | |
package org.kuali.student.core.document.entity; |
2 | |
|
3 | |
import javax.persistence.Entity; |
4 | |
import javax.persistence.JoinColumn; |
5 | |
import javax.persistence.ManyToOne; |
6 | |
import javax.persistence.Table; |
7 | |
|
8 | |
import org.kuali.student.common.entity.Attribute;; |
9 | 0 | @Entity |
10 | |
@Table(name = "KSDO_REF_DOC_REL_ATTR") |
11 | 0 | public class RefDocRelationAttribute extends Attribute<RefDocRelation>{ |
12 | |
|
13 | |
@ManyToOne |
14 | |
@JoinColumn(name = "OWNER") |
15 | |
private RefDocRelation owner; |
16 | |
|
17 | |
@Override |
18 | |
public RefDocRelation getOwner() { |
19 | 0 | return owner; |
20 | |
} |
21 | |
|
22 | |
@Override |
23 | |
public void setOwner(RefDocRelation owner) { |
24 | 0 | this.owner = owner; |
25 | 0 | } |
26 | |
|
27 | |
} |