| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.rice.kns.bo; |
| 17 |
|
|
| 18 |
|
import java.io.Serializable; |
| 19 |
|
|
| 20 |
|
import javax.persistence.Column; |
| 21 |
|
import javax.persistence.Id; |
| 22 |
|
|
| 23 |
|
import org.apache.commons.lang.builder.HashCodeBuilder; |
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
|
|
|
| 0% |
Uncovered Elements: 28 (28) |
Complexity: 10 |
Complexity Density: 0.67 |
|
| 31 |
|
public class AdHocRouteWorkgroupId implements Serializable { |
| 32 |
|
|
| 33 |
|
private static final long serialVersionUID = -3782889247235043846L; |
| 34 |
|
|
| 35 |
|
@Column(name="RECIP_TYP_CD") |
| 36 |
|
private Integer type; |
| 37 |
|
@Id |
| 38 |
|
@Column(name="ACTN_RQST_CD") |
| 39 |
|
private String actionRequested; |
| 40 |
|
@Id |
| 41 |
|
@Column(name="ACTN_RQST_RECIP_ID") |
| 42 |
|
private String id; |
| 43 |
|
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 44 |
0
|
public AdHocRouteWorkgroupId() {}... |
| 45 |
|
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
| 46 |
0
|
public AdHocRouteWorkgroupId(Integer type, String actionRequested, String id) {... |
| 47 |
0
|
this.type = type; |
| 48 |
0
|
this.actionRequested = actionRequested; |
| 49 |
0
|
this.id = id; |
| 50 |
|
} |
| 51 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 52 |
0
|
public Integer getType() {... |
| 53 |
0
|
return this.type; |
| 54 |
|
} |
| 55 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 56 |
0
|
public String getActionRequested() {... |
| 57 |
0
|
return this.actionRequested; |
| 58 |
|
} |
| 59 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 60 |
0
|
public String getId() {... |
| 61 |
0
|
return this.id; |
| 62 |
|
} |
| 63 |
|
|
|
|
|
| 0% |
Uncovered Elements: 14 (14) |
Complexity: 4 |
Complexity Density: 0.5 |
|
| 64 |
0
|
public boolean equals(Object o) {... |
| 65 |
0
|
if (o == this) return true; |
| 66 |
0
|
if (!(o instanceof AdHocRouteWorkgroupId)) return false; |
| 67 |
0
|
if (o == null) return false; |
| 68 |
0
|
AdHocRouteWorkgroupId pk = (AdHocRouteWorkgroupId) o; |
| 69 |
0
|
return getType() != null && getActionRequested() != null && getId() != null && getType().equals(pk.getType()) && getActionRequested().equals(pk.getActionRequested()) && getId().equals(pk.getId()); |
| 70 |
|
} |
| 71 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 72 |
0
|
public int hashCode() {... |
| 73 |
0
|
return new HashCodeBuilder().append(type).append(actionRequested).append(id).toHashCode(); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
} |
| 77 |
|
|