|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CluAccreditation | Line # 42 | 8 | 0% | 8 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (13) | |||
| Result | |||
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
|
1 PASS | |
|
1.0
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
|
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.testGetCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram
|
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 | import java.util.List; | |
| 20 | ||
| 21 | import javax.persistence.CascadeType; | |
| 22 | import javax.persistence.Column; | |
| 23 | import javax.persistence.Entity; | |
| 24 | import javax.persistence.OneToMany; | |
| 25 | import javax.persistence.Table; | |
| 26 | import javax.persistence.Temporal; | |
| 27 | import javax.persistence.TemporalType; | |
| 28 | ||
| 29 | import org.kuali.student.common.entity.AttributeOwner; | |
| 30 | import org.kuali.student.common.entity.MetaEntity; | |
| 31 | ||
| 32 | /** | |
| 33 | * This is a description of what this class does - hjohnson don't forget to fill | |
| 34 | * this in. | |
| 35 | * | |
| 36 | * @author Kuali Student Team (kuali-student@googlegroups.com) | |
| 37 | * | |
| 38 | */ | |
| 39 | ||
| 40 | @Entity | |
| 41 | @Table(name = "KSLU_CLU_ACCRED") | |
| 42 | public class CluAccreditation extends MetaEntity implements | |
| 43 | AttributeOwner<CluAccreditationAttribute> { | |
| 44 | ||
| 45 | @Column(name = "ORG_ID") | |
| 46 | private String orgId; | |
| 47 | ||
| 48 | @Temporal(TemporalType.TIMESTAMP) | |
| 49 | @Column(name = "EFF_DT") | |
| 50 | private Date effectiveDate; | |
| 51 | ||
| 52 | @Temporal(TemporalType.TIMESTAMP) | |
| 53 | @Column(name = "EXPIR_DT") | |
| 54 | private Date expirationDate; | |
| 55 | ||
| 56 | @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") | |
| 57 | private List<CluAccreditationAttribute> attributes; | |
| 58 | ||
| 59 | 166 |
public List<CluAccreditationAttribute> getAttributes() { |
| 60 | 166 | return attributes; |
| 61 | } | |
| 62 | ||
| 63 | 51 |
public void setAttributes(List<CluAccreditationAttribute> attributes) { |
| 64 | 51 | this.attributes = attributes; |
| 65 | } | |
| 66 | ||
| 67 | 73 |
public String getOrgId() { |
| 68 | 73 | return orgId; |
| 69 | } | |
| 70 | ||
| 71 | 31 |
public void setOrgId(String orgId) { |
| 72 | 31 | this.orgId = orgId; |
| 73 | } | |
| 74 | ||
| 75 | 73 |
public Date getEffectiveDate() { |
| 76 | 73 | return effectiveDate; |
| 77 | } | |
| 78 | ||
| 79 | 31 |
public void setEffectiveDate(Date effectiveDate) { |
| 80 | 31 | this.effectiveDate = effectiveDate; |
| 81 | } | |
| 82 | ||
| 83 | 73 |
public Date getExpirationDate() { |
| 84 | 73 | return expirationDate; |
| 85 | } | |
| 86 | ||
| 87 | 31 |
public void setExpirationDate(Date expirationDate) { |
| 88 | 31 | this.expirationDate = expirationDate; |
| 89 | } | |
| 90 | ||
| 91 | } | |
|
||||||||||||