| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
package org.kuali.student.contract.model.test.source; |
| 14 |
|
|
| 15 |
|
import java.io.Serializable; |
| 16 |
|
|
| 17 |
|
import javax.xml.bind.annotation.XmlAttribute; |
| 18 |
|
import javax.xml.bind.annotation.XmlTransient; |
| 19 |
|
|
| 20 |
|
|
| 21 |
|
@SuppressWarnings("serial") |
| 22 |
|
@XmlTransient |
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 3 |
Complexity Density: 0.6 |
|
| 23 |
|
public abstract class IdEntityInfo extends EntityInfo implements IdEntity, Serializable { |
| 24 |
|
|
| 25 |
|
@XmlAttribute |
| 26 |
|
private String id; |
| 27 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 28 |
0
|
protected IdEntityInfo() {... |
| 29 |
0
|
super (); |
| 30 |
0
|
id = null; |
| 31 |
|
} |
| 32 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 33 |
0
|
protected IdEntityInfo(IdEntity builder) {... |
| 34 |
0
|
super(builder); |
| 35 |
0
|
this.id = builder.getId(); |
| 36 |
|
} |
| 37 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 38 |
0
|
@Override... |
| 39 |
|
public String getId() { |
| 40 |
0
|
return id; |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
| 47 |
|
public static class Builder extends EntityInfo.Builder implements IdEntity { |
| 48 |
|
|
| 49 |
|
private String id; |
| 50 |
|
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 51 |
0
|
public Builder() {}... |
| 52 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 53 |
0
|
public Builder(IdEntity entity) {... |
| 54 |
0
|
super(entity); |
| 55 |
0
|
this.id = entity.getId(); |
| 56 |
|
} |
| 57 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 58 |
0
|
@Override... |
| 59 |
|
public String getId() { |
| 60 |
0
|
return id; |
| 61 |
|
} |
| 62 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 63 |
0
|
public void setId(String id) {... |
| 64 |
0
|
this.id = id; |
| 65 |
|
} |
| 66 |
|
} |
| 67 |
|
} |