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

no.nhn.schemas.reg.hprv2.WSEndretEntitet Maven / Gradle / Ivy

There is a newer version: 1.2019.09.25-00.21-49b69f0625e0
Show newest version

package no.nhn.schemas.reg.hprv2;

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 com.microsoft.schemas._2003._10.serialization.arrays.WSArrayOfstring;
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 EndretEntitet complex type. * *

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

 * <complexType name="EndretEntitet">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="EndredeVerdier" type="{http://schemas.nhn.no/reg/HPRv2}ArrayOfEndretVerdi" minOccurs="0"/>
 *         <element name="EndringsType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="EntitetsIder" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
 *         <element name="EntitetsType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EndretEntitet", propOrder = { "endredeVerdier", "endringsType", "entitetsIder", "entitetsType", "id" }) public class WSEndretEntitet implements Equals, HashCode { @XmlElement(name = "EndredeVerdier", nillable = true) protected WSArrayOfEndretVerdi endredeVerdier; @XmlElement(name = "EndringsType", nillable = true) protected String endringsType; @XmlElement(name = "EntitetsIder", nillable = true) protected WSArrayOfstring entitetsIder; @XmlElement(name = "EntitetsType", nillable = true) protected String entitetsType; @XmlElement(name = "Id") protected Integer id; /** * Gets the value of the endredeVerdier property. * * @return * possible object is * {@link WSArrayOfEndretVerdi } * */ public WSArrayOfEndretVerdi getEndredeVerdier() { return endredeVerdier; } /** * Sets the value of the endredeVerdier property. * * @param value * allowed object is * {@link WSArrayOfEndretVerdi } * */ public void setEndredeVerdier(WSArrayOfEndretVerdi value) { this.endredeVerdier = value; } /** * Gets the value of the endringsType property. * * @return * possible object is * {@link String } * */ public String getEndringsType() { return endringsType; } /** * Sets the value of the endringsType property. * * @param value * allowed object is * {@link String } * */ public void setEndringsType(String value) { this.endringsType = value; } /** * Gets the value of the entitetsIder property. * * @return * possible object is * {@link WSArrayOfstring } * */ public WSArrayOfstring getEntitetsIder() { return entitetsIder; } /** * Sets the value of the entitetsIder property. * * @param value * allowed object is * {@link WSArrayOfstring } * */ public void setEntitetsIder(WSArrayOfstring value) { this.entitetsIder = value; } /** * Gets the value of the entitetsType property. * * @return * possible object is * {@link String } * */ public String getEntitetsType() { return entitetsType; } /** * Sets the value of the entitetsType property. * * @param value * allowed object is * {@link String } * */ public void setEntitetsType(String value) { this.entitetsType = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link Integer } * */ public Integer getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Integer } * */ public void setId(Integer value) { this.id = value; } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { WSArrayOfEndretVerdi theEndredeVerdier; theEndredeVerdier = this.getEndredeVerdier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endredeVerdier", theEndredeVerdier), currentHashCode, theEndredeVerdier); } { String theEndringsType; theEndringsType = this.getEndringsType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endringsType", theEndringsType), currentHashCode, theEndringsType); } { WSArrayOfstring theEntitetsIder; theEntitetsIder = this.getEntitetsIder(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "entitetsIder", theEntitetsIder), currentHashCode, theEntitetsIder); } { String theEntitetsType; theEntitetsType = this.getEntitetsType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "entitetsType", theEntitetsType), currentHashCode, theEntitetsType); } { Integer theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); } 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 WSEndretEntitet)) { return false; } if (this == object) { return true; } final WSEndretEntitet that = ((WSEndretEntitet) object); { WSArrayOfEndretVerdi lhsEndredeVerdier; lhsEndredeVerdier = this.getEndredeVerdier(); WSArrayOfEndretVerdi rhsEndredeVerdier; rhsEndredeVerdier = that.getEndredeVerdier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "endredeVerdier", lhsEndredeVerdier), LocatorUtils.property(thatLocator, "endredeVerdier", rhsEndredeVerdier), lhsEndredeVerdier, rhsEndredeVerdier)) { return false; } } { String lhsEndringsType; lhsEndringsType = this.getEndringsType(); String rhsEndringsType; rhsEndringsType = that.getEndringsType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "endringsType", lhsEndringsType), LocatorUtils.property(thatLocator, "endringsType", rhsEndringsType), lhsEndringsType, rhsEndringsType)) { return false; } } { WSArrayOfstring lhsEntitetsIder; lhsEntitetsIder = this.getEntitetsIder(); WSArrayOfstring rhsEntitetsIder; rhsEntitetsIder = that.getEntitetsIder(); if (!strategy.equals(LocatorUtils.property(thisLocator, "entitetsIder", lhsEntitetsIder), LocatorUtils.property(thatLocator, "entitetsIder", rhsEntitetsIder), lhsEntitetsIder, rhsEntitetsIder)) { return false; } } { String lhsEntitetsType; lhsEntitetsType = this.getEntitetsType(); String rhsEntitetsType; rhsEntitetsType = that.getEntitetsType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "entitetsType", lhsEntitetsType), LocatorUtils.property(thatLocator, "entitetsType", rhsEntitetsType), lhsEntitetsType, rhsEntitetsType)) { return false; } } { Integer lhsId; lhsId = this.getId(); Integer rhsId; rhsId = that.getId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public WSEndretEntitet withEndredeVerdier(WSArrayOfEndretVerdi value) { setEndredeVerdier(value); return this; } public WSEndretEntitet withEndringsType(String value) { setEndringsType(value); return this; } public WSEndretEntitet withEntitetsIder(WSArrayOfstring value) { setEntitetsIder(value); return this; } public WSEndretEntitet withEntitetsType(String value) { setEntitetsType(value); return this; } public WSEndretEntitet withId(Integer value) { setId(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy