
no.udi.mt_1067_nav_data.v1.Avgjorelser 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;
/**
* Avgjørelsehistorikk
*
* Java class for Avgjorelser complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Avgjorelser">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AvgjorelseListe" type="{http://udi.no/MT_1067_NAV_Data/v1}AvgjorelseListe" minOccurs="0"/>
* <element name="Uavklart" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Avgjorelser", propOrder = {
"avgjorelseListe",
"uavklart"
})
public class Avgjorelser
implements Serializable, Equals, HashCode
{
@XmlElement(name = "AvgjorelseListe")
protected AvgjorelseListe avgjorelseListe;
@XmlElement(name = "Uavklart")
protected boolean uavklart;
/**
* Gets the value of the avgjorelseListe property.
*
* @return
* possible object is
* {@link AvgjorelseListe }
*
*/
public AvgjorelseListe getAvgjorelseListe() {
return avgjorelseListe;
}
/**
* Sets the value of the avgjorelseListe property.
*
* @param value
* allowed object is
* {@link AvgjorelseListe }
*
*/
public void setAvgjorelseListe(AvgjorelseListe value) {
this.avgjorelseListe = value;
}
/**
* Gets the value of the uavklart property.
*
*/
public boolean isUavklart() {
return uavklart;
}
/**
* Sets the value of the uavklart property.
*
*/
public void setUavklart(boolean value) {
this.uavklart = value;
}
public Avgjorelser withAvgjorelseListe(AvgjorelseListe value) {
setAvgjorelseListe(value);
return this;
}
public Avgjorelser withUavklart(boolean value) {
setUavklart(value);
return this;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
AvgjorelseListe theAvgjorelseListe;
theAvgjorelseListe = this.getAvgjorelseListe();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgjorelseListe", theAvgjorelseListe), currentHashCode, theAvgjorelseListe);
}
{
boolean theUavklart;
theUavklart = (true?this.isUavklart():false);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uavklart", theUavklart), currentHashCode, theUavklart);
}
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 Avgjorelser)) {
return false;
}
if (this == object) {
return true;
}
final Avgjorelser that = ((Avgjorelser) object);
{
AvgjorelseListe lhsAvgjorelseListe;
lhsAvgjorelseListe = this.getAvgjorelseListe();
AvgjorelseListe rhsAvgjorelseListe;
rhsAvgjorelseListe = that.getAvgjorelseListe();
if (!strategy.equals(LocatorUtils.property(thisLocator, "avgjorelseListe", lhsAvgjorelseListe), LocatorUtils.property(thatLocator, "avgjorelseListe", rhsAvgjorelseListe), lhsAvgjorelseListe, rhsAvgjorelseListe)) {
return false;
}
}
{
boolean lhsUavklart;
lhsUavklart = (true?this.isUavklart():false);
boolean rhsUavklart;
rhsUavklart = (true?that.isUavklart():false);
if (!strategy.equals(LocatorUtils.property(thisLocator, "uavklart", lhsUavklart), LocatorUtils.property(thatLocator, "uavklart", rhsUavklart), lhsUavklart, rhsUavklart)) {
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