GLS ShipIT  2.7.11
GLS ShipIT - SOAP 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 
68  public String getServiceName() {
69 
70  return serviceName;
71  }
72 
79  public void setServiceName(String value) {
80 
81  this.serviceName = value;
82  }
83 
90  public Date getBirthdate() {
91 
92  return birthdate;
93  }
94 
101  public void setBirthdate(Date value) {
102 
103  this.birthdate = value;
104  }
105 
112  public String getFirstname() {
113 
114  return firstname;
115  }
116 
123  public void setFirstname(String value) {
124 
125  this.firstname = value;
126  }
127 
134  public String getLastname() {
135 
136  return lastname;
137  }
138 
145  public void setLastname(String value) {
146 
147  this.lastname = value;
148  }
149 
157 
158  return nationality;
159  }
160 
167  public void setNationality(Nationality value) {
168 
169  this.nationality = value;
170  }
171 
172 }