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

no.difi.begrep.sdp.schema_v10.SDPVarslingfeilet 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;


/**
 * 
 * 				Signaliserer at et varsel ikke kunne sendes til mottaker.
 * 			
 * 
 * 

Java class for Varslingfeilet complex type. * *

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

 * <complexType name="Varslingfeilet">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="varslingskanal" type="{http://begrep.difi.no/sdp/schema_v10}Varslingskanal"/>
 *         <element name="beskrivelse" type="{http://begrep.difi.no/sdp/schema_v10}Beskrivelse" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Varslingfeilet", propOrder = { "varslingskanal", "beskrivelse" }) public class SDPVarslingfeilet implements Equals2, HashCode2, ToString2 { @XmlElement(required = true) @XmlSchemaType(name = "string") protected SDPVarslingskanal varslingskanal; protected String beskrivelse; /** * Default no-arg constructor * */ public SDPVarslingfeilet() { super(); } /** * Fully-initialising value constructor * */ public SDPVarslingfeilet(final SDPVarslingskanal varslingskanal, final String beskrivelse) { this.varslingskanal = varslingskanal; this.beskrivelse = beskrivelse; } /** * Gets the value of the varslingskanal property. * * @return * possible object is * {@link SDPVarslingskanal } * */ public SDPVarslingskanal getVarslingskanal() { return varslingskanal; } /** * Sets the value of the varslingskanal property. * * @param value * allowed object is * {@link SDPVarslingskanal } * */ public void setVarslingskanal(SDPVarslingskanal value) { this.varslingskanal = value; } /** * Gets the value of the beskrivelse property. * * @return * possible object is * {@link String } * */ public String getBeskrivelse() { return beskrivelse; } /** * Sets the value of the beskrivelse property. * * @param value * allowed object is * {@link String } * */ public void setBeskrivelse(String value) { this.beskrivelse = 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) { { SDPVarslingskanal theVarslingskanal; theVarslingskanal = this.getVarslingskanal(); strategy.appendField(locator, this, "varslingskanal", buffer, theVarslingskanal, (this.varslingskanal!= null)); } { String theBeskrivelse; theBeskrivelse = this.getBeskrivelse(); strategy.appendField(locator, this, "beskrivelse", buffer, theBeskrivelse, (this.beskrivelse!= 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 SDPVarslingfeilet that = ((SDPVarslingfeilet) object); { SDPVarslingskanal lhsVarslingskanal; lhsVarslingskanal = this.getVarslingskanal(); SDPVarslingskanal rhsVarslingskanal; rhsVarslingskanal = that.getVarslingskanal(); if (!strategy.equals(LocatorUtils.property(thisLocator, "varslingskanal", lhsVarslingskanal), LocatorUtils.property(thatLocator, "varslingskanal", rhsVarslingskanal), lhsVarslingskanal, rhsVarslingskanal, (this.varslingskanal!= null), (that.varslingskanal!= null))) { return false; } } { String lhsBeskrivelse; lhsBeskrivelse = this.getBeskrivelse(); String rhsBeskrivelse; rhsBeskrivelse = that.getBeskrivelse(); if (!strategy.equals(LocatorUtils.property(thisLocator, "beskrivelse", lhsBeskrivelse), LocatorUtils.property(thatLocator, "beskrivelse", rhsBeskrivelse), lhsBeskrivelse, rhsBeskrivelse, (this.beskrivelse!= null), (that.beskrivelse!= 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; { SDPVarslingskanal theVarslingskanal; theVarslingskanal = this.getVarslingskanal(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "varslingskanal", theVarslingskanal), currentHashCode, theVarslingskanal, (this.varslingskanal!= null)); } { String theBeskrivelse; theBeskrivelse = this.getBeskrivelse(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "beskrivelse", theBeskrivelse), currentHashCode, theBeskrivelse, (this.beskrivelse!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } public SDPVarslingfeilet withVarslingskanal(SDPVarslingskanal value) { setVarslingskanal(value); return this; } public SDPVarslingfeilet withBeskrivelse(String value) { setBeskrivelse(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy