1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
3 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2019.08.22 at 12:18:25 PM UTC
6 //
7
8
9 package gov.ojp.it.jxdm._3_0;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18 import gov.ojp.it.jxdm._3_0_3.proxy.xsd._1.Date;
19
20
21 /**
22 * <p>Java class for anonymous complex type.
23 *
24 * <p>The following schema fragment specifies the expected content contained within this class.
25 *
26 * <pre>
27 * <complexType>
28 * <complexContent>
29 * <extension base="{http://www.it.ojp.gov/jxdm/3.0.3}SuperType">
30 * <sequence>
31 * <element name="PersonName" type="{http://www.it.ojp.gov/jxdm/3.0.3}PersonNameType"/>
32 * <element name="PersonPhysicalDetails" type="{http://www.it.ojp.gov/jxdm/3.0.3}PersonPhysicalDetailsType"/>
33 * <element name="PersonBirthDate" type="{http://www.it.ojp.gov/jxdm/3.0.3/proxy/xsd/1.0}date"/>
34 * <element name="Residence" type="{http://www.it.ojp.gov/jxdm/3.0.3}ResidenceType" maxOccurs="unbounded" minOccurs="0"/>
35 * </sequence>
36 * </extension>
37 * </complexContent>
38 * </complexType>
39 * </pre>
40 *
41 *
42 */
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "", propOrder = {
45 "personName",
46 "personPhysicalDetails",
47 "personBirthDate",
48 "residence"
49 })
50 @XmlRootElement(name = "Person")
51 public class Person
52 extends SuperType
53 {
54
55 @XmlElement(name = "PersonName", required = true)
56 protected PersonNameType personName;
57 @XmlElement(name = "PersonPhysicalDetails", required = true)
58 protected PersonPhysicalDetailsType personPhysicalDetails;
59 @XmlElement(name = "PersonBirthDate", required = true)
60 protected Date personBirthDate;
61 @XmlElement(name = "Residence")
62 protected List<ResidenceType> residence;
63
64 /**
65 * Default no-arg constructor
66 *
67 */
68 public Person() {
69 super();
70 }
71
72 /**
73 * Fully-initialising value constructor
74 *
75 */
76 public Person(final String sourceIDText, final String id, final PersonNameType personName, final PersonPhysicalDetailsType personPhysicalDetails, final Date personBirthDate, final List<ResidenceType> residence) {
77 super(sourceIDText, id);
78 this.personName = personName;
79 this.personPhysicalDetails = personPhysicalDetails;
80 this.personBirthDate = personBirthDate;
81 this.residence = residence;
82 }
83
84 /**
85 * Gets the value of the personName property.
86 *
87 * @return
88 * possible object is
89 * {@link PersonNameType }
90 *
91 */
92 public PersonNameType getPersonName() {
93 return personName;
94 }
95
96 /**
97 * Sets the value of the personName property.
98 *
99 * @param value
100 * allowed object is
101 * {@link PersonNameType }
102 *
103 */
104 public void setPersonName(PersonNameType value) {
105 this.personName = value;
106 }
107
108 /**
109 * Gets the value of the personPhysicalDetails property.
110 *
111 * @return
112 * possible object is
113 * {@link PersonPhysicalDetailsType }
114 *
115 */
116 public PersonPhysicalDetailsType getPersonPhysicalDetails() {
117 return personPhysicalDetails;
118 }
119
120 /**
121 * Sets the value of the personPhysicalDetails property.
122 *
123 * @param value
124 * allowed object is
125 * {@link PersonPhysicalDetailsType }
126 *
127 */
128 public void setPersonPhysicalDetails(PersonPhysicalDetailsType value) {
129 this.personPhysicalDetails = value;
130 }
131
132 /**
133 * Gets the value of the personBirthDate property.
134 *
135 * @return
136 * possible object is
137 * {@link Date }
138 *
139 */
140 public Date getPersonBirthDate() {
141 return personBirthDate;
142 }
143
144 /**
145 * Sets the value of the personBirthDate property.
146 *
147 * @param value
148 * allowed object is
149 * {@link Date }
150 *
151 */
152 public void setPersonBirthDate(Date value) {
153 this.personBirthDate = value;
154 }
155
156 /**
157 * Gets the value of the residence property.
158 *
159 * <p>
160 * This accessor method returns a reference to the live list,
161 * not a snapshot. Therefore any modification you make to the
162 * returned list will be present inside the JAXB object.
163 * This is why there is not a <CODE>set</CODE> method for the residence property.
164 *
165 * <p>
166 * For example, to add a new item, do as follows:
167 * <pre>
168 * getResidence().add(newItem);
169 * </pre>
170 *
171 *
172 * <p>
173 * Objects of the following type(s) are allowed in the list
174 * {@link ResidenceType }
175 *
176 *
177 */
178 public List<ResidenceType> getResidence() {
179 if (residence == null) {
180 residence = new ArrayList<ResidenceType>();
181 }
182 return this.residence;
183 }
184
185 }