aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/SignatureCreationParameterType.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/deprecated/SignatureCreationParameterType.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/SignatureCreationParameterType.java218
1 files changed, 218 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/SignatureCreationParameterType.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/SignatureCreationParameterType.java
new file mode 100644
index 000000000..bdd5f731c
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/SignatureCreationParameterType.java
@@ -0,0 +1,218 @@
+//
+// 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.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.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.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.XmlAttribute;
+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;
+
+
+/**
+ * Enthaelt Informationen zu einem KeyStore bzw. Key
+ * zur STORK SAML AuthnRequest Signaturerstellung
+ *
+ *
+ * <p>Java class for SignatureCreationParameterType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="SignatureCreationParameterType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}KeyStore"/>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}KeyName"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SignatureCreationParameterType", propOrder = {
+ "keyStore",
+ "keyName"
+})
+
+
+
+public class SignatureCreationParameterType
+ implements Serializable, Equals, HashCode
+{
+
+ @XmlElement(name = "KeyStore", required = true)
+ protected KeyStore keyStore;
+ @XmlElement(name = "KeyName", required = true)
+ protected KeyName keyName;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the keyStore property.
+ *
+ * @return
+ * possible object is
+ * {@link KeyStore }
+ *
+ */
+ @ManyToOne(targetEntity = KeyStore.class, cascade = {
+ CascadeType.ALL
+ })
+
+ public KeyStore getKeyStore() {
+ return keyStore;
+ }
+
+ /**
+ * Sets the value of the keyStore property.
+ *
+ * @param value
+ * allowed object is
+ * {@link KeyStore }
+ *
+ */
+ public void setKeyStore(KeyStore value) {
+ this.keyStore = value;
+ }
+
+ /**
+ * Gets the value of the keyName property.
+ *
+ * @return
+ * possible object is
+ * {@link KeyName }
+ *
+ */
+ @ManyToOne(targetEntity = KeyName.class, cascade = {
+ CascadeType.ALL
+ })
+
+ public KeyName getKeyName() {
+ return keyName;
+ }
+
+ /**
+ * Sets the value of the keyName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link KeyName }
+ *
+ */
+ public void setKeyName(KeyName value) {
+ this.keyName = 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 SignatureCreationParameterType)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final SignatureCreationParameterType that = ((SignatureCreationParameterType) object);
+ {
+ KeyStore lhsKeyStore;
+ lhsKeyStore = this.getKeyStore();
+ KeyStore rhsKeyStore;
+ rhsKeyStore = that.getKeyStore();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStore", lhsKeyStore), LocatorUtils.property(thatLocator, "keyStore", rhsKeyStore), lhsKeyStore, rhsKeyStore)) {
+ return false;
+ }
+ }
+ {
+ KeyName lhsKeyName;
+ lhsKeyName = this.getKeyName();
+ KeyName rhsKeyName;
+ rhsKeyName = that.getKeyName();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "keyName", lhsKeyName), LocatorUtils.property(thatLocator, "keyName", rhsKeyName), lhsKeyName, rhsKeyName)) {
+ 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;
+ {
+ KeyStore theKeyStore;
+ theKeyStore = this.getKeyStore();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStore", theKeyStore), currentHashCode, theKeyStore);
+ }
+ {
+ KeyName theKeyName;
+ theKeyName = this.getKeyName();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyName", theKeyName), currentHashCode, theKeyName);
+ }
+ return currentHashCode;
+ }
+
+ public int hashCode() {
+ final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
+ return this.hashCode(null, strategy);
+ }
+
+}