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

no.difi.begrep.sdp.schema_v10.SDPFysiskPostInfo Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.11.06 at 01:54:33 PM UTC 
//


package no.difi.begrep.sdp.schema_v10;

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 org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
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.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for FysiskPostInfo complex type. * *

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

 * <complexType name="FysiskPostInfo">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="mottaker" type="{http://begrep.difi.no/sdp/schema_v10}FysiskPostadresse"/>
 *         <element name="posttype" type="{http://begrep.difi.no/sdp/schema_v10}FysiskPostType" minOccurs="0"/>
 *         <element name="utskriftsfarge" type="{http://begrep.difi.no/sdp/schema_v10}Utskriftsfarge"/>
 *         <element name="retur" type="{http://begrep.difi.no/sdp/schema_v10}FysiskPostRetur"/>
 *         <element name="printinstruksjoner" type="{http://begrep.difi.no/sdp/schema_v10}Printinstruksjoner" minOccurs="0"/>
 *         <element name="maskinportentoken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FysiskPostInfo", propOrder = { "mottaker", "posttype", "utskriftsfarge", "retur", "printinstruksjoner", "maskinportentoken" }) public class SDPFysiskPostInfo implements Equals2, HashCode2, ToString2 { @XmlElement(required = true) protected SDPFysiskPostadresse mottaker; @XmlSchemaType(name = "string") protected SDPFysiskPostType posttype; @XmlElement(required = true) @XmlSchemaType(name = "string") protected SDPUtskriftsfarge utskriftsfarge; @XmlElement(required = true) protected SDPFysiskPostRetur retur; protected SDPPrintinstruksjoner printinstruksjoner; protected String maskinportentoken; /** * Default no-arg constructor * */ public SDPFysiskPostInfo() { super(); } /** * Fully-initialising value constructor * */ public SDPFysiskPostInfo(final SDPFysiskPostadresse mottaker, final SDPFysiskPostType posttype, final SDPUtskriftsfarge utskriftsfarge, final SDPFysiskPostRetur retur, final SDPPrintinstruksjoner printinstruksjoner, final String maskinportentoken) { this.mottaker = mottaker; this.posttype = posttype; this.utskriftsfarge = utskriftsfarge; this.retur = retur; this.printinstruksjoner = printinstruksjoner; this.maskinportentoken = maskinportentoken; } /** * Gets the value of the mottaker property. * * @return * possible object is * {@link SDPFysiskPostadresse } * */ public SDPFysiskPostadresse getMottaker() { return mottaker; } /** * Sets the value of the mottaker property. * * @param value * allowed object is * {@link SDPFysiskPostadresse } * */ public void setMottaker(SDPFysiskPostadresse value) { this.mottaker = value; } /** * Gets the value of the posttype property. * * @return * possible object is * {@link SDPFysiskPostType } * */ public SDPFysiskPostType getPosttype() { return posttype; } /** * Sets the value of the posttype property. * * @param value * allowed object is * {@link SDPFysiskPostType } * */ public void setPosttype(SDPFysiskPostType value) { this.posttype = value; } /** * Gets the value of the utskriftsfarge property. * * @return * possible object is * {@link SDPUtskriftsfarge } * */ public SDPUtskriftsfarge getUtskriftsfarge() { return utskriftsfarge; } /** * Sets the value of the utskriftsfarge property. * * @param value * allowed object is * {@link SDPUtskriftsfarge } * */ public void setUtskriftsfarge(SDPUtskriftsfarge value) { this.utskriftsfarge = value; } /** * Gets the value of the retur property. * * @return * possible object is * {@link SDPFysiskPostRetur } * */ public SDPFysiskPostRetur getRetur() { return retur; } /** * Sets the value of the retur property. * * @param value * allowed object is * {@link SDPFysiskPostRetur } * */ public void setRetur(SDPFysiskPostRetur value) { this.retur = value; } /** * Gets the value of the printinstruksjoner property. * * @return * possible object is * {@link SDPPrintinstruksjoner } * */ public SDPPrintinstruksjoner getPrintinstruksjoner() { return printinstruksjoner; } /** * Sets the value of the printinstruksjoner property. * * @param value * allowed object is * {@link SDPPrintinstruksjoner } * */ public void setPrintinstruksjoner(SDPPrintinstruksjoner value) { this.printinstruksjoner = value; } /** * Gets the value of the maskinportentoken property. * * @return * possible object is * {@link String } * */ public String getMaskinportentoken() { return maskinportentoken; } /** * Sets the value of the maskinportentoken property. * * @param value * allowed object is * {@link String } * */ public void setMaskinportentoken(String value) { this.maskinportentoken = value; } @Override public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance(); final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } @Override public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } @Override public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { SDPFysiskPostadresse theMottaker; theMottaker = this.getMottaker(); strategy.appendField(locator, this, "mottaker", buffer, theMottaker, (this.mottaker!= null)); } { SDPFysiskPostType thePosttype; thePosttype = this.getPosttype(); strategy.appendField(locator, this, "posttype", buffer, thePosttype, (this.posttype!= null)); } { SDPUtskriftsfarge theUtskriftsfarge; theUtskriftsfarge = this.getUtskriftsfarge(); strategy.appendField(locator, this, "utskriftsfarge", buffer, theUtskriftsfarge, (this.utskriftsfarge!= null)); } { SDPFysiskPostRetur theRetur; theRetur = this.getRetur(); strategy.appendField(locator, this, "retur", buffer, theRetur, (this.retur!= null)); } { SDPPrintinstruksjoner thePrintinstruksjoner; thePrintinstruksjoner = this.getPrintinstruksjoner(); strategy.appendField(locator, this, "printinstruksjoner", buffer, thePrintinstruksjoner, (this.printinstruksjoner!= null)); } { String theMaskinportentoken; theMaskinportentoken = this.getMaskinportentoken(); strategy.appendField(locator, this, "maskinportentoken", buffer, theMaskinportentoken, (this.maskinportentoken!= null)); } return buffer; } @Override public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final SDPFysiskPostInfo that = ((SDPFysiskPostInfo) object); { SDPFysiskPostadresse lhsMottaker; lhsMottaker = this.getMottaker(); SDPFysiskPostadresse rhsMottaker; rhsMottaker = that.getMottaker(); if (!strategy.equals(LocatorUtils.property(thisLocator, "mottaker", lhsMottaker), LocatorUtils.property(thatLocator, "mottaker", rhsMottaker), lhsMottaker, rhsMottaker, (this.mottaker!= null), (that.mottaker!= null))) { return false; } } { SDPFysiskPostType lhsPosttype; lhsPosttype = this.getPosttype(); SDPFysiskPostType rhsPosttype; rhsPosttype = that.getPosttype(); if (!strategy.equals(LocatorUtils.property(thisLocator, "posttype", lhsPosttype), LocatorUtils.property(thatLocator, "posttype", rhsPosttype), lhsPosttype, rhsPosttype, (this.posttype!= null), (that.posttype!= null))) { return false; } } { SDPUtskriftsfarge lhsUtskriftsfarge; lhsUtskriftsfarge = this.getUtskriftsfarge(); SDPUtskriftsfarge rhsUtskriftsfarge; rhsUtskriftsfarge = that.getUtskriftsfarge(); if (!strategy.equals(LocatorUtils.property(thisLocator, "utskriftsfarge", lhsUtskriftsfarge), LocatorUtils.property(thatLocator, "utskriftsfarge", rhsUtskriftsfarge), lhsUtskriftsfarge, rhsUtskriftsfarge, (this.utskriftsfarge!= null), (that.utskriftsfarge!= null))) { return false; } } { SDPFysiskPostRetur lhsRetur; lhsRetur = this.getRetur(); SDPFysiskPostRetur rhsRetur; rhsRetur = that.getRetur(); if (!strategy.equals(LocatorUtils.property(thisLocator, "retur", lhsRetur), LocatorUtils.property(thatLocator, "retur", rhsRetur), lhsRetur, rhsRetur, (this.retur!= null), (that.retur!= null))) { return false; } } { SDPPrintinstruksjoner lhsPrintinstruksjoner; lhsPrintinstruksjoner = this.getPrintinstruksjoner(); SDPPrintinstruksjoner rhsPrintinstruksjoner; rhsPrintinstruksjoner = that.getPrintinstruksjoner(); if (!strategy.equals(LocatorUtils.property(thisLocator, "printinstruksjoner", lhsPrintinstruksjoner), LocatorUtils.property(thatLocator, "printinstruksjoner", rhsPrintinstruksjoner), lhsPrintinstruksjoner, rhsPrintinstruksjoner, (this.printinstruksjoner!= null), (that.printinstruksjoner!= null))) { return false; } } { String lhsMaskinportentoken; lhsMaskinportentoken = this.getMaskinportentoken(); String rhsMaskinportentoken; rhsMaskinportentoken = that.getMaskinportentoken(); if (!strategy.equals(LocatorUtils.property(thisLocator, "maskinportentoken", lhsMaskinportentoken), LocatorUtils.property(thatLocator, "maskinportentoken", rhsMaskinportentoken), lhsMaskinportentoken, rhsMaskinportentoken, (this.maskinportentoken!= null), (that.maskinportentoken!= null))) { return false; } } return true; } @Override public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance(); return equals(null, null, object, strategy); } @Override public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { SDPFysiskPostadresse theMottaker; theMottaker = this.getMottaker(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mottaker", theMottaker), currentHashCode, theMottaker, (this.mottaker!= null)); } { SDPFysiskPostType thePosttype; thePosttype = this.getPosttype(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "posttype", thePosttype), currentHashCode, thePosttype, (this.posttype!= null)); } { SDPUtskriftsfarge theUtskriftsfarge; theUtskriftsfarge = this.getUtskriftsfarge(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "utskriftsfarge", theUtskriftsfarge), currentHashCode, theUtskriftsfarge, (this.utskriftsfarge!= null)); } { SDPFysiskPostRetur theRetur; theRetur = this.getRetur(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "retur", theRetur), currentHashCode, theRetur, (this.retur!= null)); } { SDPPrintinstruksjoner thePrintinstruksjoner; thePrintinstruksjoner = this.getPrintinstruksjoner(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "printinstruksjoner", thePrintinstruksjoner), currentHashCode, thePrintinstruksjoner, (this.printinstruksjoner!= null)); } { String theMaskinportentoken; theMaskinportentoken = this.getMaskinportentoken(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maskinportentoken", theMaskinportentoken), currentHashCode, theMaskinportentoken, (this.maskinportentoken!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } public SDPFysiskPostInfo withMottaker(SDPFysiskPostadresse value) { setMottaker(value); return this; } public SDPFysiskPostInfo withPosttype(SDPFysiskPostType value) { setPosttype(value); return this; } public SDPFysiskPostInfo withUtskriftsfarge(SDPUtskriftsfarge value) { setUtskriftsfarge(value); return this; } public SDPFysiskPostInfo withRetur(SDPFysiskPostRetur value) { setRetur(value); return this; } public SDPFysiskPostInfo withPrintinstruksjoner(SDPPrintinstruksjoner value) { setPrintinstruksjoner(value); return this; } public SDPFysiskPostInfo withMaskinportentoken(String value) { setMaskinportentoken(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy