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

no.udi.mt_1067_nav_data.v1.EOSellerEFTABeslutningOmOppholdsrett 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 EOSellerEFTABeslutningOmOppholdsrett complex type. * *

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

 * <complexType name="EOSellerEFTABeslutningOmOppholdsrett">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="OppholdsrettsPeriode" type="{http://udi.no/MT_1067_NAV_Data/v1}Periode" minOccurs="0"/>
 *         <element name="Effektueringsdato" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="EOSOppholdsgrunnlag" type="{http://udi.no/MT_1067_NAV_Data/v1}EOSellerEFTAGrunnlagskategoriOppholdsrett"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EOSellerEFTABeslutningOmOppholdsrett", propOrder = { "oppholdsrettsPeriode", "effektueringsdato", "eosOppholdsgrunnlag" }) public class EOSellerEFTABeslutningOmOppholdsrett implements Serializable, Equals, HashCode { @XmlElement(name = "OppholdsrettsPeriode") protected Periode oppholdsrettsPeriode; @XmlElement(name = "Effektueringsdato", required = true, nillable = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar effektueringsdato; @XmlElement(name = "EOSOppholdsgrunnlag", required = true, nillable = true) @XmlSchemaType(name = "string") protected EOSellerEFTAGrunnlagskategoriOppholdsrett eosOppholdsgrunnlag; /** * Gets the value of the oppholdsrettsPeriode property. * * @return * possible object is * {@link Periode } * */ public Periode getOppholdsrettsPeriode() { return oppholdsrettsPeriode; } /** * Sets the value of the oppholdsrettsPeriode property. * * @param value * allowed object is * {@link Periode } * */ public void setOppholdsrettsPeriode(Periode value) { this.oppholdsrettsPeriode = value; } /** * Gets the value of the effektueringsdato property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEffektueringsdato() { return effektueringsdato; } /** * Sets the value of the effektueringsdato property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEffektueringsdato(XMLGregorianCalendar value) { this.effektueringsdato = value; } /** * Gets the value of the eosOppholdsgrunnlag property. * * @return * possible object is * {@link EOSellerEFTAGrunnlagskategoriOppholdsrett } * */ public EOSellerEFTAGrunnlagskategoriOppholdsrett getEOSOppholdsgrunnlag() { return eosOppholdsgrunnlag; } /** * Sets the value of the eosOppholdsgrunnlag property. * * @param value * allowed object is * {@link EOSellerEFTAGrunnlagskategoriOppholdsrett } * */ public void setEOSOppholdsgrunnlag(EOSellerEFTAGrunnlagskategoriOppholdsrett value) { this.eosOppholdsgrunnlag = value; } public EOSellerEFTABeslutningOmOppholdsrett withOppholdsrettsPeriode(Periode value) { setOppholdsrettsPeriode(value); return this; } public EOSellerEFTABeslutningOmOppholdsrett withEffektueringsdato(XMLGregorianCalendar value) { setEffektueringsdato(value); return this; } public EOSellerEFTABeslutningOmOppholdsrett withEOSOppholdsgrunnlag(EOSellerEFTAGrunnlagskategoriOppholdsrett value) { setEOSOppholdsgrunnlag(value); return this; } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { Periode theOppholdsrettsPeriode; theOppholdsrettsPeriode = this.getOppholdsrettsPeriode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oppholdsrettsPeriode", theOppholdsrettsPeriode), currentHashCode, theOppholdsrettsPeriode); } { XMLGregorianCalendar theEffektueringsdato; theEffektueringsdato = this.getEffektueringsdato(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "effektueringsdato", theEffektueringsdato), currentHashCode, theEffektueringsdato); } { EOSellerEFTAGrunnlagskategoriOppholdsrett theEOSOppholdsgrunnlag; theEOSOppholdsgrunnlag = this.getEOSOppholdsgrunnlag(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "eosOppholdsgrunnlag", theEOSOppholdsgrunnlag), currentHashCode, theEOSOppholdsgrunnlag); } 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 EOSellerEFTABeslutningOmOppholdsrett)) { return false; } if (this == object) { return true; } final EOSellerEFTABeslutningOmOppholdsrett that = ((EOSellerEFTABeslutningOmOppholdsrett) object); { Periode lhsOppholdsrettsPeriode; lhsOppholdsrettsPeriode = this.getOppholdsrettsPeriode(); Periode rhsOppholdsrettsPeriode; rhsOppholdsrettsPeriode = that.getOppholdsrettsPeriode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oppholdsrettsPeriode", lhsOppholdsrettsPeriode), LocatorUtils.property(thatLocator, "oppholdsrettsPeriode", rhsOppholdsrettsPeriode), lhsOppholdsrettsPeriode, rhsOppholdsrettsPeriode)) { return false; } } { XMLGregorianCalendar lhsEffektueringsdato; lhsEffektueringsdato = this.getEffektueringsdato(); XMLGregorianCalendar rhsEffektueringsdato; rhsEffektueringsdato = that.getEffektueringsdato(); if (!strategy.equals(LocatorUtils.property(thisLocator, "effektueringsdato", lhsEffektueringsdato), LocatorUtils.property(thatLocator, "effektueringsdato", rhsEffektueringsdato), lhsEffektueringsdato, rhsEffektueringsdato)) { return false; } } { EOSellerEFTAGrunnlagskategoriOppholdsrett lhsEOSOppholdsgrunnlag; lhsEOSOppholdsgrunnlag = this.getEOSOppholdsgrunnlag(); EOSellerEFTAGrunnlagskategoriOppholdsrett rhsEOSOppholdsgrunnlag; rhsEOSOppholdsgrunnlag = that.getEOSOppholdsgrunnlag(); if (!strategy.equals(LocatorUtils.property(thisLocator, "eosOppholdsgrunnlag", lhsEOSOppholdsgrunnlag), LocatorUtils.property(thatLocator, "eosOppholdsgrunnlag", rhsEOSOppholdsgrunnlag), lhsEOSOppholdsgrunnlag, rhsEOSOppholdsgrunnlag)) { 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