|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ResultOption | Line # 33 | 12 | 0% | 12 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (27) | |||
| Result | |||
|
1.0
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult_RemoveAllCluResultOptions
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult_RemoveAllCluResultOptions
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
|
1 PASS | |
|
0.9166667
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning
|
1 PASS | |
|
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
|
1 PASS | |
|
0.5
|
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.Date; | |
| 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.Table; | |
| 26 | import javax.persistence.Temporal; | |
| 27 | import javax.persistence.TemporalType; | |
| 28 | ||
| 29 | import org.kuali.student.core.entity.MetaEntity; | |
| 30 | ||
| 31 | @Entity | |
| 32 | @Table(name = "KSLU_RSLT_OPT") | |
| 33 | public class ResultOption extends MetaEntity { | |
| 34 | ||
| 35 | @ManyToOne(cascade=CascadeType.ALL) | |
| 36 | @JoinColumn(name="RES_USAGE_ID") | |
| 37 | private ResultUsageType resultUsageType; | |
| 38 | ||
| 39 | @Column(name = "RES_COMP_ID") | |
| 40 | private String resultComponentId; | |
| 41 | ||
| 42 | @ManyToOne(cascade=CascadeType.ALL) | |
| 43 | @JoinColumn(name = "RT_DESCR_ID") | |
| 44 | private LuRichText desc; | |
| 45 | ||
| 46 | @Temporal(TemporalType.TIMESTAMP) | |
| 47 | @Column(name = "EFF_DT") | |
| 48 | private Date effectiveDate; | |
| 49 | ||
| 50 | @Temporal(TemporalType.TIMESTAMP) | |
| 51 | @Column(name = "EXPIR_DT") | |
| 52 | private Date expirationDate; | |
| 53 | ||
| 54 | @Column(name = "ST") | |
| 55 | private String state; | |
| 56 | ||
| 57 | 326 |
public ResultUsageType getResultUsageType() { |
| 58 | 326 | return resultUsageType; |
| 59 | } | |
| 60 | ||
| 61 | 1 |
public void setResultUsageType(ResultUsageType resultUsageType) { |
| 62 | 1 | this.resultUsageType = resultUsageType; |
| 63 | } | |
| 64 | ||
| 65 | 324 |
public String getResultComponentId() { |
| 66 | 324 | return resultComponentId; |
| 67 | } | |
| 68 | ||
| 69 | 152 |
public void setResultComponentId(String resultComponentId) { |
| 70 | 152 | this.resultComponentId = resultComponentId; |
| 71 | } | |
| 72 | ||
| 73 | 324 |
public LuRichText getDesc() { |
| 74 | 324 | return desc; |
| 75 | } | |
| 76 | ||
| 77 | 152 |
public void setDesc(LuRichText desc) { |
| 78 | 152 | this.desc = desc; |
| 79 | } | |
| 80 | ||
| 81 | 324 |
public Date getEffectiveDate() { |
| 82 | 324 | return effectiveDate; |
| 83 | } | |
| 84 | ||
| 85 | 152 |
public void setEffectiveDate(Date effectiveDate) { |
| 86 | 152 | this.effectiveDate = effectiveDate; |
| 87 | } | |
| 88 | ||
| 89 | 324 |
public Date getExpirationDate() { |
| 90 | 324 | return expirationDate; |
| 91 | } | |
| 92 | ||
| 93 | 152 |
public void setExpirationDate(Date expirationDate) { |
| 94 | 152 | this.expirationDate = expirationDate; |
| 95 | } | |
| 96 | ||
| 97 | 324 |
public String getState() { |
| 98 | 324 | return state; |
| 99 | } | |
| 100 | ||
| 101 | 152 |
public void setState(String state) { |
| 102 | 152 | this.state = state; |
| 103 | } | |
| 104 | ||
| 105 | } | |
|
||||||||||||