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

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

There is a newer version: 5.1.2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.05.30 at 01:15:57 PM CEST 
//


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.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 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"/>
 *         <element name="utskriftsfarge" type="{http://begrep.difi.no/sdp/schema_v10}Utskriftsfarge"/>
 *         <element name="retur" type="{http://begrep.difi.no/sdp/schema_v10}FysiskPostRetur"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FysiskPostInfo", propOrder = { "mottaker", "posttype", "utskriftsfarge", "retur" }) public class SDPFysiskPostInfo implements Equals, HashCode, ToString { @XmlElement(required = true) protected SDPFysiskPostadresse mottaker; @XmlElement(required = true) @XmlSchemaType(name = "string") protected SDPFysiskPostType posttype; @XmlElement(required = true) @XmlSchemaType(name = "string") protected SDPUtskriftsfarge utskriftsfarge; @XmlElement(required = true) protected SDPFysiskPostRetur retur; /** * 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) { this.mottaker = mottaker; this.posttype = posttype; this.utskriftsfarge = utskriftsfarge; this.retur = retur; } /** * 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; } 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) { { SDPFysiskPostadresse theMottaker; theMottaker = this.getMottaker(); strategy.appendField(locator, this, "mottaker", buffer, theMottaker); } { SDPFysiskPostType thePosttype; thePosttype = this.getPosttype(); strategy.appendField(locator, this, "posttype", buffer, thePosttype); } { SDPUtskriftsfarge theUtskriftsfarge; theUtskriftsfarge = this.getUtskriftsfarge(); strategy.appendField(locator, this, "utskriftsfarge", buffer, theUtskriftsfarge); } { SDPFysiskPostRetur theRetur; theRetur = this.getRetur(); strategy.appendField(locator, this, "retur", buffer, theRetur); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof SDPFysiskPostInfo)) { 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)) { 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)) { 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)) { 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)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { SDPFysiskPostadresse theMottaker; theMottaker = this.getMottaker(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mottaker", theMottaker), currentHashCode, theMottaker); } { SDPFysiskPostType thePosttype; thePosttype = this.getPosttype(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "posttype", thePosttype), currentHashCode, thePosttype); } { SDPUtskriftsfarge theUtskriftsfarge; theUtskriftsfarge = this.getUtskriftsfarge(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "utskriftsfarge", theUtskriftsfarge), currentHashCode, theUtskriftsfarge); } { SDPFysiskPostRetur theRetur; theRetur = this.getRetur(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "retur", theRetur), currentHashCode, theRetur); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 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; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy