public class

EmployeeType

extends Object
java.lang.Object
   ↳ workday.com.bsvc.EmployeeType

Class Overview

Response element containing an instance of Employee and its associated data.

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="Employee_Reference" type="{urn:com.workday/bsvc}Employee_ReferenceType"/>
         <element name="Employee_Data" type="{urn:com.workday/bsvc}Employee_DataType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="As_Of_Date" type="{http://www.w3.org/2001/XMLSchema}date" />
       <attribute name="As_Of_Moment" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute ref="{urn:com.workday/bsvc}version"/>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected XMLGregorianCalendar asOfDate
protected XMLGregorianCalendar asOfMoment
protected List<EmployeeDataType> employeeData
protected EmployeeReferenceType employeeReference
protected String version
Public Constructors
EmployeeType()
Public Methods
XMLGregorianCalendar getAsOfDate()
Gets the value of the asOfDate property.
XMLGregorianCalendar getAsOfMoment()
Gets the value of the asOfMoment property.
List<EmployeeDataType> getEmployeeData()
Gets the value of the employeeData property.
EmployeeReferenceType getEmployeeReference()
Gets the value of the employeeReference property.
String getVersion()
Gets the value of the version property.
void setAsOfDate(XMLGregorianCalendar value)
Sets the value of the asOfDate property.
void setAsOfMoment(XMLGregorianCalendar value)
Sets the value of the asOfMoment property.
void setEmployeeReference(EmployeeReferenceType value)
Sets the value of the employeeReference property.
void setVersion(String value)
Sets the value of the version property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected XMLGregorianCalendar asOfDate

protected XMLGregorianCalendar asOfMoment

protected List<EmployeeDataType> employeeData

protected EmployeeReferenceType employeeReference

protected String version

Public Constructors

public EmployeeType ()

Public Methods

public XMLGregorianCalendar getAsOfDate ()

Gets the value of the asOfDate property.

Returns
  • possible object is XMLGregorianCalendar

public XMLGregorianCalendar getAsOfMoment ()

Gets the value of the asOfMoment property.

Returns
  • possible object is XMLGregorianCalendar

public List<EmployeeDataType> getEmployeeData ()

Gets the value of the employeeData 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 employeeData property.

For example, to add a new item, do as follows:

    getEmployeeData().add(newItem);
 

Objects of the following type(s) are allowed in the list EmployeeDataType

public EmployeeReferenceType getEmployeeReference ()

Gets the value of the employeeReference property.

Returns

public String getVersion ()

Gets the value of the version property.

Returns
  • possible object is String

public void setAsOfDate (XMLGregorianCalendar value)

Sets the value of the asOfDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setAsOfMoment (XMLGregorianCalendar value)

Sets the value of the asOfMoment property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setEmployeeReference (EmployeeReferenceType value)

Sets the value of the employeeReference property.

Parameters
value Allowed object is EmployeeReferenceType

public void setVersion (String value)

Sets the value of the version property.

Parameters
value Allowed object is String