| 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.core.entity.Attribute; |
| 9 |
|
@Entity |
| 10 |
|
@Table(name = "KSDO_REF_DOC_REL_ATTR") |
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
| 11 |
|
public class RefDocRelationAttribute extends Attribute<RefDocRelation>{ |
| 12 |
|
|
| 13 |
|
@ManyToOne |
| 14 |
|
@JoinColumn(name = "OWNER") |
| 15 |
|
private RefDocRelation owner; |
| 16 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 17 |
0
|
@Override... |
| 18 |
|
public RefDocRelation getOwner() { |
| 19 |
0
|
return owner; |
| 20 |
|
} |
| 21 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 22 |
0
|
@Override... |
| 23 |
|
public void setOwner(RefDocRelation owner) { |
| 24 |
0
|
this.owner = owner; |
| 25 |
|
} |
| 26 |
|
|
| 27 |
|
} |