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

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


/**
 * 

Java class for SoknadOmBeskyttelseUnderBehandling complex type. * *

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

 * <complexType name="SoknadOmBeskyttelseUnderBehandling">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ErUnderBehandling" type="{http://udi.no/MT_1067_NAV_Data/v1}JaNeiUavklart"/>
 *         <element name="Soknadsdato" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SoknadOmBeskyttelseUnderBehandling", propOrder = { "erUnderBehandling", "soknadsdato" }) public class SoknadOmBeskyttelseUnderBehandling implements Serializable, Equals, HashCode { @XmlElement(name = "ErUnderBehandling", required = true) @XmlSchemaType(name = "string") protected JaNeiUavklart erUnderBehandling; @XmlElement(name = "Soknadsdato", required = true, nillable = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar soknadsdato; /** * Gets the value of the erUnderBehandling property. * * @return * possible object is * {@link JaNeiUavklart } * */ public JaNeiUavklart getErUnderBehandling() { return erUnderBehandling; } /** * Sets the value of the erUnderBehandling property. * * @param value * allowed object is * {@link JaNeiUavklart } * */ public void setErUnderBehandling(JaNeiUavklart value) { this.erUnderBehandling = value; } /** * Gets the value of the soknadsdato property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getSoknadsdato() { return soknadsdato; } /** * Sets the value of the soknadsdato property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setSoknadsdato(XMLGregorianCalendar value) { this.soknadsdato = value; } public SoknadOmBeskyttelseUnderBehandling withErUnderBehandling(JaNeiUavklart value) { setErUnderBehandling(value); return this; } public SoknadOmBeskyttelseUnderBehandling withSoknadsdato(XMLGregorianCalendar value) { setSoknadsdato(value); return this; } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { JaNeiUavklart theErUnderBehandling; theErUnderBehandling = this.getErUnderBehandling(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "erUnderBehandling", theErUnderBehandling), currentHashCode, theErUnderBehandling); } { XMLGregorianCalendar theSoknadsdato; theSoknadsdato = this.getSoknadsdato(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "soknadsdato", theSoknadsdato), currentHashCode, theSoknadsdato); } 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 SoknadOmBeskyttelseUnderBehandling)) { return false; } if (this == object) { return true; } final SoknadOmBeskyttelseUnderBehandling that = ((SoknadOmBeskyttelseUnderBehandling) object); { JaNeiUavklart lhsErUnderBehandling; lhsErUnderBehandling = this.getErUnderBehandling(); JaNeiUavklart rhsErUnderBehandling; rhsErUnderBehandling = that.getErUnderBehandling(); if (!strategy.equals(LocatorUtils.property(thisLocator, "erUnderBehandling", lhsErUnderBehandling), LocatorUtils.property(thatLocator, "erUnderBehandling", rhsErUnderBehandling), lhsErUnderBehandling, rhsErUnderBehandling)) { return false; } } { XMLGregorianCalendar lhsSoknadsdato; lhsSoknadsdato = this.getSoknadsdato(); XMLGregorianCalendar rhsSoknadsdato; rhsSoknadsdato = that.getSoknadsdato(); if (!strategy.equals(LocatorUtils.property(thisLocator, "soknadsdato", lhsSoknadsdato), LocatorUtils.property(thatLocator, "soknadsdato", rhsSoknadsdato), lhsSoknadsdato, rhsSoknadsdato)) { 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