| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LuLuRelationTypeInfo |
|
| 1.0;1 |
| 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 javax.xml.bind.annotation.XmlAccessType; | |
| 19 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 20 | import javax.xml.bind.annotation.XmlElement; | |
| 21 | ||
| 22 | import org.kuali.student.common.dto.TypeInfo; | |
| 23 | ||
| 24 | /** | |
| 25 | *Information about a LU to LU relationship type. | |
| 26 | */ | |
| 27 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 28 | 0 | public class LuLuRelationTypeInfo extends TypeInfo{ |
| 29 | ||
| 30 | private static final long serialVersionUID = 1L; | |
| 31 | ||
| 32 | @XmlElement | |
| 33 | private String revName; | |
| 34 | ||
| 35 | @XmlElement | |
| 36 | private String revDesc; | |
| 37 | ||
| 38 | /** | |
| 39 | * Name for the reverse LU to LU relationship type. This is primarily to be used by developers and may end up translated in the end system. | |
| 40 | */ | |
| 41 | public String getRevName() { | |
| 42 | 0 | return revName; |
| 43 | } | |
| 44 | ||
| 45 | public void setRevName(String revName) { | |
| 46 | 0 | this.revName = revName; |
| 47 | 0 | } |
| 48 | ||
| 49 | /** | |
| 50 | * Description of the reverse of the LU to LU relationship type | |
| 51 | */ | |
| 52 | public String getRevDesc() { | |
| 53 | 0 | return revDesc; |
| 54 | } | |
| 55 | ||
| 56 | public void setRevDesc(String revDesc) { | |
| 57 | 0 | this.revDesc = revDesc; |
| 58 | 0 | } |
| 59 | } |