public class EmployeeType extends Object
Java class for EmployeeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EmployeeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Ids" type="{http://jaxb.vo.dozer.org/Employee}ListOfIds"/> <element name="Subordinates" type="{http://jaxb.vo.dozer.org/Employee}EmployeeType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected XMLGregorianCalendar |
birthDate |
protected String |
firstName |
protected List<Integer> |
ids |
protected String |
lastName |
protected List<EmployeeType> |
subordinates |
Constructor and Description |
---|
EmployeeType() |
Modifier and Type | Method and Description |
---|---|
XMLGregorianCalendar |
getBirthDate()
Gets the value of the birthDate property.
|
String |
getFirstName()
Gets the value of the firstName property.
|
List<Integer> |
getIds()
Gets the value of the ids property.
|
String |
getLastName()
Gets the value of the lastName property.
|
List<EmployeeType> |
getSubordinates()
Gets the value of the subordinates property.
|
void |
setBirthDate(XMLGregorianCalendar value)
Sets the value of the birthDate property.
|
void |
setFirstName(String value)
Sets the value of the firstName property.
|
void |
setLastName(String value)
Sets the value of the lastName property.
|
protected String firstName
protected XMLGregorianCalendar birthDate
protected String lastName
protected List<EmployeeType> subordinates
public String getFirstName()
String
public void setFirstName(String value)
value
- allowed object is
String
public XMLGregorianCalendar getBirthDate()
XMLGregorianCalendar
public void setBirthDate(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public String getLastName()
String
public void setLastName(String value)
value
- allowed object is
String
public List<Integer> getIds()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the ids property.
For example, to add a new item, do as follows:
getIds().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
public List<EmployeeType> getSubordinates()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the subordinates property.
For example, to add a new item, do as follows:
getSubordinates().add(newItem);
Objects of the following type(s) are allowed in the list
EmployeeType
Copyright © 2005-2014 dozer. All Rights Reserved.