
no.udi.mt_1067_nav_data.v1.GjeldendeOppholdsstatus 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.XmlType;
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 GjeldendeOppholdsstatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GjeldendeOppholdsstatus">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Uavklart" type="{http://udi.no/MT_1067_NAV_Data/v1}Uavklart" minOccurs="0"/>
* <element name="EOSellerEFTAOpphold" type="{http://udi.no/MT_1067_NAV_Data/v1}EOSellerEFTAOpphold" minOccurs="0"/>
* <element name="OppholdstillatelseEllerOppholdsPaSammeVilkar" type="{http://udi.no/MT_1067_NAV_Data/v1}OppholdstillatelseEllerOppholdsPaSammeVilkar" minOccurs="0"/>
* <element name="IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum" type="{http://udi.no/MT_1067_NAV_Data/v1}IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GjeldendeOppholdsstatus", propOrder = {
"uavklart",
"eoSellerEFTAOpphold",
"oppholdstillatelseEllerOppholdsPaSammeVilkar",
"ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum"
})
public class GjeldendeOppholdsstatus
implements Serializable, Equals, HashCode
{
@XmlElement(name = "Uavklart")
protected Uavklart uavklart;
@XmlElement(name = "EOSellerEFTAOpphold")
protected EOSellerEFTAOpphold eoSellerEFTAOpphold;
@XmlElement(name = "OppholdstillatelseEllerOppholdsPaSammeVilkar")
protected OppholdstillatelseEllerOppholdsPaSammeVilkar oppholdstillatelseEllerOppholdsPaSammeVilkar;
@XmlElement(name = "IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum")
protected IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum;
/**
* Gets the value of the uavklart property.
*
* @return
* possible object is
* {@link Uavklart }
*
*/
public Uavklart getUavklart() {
return uavklart;
}
/**
* Sets the value of the uavklart property.
*
* @param value
* allowed object is
* {@link Uavklart }
*
*/
public void setUavklart(Uavklart value) {
this.uavklart = value;
}
/**
* Gets the value of the eoSellerEFTAOpphold property.
*
* @return
* possible object is
* {@link EOSellerEFTAOpphold }
*
*/
public EOSellerEFTAOpphold getEOSellerEFTAOpphold() {
return eoSellerEFTAOpphold;
}
/**
* Sets the value of the eoSellerEFTAOpphold property.
*
* @param value
* allowed object is
* {@link EOSellerEFTAOpphold }
*
*/
public void setEOSellerEFTAOpphold(EOSellerEFTAOpphold value) {
this.eoSellerEFTAOpphold = value;
}
/**
* Gets the value of the oppholdstillatelseEllerOppholdsPaSammeVilkar property.
*
* @return
* possible object is
* {@link OppholdstillatelseEllerOppholdsPaSammeVilkar }
*
*/
public OppholdstillatelseEllerOppholdsPaSammeVilkar getOppholdstillatelseEllerOppholdsPaSammeVilkar() {
return oppholdstillatelseEllerOppholdsPaSammeVilkar;
}
/**
* Sets the value of the oppholdstillatelseEllerOppholdsPaSammeVilkar property.
*
* @param value
* allowed object is
* {@link OppholdstillatelseEllerOppholdsPaSammeVilkar }
*
*/
public void setOppholdstillatelseEllerOppholdsPaSammeVilkar(OppholdstillatelseEllerOppholdsPaSammeVilkar value) {
this.oppholdstillatelseEllerOppholdsPaSammeVilkar = value;
}
/**
* Gets the value of the ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum property.
*
* @return
* possible object is
* {@link IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum }
*
*/
public IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum getIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum() {
return ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum;
}
/**
* Sets the value of the ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum property.
*
* @param value
* allowed object is
* {@link IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum }
*
*/
public void setIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum(IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum value) {
this.ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum = value;
}
public GjeldendeOppholdsstatus withUavklart(Uavklart value) {
setUavklart(value);
return this;
}
public GjeldendeOppholdsstatus withEOSellerEFTAOpphold(EOSellerEFTAOpphold value) {
setEOSellerEFTAOpphold(value);
return this;
}
public GjeldendeOppholdsstatus withOppholdstillatelseEllerOppholdsPaSammeVilkar(OppholdstillatelseEllerOppholdsPaSammeVilkar value) {
setOppholdstillatelseEllerOppholdsPaSammeVilkar(value);
return this;
}
public GjeldendeOppholdsstatus withIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum(IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum value) {
setIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum(value);
return this;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
Uavklart theUavklart;
theUavklart = this.getUavklart();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uavklart", theUavklart), currentHashCode, theUavklart);
}
{
EOSellerEFTAOpphold theEOSellerEFTAOpphold;
theEOSellerEFTAOpphold = this.getEOSellerEFTAOpphold();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "eoSellerEFTAOpphold", theEOSellerEFTAOpphold), currentHashCode, theEOSellerEFTAOpphold);
}
{
OppholdstillatelseEllerOppholdsPaSammeVilkar theOppholdstillatelseEllerOppholdsPaSammeVilkar;
theOppholdstillatelseEllerOppholdsPaSammeVilkar = this.getOppholdstillatelseEllerOppholdsPaSammeVilkar();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oppholdstillatelseEllerOppholdsPaSammeVilkar", theOppholdstillatelseEllerOppholdsPaSammeVilkar), currentHashCode, theOppholdstillatelseEllerOppholdsPaSammeVilkar);
}
{
IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum theIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum;
theIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum = this.getIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum", theIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum), currentHashCode, theIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum);
}
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 GjeldendeOppholdsstatus)) {
return false;
}
if (this == object) {
return true;
}
final GjeldendeOppholdsstatus that = ((GjeldendeOppholdsstatus) object);
{
Uavklart lhsUavklart;
lhsUavklart = this.getUavklart();
Uavklart rhsUavklart;
rhsUavklart = that.getUavklart();
if (!strategy.equals(LocatorUtils.property(thisLocator, "uavklart", lhsUavklart), LocatorUtils.property(thatLocator, "uavklart", rhsUavklart), lhsUavklart, rhsUavklart)) {
return false;
}
}
{
EOSellerEFTAOpphold lhsEOSellerEFTAOpphold;
lhsEOSellerEFTAOpphold = this.getEOSellerEFTAOpphold();
EOSellerEFTAOpphold rhsEOSellerEFTAOpphold;
rhsEOSellerEFTAOpphold = that.getEOSellerEFTAOpphold();
if (!strategy.equals(LocatorUtils.property(thisLocator, "eoSellerEFTAOpphold", lhsEOSellerEFTAOpphold), LocatorUtils.property(thatLocator, "eoSellerEFTAOpphold", rhsEOSellerEFTAOpphold), lhsEOSellerEFTAOpphold, rhsEOSellerEFTAOpphold)) {
return false;
}
}
{
OppholdstillatelseEllerOppholdsPaSammeVilkar lhsOppholdstillatelseEllerOppholdsPaSammeVilkar;
lhsOppholdstillatelseEllerOppholdsPaSammeVilkar = this.getOppholdstillatelseEllerOppholdsPaSammeVilkar();
OppholdstillatelseEllerOppholdsPaSammeVilkar rhsOppholdstillatelseEllerOppholdsPaSammeVilkar;
rhsOppholdstillatelseEllerOppholdsPaSammeVilkar = that.getOppholdstillatelseEllerOppholdsPaSammeVilkar();
if (!strategy.equals(LocatorUtils.property(thisLocator, "oppholdstillatelseEllerOppholdsPaSammeVilkar", lhsOppholdstillatelseEllerOppholdsPaSammeVilkar), LocatorUtils.property(thatLocator, "oppholdstillatelseEllerOppholdsPaSammeVilkar", rhsOppholdstillatelseEllerOppholdsPaSammeVilkar), lhsOppholdstillatelseEllerOppholdsPaSammeVilkar, rhsOppholdstillatelseEllerOppholdsPaSammeVilkar)) {
return false;
}
}
{
IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum lhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum;
lhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum = this.getIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum();
IkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum rhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum;
rhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum = that.getIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum", lhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum), LocatorUtils.property(thatLocator, "ikkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum", rhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum), lhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum, rhsIkkeOppholdstillatelseIkkeOppholdsPaSammeVilkarIkkeVisum)) {
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