no.nav.tjeneste.virksomhet.oppgave.v3.feil.WSOppgaveIkkeFunnet 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.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;
/**
* Feilmelding som returneres hvis oppgaven med oppgaveId ikke finnes i registeret
*
* Java class for OppgaveIkkeFunnet complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OppgaveIkkeFunnet">
* <complexContent>
* <extension base="{http://nav.no/tjeneste/virksomhet/oppgave/v3/feil}StelvioFault">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OppgaveIkkeFunnet")
public class WSOppgaveIkkeFunnet
extends WSStelvioFault
implements Equals, HashCode
{
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = super.hashCode(locator, strategy);
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 WSOppgaveIkkeFunnet)) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
@Override
public WSOppgaveIkkeFunnet withErrorMessage(String value) {
setErrorMessage(value);
return this;
}
@Override
public WSOppgaveIkkeFunnet withErrorSource(String value) {
setErrorSource(value);
return this;
}
@Override
public WSOppgaveIkkeFunnet withErrorType(String value) {
setErrorType(value);
return this;
}
@Override
public WSOppgaveIkkeFunnet withRootCause(String value) {
setRootCause(value);
return this;
}
@Override
public WSOppgaveIkkeFunnet withDateTimeStamp(String value) {
setDateTimeStamp(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy