GLS ShipIT
GLS ShipIT - SOAP services
 All Classes Namespaces Files Functions Variables Enumerator Pages
IdentService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
4 import java.util.Date;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
11 import org.w3._2001.xmlschema.Adapter2;
12 
13 
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "IdentService", propOrder = {
42  "serviceName",
43  "birthdate",
44  "firstname",
45  "lastname",
46  "nationality"
47 })
48 public class IdentService {
49 
50  @XmlElement(name = "ServiceName", required = true)
51  protected String serviceName;
52  @XmlElement(name = "Birthdate", required = true, type = String.class)
53  @XmlJavaTypeAdapter(Adapter2 .class)
54  @XmlSchemaType(name = "date")
55  protected Date birthdate;
56  @XmlElement(name = "Firstname", required = true)
57  protected String firstname;
58  @XmlElement(name = "Lastname", required = true)
59  protected String lastname;
60  @XmlElement(name = "Nationality", required = true)
61  protected Nationality nationality;
62 
71  public String getServiceName() {
72  return serviceName;
73  }
74 
83  public void setServiceName(String value) {
84  this.serviceName = value;
85  }
86 
95  public Date getBirthdate() {
96  return birthdate;
97  }
98 
107  public void setBirthdate(Date value) {
108  this.birthdate = value;
109  }
110 
119  public String getFirstname() {
120  return firstname;
121  }
122 
131  public void setFirstname(String value) {
132  this.firstname = value;
133  }
134 
143  public String getLastname() {
144  return lastname;
145  }
146 
155  public void setLastname(String value) {
156  this.lastname = value;
157  }
158 
168  return nationality;
169  }
170 
179  public void setNationality(Nationality value) {
180  this.nationality = value;
181  }
182 
183 }