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

no.nav.tjeneste.virksomhet.oppgave.v3.feil.WSStelvioFault Maven / Gradle / Ivy


package no.nav.tjeneste.virksomhet.oppgave.v3.feil;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
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;


/**
 * 

Java class for StelvioFault complex type. * *

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

 * <complexType name="StelvioFault">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="errorSource" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="errorType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="rootCause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="dateTimeStamp" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StelvioFault", propOrder = { "errorMessage", "errorSource", "errorType", "rootCause", "dateTimeStamp" }) @XmlSeeAlso({ WSOppgaveIkkeFunnet.class }) public class WSStelvioFault implements Equals, HashCode { protected String errorMessage; protected String errorSource; protected String errorType; protected String rootCause; protected String dateTimeStamp; /** * Gets the value of the errorMessage property. * * @return * possible object is * {@link String } * */ public String getErrorMessage() { return errorMessage; } /** * Sets the value of the errorMessage property. * * @param value * allowed object is * {@link String } * */ public void setErrorMessage(String value) { this.errorMessage = value; } /** * Gets the value of the errorSource property. * * @return * possible object is * {@link String } * */ public String getErrorSource() { return errorSource; } /** * Sets the value of the errorSource property. * * @param value * allowed object is * {@link String } * */ public void setErrorSource(String value) { this.errorSource = value; } /** * Gets the value of the errorType property. * * @return * possible object is * {@link String } * */ public String getErrorType() { return errorType; } /** * Sets the value of the errorType property. * * @param value * allowed object is * {@link String } * */ public void setErrorType(String value) { this.errorType = value; } /** * Gets the value of the rootCause property. * * @return * possible object is * {@link String } * */ public String getRootCause() { return rootCause; } /** * Sets the value of the rootCause property. * * @param value * allowed object is * {@link String } * */ public void setRootCause(String value) { this.rootCause = value; } /** * Gets the value of the dateTimeStamp property. * * @return * possible object is * {@link String } * */ public String getDateTimeStamp() { return dateTimeStamp; } /** * Sets the value of the dateTimeStamp property. * * @param value * allowed object is * {@link String } * */ public void setDateTimeStamp(String value) { this.dateTimeStamp = value; } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theErrorMessage; theErrorMessage = this.getErrorMessage(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "errorMessage", theErrorMessage), currentHashCode, theErrorMessage); } { String theErrorSource; theErrorSource = this.getErrorSource(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "errorSource", theErrorSource), currentHashCode, theErrorSource); } { String theErrorType; theErrorType = this.getErrorType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "errorType", theErrorType), currentHashCode, theErrorType); } { String theRootCause; theRootCause = this.getRootCause(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rootCause", theRootCause), currentHashCode, theRootCause); } { String theDateTimeStamp; theDateTimeStamp = this.getDateTimeStamp(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateTimeStamp", theDateTimeStamp), currentHashCode, theDateTimeStamp); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof WSStelvioFault)) { return false; } if (this == object) { return true; } final WSStelvioFault that = ((WSStelvioFault) object); { String lhsErrorMessage; lhsErrorMessage = this.getErrorMessage(); String rhsErrorMessage; rhsErrorMessage = that.getErrorMessage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "errorMessage", lhsErrorMessage), LocatorUtils.property(thatLocator, "errorMessage", rhsErrorMessage), lhsErrorMessage, rhsErrorMessage)) { return false; } } { String lhsErrorSource; lhsErrorSource = this.getErrorSource(); String rhsErrorSource; rhsErrorSource = that.getErrorSource(); if (!strategy.equals(LocatorUtils.property(thisLocator, "errorSource", lhsErrorSource), LocatorUtils.property(thatLocator, "errorSource", rhsErrorSource), lhsErrorSource, rhsErrorSource)) { return false; } } { String lhsErrorType; lhsErrorType = this.getErrorType(); String rhsErrorType; rhsErrorType = that.getErrorType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "errorType", lhsErrorType), LocatorUtils.property(thatLocator, "errorType", rhsErrorType), lhsErrorType, rhsErrorType)) { return false; } } { String lhsRootCause; lhsRootCause = this.getRootCause(); String rhsRootCause; rhsRootCause = that.getRootCause(); if (!strategy.equals(LocatorUtils.property(thisLocator, "rootCause", lhsRootCause), LocatorUtils.property(thatLocator, "rootCause", rhsRootCause), lhsRootCause, rhsRootCause)) { return false; } } { String lhsDateTimeStamp; lhsDateTimeStamp = this.getDateTimeStamp(); String rhsDateTimeStamp; rhsDateTimeStamp = that.getDateTimeStamp(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateTimeStamp", lhsDateTimeStamp), LocatorUtils.property(thatLocator, "dateTimeStamp", rhsDateTimeStamp), lhsDateTimeStamp, rhsDateTimeStamp)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public WSStelvioFault withErrorMessage(String value) { setErrorMessage(value); return this; } public WSStelvioFault withErrorSource(String value) { setErrorSource(value); return this; } public WSStelvioFault withErrorType(String value) { setErrorType(value); return this; } public WSStelvioFault withRootCause(String value) { setRootCause(value); return this; } public WSStelvioFault withDateTimeStamp(String value) { setDateTimeStamp(value); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy