|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CluPublicationVariant | Line # 14 | 6 | 0% | 6 | 2 | 83.3% |
0.8333333
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (14) | |||
| Result | |||
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteCoreProgram
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluPublicationCrud
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluPublicationCrud
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCoreProgramVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCoreProgramVersioning
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateCoreProgram
|
1 PASS | |
|
0.8333333
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
|
1 PASS | |
|
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
|
1 PASS | |
|
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
|
1 PASS | |
|
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
|
1 PASS | |
|
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
|
1 PASS | |
|
0.33333334
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
|
1 PASS | |
|
0.33333334
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId
|
1 PASS | |
| 1 | package org.kuali.student.lum.lu.entity; | |
| 2 | ||
| 3 | import javax.persistence.Column; | |
| 4 | import javax.persistence.Entity; | |
| 5 | import javax.persistence.JoinColumn; | |
| 6 | import javax.persistence.ManyToOne; | |
| 7 | import javax.persistence.Table; | |
| 8 | import javax.persistence.UniqueConstraint; | |
| 9 | ||
| 10 | import org.kuali.student.common.entity.BaseEntity; | |
| 11 | ||
| 12 | @Entity | |
| 13 | @Table(name = "KSLU_CLU_PUBL_VARI", uniqueConstraints={@UniqueConstraint(columnNames={"VARI_KEY", "OWNER"})}) | |
| 14 | public class CluPublicationVariant extends BaseEntity{ | |
| 15 | ||
| 16 | @Column(name="VARI_KEY") | |
| 17 | private String key; | |
| 18 | ||
| 19 | @Column(name="VARI_VALUE") | |
| 20 | private String value; | |
| 21 | ||
| 22 | @ManyToOne | |
| 23 | @JoinColumn(name = "OWNER") | |
| 24 | private CluPublication owner; | |
| 25 | ||
| 26 | 193 |
public String getKey() { |
| 27 | 193 | return key; |
| 28 | } | |
| 29 | ||
| 30 | 32 |
public void setKey(String key) { |
| 31 | 32 | this.key = key; |
| 32 | } | |
| 33 | ||
| 34 | 172 |
public String getValue() { |
| 35 | 172 | return value; |
| 36 | } | |
| 37 | ||
| 38 | 51 |
public void setValue(String value) { |
| 39 | 51 | this.value = value; |
| 40 | } | |
| 41 | ||
| 42 | 0 |
public CluPublication getOwner() { |
| 43 | 0 | return owner; |
| 44 | } | |
| 45 | ||
| 46 | 30 |
public void setOwner(CluPublication owner) { |
| 47 | 30 | this.owner = owner; |
| 48 | } | |
| 49 | } | |
|
||||||||||||