public class

NameDataType

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

Class Overview

Encapsulating element for all of the name data such as first and last name

Java class for Name_DataType complex type.

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

 <complexType name="Name_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Country_Reference" type="{urn:com.workday/bsvc}Country_ReferenceType"/>
         <element name="Additional_Name_Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Prefix" type="{urn:com.workday/bsvc}Prefix_Name_DataType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="First_Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Middle_Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Last_Name" type="{urn:com.workday/bsvc}Last_Name_DataType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Local_Name_Data" type="{urn:com.workday/bsvc}Local_Name_DataType" minOccurs="0"/>
         <element name="Suffix" type="{urn:com.workday/bsvc}Suffix_Name_DataType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Is_Legal" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="Is_Preferred" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="Last_Modified" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="Effective_Date" type="{http://www.w3.org/2001/XMLSchema}date" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected String additionalNameType
protected CountryReferenceType countryReference
protected XMLGregorianCalendar effectiveDate
protected String firstName
protected Boolean isLegal
protected Boolean isPreferred
protected XMLGregorianCalendar lastModified
protected List<LastNameDataType> lastName
protected LocalNameDataType localNameData
protected String middleName
protected List<PrefixNameDataType> prefix
protected List<SuffixNameDataType> suffix
Public Constructors
NameDataType()
Public Methods
String getAdditionalNameType()
Gets the value of the additionalNameType property.
CountryReferenceType getCountryReference()
Gets the value of the countryReference property.
XMLGregorianCalendar getEffectiveDate()
Gets the value of the effectiveDate property.
String getFirstName()
Gets the value of the firstName property.
Boolean getIsLegal()
Gets the value of the isLegal property.
Boolean getIsPreferred()
Gets the value of the isPreferred property.
XMLGregorianCalendar getLastModified()
Gets the value of the lastModified property.
List<LastNameDataType> getLastName()
Gets the value of the lastName property.
LocalNameDataType getLocalNameData()
Gets the value of the localNameData property.
String getMiddleName()
Gets the value of the middleName property.
List<PrefixNameDataType> getPrefix()
Gets the value of the prefix property.
List<SuffixNameDataType> getSuffix()
Gets the value of the suffix property.
void setAdditionalNameType(String value)
Sets the value of the additionalNameType property.
void setCountryReference(CountryReferenceType value)
Sets the value of the countryReference property.
void setEffectiveDate(XMLGregorianCalendar value)
Sets the value of the effectiveDate property.
void setFirstName(String value)
Sets the value of the firstName property.
void setIsLegal(Boolean value)
Sets the value of the isLegal property.
void setIsPreferred(Boolean value)
Sets the value of the isPreferred property.
void setLastModified(XMLGregorianCalendar value)
Sets the value of the lastModified property.
void setLastName(List<LastNameDataType> lastName)
Sets the value of the lastName property.
void setLocalNameData(LocalNameDataType value)
Sets the value of the localNameData property.
void setMiddleName(String value)
Sets the value of the middleName property.
void setPrefix(List<PrefixNameDataType> prefix)
Sets the value of the prefix property.
void setSuffix(List<SuffixNameDataType> suffix)
Sets the value of the suffix property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected String additionalNameType

protected CountryReferenceType countryReference

protected XMLGregorianCalendar effectiveDate

protected String firstName

protected Boolean isLegal

protected Boolean isPreferred

protected XMLGregorianCalendar lastModified

protected List<LastNameDataType> lastName

protected LocalNameDataType localNameData

protected String middleName

protected List<PrefixNameDataType> prefix

protected List<SuffixNameDataType> suffix

Public Constructors

public NameDataType ()

Public Methods

public String getAdditionalNameType ()

Gets the value of the additionalNameType property.

Returns
  • possible object is String

public CountryReferenceType getCountryReference ()

Gets the value of the countryReference property.

Returns

public XMLGregorianCalendar getEffectiveDate ()

Gets the value of the effectiveDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getFirstName ()

Gets the value of the firstName property.

Returns
  • possible object is String

public Boolean getIsLegal ()

Gets the value of the isLegal property. This getter has been renamed from isIsLegal() to getIsLegal() by cxf-xjc-boolean plugin.

Returns
  • possible object is Boolean

public Boolean getIsPreferred ()

Gets the value of the isPreferred property. This getter has been renamed from isIsPreferred() to getIsPreferred() by cxf-xjc-boolean plugin.

Returns
  • possible object is Boolean

public XMLGregorianCalendar getLastModified ()

Gets the value of the lastModified property.

Returns
  • possible object is XMLGregorianCalendar

public List<LastNameDataType> getLastName ()

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

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

    getLastName().add(newItem);
 

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

public LocalNameDataType getLocalNameData ()

Gets the value of the localNameData property.

Returns

public String getMiddleName ()

Gets the value of the middleName property.

Returns
  • possible object is String

public List<PrefixNameDataType> getPrefix ()

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

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

    getPrefix().add(newItem);
 

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

public List<SuffixNameDataType> getSuffix ()

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

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

    getSuffix().add(newItem);
 

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

public void setAdditionalNameType (String value)

Sets the value of the additionalNameType property.

Parameters
value Allowed object is String

public void setCountryReference (CountryReferenceType value)

Sets the value of the countryReference property.

Parameters
value Allowed object is CountryReferenceType

public void setEffectiveDate (XMLGregorianCalendar value)

Sets the value of the effectiveDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setFirstName (String value)

Sets the value of the firstName property.

Parameters
value Allowed object is String

public void setIsLegal (Boolean value)

Sets the value of the isLegal property.

Parameters
value Allowed object is Boolean

public void setIsPreferred (Boolean value)

Sets the value of the isPreferred property.

Parameters
value Allowed object is Boolean

public void setLastModified (XMLGregorianCalendar value)

Sets the value of the lastModified property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setLastName (List<LastNameDataType> lastName)

Sets the value of the lastName property.

Parameters
lastName Allowed object is LastNameDataType

public void setLocalNameData (LocalNameDataType value)

Sets the value of the localNameData property.

Parameters
value Allowed object is LocalNameDataType

public void setMiddleName (String value)

Sets the value of the middleName property.

Parameters
value Allowed object is String

public void setPrefix (List<PrefixNameDataType> prefix)

Sets the value of the prefix property.

Parameters
prefix Allowed object is PrefixNameDataType

public void setSuffix (List<SuffixNameDataType> suffix)

Sets the value of the suffix property.

Parameters
suffix Allowed object is SuffixNameDataType