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

com.intuit.ipp.data.JobInfo Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.02.02 at 10:13:31 AM PST 
//


package com.intuit.ipp.data;

import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.intuit.sb.cdm.util.v3.DateAdapter;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 
 * 				Product: QBW
 * 				Description: Details for the Job. This is applicable only to QuickBooks Windows desktop.
 * 			
 * 
 * 

Java class for JobInfo complex type. * *

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

 * <complexType name="JobInfo">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Status" type="{http://schema.intuit.com/finance/v3}JobStatusEnum" minOccurs="0"/>
 *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="ProjectedEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="JobTypeRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "JobInfo", propOrder = { "status", "startDate", "projectedEndDate", "endDate", "description", "jobTypeRef" }) public class JobInfo implements Serializable, Equals2, HashCode2 { private final static long serialVersionUID = 1L; @XmlElement(name = "Status") @XmlSchemaType(name = "string") protected JobStatusEnum status; @XmlElement(name = "StartDate", type = String.class) @XmlJavaTypeAdapter(DateAdapter.class) @XmlSchemaType(name = "date") protected Date startDate; @XmlElement(name = "ProjectedEndDate", type = String.class) @XmlJavaTypeAdapter(DateAdapter.class) @XmlSchemaType(name = "date") protected Date projectedEndDate; @XmlElement(name = "EndDate", type = String.class) @XmlJavaTypeAdapter(DateAdapter.class) @XmlSchemaType(name = "date") protected Date endDate; @XmlElement(name = "Description") protected String description; @XmlElement(name = "JobTypeRef") protected ReferenceType jobTypeRef; /** * Gets the value of the status property. * * @return * possible object is * {@link JobStatusEnum } * */ public JobStatusEnum getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link JobStatusEnum } * */ public void setStatus(JobStatusEnum value) { this.status = value; } /** * Gets the value of the startDate property. * * @return * possible object is * {@link String } * */ public Date getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link String } * */ public void setStartDate(Date value) { this.startDate = value; } /** * Gets the value of the projectedEndDate property. * * @return * possible object is * {@link String } * */ public Date getProjectedEndDate() { return projectedEndDate; } /** * Sets the value of the projectedEndDate property. * * @param value * allowed object is * {@link String } * */ public void setProjectedEndDate(Date value) { this.projectedEndDate = value; } /** * Gets the value of the endDate property. * * @return * possible object is * {@link String } * */ public Date getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link String } * */ public void setEndDate(Date value) { this.endDate = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the jobTypeRef property. * * @return * possible object is * {@link ReferenceType } * */ public ReferenceType getJobTypeRef() { return jobTypeRef; } /** * Sets the value of the jobTypeRef property. * * @param value * allowed object is * {@link ReferenceType } * */ public void setJobTypeRef(ReferenceType value) { this.jobTypeRef = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final JobInfo that = ((JobInfo) object); { JobStatusEnum lhsStatus; lhsStatus = this.getStatus(); JobStatusEnum rhsStatus; rhsStatus = that.getStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus, (this.status!= null), (that.status!= null))) { return false; } } { Date lhsStartDate; lhsStartDate = this.getStartDate(); Date rhsStartDate; rhsStartDate = that.getStartDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "startDate", lhsStartDate), LocatorUtils.property(thatLocator, "startDate", rhsStartDate), lhsStartDate, rhsStartDate, (this.startDate!= null), (that.startDate!= null))) { return false; } } { Date lhsProjectedEndDate; lhsProjectedEndDate = this.getProjectedEndDate(); Date rhsProjectedEndDate; rhsProjectedEndDate = that.getProjectedEndDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "projectedEndDate", lhsProjectedEndDate), LocatorUtils.property(thatLocator, "projectedEndDate", rhsProjectedEndDate), lhsProjectedEndDate, rhsProjectedEndDate, (this.projectedEndDate!= null), (that.projectedEndDate!= null))) { return false; } } { Date lhsEndDate; lhsEndDate = this.getEndDate(); Date rhsEndDate; rhsEndDate = that.getEndDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "endDate", lhsEndDate), LocatorUtils.property(thatLocator, "endDate", rhsEndDate), lhsEndDate, rhsEndDate, (this.endDate!= null), (that.endDate!= null))) { return false; } } { String lhsDescription; lhsDescription = this.getDescription(); String rhsDescription; rhsDescription = that.getDescription(); if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription, (this.description!= null), (that.description!= null))) { return false; } } { ReferenceType lhsJobTypeRef; lhsJobTypeRef = this.getJobTypeRef(); ReferenceType rhsJobTypeRef; rhsJobTypeRef = that.getJobTypeRef(); if (!strategy.equals(LocatorUtils.property(thisLocator, "jobTypeRef", lhsJobTypeRef), LocatorUtils.property(thatLocator, "jobTypeRef", rhsJobTypeRef), lhsJobTypeRef, rhsJobTypeRef, (this.jobTypeRef!= null), (that.jobTypeRef!= null))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { JobStatusEnum theStatus; theStatus = this.getStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus, (this.status!= null)); } { Date theStartDate; theStartDate = this.getStartDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "startDate", theStartDate), currentHashCode, theStartDate, (this.startDate!= null)); } { Date theProjectedEndDate; theProjectedEndDate = this.getProjectedEndDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "projectedEndDate", theProjectedEndDate), currentHashCode, theProjectedEndDate, (this.projectedEndDate!= null)); } { Date theEndDate; theEndDate = this.getEndDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endDate", theEndDate), currentHashCode, theEndDate, (this.endDate!= null)); } { String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null)); } { ReferenceType theJobTypeRef; theJobTypeRef = this.getJobTypeRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jobTypeRef", theJobTypeRef), currentHashCode, theJobTypeRef, (this.jobTypeRef!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy