GLS ShipIT  2.8.11
GLS ShipIT - REST services
IdentService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
5 
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlSchemaType;
10 import javax.xml.bind.annotation.XmlType;
11 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12 import java.util.Date;
13 
14 
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "IdentService", propOrder = {
41  "serviceName",
42  "birthdate",
43  "firstname",
44  "lastname",
45  "nationality"
46 })
47 public class IdentService {
48 
49  @XmlElement(name = "ServiceName", required = true)
50  protected String serviceName;
51  @XmlElement(name = "Birthdate", required = true, type = String.class)
52  @XmlJavaTypeAdapter(Adapter2.class)
53  @XmlSchemaType(name = "date")
54  protected Date birthdate;
55  @XmlElement(name = "Firstname", required = true)
56  protected String firstname;
57  @XmlElement(name = "Lastname", required = true)
58  protected String lastname;
59  @XmlElement(name = "Nationality", required = true)
60  protected Nationality nationality;
61 
70  public String getServiceName() {
71  return serviceName;
72  }
73 
82  public void setServiceName(String value) {
83  this.serviceName = value;
84  }
85 
94  public Date getBirthdate() {
95  return birthdate;
96  }
97 
106  public void setBirthdate(Date value) {
107  this.birthdate = value;
108  }
109 
118  public String getFirstname() {
119  return firstname;
120  }
121 
130  public void setFirstname(String value) {
131  this.firstname = value;
132  }
133 
142  public String getLastname() {
143  return lastname;
144  }
145 
154  public void setLastname(String value) {
155  this.lastname = value;
156  }
157 
167  return nationality;
168  }
169 
178  public void setNationality(Nationality value) {
179  this.nationality = value;
180  }
181 
182 }