| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AdminOrgInfo | Line # 40 | 14 | 0% | 13 | 2 | 92.9% | 0.9285714 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (37) | |||
| 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.program.service.impl.TestProgramServiceImpl.testCoreProgramVersioning  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCoreProgramVersioning | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber | 1 PASS | |
| 0.85714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateCoreProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateCoreProgram | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateCoreProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateCoreProgram | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteCoreProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteCoreProgram | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateBaccCredentialProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateBaccCredentialProgram | 1 PASS | |
| 0.8214286 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse | 1 PASS | |
| 0.71428573 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation | 1 PASS | |
| 0.5 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetBaccCredentialProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetBaccCredentialProgram | 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 | |
| 0.5 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetCoreProgram | 1 PASS | |
| 0.42857143 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteBaccCredentialProgram  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteBaccCredentialProgram | 1 PASS | |
| 0.35714287 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement | 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.HashMap; | |
| 20 | import java.util.Map; | |
| 21 | ||
| 22 | import javax.xml.bind.annotation.XmlAccessType; | |
| 23 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 24 | import javax.xml.bind.annotation.XmlAttribute; | |
| 25 | import javax.xml.bind.annotation.XmlElement; | |
| 26 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | |
| 27 | ||
| 28 | import org.kuali.student.common.dto.HasAttributes; | |
| 29 | import org.kuali.student.common.dto.Idable; | |
| 30 | import org.kuali.student.common.dto.MetaInfo; | |
| 31 | import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | |
| 32 | ||
| 33 | /** | |
| 34 | * This is a description of what this class does - hjohnson don't forget to fill this in. | |
| 35 | * | |
| 36 | * @author Kuali Student Team (kuali-student@googlegroups.com) | |
| 37 | * | |
| 38 | */ | |
| 39 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 40 | public class AdminOrgInfo implements Serializable, Idable, HasAttributes { | |
| 41 | ||
| 42 | private static final long serialVersionUID = 1L; | |
| 43 | ||
| 44 | @XmlAttribute | |
| 45 | private String id; | |
| 46 | ||
| 47 | @XmlElement | |
| 48 | private String orgId; | |
| 49 | ||
| 50 | @XmlElement | |
| 51 | @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | |
| 52 | private Map<String, String> attributes; | |
| 53 | ||
| 54 | @XmlElement | |
| 55 | private MetaInfo metaInfo; | |
| 56 | ||
| 57 | @XmlAttribute | |
| 58 | private String type; | |
| 59 | ||
| 60 | @XmlElement | |
| 61 | private boolean isPrimary; | |
| 62 | ||
| 63 | ||
| 64 | /* | |
| 65 | * Unique identifier for the accreditation. | |
| 66 | */ | |
| 67 | 919 |  public String getId() { | 
| 68 | 919 | return id; | 
| 69 | } | |
| 70 | ||
| 71 | 2587 |  public void setId(String id) { | 
| 72 | 2587 | this.id = id; | 
| 73 | } | |
| 74 | ||
| 75 | /* | |
| 76 | * Unique identifier for the organization responsible for the accreditation. | |
| 77 | */ | |
| 78 | 2566 |  public String getOrgId() { | 
| 79 | 2566 | return orgId; | 
| 80 | } | |
| 81 | ||
| 82 | 3146 |  public void setOrgId(String orgId) { | 
| 83 | 3146 | this.orgId = orgId; | 
| 84 | } | |
| 85 | ||
| 86 | /** | |
| 87 | * List of key/value pairs, typically used for dynamic attributes. | |
| 88 | */ | |
| 89 | 963 |  public Map<String, String> getAttributes() { | 
| 90 | 963 | if (attributes == null) { | 
| 91 | 723 | attributes = new HashMap<String, String>(); | 
| 92 | } | |
| 93 | 963 | return attributes; | 
| 94 | } | |
| 95 | ||
| 96 | 2413 |  public void setAttributes(Map<String, String> attributes) { | 
| 97 | 2413 | this.attributes = attributes; | 
| 98 | } | |
| 99 | ||
| 100 | 11902 |  public String getType() { | 
| 101 | 11902 | return type; | 
| 102 | } | |
| 103 | ||
| 104 | 3144 |  public void setType(String type) { | 
| 105 | 3144 | this.type = type; | 
| 106 | } | |
| 107 | ||
| 108 | 917 |  public boolean isPrimary() { | 
| 109 | 917 | return isPrimary; | 
| 110 | } | |
| 111 | ||
| 112 | 2413 |  public void setPrimary(boolean isPrimary) { | 
| 113 | 2413 | this.isPrimary = isPrimary; | 
| 114 | } | |
| 115 | ||
| 116 | 21 |  public MetaInfo getMetaInfo() { | 
| 117 | 21 | return metaInfo; | 
| 118 | } | |
| 119 | ||
| 120 | 0 |  public void setMetaInfo(MetaInfo metaInfo) { | 
| 121 | 0 | this.metaInfo = metaInfo; | 
| 122 | } | |
| 123 | } | |
| 
 | ||||||||||||