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

no.udi.mt_1067_nav_data.v1.HentPersonstatusResultat Maven / Gradle / Ivy

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

package no.udi.mt_1067_nav_data.v1;

import java.io.Serializable;
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.datatype.XMLGregorianCalendar;
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;


/**
 * Resultatsett fra operasjon for henting av oppholdsstatus
 * 
 * 

Java class for HentPersonstatusResultat complex type. * *

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

 * <complexType name="HentPersonstatusResultat">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Uttrekkstidspunkt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="Foresporselsfodselsnummer" type="{http://udi.no/Common/v2}Fodselsnummer"/>
 *         <element name="GjeldendePerson" type="{http://udi.no/MT_1067_NAV_Data/v1}GjeldendePerson"/>
 *         <element name="GjeldendeOppholdsstatus" type="{http://udi.no/MT_1067_NAV_Data/v1}GjeldendeOppholdsstatus" minOccurs="0"/>
 *         <element name="Arbeidsadgang" type="{http://udi.no/MT_1067_NAV_Data/v1}Arbeidsadgang" minOccurs="0"/>
 *         <element name="Avgjorelsehistorikk" type="{http://udi.no/MT_1067_NAV_Data/v1}Avgjorelser" minOccurs="0"/>
 *         <element name="UavklartFlyktningstatus" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="HarFlyktningstatus" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="HistorikkHarFlyktningstatus" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="SoknadOmBeskyttelseUnderBehandling" type="{http://udi.no/MT_1067_NAV_Data/v1}SoknadOmBeskyttelseUnderBehandling" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HentPersonstatusResultat", propOrder = { "uttrekkstidspunkt", "foresporselsfodselsnummer", "gjeldendePerson", "gjeldendeOppholdsstatus", "arbeidsadgang", "avgjorelsehistorikk", "uavklartFlyktningstatus", "harFlyktningstatus", "historikkHarFlyktningstatus", "soknadOmBeskyttelseUnderBehandling" }) public class HentPersonstatusResultat implements Serializable, Equals, HashCode { @XmlElement(name = "Uttrekkstidspunkt", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar uttrekkstidspunkt; @XmlElement(name = "Foresporselsfodselsnummer", required = true) protected String foresporselsfodselsnummer; @XmlElement(name = "GjeldendePerson", required = true) protected GjeldendePerson gjeldendePerson; @XmlElement(name = "GjeldendeOppholdsstatus") protected GjeldendeOppholdsstatus gjeldendeOppholdsstatus; @XmlElement(name = "Arbeidsadgang") protected Arbeidsadgang arbeidsadgang; @XmlElement(name = "Avgjorelsehistorikk") protected Avgjorelser avgjorelsehistorikk; @XmlElement(name = "UavklartFlyktningstatus", required = true, type = Boolean.class, nillable = true) protected Boolean uavklartFlyktningstatus; @XmlElement(name = "HarFlyktningstatus", required = true, type = Boolean.class, nillable = true) protected Boolean harFlyktningstatus; @XmlElement(name = "HistorikkHarFlyktningstatus", required = true, type = Boolean.class, nillable = true) protected Boolean historikkHarFlyktningstatus; @XmlElement(name = "SoknadOmBeskyttelseUnderBehandling") protected SoknadOmBeskyttelseUnderBehandling soknadOmBeskyttelseUnderBehandling; /** * Gets the value of the uttrekkstidspunkt property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getUttrekkstidspunkt() { return uttrekkstidspunkt; } /** * Sets the value of the uttrekkstidspunkt property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setUttrekkstidspunkt(XMLGregorianCalendar value) { this.uttrekkstidspunkt = value; } /** * Gets the value of the foresporselsfodselsnummer property. * * @return * possible object is * {@link String } * */ public String getForesporselsfodselsnummer() { return foresporselsfodselsnummer; } /** * Sets the value of the foresporselsfodselsnummer property. * * @param value * allowed object is * {@link String } * */ public void setForesporselsfodselsnummer(String value) { this.foresporselsfodselsnummer = value; } /** * Gets the value of the gjeldendePerson property. * * @return * possible object is * {@link GjeldendePerson } * */ public GjeldendePerson getGjeldendePerson() { return gjeldendePerson; } /** * Sets the value of the gjeldendePerson property. * * @param value * allowed object is * {@link GjeldendePerson } * */ public void setGjeldendePerson(GjeldendePerson value) { this.gjeldendePerson = value; } /** * Gets the value of the gjeldendeOppholdsstatus property. * * @return * possible object is * {@link GjeldendeOppholdsstatus } * */ public GjeldendeOppholdsstatus getGjeldendeOppholdsstatus() { return gjeldendeOppholdsstatus; } /** * Sets the value of the gjeldendeOppholdsstatus property. * * @param value * allowed object is * {@link GjeldendeOppholdsstatus } * */ public void setGjeldendeOppholdsstatus(GjeldendeOppholdsstatus value) { this.gjeldendeOppholdsstatus = value; } /** * Gets the value of the arbeidsadgang property. * * @return * possible object is * {@link Arbeidsadgang } * */ public Arbeidsadgang getArbeidsadgang() { return arbeidsadgang; } /** * Sets the value of the arbeidsadgang property. * * @param value * allowed object is * {@link Arbeidsadgang } * */ public void setArbeidsadgang(Arbeidsadgang value) { this.arbeidsadgang = value; } /** * Gets the value of the avgjorelsehistorikk property. * * @return * possible object is * {@link Avgjorelser } * */ public Avgjorelser getAvgjorelsehistorikk() { return avgjorelsehistorikk; } /** * Sets the value of the avgjorelsehistorikk property. * * @param value * allowed object is * {@link Avgjorelser } * */ public void setAvgjorelsehistorikk(Avgjorelser value) { this.avgjorelsehistorikk = value; } /** * Gets the value of the uavklartFlyktningstatus property. * * @return * possible object is * {@link Boolean } * */ public Boolean isUavklartFlyktningstatus() { return uavklartFlyktningstatus; } /** * Sets the value of the uavklartFlyktningstatus property. * * @param value * allowed object is * {@link Boolean } * */ public void setUavklartFlyktningstatus(Boolean value) { this.uavklartFlyktningstatus = value; } /** * Gets the value of the harFlyktningstatus property. * * @return * possible object is * {@link Boolean } * */ public Boolean isHarFlyktningstatus() { return harFlyktningstatus; } /** * Sets the value of the harFlyktningstatus property. * * @param value * allowed object is * {@link Boolean } * */ public void setHarFlyktningstatus(Boolean value) { this.harFlyktningstatus = value; } /** * Gets the value of the historikkHarFlyktningstatus property. * * @return * possible object is * {@link Boolean } * */ public Boolean isHistorikkHarFlyktningstatus() { return historikkHarFlyktningstatus; } /** * Sets the value of the historikkHarFlyktningstatus property. * * @param value * allowed object is * {@link Boolean } * */ public void setHistorikkHarFlyktningstatus(Boolean value) { this.historikkHarFlyktningstatus = value; } /** * Gets the value of the soknadOmBeskyttelseUnderBehandling property. * * @return * possible object is * {@link SoknadOmBeskyttelseUnderBehandling } * */ public SoknadOmBeskyttelseUnderBehandling getSoknadOmBeskyttelseUnderBehandling() { return soknadOmBeskyttelseUnderBehandling; } /** * Sets the value of the soknadOmBeskyttelseUnderBehandling property. * * @param value * allowed object is * {@link SoknadOmBeskyttelseUnderBehandling } * */ public void setSoknadOmBeskyttelseUnderBehandling(SoknadOmBeskyttelseUnderBehandling value) { this.soknadOmBeskyttelseUnderBehandling = value; } public HentPersonstatusResultat withUttrekkstidspunkt(XMLGregorianCalendar value) { setUttrekkstidspunkt(value); return this; } public HentPersonstatusResultat withForesporselsfodselsnummer(String value) { setForesporselsfodselsnummer(value); return this; } public HentPersonstatusResultat withGjeldendePerson(GjeldendePerson value) { setGjeldendePerson(value); return this; } public HentPersonstatusResultat withGjeldendeOppholdsstatus(GjeldendeOppholdsstatus value) { setGjeldendeOppholdsstatus(value); return this; } public HentPersonstatusResultat withArbeidsadgang(Arbeidsadgang value) { setArbeidsadgang(value); return this; } public HentPersonstatusResultat withAvgjorelsehistorikk(Avgjorelser value) { setAvgjorelsehistorikk(value); return this; } public HentPersonstatusResultat withUavklartFlyktningstatus(Boolean value) { setUavklartFlyktningstatus(value); return this; } public HentPersonstatusResultat withHarFlyktningstatus(Boolean value) { setHarFlyktningstatus(value); return this; } public HentPersonstatusResultat withHistorikkHarFlyktningstatus(Boolean value) { setHistorikkHarFlyktningstatus(value); return this; } public HentPersonstatusResultat withSoknadOmBeskyttelseUnderBehandling(SoknadOmBeskyttelseUnderBehandling value) { setSoknadOmBeskyttelseUnderBehandling(value); return this; } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { XMLGregorianCalendar theUttrekkstidspunkt; theUttrekkstidspunkt = this.getUttrekkstidspunkt(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uttrekkstidspunkt", theUttrekkstidspunkt), currentHashCode, theUttrekkstidspunkt); } { String theForesporselsfodselsnummer; theForesporselsfodselsnummer = this.getForesporselsfodselsnummer(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "foresporselsfodselsnummer", theForesporselsfodselsnummer), currentHashCode, theForesporselsfodselsnummer); } { GjeldendePerson theGjeldendePerson; theGjeldendePerson = this.getGjeldendePerson(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gjeldendePerson", theGjeldendePerson), currentHashCode, theGjeldendePerson); } { GjeldendeOppholdsstatus theGjeldendeOppholdsstatus; theGjeldendeOppholdsstatus = this.getGjeldendeOppholdsstatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gjeldendeOppholdsstatus", theGjeldendeOppholdsstatus), currentHashCode, theGjeldendeOppholdsstatus); } { Arbeidsadgang theArbeidsadgang; theArbeidsadgang = this.getArbeidsadgang(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arbeidsadgang", theArbeidsadgang), currentHashCode, theArbeidsadgang); } { Avgjorelser theAvgjorelsehistorikk; theAvgjorelsehistorikk = this.getAvgjorelsehistorikk(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgjorelsehistorikk", theAvgjorelsehistorikk), currentHashCode, theAvgjorelsehistorikk); } { Boolean theUavklartFlyktningstatus; theUavklartFlyktningstatus = this.isUavklartFlyktningstatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uavklartFlyktningstatus", theUavklartFlyktningstatus), currentHashCode, theUavklartFlyktningstatus); } { Boolean theHarFlyktningstatus; theHarFlyktningstatus = this.isHarFlyktningstatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "harFlyktningstatus", theHarFlyktningstatus), currentHashCode, theHarFlyktningstatus); } { Boolean theHistorikkHarFlyktningstatus; theHistorikkHarFlyktningstatus = this.isHistorikkHarFlyktningstatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "historikkHarFlyktningstatus", theHistorikkHarFlyktningstatus), currentHashCode, theHistorikkHarFlyktningstatus); } { SoknadOmBeskyttelseUnderBehandling theSoknadOmBeskyttelseUnderBehandling; theSoknadOmBeskyttelseUnderBehandling = this.getSoknadOmBeskyttelseUnderBehandling(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "soknadOmBeskyttelseUnderBehandling", theSoknadOmBeskyttelseUnderBehandling), currentHashCode, theSoknadOmBeskyttelseUnderBehandling); } 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 HentPersonstatusResultat)) { return false; } if (this == object) { return true; } final HentPersonstatusResultat that = ((HentPersonstatusResultat) object); { XMLGregorianCalendar lhsUttrekkstidspunkt; lhsUttrekkstidspunkt = this.getUttrekkstidspunkt(); XMLGregorianCalendar rhsUttrekkstidspunkt; rhsUttrekkstidspunkt = that.getUttrekkstidspunkt(); if (!strategy.equals(LocatorUtils.property(thisLocator, "uttrekkstidspunkt", lhsUttrekkstidspunkt), LocatorUtils.property(thatLocator, "uttrekkstidspunkt", rhsUttrekkstidspunkt), lhsUttrekkstidspunkt, rhsUttrekkstidspunkt)) { return false; } } { String lhsForesporselsfodselsnummer; lhsForesporselsfodselsnummer = this.getForesporselsfodselsnummer(); String rhsForesporselsfodselsnummer; rhsForesporselsfodselsnummer = that.getForesporselsfodselsnummer(); if (!strategy.equals(LocatorUtils.property(thisLocator, "foresporselsfodselsnummer", lhsForesporselsfodselsnummer), LocatorUtils.property(thatLocator, "foresporselsfodselsnummer", rhsForesporselsfodselsnummer), lhsForesporselsfodselsnummer, rhsForesporselsfodselsnummer)) { return false; } } { GjeldendePerson lhsGjeldendePerson; lhsGjeldendePerson = this.getGjeldendePerson(); GjeldendePerson rhsGjeldendePerson; rhsGjeldendePerson = that.getGjeldendePerson(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gjeldendePerson", lhsGjeldendePerson), LocatorUtils.property(thatLocator, "gjeldendePerson", rhsGjeldendePerson), lhsGjeldendePerson, rhsGjeldendePerson)) { return false; } } { GjeldendeOppholdsstatus lhsGjeldendeOppholdsstatus; lhsGjeldendeOppholdsstatus = this.getGjeldendeOppholdsstatus(); GjeldendeOppholdsstatus rhsGjeldendeOppholdsstatus; rhsGjeldendeOppholdsstatus = that.getGjeldendeOppholdsstatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gjeldendeOppholdsstatus", lhsGjeldendeOppholdsstatus), LocatorUtils.property(thatLocator, "gjeldendeOppholdsstatus", rhsGjeldendeOppholdsstatus), lhsGjeldendeOppholdsstatus, rhsGjeldendeOppholdsstatus)) { return false; } } { Arbeidsadgang lhsArbeidsadgang; lhsArbeidsadgang = this.getArbeidsadgang(); Arbeidsadgang rhsArbeidsadgang; rhsArbeidsadgang = that.getArbeidsadgang(); if (!strategy.equals(LocatorUtils.property(thisLocator, "arbeidsadgang", lhsArbeidsadgang), LocatorUtils.property(thatLocator, "arbeidsadgang", rhsArbeidsadgang), lhsArbeidsadgang, rhsArbeidsadgang)) { return false; } } { Avgjorelser lhsAvgjorelsehistorikk; lhsAvgjorelsehistorikk = this.getAvgjorelsehistorikk(); Avgjorelser rhsAvgjorelsehistorikk; rhsAvgjorelsehistorikk = that.getAvgjorelsehistorikk(); if (!strategy.equals(LocatorUtils.property(thisLocator, "avgjorelsehistorikk", lhsAvgjorelsehistorikk), LocatorUtils.property(thatLocator, "avgjorelsehistorikk", rhsAvgjorelsehistorikk), lhsAvgjorelsehistorikk, rhsAvgjorelsehistorikk)) { return false; } } { Boolean lhsUavklartFlyktningstatus; lhsUavklartFlyktningstatus = this.isUavklartFlyktningstatus(); Boolean rhsUavklartFlyktningstatus; rhsUavklartFlyktningstatus = that.isUavklartFlyktningstatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "uavklartFlyktningstatus", lhsUavklartFlyktningstatus), LocatorUtils.property(thatLocator, "uavklartFlyktningstatus", rhsUavklartFlyktningstatus), lhsUavklartFlyktningstatus, rhsUavklartFlyktningstatus)) { return false; } } { Boolean lhsHarFlyktningstatus; lhsHarFlyktningstatus = this.isHarFlyktningstatus(); Boolean rhsHarFlyktningstatus; rhsHarFlyktningstatus = that.isHarFlyktningstatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "harFlyktningstatus", lhsHarFlyktningstatus), LocatorUtils.property(thatLocator, "harFlyktningstatus", rhsHarFlyktningstatus), lhsHarFlyktningstatus, rhsHarFlyktningstatus)) { return false; } } { Boolean lhsHistorikkHarFlyktningstatus; lhsHistorikkHarFlyktningstatus = this.isHistorikkHarFlyktningstatus(); Boolean rhsHistorikkHarFlyktningstatus; rhsHistorikkHarFlyktningstatus = that.isHistorikkHarFlyktningstatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "historikkHarFlyktningstatus", lhsHistorikkHarFlyktningstatus), LocatorUtils.property(thatLocator, "historikkHarFlyktningstatus", rhsHistorikkHarFlyktningstatus), lhsHistorikkHarFlyktningstatus, rhsHistorikkHarFlyktningstatus)) { return false; } } { SoknadOmBeskyttelseUnderBehandling lhsSoknadOmBeskyttelseUnderBehandling; lhsSoknadOmBeskyttelseUnderBehandling = this.getSoknadOmBeskyttelseUnderBehandling(); SoknadOmBeskyttelseUnderBehandling rhsSoknadOmBeskyttelseUnderBehandling; rhsSoknadOmBeskyttelseUnderBehandling = that.getSoknadOmBeskyttelseUnderBehandling(); if (!strategy.equals(LocatorUtils.property(thisLocator, "soknadOmBeskyttelseUnderBehandling", lhsSoknadOmBeskyttelseUnderBehandling), LocatorUtils.property(thatLocator, "soknadOmBeskyttelseUnderBehandling", rhsSoknadOmBeskyttelseUnderBehandling), lhsSoknadOmBeskyttelseUnderBehandling, rhsSoknadOmBeskyttelseUnderBehandling)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy