public class

PhoneInformationDataType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.benefits.PhoneInformationDataType

Class Overview

Phone Information

Java class for Phone_Information_DataType complex type.

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

 <complexType name="Phone_Information_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Country_ISO_Code" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <maxLength value="3"/>
             </restriction>
           </simpleType>
         </element>
         <element name="International_Phone_Code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Area_Code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone_Number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone_Extension" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone_Device_Type_Reference" type="{urn:com.workday/bsvc}Phone_Device_TypeObjectType" minOccurs="0"/>
         <element name="Usage_Data" type="{urn:com.workday/bsvc}Communication_Method_Usage_Information_DataType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="Formatted_Phone" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected String areaCode
protected String countryISOCode
protected String formattedPhone
protected String internationalPhoneCode
protected PhoneDeviceTypeObjectType phoneDeviceTypeReference
protected String phoneExtension
protected String phoneNumber
protected List<CommunicationMethodUsageInformationDataType> usageData
Public Constructors
PhoneInformationDataType()
Public Methods
String getAreaCode()
Gets the value of the areaCode property.
String getCountryISOCode()
Gets the value of the countryISOCode property.
String getFormattedPhone()
Gets the value of the formattedPhone property.
String getInternationalPhoneCode()
Gets the value of the internationalPhoneCode property.
PhoneDeviceTypeObjectType getPhoneDeviceTypeReference()
Gets the value of the phoneDeviceTypeReference property.
String getPhoneExtension()
Gets the value of the phoneExtension property.
String getPhoneNumber()
Gets the value of the phoneNumber property.
List<CommunicationMethodUsageInformationDataType> getUsageData()
Gets the value of the usageData property.
void setAreaCode(String value)
Sets the value of the areaCode property.
void setCountryISOCode(String value)
Sets the value of the countryISOCode property.
void setFormattedPhone(String value)
Sets the value of the formattedPhone property.
void setInternationalPhoneCode(String value)
Sets the value of the internationalPhoneCode property.
void setPhoneDeviceTypeReference(PhoneDeviceTypeObjectType value)
Sets the value of the phoneDeviceTypeReference property.
void setPhoneExtension(String value)
Sets the value of the phoneExtension property.
void setPhoneNumber(String value)
Sets the value of the phoneNumber property.
void setUsageData(List<CommunicationMethodUsageInformationDataType> usageData)
Sets the value of the usageData property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected String areaCode

protected String countryISOCode

protected String formattedPhone

protected String internationalPhoneCode

protected PhoneDeviceTypeObjectType phoneDeviceTypeReference

protected String phoneExtension

protected String phoneNumber

Public Constructors

public PhoneInformationDataType ()

Public Methods

public String getAreaCode ()

Gets the value of the areaCode property.

Returns
  • possible object is String

public String getCountryISOCode ()

Gets the value of the countryISOCode property.

Returns
  • possible object is String

public String getFormattedPhone ()

Gets the value of the formattedPhone property.

Returns
  • possible object is String

public String getInternationalPhoneCode ()

Gets the value of the internationalPhoneCode property.

Returns
  • possible object is String

public PhoneDeviceTypeObjectType getPhoneDeviceTypeReference ()

Gets the value of the phoneDeviceTypeReference property.

Returns

public String getPhoneExtension ()

Gets the value of the phoneExtension property.

Returns
  • possible object is String

public String getPhoneNumber ()

Gets the value of the phoneNumber property.

Returns
  • possible object is String

public List<CommunicationMethodUsageInformationDataType> getUsageData ()

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

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

    getUsageData().add(newItem);
 

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

public void setAreaCode (String value)

Sets the value of the areaCode property.

Parameters
value Allowed object is String

public void setCountryISOCode (String value)

Sets the value of the countryISOCode property.

Parameters
value Allowed object is String

public void setFormattedPhone (String value)

Sets the value of the formattedPhone property.

Parameters
value Allowed object is String

public void setInternationalPhoneCode (String value)

Sets the value of the internationalPhoneCode property.

Parameters
value Allowed object is String

public void setPhoneDeviceTypeReference (PhoneDeviceTypeObjectType value)

Sets the value of the phoneDeviceTypeReference property.

Parameters
value Allowed object is PhoneDeviceTypeObjectType

public void setPhoneExtension (String value)

Sets the value of the phoneExtension property.

Parameters
value Allowed object is String

public void setPhoneNumber (String value)

Sets the value of the phoneNumber property.

Parameters
value Allowed object is String

public void setUsageData (List<CommunicationMethodUsageInformationDataType> usageData)

Sets the value of the usageData property.

Parameters
usageData Allowed object is CommunicationMethodUsageInformationDataType