public class

OrganizationRoleAssignmentWWSDataType

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

Class Overview

Contains information about organization role assignments.

Java class for Organization_Role_Assignment_WWS_DataType complex type.

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

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

Summary

Constants
long serialVersionUID
Fields
protected AssignableRoleObjectType roleReference
protected List<WorkerObjectType> workerReference
Public Constructors
OrganizationRoleAssignmentWWSDataType()
Public Methods
AssignableRoleObjectType getRoleReference()
Gets the value of the roleReference property.
List<WorkerObjectType> getWorkerReference()
Gets the value of the workerReference property.
void setRoleReference(AssignableRoleObjectType value)
Sets the value of the roleReference property.
void setWorkerReference(List<WorkerObjectType> workerReference)
Sets the value of the workerReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected AssignableRoleObjectType roleReference

protected List<WorkerObjectType> workerReference

Public Constructors

public OrganizationRoleAssignmentWWSDataType ()

Public Methods

public AssignableRoleObjectType getRoleReference ()

Gets the value of the roleReference property.

Returns

public List<WorkerObjectType> getWorkerReference ()

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

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

    getWorkerReference().add(newItem);
 

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

public void setRoleReference (AssignableRoleObjectType value)

Sets the value of the roleReference property.

Parameters
value Allowed object is AssignableRoleObjectType

public void setWorkerReference (List<WorkerObjectType> workerReference)

Sets the value of the workerReference property.

Parameters
workerReference Allowed object is WorkerObjectType