Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PersonVisaInfo |
|
| 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.core.person.dto; | |
17 | ||
18 | import java.io.Serializable; | |
19 | import java.util.Date; | |
20 | ||
21 | import javax.xml.bind.annotation.XmlAccessType; | |
22 | import javax.xml.bind.annotation.XmlAccessorType; | |
23 | import javax.xml.bind.annotation.XmlAttribute; | |
24 | import javax.xml.bind.annotation.XmlElement; | |
25 | ||
26 | import org.kuali.student.core.dto.Idable; | |
27 | import org.kuali.student.core.dto.MetaInfo; | |
28 | ||
29 | /** | |
30 | *Detailed information about a person's visa. | |
31 | */ | |
32 | @XmlAccessorType(XmlAccessType.FIELD) | |
33 | 0 | public class PersonVisaInfo implements Serializable, Idable { |
34 | ||
35 | private static final long serialVersionUID = 1L; | |
36 | ||
37 | @XmlElement | |
38 | private String personId; | |
39 | ||
40 | @XmlElement | |
41 | private String visaTypeKey; | |
42 | ||
43 | @XmlElement | |
44 | private Date effectiveDate; | |
45 | ||
46 | @XmlElement | |
47 | private Date expirationDate; | |
48 | ||
49 | @XmlElement | |
50 | private String visaEntry; | |
51 | ||
52 | @XmlElement | |
53 | private String visaId; | |
54 | ||
55 | @XmlElement | |
56 | private MetaInfo metaInfo; | |
57 | ||
58 | @XmlAttribute | |
59 | private String id; | |
60 | ||
61 | /** | |
62 | * Unique identifier for a person record. This is optional, due to the identifier being set at the time of creation of the person. Once the person has been created, this should be seen as required. | |
63 | */ | |
64 | public String getPersonId() { | |
65 | 0 | return personId; |
66 | } | |
67 | ||
68 | public void setPersonId(String personId) { | |
69 | 0 | this.personId = personId; |
70 | 0 | } |
71 | ||
72 | /** | |
73 | * key Code for the visa type (e.g.landed immigrant, on student visa, diplomat) | |
74 | */ | |
75 | public String getVisaTypeKey() { | |
76 | 0 | return visaTypeKey; |
77 | } | |
78 | ||
79 | public void setVisaTypeKey(String visaTypeKey) { | |
80 | 0 | this.visaTypeKey = visaTypeKey; |
81 | 0 | } |
82 | ||
83 | /** | |
84 | * Date/Time this became effective | |
85 | */ | |
86 | public Date getEffectiveDate() { | |
87 | 0 | return effectiveDate; |
88 | } | |
89 | ||
90 | public void setEffectiveDate(Date effectiveDate) { | |
91 | 0 | this.effectiveDate = effectiveDate; |
92 | 0 | } |
93 | ||
94 | /** | |
95 | * Date/Time this became no longer effective | |
96 | */ | |
97 | public Date getExpirationDate() { | |
98 | 0 | return expirationDate; |
99 | } | |
100 | ||
101 | public void setExpirationDate(Date expirationDate) { | |
102 | 0 | this.expirationDate = expirationDate; |
103 | 0 | } |
104 | ||
105 | /** | |
106 | * port of entry | |
107 | */ | |
108 | public String getVisaEntry() { | |
109 | 0 | return visaEntry; |
110 | } | |
111 | ||
112 | public void setVisaEntry(String visaEntry) { | |
113 | 0 | this.visaEntry = visaEntry; |
114 | 0 | } |
115 | ||
116 | /** | |
117 | * visa identification number | |
118 | */ | |
119 | public String getVisaId() { | |
120 | 0 | return visaId; |
121 | } | |
122 | ||
123 | public void setVisaId(String visaId) { | |
124 | 0 | this.visaId = visaId; |
125 | 0 | } |
126 | ||
127 | /** | |
128 | * Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations. | |
129 | */ | |
130 | public MetaInfo getMetaInfo() { | |
131 | 0 | return metaInfo; |
132 | } | |
133 | ||
134 | public void setMetaInfo(MetaInfo metaInfo) { | |
135 | 0 | this.metaInfo = metaInfo; |
136 | 0 | } |
137 | ||
138 | /** | |
139 | * Unique identifier for the citizenship record. This is set by the service to be able to determine changes and alterations to the structure as well as provides a handle for searches. This structure is not accessible through unique operations, and it is strongly recommended that no external references to this particular identifier be maintained. Once this identifier is set by the service, it should be seen as required and readonly. | |
140 | */ | |
141 | public String getId() { | |
142 | 0 | return id; |
143 | } | |
144 | ||
145 | public void setId(String id) { | |
146 | 0 | this.id = id; |
147 | 0 | } |
148 | } |