// // 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.Entity; 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.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 ConnectionParameterClientAuthType complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="ConnectionParameterClientAuthType"> * <complexContent> * <extension base="{http://www.buergerkarte.at/namespaces/moaconfig#}ConnectionParameterServerAuthType"> * <sequence> * <element name="ClientKeyStore" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI"> * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConnectionParameterClientAuthType", propOrder = { "clientKeyStore" }) public class ConnectionParameterClientAuthType extends ConnectionParameterServerAuthType implements Serializable, Equals, HashCode { @XmlElement(name = "ClientKeyStore") protected ClientKeyStore clientKeyStore; /** * Gets the value of the clientKeyStore property. * * @return * possible object is * {@link ClientKeyStore } * */ @ManyToOne(targetEntity = ClientKeyStore.class, cascade = { CascadeType.ALL }) public ClientKeyStore getClientKeyStore() { return clientKeyStore; } /** * Sets the value of the clientKeyStore property. * * @param value * allowed object is * {@link ClientKeyStore } * */ public void setClientKeyStore(ClientKeyStore value) { this.clientKeyStore = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof ConnectionParameterClientAuthType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final ConnectionParameterClientAuthType that = ((ConnectionParameterClientAuthType) object); { ClientKeyStore lhsClientKeyStore; lhsClientKeyStore = this.getClientKeyStore(); ClientKeyStore rhsClientKeyStore; rhsClientKeyStore = that.getClientKeyStore(); if (!strategy.equals(LocatorUtils.property(thisLocator, "clientKeyStore", lhsClientKeyStore), LocatorUtils.property(thatLocator, "clientKeyStore", rhsClientKeyStore), lhsClientKeyStore, rhsClientKeyStore)) { 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 = super.hashCode(locator, strategy); { ClientKeyStore theClientKeyStore; theClientKeyStore = this.getClientKeyStore(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clientKeyStore", theClientKeyStore), currentHashCode, theClientKeyStore); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }