public class

RelatedPersonType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.hr.RelatedPersonType

Class Overview

Encapsulating element containing all Related Person data.

Java class for Related_PersonType complex type.

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

 <complexType name="Related_PersonType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Related_Person_Relationship_Reference" type="{urn:com.workday/bsvc}Related_Person_RelationshipObjectType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Person_Reference" type="{urn:com.workday/bsvc}Unique_IdentifierObjectType" minOccurs="0"/>
         <element name="Personal_Data" type="{urn:com.workday/bsvc}Personal_Information_DataType" minOccurs="0"/>
         <element name="Dependent" type="{urn:com.workday/bsvc}DependentType" minOccurs="0"/>
         <element name="Beneficiary" type="{urn:com.workday/bsvc}BeneficiaryType" minOccurs="0"/>
         <element name="Emergency_Contact" type="{urn:com.workday/bsvc}Old_Emergency_ContactType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected BeneficiaryType beneficiary
protected DependentType dependent
protected OldEmergencyContactType emergencyContact
protected UniqueIdentifierObjectType personReference
protected PersonalInformationDataType personalData
protected List<RelatedPersonRelationshipObjectType> relatedPersonRelationshipReference
Public Constructors
RelatedPersonType()
Public Methods
BeneficiaryType getBeneficiary()
Gets the value of the beneficiary property.
DependentType getDependent()
Gets the value of the dependent property.
OldEmergencyContactType getEmergencyContact()
Gets the value of the emergencyContact property.
UniqueIdentifierObjectType getPersonReference()
Gets the value of the personReference property.
PersonalInformationDataType getPersonalData()
Gets the value of the personalData property.
List<RelatedPersonRelationshipObjectType> getRelatedPersonRelationshipReference()
Gets the value of the relatedPersonRelationshipReference property.
void setBeneficiary(BeneficiaryType value)
Sets the value of the beneficiary property.
void setDependent(DependentType value)
Sets the value of the dependent property.
void setEmergencyContact(OldEmergencyContactType value)
Sets the value of the emergencyContact property.
void setPersonReference(UniqueIdentifierObjectType value)
Sets the value of the personReference property.
void setPersonalData(PersonalInformationDataType value)
Sets the value of the personalData property.
void setRelatedPersonRelationshipReference(List<RelatedPersonRelationshipObjectType> relatedPersonRelationshipReference)
Sets the value of the relatedPersonRelationshipReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected BeneficiaryType beneficiary

protected DependentType dependent

protected OldEmergencyContactType emergencyContact

protected UniqueIdentifierObjectType personReference

protected PersonalInformationDataType personalData

protected List<RelatedPersonRelationshipObjectType> relatedPersonRelationshipReference

Public Constructors

public RelatedPersonType ()

Public Methods

public BeneficiaryType getBeneficiary ()

Gets the value of the beneficiary property.

Returns

public DependentType getDependent ()

Gets the value of the dependent property.

Returns

public OldEmergencyContactType getEmergencyContact ()

Gets the value of the emergencyContact property.

Returns

public UniqueIdentifierObjectType getPersonReference ()

Gets the value of the personReference property.

Returns

public PersonalInformationDataType getPersonalData ()

Gets the value of the personalData property.

Returns

public List<RelatedPersonRelationshipObjectType> getRelatedPersonRelationshipReference ()

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

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

    getRelatedPersonRelationshipReference().add(newItem);
 

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

public void setBeneficiary (BeneficiaryType value)

Sets the value of the beneficiary property.

Parameters
value Allowed object is BeneficiaryType

public void setDependent (DependentType value)

Sets the value of the dependent property.

Parameters
value Allowed object is DependentType

public void setEmergencyContact (OldEmergencyContactType value)

Sets the value of the emergencyContact property.

Parameters
value Allowed object is OldEmergencyContactType

public void setPersonReference (UniqueIdentifierObjectType value)

Sets the value of the personReference property.

Parameters
value Allowed object is UniqueIdentifierObjectType

public void setPersonalData (PersonalInformationDataType value)

Sets the value of the personalData property.

Parameters
value Allowed object is PersonalInformationDataType

public void setRelatedPersonRelationshipReference (List<RelatedPersonRelationshipObjectType> relatedPersonRelationshipReference)

Sets the value of the relatedPersonRelationshipReference property.

Parameters
relatedPersonRelationshipReference Allowed object is RelatedPersonRelationshipObjectType