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.PersistableBusinessObjectExtensionBase; |
20 |
|
|
21 |
|
import javax.persistence.*; |
22 |
|
|
23 |
|
@Entity |
24 |
|
@Table(name="TRV_ACCT_EXT") |
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 6 |
Complexity Density: 1 |
|
25 |
|
public class TravelAccountExtension extends PersistableBusinessObjectExtensionBase { |
26 |
|
|
27 |
|
@Id |
28 |
|
@Column(name="acct_num") |
29 |
|
private String number; |
30 |
|
|
31 |
|
@Column(name="acct_type") |
32 |
|
private String accountTypeCode; |
33 |
|
|
34 |
|
@OneToOne(fetch=FetchType.EAGER) |
35 |
|
@JoinColumn(name="acct_type", insertable=false, updatable=false) |
36 |
|
private TravelAccountType accountType; |
37 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
38 |
0
|
public String getNumber() {... |
39 |
0
|
return number; |
40 |
|
} |
41 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
0
|
public void setNumber(String number) {... |
43 |
0
|
this.number = number; |
44 |
|
} |
45 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0
|
public String getAccountTypeCode() {... |
47 |
0
|
return accountTypeCode; |
48 |
|
} |
49 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
50 |
0
|
public void setAccountTypeCode(String accountTypeCode) {... |
51 |
0
|
this.accountTypeCode = accountTypeCode; |
52 |
|
} |
53 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
54 |
0
|
public TravelAccountType getAccountType() {... |
55 |
0
|
return accountType; |
56 |
|
} |
57 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
58 |
0
|
public void setAccountType(TravelAccountType accountType) {... |
59 |
0
|
this.accountType = accountType; |
60 |
|
} |
61 |
|
|
62 |
|
|
63 |
|
} |