public class

WorkerRelatedPersonsDataType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.staffing.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="Number_of_Payroll_Dependents" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
               <totalDigits value="2"/>
               <minInclusive value="0"/>
               <fractionDigits value="0"/>
             </restriction>
           </simpleType>
         </element>
         <element name="Related_Person" type="{urn:com.workday/bsvc}Related_PersonType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected BigDecimal numberOfPayrollDependents
protected List<RelatedPersonType> relatedPerson
Public Constructors
WorkerRelatedPersonsDataType()
Public Methods
BigDecimal getNumberOfPayrollDependents()
Gets the value of the numberOfPayrollDependents property.
List<RelatedPersonType> getRelatedPerson()
Gets the value of the relatedPerson property.
void setNumberOfPayrollDependents(BigDecimal value)
Sets the value of the numberOfPayrollDependents property.
void setRelatedPerson(List<RelatedPersonType> relatedPerson)
Sets the value of the relatedPerson property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected BigDecimal numberOfPayrollDependents

protected List<RelatedPersonType> relatedPerson

Public Constructors

public WorkerRelatedPersonsDataType ()

Public Methods

public BigDecimal getNumberOfPayrollDependents ()

Gets the value of the numberOfPayrollDependents property.

Returns
  • possible object is BigDecimal

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

public void setNumberOfPayrollDependents (BigDecimal value)

Sets the value of the numberOfPayrollDependents property.

Parameters
value Allowed object is BigDecimal

public void setRelatedPerson (List<RelatedPersonType> relatedPerson)

Sets the value of the relatedPerson property.

Parameters
relatedPerson Allowed object is RelatedPersonType