public class

WorkShiftType

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

Class Overview

Element containing work shift reference and data.

Java class for Work_ShiftType complex type.

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

 <complexType name="Work_ShiftType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Work_Shift_Reference" type="{urn:com.workday/bsvc}Work_ShiftObjectType" minOccurs="0"/>
         <element name="Work_Shift_Data" type="{urn:com.workday/bsvc}Work_Shift_DataType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected List<WorkShiftDataType> workShiftData
protected WorkShiftObjectType workShiftReference
Public Constructors
WorkShiftType()
Public Methods
List<WorkShiftDataType> getWorkShiftData()
Gets the value of the workShiftData property.
WorkShiftObjectType getWorkShiftReference()
Gets the value of the workShiftReference property.
void setWorkShiftData(List<WorkShiftDataType> workShiftData)
Sets the value of the workShiftData property.
void setWorkShiftReference(WorkShiftObjectType value)
Sets the value of the workShiftReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected List<WorkShiftDataType> workShiftData

protected WorkShiftObjectType workShiftReference

Public Constructors

public WorkShiftType ()

Public Methods

public List<WorkShiftDataType> getWorkShiftData ()

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

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

    getWorkShiftData().add(newItem);
 

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

public WorkShiftObjectType getWorkShiftReference ()

Gets the value of the workShiftReference property.

Returns

public void setWorkShiftData (List<WorkShiftDataType> workShiftData)

Sets the value of the workShiftData property.

Parameters
workShiftData Allowed object is WorkShiftDataType

public void setWorkShiftReference (WorkShiftObjectType value)

Sets the value of the workShiftReference property.

Parameters
value Allowed object is WorkShiftObjectType