
no.udi.mt_1067_nav_data.v1.AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet Maven / Gradle / Ivy
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 AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="UtreiseFrist" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="AvslagsGrunnlagOvrig" type="{http://udi.no/MT_1067_NAV_Data/v1}OppholdsgrunnlagKategori"/>
* <element name="AvslagsGrunnlagEOS" type="{http://udi.no/MT_1067_NAV_Data/v1}EOSellerEFTAGrunnlagskategoriOppholdstillatelse"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet", propOrder = {
"utreiseFrist",
"avslagsGrunnlagOvrig",
"avslagsGrunnlagEOS"
})
public class AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet
implements Serializable, Equals, HashCode
{
@XmlElement(name = "UtreiseFrist", required = true, nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar utreiseFrist;
@XmlElement(name = "AvslagsGrunnlagOvrig", required = true, nillable = true)
@XmlSchemaType(name = "string")
protected OppholdsgrunnlagKategori avslagsGrunnlagOvrig;
@XmlElement(name = "AvslagsGrunnlagEOS", required = true, nillable = true)
@XmlSchemaType(name = "string")
protected EOSellerEFTAGrunnlagskategoriOppholdstillatelse avslagsGrunnlagEOS;
/**
* Gets the value of the utreiseFrist property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getUtreiseFrist() {
return utreiseFrist;
}
/**
* Sets the value of the utreiseFrist property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setUtreiseFrist(XMLGregorianCalendar value) {
this.utreiseFrist = value;
}
/**
* Gets the value of the avslagsGrunnlagOvrig property.
*
* @return
* possible object is
* {@link OppholdsgrunnlagKategori }
*
*/
public OppholdsgrunnlagKategori getAvslagsGrunnlagOvrig() {
return avslagsGrunnlagOvrig;
}
/**
* Sets the value of the avslagsGrunnlagOvrig property.
*
* @param value
* allowed object is
* {@link OppholdsgrunnlagKategori }
*
*/
public void setAvslagsGrunnlagOvrig(OppholdsgrunnlagKategori value) {
this.avslagsGrunnlagOvrig = value;
}
/**
* Gets the value of the avslagsGrunnlagEOS property.
*
* @return
* possible object is
* {@link EOSellerEFTAGrunnlagskategoriOppholdstillatelse }
*
*/
public EOSellerEFTAGrunnlagskategoriOppholdstillatelse getAvslagsGrunnlagEOS() {
return avslagsGrunnlagEOS;
}
/**
* Sets the value of the avslagsGrunnlagEOS property.
*
* @param value
* allowed object is
* {@link EOSellerEFTAGrunnlagskategoriOppholdstillatelse }
*
*/
public void setAvslagsGrunnlagEOS(EOSellerEFTAGrunnlagskategoriOppholdstillatelse value) {
this.avslagsGrunnlagEOS = value;
}
public AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet withUtreiseFrist(XMLGregorianCalendar value) {
setUtreiseFrist(value);
return this;
}
public AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet withAvslagsGrunnlagOvrig(OppholdsgrunnlagKategori value) {
setAvslagsGrunnlagOvrig(value);
return this;
}
public AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet withAvslagsGrunnlagEOS(EOSellerEFTAGrunnlagskategoriOppholdstillatelse value) {
setAvslagsGrunnlagEOS(value);
return this;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
XMLGregorianCalendar theUtreiseFrist;
theUtreiseFrist = this.getUtreiseFrist();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "utreiseFrist", theUtreiseFrist), currentHashCode, theUtreiseFrist);
}
{
OppholdsgrunnlagKategori theAvslagsGrunnlagOvrig;
theAvslagsGrunnlagOvrig = this.getAvslagsGrunnlagOvrig();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avslagsGrunnlagOvrig", theAvslagsGrunnlagOvrig), currentHashCode, theAvslagsGrunnlagOvrig);
}
{
EOSellerEFTAGrunnlagskategoriOppholdstillatelse theAvslagsGrunnlagEOS;
theAvslagsGrunnlagEOS = this.getAvslagsGrunnlagEOS();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avslagsGrunnlagEOS", theAvslagsGrunnlagEOS), currentHashCode, theAvslagsGrunnlagEOS);
}
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 AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet)) {
return false;
}
if (this == object) {
return true;
}
final AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet that = ((AvslagPaSoknadOmOppholdstillatelseRealitetsBehandlet) object);
{
XMLGregorianCalendar lhsUtreiseFrist;
lhsUtreiseFrist = this.getUtreiseFrist();
XMLGregorianCalendar rhsUtreiseFrist;
rhsUtreiseFrist = that.getUtreiseFrist();
if (!strategy.equals(LocatorUtils.property(thisLocator, "utreiseFrist", lhsUtreiseFrist), LocatorUtils.property(thatLocator, "utreiseFrist", rhsUtreiseFrist), lhsUtreiseFrist, rhsUtreiseFrist)) {
return false;
}
}
{
OppholdsgrunnlagKategori lhsAvslagsGrunnlagOvrig;
lhsAvslagsGrunnlagOvrig = this.getAvslagsGrunnlagOvrig();
OppholdsgrunnlagKategori rhsAvslagsGrunnlagOvrig;
rhsAvslagsGrunnlagOvrig = that.getAvslagsGrunnlagOvrig();
if (!strategy.equals(LocatorUtils.property(thisLocator, "avslagsGrunnlagOvrig", lhsAvslagsGrunnlagOvrig), LocatorUtils.property(thatLocator, "avslagsGrunnlagOvrig", rhsAvslagsGrunnlagOvrig), lhsAvslagsGrunnlagOvrig, rhsAvslagsGrunnlagOvrig)) {
return false;
}
}
{
EOSellerEFTAGrunnlagskategoriOppholdstillatelse lhsAvslagsGrunnlagEOS;
lhsAvslagsGrunnlagEOS = this.getAvslagsGrunnlagEOS();
EOSellerEFTAGrunnlagskategoriOppholdstillatelse rhsAvslagsGrunnlagEOS;
rhsAvslagsGrunnlagEOS = that.getAvslagsGrunnlagEOS();
if (!strategy.equals(LocatorUtils.property(thisLocator, "avslagsGrunnlagEOS", lhsAvslagsGrunnlagEOS), LocatorUtils.property(thatLocator, "avslagsGrunnlagEOS", rhsAvslagsGrunnlagEOS), lhsAvslagsGrunnlagEOS, rhsAvslagsGrunnlagEOS)) {
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