| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| KimEntityVisaInfo | 
  | 
  | 1.0833333333333333;1.083 | 
| 1 |  /* | |
| 2 |   * Copyright 2007-2009 The Kuali Foundation | |
| 3 |   * | |
| 4 |   * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 |   * you may not use this file except in compliance with the License. | |
| 6 |   * You may obtain a copy of the License at | |
| 7 |   * | |
| 8 |   * http://www.opensource.org/licenses/ecl2.php | |
| 9 |   * | |
| 10 |   * Unless required by applicable law or agreed to in writing, software | |
| 11 |   * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 |   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 |   * See the License for the specific language governing permissions and | |
| 14 |   * limitations under the License. | |
| 15 |   */ | |
| 16 |  package org.kuali.rice.kim.bo.entity.dto; | |
| 17 | ||
| 18 |  import org.kuali.rice.kim.bo.entity.KimEntityVisa; | |
| 19 | ||
| 20 |  /** | |
| 21 |   * DTO for visa information associated with a KIM identity | |
| 22 |   *  | |
| 23 |   * @author Kuali Rice Team (kuali-rice@googlegroups.com) | |
| 24 |   * | |
| 25 |   */ | |
| 26 | public class KimEntityVisaInfo extends KimInfoBase implements KimEntityVisa {  | |
| 27 | ||
| 28 | private static final long serialVersionUID = 469708778377293171L;  | |
| 29 | ||
| 30 |          private String id; | |
| 31 |          private String entityId; | |
| 32 |          private String visaTypeKey; | |
| 33 |          private String visaEntry; | |
| 34 |          private String visaId; | |
| 35 | ||
| 36 |          public KimEntityVisaInfo() { | |
| 37 | 0 |                  super(); | 
| 38 | 0 |          } | 
| 39 | ||
| 40 |          public KimEntityVisaInfo(KimEntityVisa kimEntityVisa) { | |
| 41 | 0 |                  this(); | 
| 42 | 0 |                  if ( kimEntityVisa != null ) { | 
| 43 | 0 |                          id = kimEntityVisa.getId(); | 
| 44 | 0 |                          entityId = kimEntityVisa.getEntityId(); | 
| 45 | 0 |                          visaTypeKey = kimEntityVisa.getVisaTypeKey(); | 
| 46 | 0 |                          visaEntry = kimEntityVisa.getVisaEntry(); | 
| 47 | 0 |                          visaId = kimEntityVisa.getVisaId(); | 
| 48 | }  | |
| 49 | 0 |          } | 
| 50 | ||
| 51 |          /** | |
| 52 |           * {@inheritDoc}  | |
| 53 |           * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getId() | |
| 54 |           */ | |
| 55 |          public String getId() { | |
| 56 | 0 |                  return id; | 
| 57 | }  | |
| 58 | ||
| 59 |          /** | |
| 60 |           * {@inheritDoc} | |
| 61 |           * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getEntityId() | |
| 62 |           */ | |
| 63 |          public String getEntityId() { | |
| 64 | 0 |                  return entityId; | 
| 65 | }  | |
| 66 | ||
| 67 |          /** | |
| 68 |           * {@inheritDoc} | |
| 69 |           * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getVisaEntry() | |
| 70 |           */ | |
| 71 |          public String getVisaEntry() { | |
| 72 | 0 |                  return visaEntry; | 
| 73 | }  | |
| 74 | ||
| 75 |          /** | |
| 76 |           * {@inheritDoc} | |
| 77 |           * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getVisaId() | |
| 78 |           */ | |
| 79 |          public String getVisaId() { | |
| 80 | 0 |                  return visaId; | 
| 81 | }  | |
| 82 | ||
| 83 |          /** | |
| 84 |           * {@inheritDoc} | |
| 85 |           * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getVisaTypeKey() | |
| 86 |           */ | |
| 87 |          public String getVisaTypeKey() { | |
| 88 | 0 |                  return visaTypeKey; | 
| 89 | }  | |
| 90 | ||
| 91 |          /** | |
| 92 |           * @param id the id to set | |
| 93 |           */ | |
| 94 | public void setId(String id) {  | |
| 95 | 0 |                  this.id = id; | 
| 96 | 0 |          } | 
| 97 | ||
| 98 |          /** | |
| 99 |           * @param entityId the entityId to set | |
| 100 |           */ | |
| 101 | public void setEntityId(String entityId) {  | |
| 102 | 0 |                  this.entityId = entityId; | 
| 103 | 0 |          } | 
| 104 | ||
| 105 |          /** | |
| 106 |           * @param visaTypeKey the visaTypeKey to set | |
| 107 |           */ | |
| 108 | public void setVisaTypeKey(String visaTypeKey) {  | |
| 109 | 0 |                  this.visaTypeKey = visaTypeKey; | 
| 110 | 0 |          } | 
| 111 | ||
| 112 |          /** | |
| 113 |           * @param visaEntry the visaEntry to set | |
| 114 |           */ | |
| 115 | public void setVisaEntry(String visaEntry) {  | |
| 116 | 0 |                  this.visaEntry = visaEntry; | 
| 117 | 0 |          } | 
| 118 | ||
| 119 |          /** | |
| 120 |           * @param visaId the visaId to set | |
| 121 |           */ | |
| 122 | public void setVisaId(String visaId) {  | |
| 123 | 0 |                  this.visaId = visaId; | 
| 124 | 0 |          } | 
| 125 | ||
| 126 | }  |