public class

WorkerRelatedPersonsDataType

extends Object
java.lang.Object
   ↳ workday.com.bsvc.WorkerRelatedPersonsDataType

Class Overview

Contains the person's that are related to the worker as a dependent, beneficiary or emergency contact. Security Note: This element is secured to the following domains: Self Service: Benefit Elections; Worker Data: Benefit Elections

Java class for Worker_Related_Persons_DataType complex type.

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

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

Summary

Fields
protected List<RelatedPersonType> relatedPerson
Public Constructors
WorkerRelatedPersonsDataType()
Public Methods
List<RelatedPersonType> getRelatedPerson()
Gets the value of the relatedPerson property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected List<RelatedPersonType> relatedPerson

Public Constructors

public WorkerRelatedPersonsDataType ()

Public Methods

public List<RelatedPersonType> getRelatedPerson ()

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

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

    getRelatedPerson().add(newItem);
 

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