public class

WorkerReferenceType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.hr.WorkerReferenceType

Class Overview

Reference element representing a unique instance of Worker (e.g. Employee or Contingent Worker).

Java class for Worker_ReferenceType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Worker_ReferenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="Employee_Reference" type="{urn:com.workday/bsvc}Employee_ReferenceType"/>
           <element name="Contingent_Worker_Reference" type="{urn:com.workday/bsvc}Contingent_Worker_Reference_DataType"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected ContingentWorkerReferenceDataType contingentWorkerReference
protected EmployeeReferenceType employeeReference
Public Constructors
WorkerReferenceType()
Public Methods
ContingentWorkerReferenceDataType getContingentWorkerReference()
Gets the value of the contingentWorkerReference property.
EmployeeReferenceType getEmployeeReference()
Gets the value of the employeeReference property.
void setContingentWorkerReference(ContingentWorkerReferenceDataType value)
Sets the value of the contingentWorkerReference property.
void setEmployeeReference(EmployeeReferenceType value)
Sets the value of the employeeReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected ContingentWorkerReferenceDataType contingentWorkerReference

protected EmployeeReferenceType employeeReference

Public Constructors

public WorkerReferenceType ()

Public Methods

public ContingentWorkerReferenceDataType getContingentWorkerReference ()

Gets the value of the contingentWorkerReference property.

Returns

public EmployeeReferenceType getEmployeeReference ()

Gets the value of the employeeReference property.

Returns

public void setContingentWorkerReference (ContingentWorkerReferenceDataType value)

Sets the value of the contingentWorkerReference property.

Parameters
value Allowed object is ContingentWorkerReferenceDataType

public void setEmployeeReference (EmployeeReferenceType value)

Sets the value of the employeeReference property.

Parameters
value Allowed object is EmployeeReferenceType