org.dozer.vo.jaxb.employee
Class EmployeeType

java.lang.Object
  extended by org.dozer.vo.jaxb.employee.EmployeeType

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>
 


Field Summary
protected  XMLGregorianCalendar birthDate
           
protected  String firstName
           
protected  List<Integer> ids
           
protected  String lastName
           
protected  List<EmployeeType> subordinates
           
 
Constructor Summary
EmployeeType()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

firstName

protected String firstName

birthDate

protected XMLGregorianCalendar birthDate

lastName

protected String lastName

ids

protected List<Integer> ids

subordinates

protected List<EmployeeType> subordinates
Constructor Detail

EmployeeType

public EmployeeType()
Method Detail

getFirstName

public String getFirstName()
Gets the value of the firstName property.

Returns:
possible object is String

setFirstName

public void setFirstName(String value)
Sets the value of the firstName property.

Parameters:
value - allowed object is String

getBirthDate

public XMLGregorianCalendar getBirthDate()
Gets the value of the birthDate property.

Returns:
possible object is XMLGregorianCalendar

setBirthDate

public void setBirthDate(XMLGregorianCalendar value)
Sets the value of the birthDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getLastName

public String getLastName()
Gets the value of the lastName property.

Returns:
possible object is String

setLastName

public void setLastName(String value)
Sets the value of the lastName property.

Parameters:
value - allowed object is String

getIds

public List<Integer> getIds()
Gets the value of the ids property.

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


getSubordinates

public List<EmployeeType> getSubordinates()
Gets the value of the subordinates property.

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-2011 dozer. All Rights Reserved.