public class

PutWorkShiftRequestType

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

Class Overview

Contains data for adding or updating a Work Shift.

Java class for Put_Work_Shift_RequestType complex type.

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

 <complexType name="Put_Work_Shift_RequestType">
   <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"/>
       </sequence>
       <attribute name="Add_Only" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute ref="{urn:com.workday/bsvc}version"/>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected Boolean addOnly
protected String version
protected WorkShiftDataType workShiftData
protected WorkShiftObjectType workShiftReference
Public Constructors
PutWorkShiftRequestType()
Public Methods
Boolean getAddOnly()
Gets the value of the addOnly property.
String getVersion()
Gets the value of the version property.
WorkShiftDataType getWorkShiftData()
Gets the value of the workShiftData property.
WorkShiftObjectType getWorkShiftReference()
Gets the value of the workShiftReference property.
void setAddOnly(Boolean value)
Sets the value of the addOnly property.
void setVersion(String value)
Sets the value of the version property.
void setWorkShiftData(WorkShiftDataType value)
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 Boolean addOnly

protected String version

protected WorkShiftDataType workShiftData

protected WorkShiftObjectType workShiftReference

Public Constructors

public PutWorkShiftRequestType ()

Public Methods

public Boolean getAddOnly ()

Gets the value of the addOnly property. This getter has been renamed from isAddOnly() to getAddOnly() by cxf-xjc-boolean plugin.

Returns
  • possible object is Boolean

public String getVersion ()

Gets the value of the version property.

Returns
  • possible object is String

public WorkShiftDataType getWorkShiftData ()

Gets the value of the workShiftData property.

Returns

public WorkShiftObjectType getWorkShiftReference ()

Gets the value of the workShiftReference property.

Returns

public void setAddOnly (Boolean value)

Sets the value of the addOnly property.

Parameters
value Allowed object is Boolean

public void setVersion (String value)

Sets the value of the version property.

Parameters
value Allowed object is String

public void setWorkShiftData (WorkShiftDataType value)

Sets the value of the workShiftData property.

Parameters
value Allowed object is WorkShiftDataType

public void setWorkShiftReference (WorkShiftObjectType value)

Sets the value of the workShiftReference property.

Parameters
value Allowed object is WorkShiftObjectType