1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package edu.sampleu.travel.bo; |
18 |
|
|
19 |
|
import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; |
20 |
|
|
21 |
|
import javax.persistence.*; |
22 |
|
|
23 |
|
@Entity |
24 |
|
@Table(name="TRV_ACCT") |
|
|
| 0% |
Uncovered Elements: 16 (16) |
Complexity: 8 |
Complexity Density: 1 |
|
25 |
|
public class TravelAccount extends PersistableBusinessObjectBase { |
26 |
|
|
27 |
|
private static final long serialVersionUID = -7739303391609093875L; |
28 |
|
|
29 |
|
@Id |
30 |
|
@Column(name="acct_num") |
31 |
|
private String number; |
32 |
|
|
33 |
|
@Column(name="acct_name") |
34 |
|
private String name; |
35 |
|
|
36 |
|
@Column(name="acct_fo_id") |
37 |
|
private Long foId; |
38 |
|
|
39 |
|
@ManyToOne(fetch=FetchType.EAGER, cascade={CascadeType.PERSIST, CascadeType.MERGE}) |
40 |
|
@JoinColumn(name="acct_fo_id", insertable=false, updatable=false) |
41 |
|
private FiscalOfficer fiscalOfficer; |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public String getName() {... |
44 |
0
|
return name; |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
public void setName(String name) {... |
48 |
0
|
this.name = name; |
49 |
|
} |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0
|
public String getNumber() {... |
52 |
0
|
return number; |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public void setNumber(String number) {... |
56 |
0
|
this.number = number; |
57 |
|
} |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0
|
public FiscalOfficer getFiscalOfficer() {... |
60 |
0
|
return fiscalOfficer; |
61 |
|
} |
62 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
public void setFiscalOfficer(FiscalOfficer fiscalOfficer) {... |
64 |
0
|
this.fiscalOfficer = fiscalOfficer; |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public Long getFoId() {... |
68 |
0
|
return foId; |
69 |
|
} |
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0
|
public void setFoId(Long foId) {... |
72 |
0
|
this.foId = foId; |
73 |
|
} |
74 |
|
|
75 |
|
} |