aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/InterfederationIDPType.java
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/InterfederationIDPType.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/InterfederationIDPType.java402
1 files changed, 402 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/InterfederationIDPType.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/InterfederationIDPType.java
new file mode 100644
index 000000000..282360082
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/InterfederationIDPType.java
@@ -0,0 +1,402 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2015.01.09 at 09:01:43 AM CET
+//
+
+
+package at.gv.egovernment.moa.id.commons.db.dao.config;
+
+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;
+
+
+/**
+ * <p>Java class for InterfederationIDPType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="InterfederationIDPType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="attributeQueryURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * &lt;element name="storeSSOSession" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element name="performPassivRequest" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element name="performLocalAuthenticationOnError" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;attribute name="inboundSSO" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * &lt;attribute name="outboundSSO" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InterfederationIDPType", propOrder = {
+ "attributeQueryURL",
+ "storeSSOSession",
+ "performPassivRequest",
+ "performLocalAuthenticationOnError"
+})
+@Entity(name = "InterfederationIDPType")
+@Table(name = "INTERFEDERATIONIDPTYPE")
+@Inheritance(strategy = InheritanceType.JOINED)
+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 }
+ *
+ */
+ @Basic
+ @Column(name = "ATTRIBUTEQUERYURL", length = 255)
+ 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 }
+ *
+ */
+ @Basic
+ @Column(name = "STORESSOSESSION")
+ 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 }
+ *
+ */
+ @Basic
+ @Column(name = "PERFORMPASSIVREQUEST")
+ 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 }
+ *
+ */
+ @Basic
+ @Column(name = "PERFORMLOCALAUTHENTICATIONON_0")
+ 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 }
+ *
+ */
+ @Basic
+ @Column(name = "INBOUNDSSO")
+ 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 }
+ *
+ */
+ @Basic
+ @Column(name = "OUTBOUNDSSO")
+ 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 }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ 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);
+ }
+
+}