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

no.udi.mt_1067_nav_data.v1.HentPersonstatusParameter 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;


/**
 * Parametre til bruk av operasjon for henting av oppholdsstatus. Fødselsnummer / D-nummer må være angitt.
 * 
 * 

Java class for HentPersonstatusParameter complex type. * *

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

 * <complexType name="HentPersonstatusParameter">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Fodselsnummer" type="{http://udi.no/Common/v2}Fodselsnummer"/>
 *         <element name="AvgjorelserFraDato" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="InkluderArbeidsadgang" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="InkluderAvgjorelsehistorikk" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="InkluderFlyktningstatus" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="InkluderSoknadOmBeskyttelseUnderBehandling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="ManuellOppgVedUavklartArbeidsadgang" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HentPersonstatusParameter", propOrder = { "fodselsnummer", "avgjorelserFraDato", "inkluderArbeidsadgang", "inkluderAvgjorelsehistorikk", "inkluderFlyktningstatus", "inkluderSoknadOmBeskyttelseUnderBehandling", "manuellOppgVedUavklartArbeidsadgang" }) public class HentPersonstatusParameter implements Serializable, Equals, HashCode { @XmlElement(name = "Fodselsnummer", required = true) protected String fodselsnummer; @XmlElement(name = "AvgjorelserFraDato", required = true, nillable = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar avgjorelserFraDato; @XmlElement(name = "InkluderArbeidsadgang") protected boolean inkluderArbeidsadgang; @XmlElement(name = "InkluderAvgjorelsehistorikk") protected boolean inkluderAvgjorelsehistorikk; @XmlElement(name = "InkluderFlyktningstatus") protected boolean inkluderFlyktningstatus; @XmlElement(name = "InkluderSoknadOmBeskyttelseUnderBehandling") protected boolean inkluderSoknadOmBeskyttelseUnderBehandling; @XmlElement(name = "ManuellOppgVedUavklartArbeidsadgang") protected boolean manuellOppgVedUavklartArbeidsadgang; /** * Gets the value of the fodselsnummer property. * * @return * possible object is * {@link String } * */ public String getFodselsnummer() { return fodselsnummer; } /** * Sets the value of the fodselsnummer property. * * @param value * allowed object is * {@link String } * */ public void setFodselsnummer(String value) { this.fodselsnummer = value; } /** * Gets the value of the avgjorelserFraDato property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getAvgjorelserFraDato() { return avgjorelserFraDato; } /** * Sets the value of the avgjorelserFraDato property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setAvgjorelserFraDato(XMLGregorianCalendar value) { this.avgjorelserFraDato = value; } /** * Gets the value of the inkluderArbeidsadgang property. * */ public boolean isInkluderArbeidsadgang() { return inkluderArbeidsadgang; } /** * Sets the value of the inkluderArbeidsadgang property. * */ public void setInkluderArbeidsadgang(boolean value) { this.inkluderArbeidsadgang = value; } /** * Gets the value of the inkluderAvgjorelsehistorikk property. * */ public boolean isInkluderAvgjorelsehistorikk() { return inkluderAvgjorelsehistorikk; } /** * Sets the value of the inkluderAvgjorelsehistorikk property. * */ public void setInkluderAvgjorelsehistorikk(boolean value) { this.inkluderAvgjorelsehistorikk = value; } /** * Gets the value of the inkluderFlyktningstatus property. * */ public boolean isInkluderFlyktningstatus() { return inkluderFlyktningstatus; } /** * Sets the value of the inkluderFlyktningstatus property. * */ public void setInkluderFlyktningstatus(boolean value) { this.inkluderFlyktningstatus = value; } /** * Gets the value of the inkluderSoknadOmBeskyttelseUnderBehandling property. * */ public boolean isInkluderSoknadOmBeskyttelseUnderBehandling() { return inkluderSoknadOmBeskyttelseUnderBehandling; } /** * Sets the value of the inkluderSoknadOmBeskyttelseUnderBehandling property. * */ public void setInkluderSoknadOmBeskyttelseUnderBehandling(boolean value) { this.inkluderSoknadOmBeskyttelseUnderBehandling = value; } /** * Gets the value of the manuellOppgVedUavklartArbeidsadgang property. * */ public boolean isManuellOppgVedUavklartArbeidsadgang() { return manuellOppgVedUavklartArbeidsadgang; } /** * Sets the value of the manuellOppgVedUavklartArbeidsadgang property. * */ public void setManuellOppgVedUavklartArbeidsadgang(boolean value) { this.manuellOppgVedUavklartArbeidsadgang = value; } public HentPersonstatusParameter withFodselsnummer(String value) { setFodselsnummer(value); return this; } public HentPersonstatusParameter withAvgjorelserFraDato(XMLGregorianCalendar value) { setAvgjorelserFraDato(value); return this; } public HentPersonstatusParameter withInkluderArbeidsadgang(boolean value) { setInkluderArbeidsadgang(value); return this; } public HentPersonstatusParameter withInkluderAvgjorelsehistorikk(boolean value) { setInkluderAvgjorelsehistorikk(value); return this; } public HentPersonstatusParameter withInkluderFlyktningstatus(boolean value) { setInkluderFlyktningstatus(value); return this; } public HentPersonstatusParameter withInkluderSoknadOmBeskyttelseUnderBehandling(boolean value) { setInkluderSoknadOmBeskyttelseUnderBehandling(value); return this; } public HentPersonstatusParameter withManuellOppgVedUavklartArbeidsadgang(boolean value) { setManuellOppgVedUavklartArbeidsadgang(value); return this; } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theFodselsnummer; theFodselsnummer = this.getFodselsnummer(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fodselsnummer", theFodselsnummer), currentHashCode, theFodselsnummer); } { XMLGregorianCalendar theAvgjorelserFraDato; theAvgjorelserFraDato = this.getAvgjorelserFraDato(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgjorelserFraDato", theAvgjorelserFraDato), currentHashCode, theAvgjorelserFraDato); } { boolean theInkluderArbeidsadgang; theInkluderArbeidsadgang = (true?this.isInkluderArbeidsadgang():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inkluderArbeidsadgang", theInkluderArbeidsadgang), currentHashCode, theInkluderArbeidsadgang); } { boolean theInkluderAvgjorelsehistorikk; theInkluderAvgjorelsehistorikk = (true?this.isInkluderAvgjorelsehistorikk():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inkluderAvgjorelsehistorikk", theInkluderAvgjorelsehistorikk), currentHashCode, theInkluderAvgjorelsehistorikk); } { boolean theInkluderFlyktningstatus; theInkluderFlyktningstatus = (true?this.isInkluderFlyktningstatus():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inkluderFlyktningstatus", theInkluderFlyktningstatus), currentHashCode, theInkluderFlyktningstatus); } { boolean theInkluderSoknadOmBeskyttelseUnderBehandling; theInkluderSoknadOmBeskyttelseUnderBehandling = (true?this.isInkluderSoknadOmBeskyttelseUnderBehandling():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inkluderSoknadOmBeskyttelseUnderBehandling", theInkluderSoknadOmBeskyttelseUnderBehandling), currentHashCode, theInkluderSoknadOmBeskyttelseUnderBehandling); } { boolean theManuellOppgVedUavklartArbeidsadgang; theManuellOppgVedUavklartArbeidsadgang = (true?this.isManuellOppgVedUavklartArbeidsadgang():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "manuellOppgVedUavklartArbeidsadgang", theManuellOppgVedUavklartArbeidsadgang), currentHashCode, theManuellOppgVedUavklartArbeidsadgang); } 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 HentPersonstatusParameter)) { return false; } if (this == object) { return true; } final HentPersonstatusParameter that = ((HentPersonstatusParameter) object); { String lhsFodselsnummer; lhsFodselsnummer = this.getFodselsnummer(); String rhsFodselsnummer; rhsFodselsnummer = that.getFodselsnummer(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fodselsnummer", lhsFodselsnummer), LocatorUtils.property(thatLocator, "fodselsnummer", rhsFodselsnummer), lhsFodselsnummer, rhsFodselsnummer)) { return false; } } { XMLGregorianCalendar lhsAvgjorelserFraDato; lhsAvgjorelserFraDato = this.getAvgjorelserFraDato(); XMLGregorianCalendar rhsAvgjorelserFraDato; rhsAvgjorelserFraDato = that.getAvgjorelserFraDato(); if (!strategy.equals(LocatorUtils.property(thisLocator, "avgjorelserFraDato", lhsAvgjorelserFraDato), LocatorUtils.property(thatLocator, "avgjorelserFraDato", rhsAvgjorelserFraDato), lhsAvgjorelserFraDato, rhsAvgjorelserFraDato)) { return false; } } { boolean lhsInkluderArbeidsadgang; lhsInkluderArbeidsadgang = (true?this.isInkluderArbeidsadgang():false); boolean rhsInkluderArbeidsadgang; rhsInkluderArbeidsadgang = (true?that.isInkluderArbeidsadgang():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "inkluderArbeidsadgang", lhsInkluderArbeidsadgang), LocatorUtils.property(thatLocator, "inkluderArbeidsadgang", rhsInkluderArbeidsadgang), lhsInkluderArbeidsadgang, rhsInkluderArbeidsadgang)) { return false; } } { boolean lhsInkluderAvgjorelsehistorikk; lhsInkluderAvgjorelsehistorikk = (true?this.isInkluderAvgjorelsehistorikk():false); boolean rhsInkluderAvgjorelsehistorikk; rhsInkluderAvgjorelsehistorikk = (true?that.isInkluderAvgjorelsehistorikk():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "inkluderAvgjorelsehistorikk", lhsInkluderAvgjorelsehistorikk), LocatorUtils.property(thatLocator, "inkluderAvgjorelsehistorikk", rhsInkluderAvgjorelsehistorikk), lhsInkluderAvgjorelsehistorikk, rhsInkluderAvgjorelsehistorikk)) { return false; } } { boolean lhsInkluderFlyktningstatus; lhsInkluderFlyktningstatus = (true?this.isInkluderFlyktningstatus():false); boolean rhsInkluderFlyktningstatus; rhsInkluderFlyktningstatus = (true?that.isInkluderFlyktningstatus():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "inkluderFlyktningstatus", lhsInkluderFlyktningstatus), LocatorUtils.property(thatLocator, "inkluderFlyktningstatus", rhsInkluderFlyktningstatus), lhsInkluderFlyktningstatus, rhsInkluderFlyktningstatus)) { return false; } } { boolean lhsInkluderSoknadOmBeskyttelseUnderBehandling; lhsInkluderSoknadOmBeskyttelseUnderBehandling = (true?this.isInkluderSoknadOmBeskyttelseUnderBehandling():false); boolean rhsInkluderSoknadOmBeskyttelseUnderBehandling; rhsInkluderSoknadOmBeskyttelseUnderBehandling = (true?that.isInkluderSoknadOmBeskyttelseUnderBehandling():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "inkluderSoknadOmBeskyttelseUnderBehandling", lhsInkluderSoknadOmBeskyttelseUnderBehandling), LocatorUtils.property(thatLocator, "inkluderSoknadOmBeskyttelseUnderBehandling", rhsInkluderSoknadOmBeskyttelseUnderBehandling), lhsInkluderSoknadOmBeskyttelseUnderBehandling, rhsInkluderSoknadOmBeskyttelseUnderBehandling)) { return false; } } { boolean lhsManuellOppgVedUavklartArbeidsadgang; lhsManuellOppgVedUavklartArbeidsadgang = (true?this.isManuellOppgVedUavklartArbeidsadgang():false); boolean rhsManuellOppgVedUavklartArbeidsadgang; rhsManuellOppgVedUavklartArbeidsadgang = (true?that.isManuellOppgVedUavklartArbeidsadgang():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "manuellOppgVedUavklartArbeidsadgang", lhsManuellOppgVedUavklartArbeidsadgang), LocatorUtils.property(thatLocator, "manuellOppgVedUavklartArbeidsadgang", rhsManuellOppgVedUavklartArbeidsadgang), lhsManuellOppgVedUavklartArbeidsadgang, rhsManuellOppgVedUavklartArbeidsadgang)) { 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