public class

PersonNameDataType

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

Class Overview

Contains the legal, preferred, and additional names for a person.

Java class for Person_Name_DataType complex type.

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

 <complexType name="Person_Name_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Legal_Name_Data" type="{urn:com.workday/bsvc}Legal_Name_DataType" minOccurs="0"/>
         <element name="Preferred_Name_Data" type="{urn:com.workday/bsvc}Preferred_Name_DataType" minOccurs="0"/>
         <element name="Additional_Name_Data" type="{urn:com.workday/bsvc}Additional_Name_DataType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected List<AdditionalNameDataType> additionalNameData
protected LegalNameDataType legalNameData
protected PreferredNameDataType preferredNameData
Public Constructors
PersonNameDataType()
Public Methods
List<AdditionalNameDataType> getAdditionalNameData()
Gets the value of the additionalNameData property.
LegalNameDataType getLegalNameData()
Gets the value of the legalNameData property.
PreferredNameDataType getPreferredNameData()
Gets the value of the preferredNameData property.
void setAdditionalNameData(List<AdditionalNameDataType> additionalNameData)
Sets the value of the additionalNameData property.
void setLegalNameData(LegalNameDataType value)
Sets the value of the legalNameData property.
void setPreferredNameData(PreferredNameDataType value)
Sets the value of the preferredNameData property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected List<AdditionalNameDataType> additionalNameData

protected LegalNameDataType legalNameData

protected PreferredNameDataType preferredNameData

Public Constructors

public PersonNameDataType ()

Public Methods

public List<AdditionalNameDataType> getAdditionalNameData ()

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

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

    getAdditionalNameData().add(newItem);
 

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

public LegalNameDataType getLegalNameData ()

Gets the value of the legalNameData property.

Returns

public PreferredNameDataType getPreferredNameData ()

Gets the value of the preferredNameData property.

Returns

public void setAdditionalNameData (List<AdditionalNameDataType> additionalNameData)

Sets the value of the additionalNameData property.

Parameters
additionalNameData Allowed object is AdditionalNameDataType

public void setLegalNameData (LegalNameDataType value)

Sets the value of the legalNameData property.

Parameters
value Allowed object is LegalNameDataType

public void setPreferredNameData (PreferredNameDataType value)

Sets the value of the preferredNameData property.

Parameters
value Allowed object is PreferredNameDataType