| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| KimEntityVisaImpl |
|
| 1.0;1 |
| 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.impl; | |
| 17 | ||
| 18 | import org.hibernate.annotations.GenericGenerator; | |
| 19 | import org.hibernate.annotations.Parameter; | |
| 20 | import org.kuali.rice.kim.bo.entity.KimEntityVisa; | |
| 21 | ||
| 22 | import javax.persistence.*; | |
| 23 | ||
| 24 | /** | |
| 25 | * This is a description of what this class does - jimt don't forget to fill this in. | |
| 26 | * | |
| 27 | * @author Kuali Rice Team (kuali-rice@googlegroups.com) | |
| 28 | * | |
| 29 | */ | |
| 30 | @Entity | |
| 31 | @Table(name = "KRIM_ENTITY_VISA_T") | |
| 32 | 0 | public class KimEntityVisaImpl extends KimEntityDataBase implements KimEntityVisa { |
| 33 | ||
| 34 | private static final long serialVersionUID = 3067809653175495621L; | |
| 35 | ||
| 36 | @Id | |
| 37 | @GeneratedValue(generator="KRIM_ENTITY_VISA_ID_S") | |
| 38 | @GenericGenerator(name="KRIM_ENTITY_VISA_ID_S",strategy="org.kuali.rice.core.jpa.spring.RiceNumericStringSequenceStyleGenerator",parameters={ | |
| 39 | @Parameter(name="sequence_name",value="KRIM_ENTITY_VISA_ID_S"), | |
| 40 | @Parameter(name="value_column",value="id") | |
| 41 | }) | |
| 42 | @Column(name = "ID") | |
| 43 | private String id; | |
| 44 | ||
| 45 | @Column(name = "ENTITY_ID") | |
| 46 | private String entityId; | |
| 47 | ||
| 48 | @Column(name = "VISA_TYPE_KEY") | |
| 49 | private String visaTypeKey; | |
| 50 | ||
| 51 | @Column(name = "VISA_ENTRY") | |
| 52 | private String visaEntry; | |
| 53 | ||
| 54 | @Column(name = "VISA_ID") | |
| 55 | private String visaId; | |
| 56 | ||
| 57 | /** | |
| 58 | * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getId() | |
| 59 | */ | |
| 60 | public String getId() { | |
| 61 | 0 | return id; |
| 62 | } | |
| 63 | ||
| 64 | /** | |
| 65 | * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getEntityId() | |
| 66 | */ | |
| 67 | public String getEntityId() { | |
| 68 | 0 | return entityId; |
| 69 | } | |
| 70 | ||
| 71 | /** | |
| 72 | * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getVisaEntry() | |
| 73 | */ | |
| 74 | public String getVisaEntry() { | |
| 75 | 0 | return visaEntry; |
| 76 | } | |
| 77 | ||
| 78 | /** | |
| 79 | * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getVisaId() | |
| 80 | */ | |
| 81 | public String getVisaId() { | |
| 82 | 0 | return visaId; |
| 83 | } | |
| 84 | ||
| 85 | /** | |
| 86 | * @see org.kuali.rice.kim.bo.entity.KimEntityVisa#getVisaTypeKey() | |
| 87 | */ | |
| 88 | public String getVisaTypeKey() { | |
| 89 | 0 | return visaTypeKey; |
| 90 | } | |
| 91 | ||
| 92 | /** | |
| 93 | * @param id the id to set | |
| 94 | */ | |
| 95 | public void setId(String id) { | |
| 96 | 0 | this.id = id; |
| 97 | 0 | } |
| 98 | ||
| 99 | /** | |
| 100 | * @param entityId the entityId to set | |
| 101 | */ | |
| 102 | public void setEntityId(String entityId) { | |
| 103 | 0 | this.entityId = entityId; |
| 104 | 0 | } |
| 105 | ||
| 106 | /** | |
| 107 | * @param visaTypeKey the visaTypeKey to set | |
| 108 | */ | |
| 109 | public void setVisaTypeKey(String visaTypeKey) { | |
| 110 | 0 | this.visaTypeKey = visaTypeKey; |
| 111 | 0 | } |
| 112 | ||
| 113 | /** | |
| 114 | * @param visaEntry the visaEntry to set | |
| 115 | */ | |
| 116 | public void setVisaEntry(String visaEntry) { | |
| 117 | 0 | this.visaEntry = visaEntry; |
| 118 | 0 | } |
| 119 | ||
| 120 | /** | |
| 121 | * @param visaId the visaId to set | |
| 122 | */ | |
| 123 | public void setVisaId(String visaId) { | |
| 124 | 0 | this.visaId = visaId; |
| 125 | 0 | } |
| 126 | } |