// // 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.XmlRootElement; 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="oAuthClientId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="oAuthClientSecret" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="oAuthRedirectUri" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "oAuthClientId", "oAuthClientSecret", "oAuthRedirectUri" }) @XmlRootElement(name = "OA_OAUTH20") public class OAOAUTH20 implements Serializable, Equals, HashCode { @XmlElement(required = true) protected String oAuthClientId; @XmlElement(required = true) protected String oAuthClientSecret; @XmlElement(required = true) protected String oAuthRedirectUri; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the oAuthClientId property. * * @return * possible object is * {@link String } * */ public String getOAuthClientId() { return oAuthClientId; } /** * Sets the value of the oAuthClientId property. * * @param value * allowed object is * {@link String } * */ public void setOAuthClientId(String value) { this.oAuthClientId = value; } /** * Gets the value of the oAuthClientSecret property. * * @return * possible object is * {@link String } * */ public String getOAuthClientSecret() { return oAuthClientSecret; } /** * Sets the value of the oAuthClientSecret property. * * @param value * allowed object is * {@link String } * */ public void setOAuthClientSecret(String value) { this.oAuthClientSecret = value; } /** * Gets the value of the oAuthRedirectUri property. * * @return * possible object is * {@link String } * */ public String getOAuthRedirectUri() { return oAuthRedirectUri; } /** * Sets the value of the oAuthRedirectUri property. * * @param value * allowed object is * {@link String } * */ public void setOAuthRedirectUri(String value) { this.oAuthRedirectUri = 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 OAOAUTH20)) { return false; } if (this == object) { return true; } final OAOAUTH20 that = ((OAOAUTH20) object); { String lhsOAuthClientId; lhsOAuthClientId = this.getOAuthClientId(); String rhsOAuthClientId; rhsOAuthClientId = that.getOAuthClientId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oAuthClientId", lhsOAuthClientId), LocatorUtils.property(thatLocator, "oAuthClientId", rhsOAuthClientId), lhsOAuthClientId, rhsOAuthClientId)) { return false; } } { String lhsOAuthClientSecret; lhsOAuthClientSecret = this.getOAuthClientSecret(); String rhsOAuthClientSecret; rhsOAuthClientSecret = that.getOAuthClientSecret(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oAuthClientSecret", lhsOAuthClientSecret), LocatorUtils.property(thatLocator, "oAuthClientSecret", rhsOAuthClientSecret), lhsOAuthClientSecret, rhsOAuthClientSecret)) { return false; } } { String lhsOAuthRedirectUri; lhsOAuthRedirectUri = this.getOAuthRedirectUri(); String rhsOAuthRedirectUri; rhsOAuthRedirectUri = that.getOAuthRedirectUri(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oAuthRedirectUri", lhsOAuthRedirectUri), LocatorUtils.property(thatLocator, "oAuthRedirectUri", rhsOAuthRedirectUri), lhsOAuthRedirectUri, rhsOAuthRedirectUri)) { 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 theOAuthClientId; theOAuthClientId = this.getOAuthClientId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oAuthClientId", theOAuthClientId), currentHashCode, theOAuthClientId); } { String theOAuthClientSecret; theOAuthClientSecret = this.getOAuthClientSecret(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oAuthClientSecret", theOAuthClientSecret), currentHashCode, theOAuthClientSecret); } { String theOAuthRedirectUri; theOAuthRedirectUri = this.getOAuthRedirectUri(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oAuthRedirectUri", theOAuthRedirectUri), currentHashCode, theOAuthRedirectUri); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }