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

no.nav.gosys.journal.DokumentInfoUtvidelse1 Maven / Gradle / Ivy

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

package no.nav.gosys.journal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for DokumentInfoUtvidelse1 complex type. * *

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

 * <complexType name="DokumentInfoUtvidelse1">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="tilleggsopplysningerListe" type="{http://nav.no/virksomhet/gjennomforing/arkiv/journal/v2}NoekkelVerdiSett" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="utvidelse" type="{http://nav.no/virksomhet/gjennomforing/arkiv/journal/v2}DokumentInfoUtvidelse2" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DokumentInfoUtvidelse1", propOrder = { "tilleggsopplysningerListe", "utvidelse" }) public class DokumentInfoUtvidelse1 implements Equals, HashCode, ToString { protected no.nav.gosys.journal.NoekkelVerdiSett[] tilleggsopplysningerListe; protected DokumentInfoUtvidelse2 utvidelse; /** * * * @return * array of * {@link no.nav.gosys.journal.NoekkelVerdiSett } * */ public no.nav.gosys.journal.NoekkelVerdiSett[] getTilleggsopplysningerListe() { if (this.tilleggsopplysningerListe == null) { return new no.nav.gosys.journal.NoekkelVerdiSett[ 0 ] ; } no.nav.gosys.journal.NoekkelVerdiSett[] retVal = new no.nav.gosys.journal.NoekkelVerdiSett[this.tilleggsopplysningerListe.length] ; System.arraycopy(this.tilleggsopplysningerListe, 0, retVal, 0, this.tilleggsopplysningerListe.length); return (retVal); } /** * * * @return * one of * {@link no.nav.gosys.journal.NoekkelVerdiSett } * */ public no.nav.gosys.journal.NoekkelVerdiSett getTilleggsopplysningerListe(int idx) { if (this.tilleggsopplysningerListe == null) { throw new IndexOutOfBoundsException(); } return this.tilleggsopplysningerListe[idx]; } public int getTilleggsopplysningerListeLength() { if (this.tilleggsopplysningerListe == null) { return 0; } return this.tilleggsopplysningerListe.length; } /** * * * @param values * allowed objects are * {@link no.nav.gosys.journal.NoekkelVerdiSett } * */ public void setTilleggsopplysningerListe(no.nav.gosys.journal.NoekkelVerdiSett[] values) { int len = values.length; this.tilleggsopplysningerListe = ((no.nav.gosys.journal.NoekkelVerdiSett[]) new no.nav.gosys.journal.NoekkelVerdiSett[len] ); for (int i = 0; (i 0))?this.getTilleggsopplysningerListe():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tilleggsopplysningerListe", theTilleggsopplysningerListe), currentHashCode, theTilleggsopplysningerListe); } { DokumentInfoUtvidelse2 theUtvidelse; theUtvidelse = this.getUtvidelse(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "utvidelse", theUtvidelse), currentHashCode, theUtvidelse); } 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 DokumentInfoUtvidelse1)) { return false; } if (this == object) { return true; } final DokumentInfoUtvidelse1 that = ((DokumentInfoUtvidelse1) object); { no.nav.gosys.journal.NoekkelVerdiSett[] lhsTilleggsopplysningerListe; lhsTilleggsopplysningerListe = (((this.tilleggsopplysningerListe!= null)&&(this.tilleggsopplysningerListe.length > 0))?this.getTilleggsopplysningerListe():null); no.nav.gosys.journal.NoekkelVerdiSett[] rhsTilleggsopplysningerListe; rhsTilleggsopplysningerListe = (((that.tilleggsopplysningerListe!= null)&&(that.tilleggsopplysningerListe.length > 0))?that.getTilleggsopplysningerListe():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "tilleggsopplysningerListe", lhsTilleggsopplysningerListe), LocatorUtils.property(thatLocator, "tilleggsopplysningerListe", rhsTilleggsopplysningerListe), lhsTilleggsopplysningerListe, rhsTilleggsopplysningerListe)) { return false; } } { DokumentInfoUtvidelse2 lhsUtvidelse; lhsUtvidelse = this.getUtvidelse(); DokumentInfoUtvidelse2 rhsUtvidelse; rhsUtvidelse = that.getUtvidelse(); if (!strategy.equals(LocatorUtils.property(thisLocator, "utvidelse", lhsUtvidelse), LocatorUtils.property(thatLocator, "utvidelse", rhsUtvidelse), lhsUtvidelse, rhsUtvidelse)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { no.nav.gosys.journal.NoekkelVerdiSett[] theTilleggsopplysningerListe; theTilleggsopplysningerListe = (((this.tilleggsopplysningerListe!= null)&&(this.tilleggsopplysningerListe.length > 0))?this.getTilleggsopplysningerListe():null); strategy.appendField(locator, this, "tilleggsopplysningerListe", buffer, theTilleggsopplysningerListe); } { DokumentInfoUtvidelse2 theUtvidelse; theUtvidelse = this.getUtvidelse(); strategy.appendField(locator, this, "utvidelse", buffer, theUtvidelse); } return buffer; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy