// // 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.Basic; 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.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.XmlSchemaType; import javax.xml.bind.annotation.XmlSeeAlso; 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 ConnectionParameterServerAuthType complex type. * *

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

 * <complexType name="ConnectionParameterServerAuthType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="AcceptedServerCertificates" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="URL" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConnectionParameterServerAuthType", propOrder = { "acceptedServerCertificates" }) @XmlSeeAlso({ ConnectionParameterClientAuthType.class }) public class ConnectionParameterServerAuthType implements Serializable, Equals, HashCode { @XmlElement(name = "AcceptedServerCertificates") @XmlSchemaType(name = "anyURI") protected String acceptedServerCertificates; @XmlAttribute(name = "URL", required = true) @XmlSchemaType(name = "anyURI") protected String url; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the acceptedServerCertificates property. * * @return * possible object is * {@link String } * */ public String getAcceptedServerCertificates() { return acceptedServerCertificates; } /** * Sets the value of the acceptedServerCertificates property. * * @param value * allowed object is * {@link String } * */ public void setAcceptedServerCertificates(String value) { this.acceptedServerCertificates = value; } /** * Gets the value of the url property. * * @return * possible object is * {@link String } * */ public String getURL() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setURL(String value) { this.url = 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 ConnectionParameterServerAuthType)) { return false; } if (this == object) { return true; } final ConnectionParameterServerAuthType that = ((ConnectionParameterServerAuthType) object); { String lhsAcceptedServerCertificates; lhsAcceptedServerCertificates = this.getAcceptedServerCertificates(); String rhsAcceptedServerCertificates; rhsAcceptedServerCertificates = that.getAcceptedServerCertificates(); if (!strategy.equals(LocatorUtils.property(thisLocator, "acceptedServerCertificates", lhsAcceptedServerCertificates), LocatorUtils.property(thatLocator, "acceptedServerCertificates", rhsAcceptedServerCertificates), lhsAcceptedServerCertificates, rhsAcceptedServerCertificates)) { return false; } } { String lhsURL; lhsURL = this.getURL(); String rhsURL; rhsURL = that.getURL(); if (!strategy.equals(LocatorUtils.property(thisLocator, "url", lhsURL), LocatorUtils.property(thatLocator, "url", rhsURL), lhsURL, rhsURL)) { 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; { String theAcceptedServerCertificates; theAcceptedServerCertificates = this.getAcceptedServerCertificates(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "acceptedServerCertificates", theAcceptedServerCertificates), currentHashCode, theAcceptedServerCertificates); } { String theURL; theURL = this.getURL(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "url", theURL), currentHashCode, theURL); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }