|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LuCode | Line # 33 | 10 | 0% | 10 | 2 | 90% |
0.9
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (20) | |||
| Result | |||
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateCoreProgram
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateCoreProgram
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCoreProgramVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCoreProgramVersioning
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
|
1 PASS | |
|
0.9
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteCoreProgram
|
1 PASS | |
|
0.4
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram
|
1 PASS | |
|
0.4
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
|
1 PASS | |
|
0.4
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId
|
1 PASS | |
| 1 | /** | |
| 2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
| 3 | * Educational Community License, Version 2.0 (the "License"); you may | |
| 4 | * not use this file except in compliance with the License. You may | |
| 5 | * obtain a copy of the License at | |
| 6 | * | |
| 7 | * http://www.osedu.org/licenses/ECL-2.0 | |
| 8 | * | |
| 9 | * Unless required by applicable law or agreed to in writing, | |
| 10 | * software distributed under the License is distributed on an "AS IS" | |
| 11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
| 12 | * or implied. See the License for the specific language governing | |
| 13 | * permissions and limitations under the License. | |
| 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") | |
| 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 | ||
| 51 | 730 |
public String getDescr() { |
| 52 | 730 | return descr; |
| 53 | } | |
| 54 | ||
| 55 | 474 |
public void setDescr(String descr) { |
| 56 | 474 | this.descr = descr; |
| 57 | } | |
| 58 | ||
| 59 | 730 |
public String getValue() { |
| 60 | 730 | return value; |
| 61 | } | |
| 62 | ||
| 63 | 237 |
public void setValue(String value) { |
| 64 | 237 | this.value = value; |
| 65 | } | |
| 66 | ||
| 67 | 1441 |
public List<LuCodeAttribute> getAttributes() { |
| 68 | 1441 | return attributes; |
| 69 | } | |
| 70 | ||
| 71 | 473 |
public void setAttributes(List<LuCodeAttribute> attributes) { |
| 72 | 473 | this.attributes = attributes; |
| 73 | } | |
| 74 | ||
| 75 | 730 |
public String getType() { |
| 76 | 730 | return type; |
| 77 | } | |
| 78 | ||
| 79 | 237 |
public void setType(String type) { |
| 80 | 237 | this.type = type; |
| 81 | } | |
| 82 | ||
| 83 | 0 |
public Clu getClu() { |
| 84 | 0 | return clu; |
| 85 | } | |
| 86 | ||
| 87 | 237 |
public void setClu(Clu clu) { |
| 88 | 237 | this.clu = clu; |
| 89 | } | |
| 90 | ||
| 91 | } | |
|
||||||||||||