// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.07.20 at 12:19:30 PM CEST // package at.gv.egovernment.moa.id.commons.db.dao.config.deprecated; import java.io.Serializable; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; 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.locator.ObjectLocator; import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; /** *

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ConnectionParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}ConnectionParameterClientAuthType" minOccurs="0"/>
 *         <element name="VerifyIdentityLink">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}TrustProfileID"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="VerifyAuthBlock">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}TrustProfileID"/>
 *                   <element name="VerifyTransformsInfoProfileID" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "connectionParameter", "verifyIdentityLink", "verifyAuthBlock" }) public class MOASP implements Serializable, Equals, HashCode { @XmlElement(name = "ConnectionParameter") protected ConnectionParameterClientAuthType connectionParameter; @XmlElement(name = "VerifyIdentityLink", required = true) protected VerifyIdentityLink verifyIdentityLink; @XmlElement(name = "VerifyAuthBlock", required = true) protected VerifyAuthBlock verifyAuthBlock; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the connectionParameter property. * * @return * possible object is * {@link ConnectionParameterClientAuthType } * */ @ManyToOne(targetEntity = ConnectionParameterClientAuthType.class, cascade = { CascadeType.ALL }) public ConnectionParameterClientAuthType getConnectionParameter() { return connectionParameter; } /** * Sets the value of the connectionParameter property. * * @param value * allowed object is * {@link ConnectionParameterClientAuthType } * */ public void setConnectionParameter(ConnectionParameterClientAuthType value) { this.connectionParameter = value; } /** * Gets the value of the verifyIdentityLink property. * * @return * possible object is * {@link VerifyIdentityLink } * */ @ManyToOne(targetEntity = VerifyIdentityLink.class, cascade = { CascadeType.ALL }) public VerifyIdentityLink getVerifyIdentityLink() { return verifyIdentityLink; } /** * Sets the value of the verifyIdentityLink property. * * @param value * allowed object is * {@link VerifyIdentityLink } * */ public void setVerifyIdentityLink(VerifyIdentityLink value) { this.verifyIdentityLink = value; } /** * Gets the value of the verifyAuthBlock property. * * @return * possible object is * {@link VerifyAuthBlock } * */ @ManyToOne(targetEntity = VerifyAuthBlock.class, cascade = { CascadeType.ALL }) public VerifyAuthBlock getVerifyAuthBlock() { return verifyAuthBlock; } /** * Sets the value of the verifyAuthBlock property. * * @param value * allowed object is * {@link VerifyAuthBlock } * */ public void setVerifyAuthBlock(VerifyAuthBlock value) { this.verifyAuthBlock = value; } /** * Gets the value of the hjid property. * * @return * possible object is * {@link Long } * */ public Long getHjid() { return hjid; } /** * Sets the value of the hjid property. * * @param value * allowed object is * {@link Long } * */ public void setHjid(Long value) { this.hjid = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof MOASP)) { return false; } if (this == object) { return true; } final MOASP that = ((MOASP) object); { ConnectionParameterClientAuthType lhsConnectionParameter; lhsConnectionParameter = this.getConnectionParameter(); ConnectionParameterClientAuthType rhsConnectionParameter; rhsConnectionParameter = that.getConnectionParameter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionParameter", lhsConnectionParameter), LocatorUtils.property(thatLocator, "connectionParameter", rhsConnectionParameter), lhsConnectionParameter, rhsConnectionParameter)) { return false; } } { VerifyIdentityLink lhsVerifyIdentityLink; lhsVerifyIdentityLink = this.getVerifyIdentityLink(); VerifyIdentityLink rhsVerifyIdentityLink; rhsVerifyIdentityLink = that.getVerifyIdentityLink(); if (!strategy.equals(LocatorUtils.property(thisLocator, "verifyIdentityLink", lhsVerifyIdentityLink), LocatorUtils.property(thatLocator, "verifyIdentityLink", rhsVerifyIdentityLink), lhsVerifyIdentityLink, rhsVerifyIdentityLink)) { return false; } } { VerifyAuthBlock lhsVerifyAuthBlock; lhsVerifyAuthBlock = this.getVerifyAuthBlock(); VerifyAuthBlock rhsVerifyAuthBlock; rhsVerifyAuthBlock = that.getVerifyAuthBlock(); if (!strategy.equals(LocatorUtils.property(thisLocator, "verifyAuthBlock", lhsVerifyAuthBlock), LocatorUtils.property(thatLocator, "verifyAuthBlock", rhsVerifyAuthBlock), lhsVerifyAuthBlock, rhsVerifyAuthBlock)) { 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; { ConnectionParameterClientAuthType theConnectionParameter; theConnectionParameter = this.getConnectionParameter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionParameter", theConnectionParameter), currentHashCode, theConnectionParameter); } { VerifyIdentityLink theVerifyIdentityLink; theVerifyIdentityLink = this.getVerifyIdentityLink(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "verifyIdentityLink", theVerifyIdentityLink), currentHashCode, theVerifyIdentityLink); } { VerifyAuthBlock theVerifyAuthBlock; theVerifyAuthBlock = this.getVerifyAuthBlock(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "verifyAuthBlock", theVerifyAuthBlock), currentHashCode, theVerifyAuthBlock); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }