public class

OrganizationRoleForWorkerDataType

extends Object
java.lang.Object
   ↳ workday.com.bsvc.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}Organization_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

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

Fields

protected List<OrganizationRoleAssignmentForWorkerDataType> organizationRoleData

protected OrganizationRoleObjectType 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 OrganizationRoleObjectType getOrganizationRoleReference ()

Gets the value of the organizationRoleReference property.

Returns

public void setOrganizationRoleReference (OrganizationRoleObjectType value)

Sets the value of the organizationRoleReference property.

Parameters
value Allowed object is OrganizationRoleObjectType