// // 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.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import com.sun.tools.xjc.runtime.ZeroOneBooleanAdapter; 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 InterfederationIDPType complex type. * *

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

 * <complexType name="InterfederationIDPType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="attributeQueryURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="storeSSOSession" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="performPassivRequest" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="performLocalAuthenticationOnError" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </sequence>
 *       <attribute name="inboundSSO" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="outboundSSO" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "InterfederationIDPType", propOrder = { "attributeQueryURL", "storeSSOSession", "performPassivRequest", "performLocalAuthenticationOnError" }) public class InterfederationIDPType implements Serializable, Equals, HashCode { protected String attributeQueryURL; @XmlElement(required = true, type = String.class, defaultValue = "true") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean storeSSOSession; @XmlElement(required = true, type = String.class, defaultValue = "true") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean performPassivRequest; @XmlElement(required = true, type = String.class, defaultValue = "true") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean performLocalAuthenticationOnError; @XmlAttribute(name = "inboundSSO") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean inboundSSO; @XmlAttribute(name = "outboundSSO") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean outboundSSO; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the attributeQueryURL property. * * @return * possible object is * {@link String } * */ public String getAttributeQueryURL() { return attributeQueryURL; } /** * Sets the value of the attributeQueryURL property. * * @param value * allowed object is * {@link String } * */ public void setAttributeQueryURL(String value) { this.attributeQueryURL = value; } /** * Gets the value of the storeSSOSession property. * * @return * possible object is * {@link String } * */ public Boolean isStoreSSOSession() { return storeSSOSession; } /** * Sets the value of the storeSSOSession property. * * @param value * allowed object is * {@link String } * */ public void setStoreSSOSession(Boolean value) { this.storeSSOSession = value; } /** * Gets the value of the performPassivRequest property. * * @return * possible object is * {@link String } * */ public Boolean isPerformPassivRequest() { return performPassivRequest; } /** * Sets the value of the performPassivRequest property. * * @param value * allowed object is * {@link String } * */ public void setPerformPassivRequest(Boolean value) { this.performPassivRequest = value; } /** * Gets the value of the performLocalAuthenticationOnError property. * * @return * possible object is * {@link String } * */ public Boolean isPerformLocalAuthenticationOnError() { return performLocalAuthenticationOnError; } /** * Sets the value of the performLocalAuthenticationOnError property. * * @param value * allowed object is * {@link String } * */ public void setPerformLocalAuthenticationOnError(Boolean value) { this.performLocalAuthenticationOnError = value; } /** * Gets the value of the inboundSSO property. * * @return * possible object is * {@link String } * */ public boolean isInboundSSO() { if (inboundSSO == null) { return new ZeroOneBooleanAdapter().unmarshal("true"); } else { return inboundSSO; } } /** * Sets the value of the inboundSSO property. * * @param value * allowed object is * {@link String } * */ public void setInboundSSO(Boolean value) { this.inboundSSO = value; } /** * Gets the value of the outboundSSO property. * * @return * possible object is * {@link String } * */ public boolean isOutboundSSO() { if (outboundSSO == null) { return new ZeroOneBooleanAdapter().unmarshal("true"); } else { return outboundSSO; } } /** * Sets the value of the outboundSSO property. * * @param value * allowed object is * {@link String } * */ public void setOutboundSSO(Boolean value) { this.outboundSSO = 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 InterfederationIDPType)) { return false; } if (this == object) { return true; } final InterfederationIDPType that = ((InterfederationIDPType) object); { String lhsAttributeQueryURL; lhsAttributeQueryURL = this.getAttributeQueryURL(); String rhsAttributeQueryURL; rhsAttributeQueryURL = that.getAttributeQueryURL(); if (!strategy.equals(LocatorUtils.property(thisLocator, "attributeQueryURL", lhsAttributeQueryURL), LocatorUtils.property(thatLocator, "attributeQueryURL", rhsAttributeQueryURL), lhsAttributeQueryURL, rhsAttributeQueryURL)) { return false; } } { Boolean lhsStoreSSOSession; lhsStoreSSOSession = this.isStoreSSOSession(); Boolean rhsStoreSSOSession; rhsStoreSSOSession = that.isStoreSSOSession(); if (!strategy.equals(LocatorUtils.property(thisLocator, "storeSSOSession", lhsStoreSSOSession), LocatorUtils.property(thatLocator, "storeSSOSession", rhsStoreSSOSession), lhsStoreSSOSession, rhsStoreSSOSession)) { return false; } } { Boolean lhsPerformPassivRequest; lhsPerformPassivRequest = this.isPerformPassivRequest(); Boolean rhsPerformPassivRequest; rhsPerformPassivRequest = that.isPerformPassivRequest(); if (!strategy.equals(LocatorUtils.property(thisLocator, "performPassivRequest", lhsPerformPassivRequest), LocatorUtils.property(thatLocator, "performPassivRequest", rhsPerformPassivRequest), lhsPerformPassivRequest, rhsPerformPassivRequest)) { return false; } } { Boolean lhsPerformLocalAuthenticationOnError; lhsPerformLocalAuthenticationOnError = this.isPerformLocalAuthenticationOnError(); Boolean rhsPerformLocalAuthenticationOnError; rhsPerformLocalAuthenticationOnError = that.isPerformLocalAuthenticationOnError(); if (!strategy.equals(LocatorUtils.property(thisLocator, "performLocalAuthenticationOnError", lhsPerformLocalAuthenticationOnError), LocatorUtils.property(thatLocator, "performLocalAuthenticationOnError", rhsPerformLocalAuthenticationOnError), lhsPerformLocalAuthenticationOnError, rhsPerformLocalAuthenticationOnError)) { return false; } } { boolean lhsInboundSSO; lhsInboundSSO = ((this.inboundSSO!= null)?this.isInboundSSO():false); boolean rhsInboundSSO; rhsInboundSSO = ((that.inboundSSO!= null)?that.isInboundSSO():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "inboundSSO", lhsInboundSSO), LocatorUtils.property(thatLocator, "inboundSSO", rhsInboundSSO), lhsInboundSSO, rhsInboundSSO)) { return false; } } { boolean lhsOutboundSSO; lhsOutboundSSO = ((this.outboundSSO!= null)?this.isOutboundSSO():false); boolean rhsOutboundSSO; rhsOutboundSSO = ((that.outboundSSO!= null)?that.isOutboundSSO():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundSSO", lhsOutboundSSO), LocatorUtils.property(thatLocator, "outboundSSO", rhsOutboundSSO), lhsOutboundSSO, rhsOutboundSSO)) { 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 theAttributeQueryURL; theAttributeQueryURL = this.getAttributeQueryURL(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributeQueryURL", theAttributeQueryURL), currentHashCode, theAttributeQueryURL); } { Boolean theStoreSSOSession; theStoreSSOSession = this.isStoreSSOSession(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "storeSSOSession", theStoreSSOSession), currentHashCode, theStoreSSOSession); } { Boolean thePerformPassivRequest; thePerformPassivRequest = this.isPerformPassivRequest(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "performPassivRequest", thePerformPassivRequest), currentHashCode, thePerformPassivRequest); } { Boolean thePerformLocalAuthenticationOnError; thePerformLocalAuthenticationOnError = this.isPerformLocalAuthenticationOnError(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "performLocalAuthenticationOnError", thePerformLocalAuthenticationOnError), currentHashCode, thePerformLocalAuthenticationOnError); } { boolean theInboundSSO; theInboundSSO = ((this.inboundSSO!= null)?this.isInboundSSO():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inboundSSO", theInboundSSO), currentHashCode, theInboundSSO); } { boolean theOutboundSSO; theOutboundSSO = ((this.outboundSSO!= null)?this.isOutboundSSO():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundSSO", theOutboundSSO), currentHashCode, theOutboundSSO); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }