|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AccreditationInfo | Line # 33 | 14 | 0% | 13 | 2 | 92.9% |
0.9285714
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (15) | |||
| Result | |||
|
0.9285714
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
|
1 PASS | |
|
0.9285714
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
|
1 PASS | |
|
0.85714287
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation
|
1 PASS | |
|
0.85714287
|
org.kuali.student.lum.program.service.impl.TestProgramInfoDictionary.testMajorDisciplineInfoValidation
org.kuali.student.lum.program.service.impl.TestProgramInfoDictionary.testMajorDisciplineInfoValidation
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline
|
1 PASS | |
|
0.78571427
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline
|
1 PASS | |
|
0.42857143
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline
|
1 PASS | |
|
0.35714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId
|
1 PASS | |
|
0.35714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram
|
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.dto; | |
| 17 | ||
| 18 | import java.io.Serializable; | |
| 19 | import java.util.Date; | |
| 20 | import java.util.HashMap; | |
| 21 | import java.util.Map; | |
| 22 | ||
| 23 | import org.kuali.student.common.dto.HasAttributes; | |
| 24 | import org.kuali.student.common.dto.Idable; | |
| 25 | import org.kuali.student.common.dto.MetaInfo; | |
| 26 | ||
| 27 | /** | |
| 28 | * This is a description of what this class does - hjohnson don't forget to fill this in. | |
| 29 | * | |
| 30 | * @author Kuali Student Team (kuali-student@googlegroups.com) | |
| 31 | * | |
| 32 | */ | |
| 33 | public class AccreditationInfo implements Serializable, Idable, HasAttributes { | |
| 34 | ||
| 35 | private static final long serialVersionUID = 1L; | |
| 36 | ||
| 37 | private String id; | |
| 38 | ||
| 39 | private String orgId; | |
| 40 | ||
| 41 | ||
| 42 | private Date effectiveDate; | |
| 43 | ||
| 44 | ||
| 45 | private Date expirationDate; | |
| 46 | ||
| 47 | private Map<String, String> attributes; | |
| 48 | ||
| 49 | private MetaInfo metaInfo; | |
| 50 | ||
| 51 | ||
| 52 | ||
| 53 | ||
| 54 | /* | |
| 55 | * Unique identifier for the organization responsible for the accreditation. | |
| 56 | */ | |
| 57 | 146 |
public String getOrgId() { |
| 58 | 146 | return orgId; |
| 59 | } | |
| 60 | ||
| 61 | 121 |
public void setOrgId(String orgId) { |
| 62 | 121 | this.orgId = orgId; |
| 63 | } | |
| 64 | ||
| 65 | /* | |
| 66 | * Date and time the accreditation became effective. | |
| 67 | */ | |
| 68 | 143 |
public Date getEffectiveDate() { |
| 69 | 143 | return effectiveDate; |
| 70 | } | |
| 71 | ||
| 72 | 121 |
public void setEffectiveDate(Date effectiveDate) { |
| 73 | 121 | this.effectiveDate = effectiveDate; |
| 74 | } | |
| 75 | ||
| 76 | /* | |
| 77 | * Date and time the accreditation expires. | |
| 78 | */ | |
| 79 | 143 |
public Date getExpirationDate() { |
| 80 | 143 | return expirationDate; |
| 81 | } | |
| 82 | ||
| 83 | 121 |
public void setExpirationDate(Date expirationDate) { |
| 84 | 121 | this.expirationDate = expirationDate; |
| 85 | } | |
| 86 | ||
| 87 | /** | |
| 88 | * List of key/value pairs, typically used for dynamic attributes. | |
| 89 | */ | |
| 90 | 135 |
public Map<String, String> getAttributes() { |
| 91 | 135 | if (attributes == null) { |
| 92 | 38 | attributes = new HashMap<String, String>(); |
| 93 | } | |
| 94 | 135 | return attributes; |
| 95 | } | |
| 96 | ||
| 97 | 113 |
public void setAttributes(Map<String, String> attributes) { |
| 98 | 113 | this.attributes = attributes; |
| 99 | } | |
| 100 | ||
| 101 | /* | |
| 102 | * Create and last update info for the structure. | |
| 103 | * This is optional and treated as read only since the data is set by the internals of the service during maintenance operations. | |
| 104 | */ | |
| 105 | 48 |
public MetaInfo getMetaInfo() { |
| 106 | 48 | return metaInfo; |
| 107 | } | |
| 108 | ||
| 109 | 0 |
public void setMetaInfo(MetaInfo metaInfo) { |
| 110 | 0 | this.metaInfo = metaInfo; |
| 111 | } | |
| 112 | ||
| 113 | /* | |
| 114 | * Unique identifier for the accreditation. | |
| 115 | */ | |
| 116 | 153 |
public String getId() { |
| 117 | 153 | return id; |
| 118 | } | |
| 119 | ||
| 120 | 111 |
public void setId(String id) { |
| 121 | 111 | this.id = id; |
| 122 | } | |
| 123 | } | |
|
||||||||||||