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

no.nav.tjeneste.virksomhet.behandleoppgave.v1.meldinger.WSLagreOppgaveRequest Maven / Gradle / Ivy

There is a newer version: 1.2019.09.25-00.21-49b69f0625e0
Show newest version

package no.nav.tjeneste.virksomhet.behandleoppgave.v1.meldinger;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
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;


/**
 * 

Java class for WSLagreOppgaveRequest complex type. * *

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

 * <complexType name="WSLagreOppgaveRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="wsLagreOppgave" type="{http://nav.no/tjeneste/virksomhet/behandleoppgave/v1/meldinger}WSLagreOppgave"/>
 *         <element name="endretAvEnhetId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "WSLagreOppgaveRequest", propOrder = { "wsLagreOppgave", "endretAvEnhetId" }) public class WSLagreOppgaveRequest implements Equals2, HashCode2 { @XmlElement(required = true) protected WSLagreOppgave wsLagreOppgave; protected int endretAvEnhetId; /** * Gets the value of the wsLagreOppgave property. * * @return * possible object is * {@link WSLagreOppgave } * */ public WSLagreOppgave getWsLagreOppgave() { return wsLagreOppgave; } /** * Sets the value of the wsLagreOppgave property. * * @param value * allowed object is * {@link WSLagreOppgave } * */ public void setWsLagreOppgave(WSLagreOppgave value) { this.wsLagreOppgave = value; } /** * Gets the value of the endretAvEnhetId property. * */ public int getEndretAvEnhetId() { return endretAvEnhetId; } /** * Sets the value of the endretAvEnhetId property. * */ public void setEndretAvEnhetId(int value) { this.endretAvEnhetId = value; } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { WSLagreOppgave theWsLagreOppgave; theWsLagreOppgave = this.getWsLagreOppgave(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "wsLagreOppgave", theWsLagreOppgave), currentHashCode, theWsLagreOppgave, (this.wsLagreOppgave!= null)); } { int theEndretAvEnhetId; theEndretAvEnhetId = this.getEndretAvEnhetId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endretAvEnhetId", theEndretAvEnhetId), currentHashCode, theEndretAvEnhetId, true); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } 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 WSLagreOppgaveRequest that = ((WSLagreOppgaveRequest) object); { WSLagreOppgave lhsWsLagreOppgave; lhsWsLagreOppgave = this.getWsLagreOppgave(); WSLagreOppgave rhsWsLagreOppgave; rhsWsLagreOppgave = that.getWsLagreOppgave(); if (!strategy.equals(LocatorUtils.property(thisLocator, "wsLagreOppgave", lhsWsLagreOppgave), LocatorUtils.property(thatLocator, "wsLagreOppgave", rhsWsLagreOppgave), lhsWsLagreOppgave, rhsWsLagreOppgave, (this.wsLagreOppgave!= null), (that.wsLagreOppgave!= null))) { return false; } } { int lhsEndretAvEnhetId; lhsEndretAvEnhetId = this.getEndretAvEnhetId(); int rhsEndretAvEnhetId; rhsEndretAvEnhetId = that.getEndretAvEnhetId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "endretAvEnhetId", lhsEndretAvEnhetId), LocatorUtils.property(thatLocator, "endretAvEnhetId", rhsEndretAvEnhetId), lhsEndretAvEnhetId, rhsEndretAvEnhetId, true, true)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public WSLagreOppgaveRequest withWsLagreOppgave(WSLagreOppgave value) { setWsLagreOppgave(value); return this; } public WSLagreOppgaveRequest withEndretAvEnhetId(int value) { setEndretAvEnhetId(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy