| 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 javax.persistence.Column; |
| 19 |
|
import javax.persistence.Entity; |
| 20 |
|
import javax.persistence.JoinColumn; |
| 21 |
|
import javax.persistence.ManyToOne; |
| 22 |
|
import javax.persistence.Table; |
| 23 |
|
import javax.persistence.UniqueConstraint; |
| 24 |
|
|
| 25 |
|
import org.kuali.student.common.entity.BaseEntity; |
| 26 |
|
|
| 27 |
|
@Entity |
| 28 |
|
@Table(name = "KSLU_RSRC", uniqueConstraints = @UniqueConstraint(columnNames = { |
| 29 |
|
"RSRC_TYPE_ID", "CLU_ID" })) |
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
| 30 |
|
public class Resource extends BaseEntity{ |
| 31 |
|
|
| 32 |
|
@Column(name = "RSRC_TYPE_ID") |
| 33 |
|
private String resourceTypeId; |
| 34 |
|
|
| 35 |
|
@ManyToOne |
| 36 |
|
@JoinColumn(name = "CLU_ID") |
| 37 |
|
private Clu clu; |
| 38 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 39 |
0
|
public String getResourceTypeId() {... |
| 40 |
0
|
return resourceTypeId; |
| 41 |
|
} |
| 42 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 43 |
0
|
public void setResourceTypeId(String resourceTypeId) {... |
| 44 |
0
|
this.resourceTypeId = resourceTypeId; |
| 45 |
|
} |
| 46 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 47 |
0
|
public Clu getClu() {... |
| 48 |
0
|
return clu; |
| 49 |
|
} |
| 50 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 51 |
0
|
public void setClu(Clu clu) {... |
| 52 |
0
|
this.clu = clu; |
| 53 |
|
} |
| 54 |
|
} |