public class

EthnicityResponseDataType

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

Class Overview

Response element for Get Ethnicities

Java class for Ethnicity_Response_DataType complex type.

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

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

Summary

Constants
long serialVersionUID
Fields
protected List<EthnicityType> ethnicity
Public Constructors
EthnicityResponseDataType()
Public Methods
List<EthnicityType> getEthnicity()
Gets the value of the ethnicity property.
void setEthnicity(List<EthnicityType> ethnicity)
Sets the value of the ethnicity property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected List<EthnicityType> ethnicity

Public Constructors

public EthnicityResponseDataType ()

Public Methods

public List<EthnicityType> getEthnicity ()

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

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

    getEthnicity().add(newItem);
 

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

public void setEthnicity (List<EthnicityType> ethnicity)

Sets the value of the ethnicity property.

Parameters
ethnicity Allowed object is EthnicityType