| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.lum.lu.entity; |
| 17 |
|
|
| 18 |
|
import java.util.List; |
| 19 |
|
|
| 20 |
|
import javax.persistence.CascadeType; |
| 21 |
|
import javax.persistence.Column; |
| 22 |
|
import javax.persistence.Entity; |
| 23 |
|
import javax.persistence.JoinColumn; |
| 24 |
|
import javax.persistence.ManyToOne; |
| 25 |
|
import javax.persistence.OneToMany; |
| 26 |
|
import javax.persistence.Table; |
| 27 |
|
|
| 28 |
|
import org.kuali.student.common.entity.AttributeOwner; |
| 29 |
|
import org.kuali.student.common.entity.MetaEntity; |
| 30 |
|
|
| 31 |
|
@Entity |
| 32 |
|
@Table(name = "KSLU_LU_CODE") |
|
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
| 33 |
|
public class LuCode extends MetaEntity implements AttributeOwner<LuCodeAttribute> { |
| 34 |
|
|
| 35 |
|
@Column(name = "DESCR") |
| 36 |
|
private String descr; |
| 37 |
|
|
| 38 |
|
@Column(name = "VALUE") |
| 39 |
|
private String value; |
| 40 |
|
|
| 41 |
|
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
| 42 |
|
private List<LuCodeAttribute> attributes; |
| 43 |
|
|
| 44 |
|
@Column(name = "TYPE") |
| 45 |
|
private String type; |
| 46 |
|
|
| 47 |
|
@ManyToOne |
| 48 |
|
@JoinColumn(name="CLU_ID") |
| 49 |
|
private Clu clu; |
| 50 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 51 |
0
|
public String getDescr() {... |
| 52 |
0
|
return descr; |
| 53 |
|
} |
| 54 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 55 |
0
|
public void setDescr(String descr) {... |
| 56 |
0
|
this.descr = descr; |
| 57 |
|
} |
| 58 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 59 |
0
|
public String getValue() {... |
| 60 |
0
|
return value; |
| 61 |
|
} |
| 62 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 63 |
0
|
public void setValue(String value) {... |
| 64 |
0
|
this.value = value; |
| 65 |
|
} |
| 66 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 67 |
0
|
public List<LuCodeAttribute> getAttributes() {... |
| 68 |
0
|
return attributes; |
| 69 |
|
} |
| 70 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 71 |
0
|
public void setAttributes(List<LuCodeAttribute> attributes) {... |
| 72 |
0
|
this.attributes = attributes; |
| 73 |
|
} |
| 74 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 75 |
0
|
public String getType() {... |
| 76 |
0
|
return type; |
| 77 |
|
} |
| 78 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 79 |
0
|
public void setType(String type) {... |
| 80 |
0
|
this.type = type; |
| 81 |
|
} |
| 82 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 83 |
0
|
public Clu getClu() {... |
| 84 |
0
|
return clu; |
| 85 |
|
} |
| 86 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 87 |
0
|
public void setClu(Clu clu) {... |
| 88 |
0
|
this.clu = clu; |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
} |