Clover Coverage Report - Implementation 2.0.0-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
12   128   12   1
0   64   1   12
12     1  
1    
 
  PersonDocumentCitizenship       Line # 33 12 0% 12 24 0% 0.0
 
No Tests
 
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.ui;
17   
18    import org.hibernate.annotations.GenericGenerator;
19    import org.hibernate.annotations.Parameter;
20   
21    import javax.persistence.*;
22    import java.sql.Date;
23   
24    /**
25    * This is a description of what this class does - shyu don't forget to fill this in.
26    *
27    * @author Kuali Rice Team (rice.collab@kuali.org)
28    *
29    */
30    @IdClass(PersonDocumentCitizenshipId.class)
31    @Entity
32    @Table(name = "KRIM_PND_CTZNSHP_MT")
 
33    public class PersonDocumentCitizenship extends KimDocumentBoActivatableEditableBase {
34    @Id
35    @GeneratedValue(generator="KRIM_ENTITY_CTZNSHP_ID_S")
36    @GenericGenerator(name="KRIM_ENTITY_CTZNSHP_ID_S",strategy="org.kuali.rice.core.jpa.spring.RiceNumericStringSequenceStyleGenerator",parameters={
37    @Parameter(name="sequence_name",value="KRIM_ENTITY_CTZNSHP_ID_S"),
38    @Parameter(name="value_column",value="id")
39    })
40    @Column(name = "ENTITY_CTZNSHP_ID")
41    protected String entityCitizenshipId;
42   
43    @Column(name = "ENTITY_ID")
44    protected String entityId;
45   
46    @Column(name = "POSTAL_CNTRY_CD")
47    protected String countryCode;
48   
49    @Column(name = "CTZNSHP_STAT_CD")
50    protected String citizenshipStatusCode;
51   
52    @Column(name = "strt_dt")
53    protected Date startDate;
54   
55    @Column(name = "end_dt")
56    protected Date endDate;
57   
58   
59    /**
60    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#getCitizenshipStatusCode()
61    */
 
62  0 toggle public String getCitizenshipStatusCode() {
63  0 return citizenshipStatusCode;
64    }
65   
66    /**
67    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#getEndDate()
68    */
 
69  0 toggle public Date getEndDate() {
70  0 return endDate;
71    }
72   
73    /**
74    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#getEntityCitizenshipId()
75    */
 
76  0 toggle public String getEntityCitizenshipId() {
77  0 return entityCitizenshipId;
78    }
79   
80    /**
81    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#getStartDate()
82    */
 
83  0 toggle public Date getStartDate() {
84  0 return startDate;
85    }
86   
87    /**
88    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#setCitizenshipStatusCode(java.lang.String)
89    */
 
90  0 toggle public void setCitizenshipStatusCode(String citizenshipStatusCode) {
91  0 this.citizenshipStatusCode = citizenshipStatusCode;
92    }
93   
94    /**
95    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#setEndDate(java.util.Date)
96    */
 
97  0 toggle public void setEndDate(Date endDate) {
98  0 this.endDate = endDate;
99    }
100   
101    /**
102    * @see org.kuali.rice.kim.bo.entity.KimEntityCitizenship#startDate(java.util.Date)
103    */
 
104  0 toggle public void setStartDate(Date startDate) {
105  0 this.startDate = startDate;
106    }
107   
108   
 
109  0 toggle public String getEntityId() {
110  0 return this.entityId;
111    }
112   
 
113  0 toggle public void setEntityId(String entityId) {
114  0 this.entityId = entityId;
115    }
116   
 
117  0 toggle public String getCountryCode() {
118  0 return this.countryCode;
119    }
120   
 
121  0 toggle public void setCountryCode(String countryCode) {
122  0 this.countryCode = countryCode;
123    }
124   
 
125  0 toggle public void setEntityCitizenshipId(String entityCitizenshipId) {
126  0 this.entityCitizenshipId = entityCitizenshipId;
127    }
128    }