All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.connectifier.xeroclient.models.Employee Maven / Gradle / Ivy


package com.connectifier.xeroclient.models;

import java.util.Date;
import java.util.List;

/** 
 * Schema fragment(s) for this class:
 * 
 * <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Employee">
 *   <xs:all>
 *     <xs:element type="ArrayOfValidationError" name="ValidationErrors" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="ArrayOfWarning" name="Warnings" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="EmployeeID" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="employeeStatus" name="Status" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="Name" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="FirstName" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="LastName" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="Hyperlink" name="ExternalLink" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:dateTime" name="UpdatedDateUTC" minOccurs="0" maxOccurs="1"/>
 *   </xs:all>
 *   <xs:attribute type="entityValidationStatus" use="optional" name="status"/>
 * </xs:complexType>
 * 
*/ public class Employee { private ArrayOfValidationError validationErrors; private ArrayOfWarning warnings; private String employeeID; private EmployeeStatus status; private String name; private String firstName; private String lastName; private Hyperlink externalLink; private Date updatedDateUTC; private EntityValidationStatus status1; /** * Get the 'ValidationErrors' element value. * * @return value */ public ArrayOfValidationError getValidationErrors() { return validationErrors; } /** * Set the 'ValidationErrors' element value. * * @param validationErrors */ public void setValidationErrors(ArrayOfValidationError validationErrors) { this.validationErrors = validationErrors; } public List getValidationErrorsAsList() { if (validationErrors == null) validationErrors = new ArrayOfValidationError(); return validationErrors.getValidationErrorList(); } /** * Get the 'Warnings' element value. * * @return value */ public ArrayOfWarning getWarnings() { return warnings; } /** * Set the 'Warnings' element value. * * @param warnings */ public void setWarnings(ArrayOfWarning warnings) { this.warnings = warnings; } public List getWarningsAsList() { if (warnings == null) warnings = new ArrayOfWarning(); return warnings.getWarningList(); } /** * Get the 'EmployeeID' element value. * * @return value */ public String getEmployeeID() { return employeeID; } /** * Set the 'EmployeeID' element value. * * @param employeeID */ public void setEmployeeID(String employeeID) { this.employeeID = employeeID; } /** * Get the 'Status' element value. * * @return value */ public EmployeeStatus getStatus() { return status; } /** * Set the 'Status' element value. * * @param status */ public void setStatus(EmployeeStatus status) { this.status = status; } /** * Get the 'Name' element value. * * @return value */ public String getName() { return name; } /** * Set the 'Name' element value. * * @param name */ public void setName(String name) { this.name = name; } /** * Get the 'FirstName' element value. * * @return value */ public String getFirstName() { return firstName; } /** * Set the 'FirstName' element value. * * @param firstName */ public void setFirstName(String firstName) { this.firstName = firstName; } /** * Get the 'LastName' element value. * * @return value */ public String getLastName() { return lastName; } /** * Set the 'LastName' element value. * * @param lastName */ public void setLastName(String lastName) { this.lastName = lastName; } /** * Get the 'ExternalLink' element value. * * @return value */ public Hyperlink getExternalLink() { return externalLink; } /** * Set the 'ExternalLink' element value. * * @param externalLink */ public void setExternalLink(Hyperlink externalLink) { this.externalLink = externalLink; } /** * Get the 'UpdatedDateUTC' element value. * * @return value */ public Date getUpdatedDateUTC() { return updatedDateUTC; } /** * Set the 'UpdatedDateUTC' element value. * * @param updatedDateUTC */ public void setUpdatedDateUTC(Date updatedDateUTC) { this.updatedDateUTC = updatedDateUTC; } /** * Get the 'status' attribute value. * * @return value */ public EntityValidationStatus getStatus1() { return status1; } /** * Set the 'status' attribute value. * * @param status1 */ public void setStatus1(EntityValidationStatus status1) { this.status1 = status1; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy