public class

OrganizationRoleForWorkerDataType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.staffing.OrganizationRoleForWorkerDataType

Class Overview

Contains the organization role and the organizations that the worker supports that role for.

Java class for Organization_Role_for_Worker_DataType complex type.

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

 <complexType name="Organization_Role_for_Worker_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Organization_Role_Reference" type="{urn:com.workday/bsvc}Assignable_RoleObjectType" minOccurs="0"/>
         <element name="Organization_Role_Data" type="{urn:com.workday/bsvc}Organization_Role_Assignment_for_Worker_DataType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected List<OrganizationRoleAssignmentForWorkerDataType> organizationRoleData
protected AssignableRoleObjectType organizationRoleReference
Public Constructors
OrganizationRoleForWorkerDataType()
Public Methods
List<OrganizationRoleAssignmentForWorkerDataType> getOrganizationRoleData()
Gets the value of the organizationRoleData property.
AssignableRoleObjectType getOrganizationRoleReference()
Gets the value of the organizationRoleReference property.
void setOrganizationRoleData(List<OrganizationRoleAssignmentForWorkerDataType> organizationRoleData)
Sets the value of the organizationRoleData property.
void setOrganizationRoleReference(AssignableRoleObjectType value)
Sets the value of the organizationRoleReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected List<OrganizationRoleAssignmentForWorkerDataType> organizationRoleData

protected AssignableRoleObjectType organizationRoleReference

Public Constructors

public OrganizationRoleForWorkerDataType ()

Public Methods

public List<OrganizationRoleAssignmentForWorkerDataType> getOrganizationRoleData ()

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

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

    getOrganizationRoleData().add(newItem);
 

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

public AssignableRoleObjectType getOrganizationRoleReference ()

Gets the value of the organizationRoleReference property.

Returns

public void setOrganizationRoleData (List<OrganizationRoleAssignmentForWorkerDataType> organizationRoleData)

Sets the value of the organizationRoleData property.

Parameters
organizationRoleData Allowed object is OrganizationRoleAssignmentForWorkerDataType

public void setOrganizationRoleReference (AssignableRoleObjectType value)

Sets the value of the organizationRoleReference property.

Parameters
value Allowed object is AssignableRoleObjectType