| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.core.proposal.entity; |
| 17 |
|
|
| 18 |
|
import javax.persistence.AttributeOverride; |
| 19 |
|
import javax.persistence.Column; |
| 20 |
|
import javax.persistence.Entity; |
| 21 |
|
import javax.persistence.JoinColumn; |
| 22 |
|
import javax.persistence.ManyToOne; |
| 23 |
|
import javax.persistence.NamedQueries; |
| 24 |
|
import javax.persistence.NamedQuery; |
| 25 |
|
import javax.persistence.Table; |
| 26 |
|
|
| 27 |
|
import org.kuali.student.core.entity.BaseEntity; |
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
@author |
| 33 |
|
|
| 34 |
|
|
| 35 |
|
@Entity |
| 36 |
|
@Table(name = "KSPR_PROPOSAL_JN_ORG") |
| 37 |
|
@NamedQueries( { |
| 38 |
|
@NamedQuery(name = "ProposalOrg.getProposalOrg", query = "SELECT p FROM ProposalOrg p WHERE p.orgId = :orgId") |
| 39 |
|
}) |
| 40 |
|
@AttributeOverride(name="id", column=@Column(name="ORGREF_ID")) |
|
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
| 41 |
|
public class ProposalOrg extends BaseEntity{ |
| 42 |
|
|
| 43 |
|
@Column(name = "ORG_ID") |
| 44 |
|
private String orgId; |
| 45 |
|
|
| 46 |
|
@ManyToOne |
| 47 |
|
@JoinColumn(name = "PROPOSAL_ID") |
| 48 |
|
private Proposal proposal; |
| 49 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 50 |
8
|
public String getOrgId() {... |
| 51 |
8
|
return orgId; |
| 52 |
|
} |
| 53 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 54 |
4
|
public void setOrgId(String orgId) {... |
| 55 |
4
|
this.orgId = orgId; |
| 56 |
|
} |
| 57 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 58 |
0
|
public Proposal getProposal() {... |
| 59 |
0
|
return proposal; |
| 60 |
|
} |
| 61 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 62 |
4
|
public void setProposal(Proposal proposal) {... |
| 63 |
4
|
this.proposal = proposal; |
| 64 |
|
} |
| 65 |
|
} |