aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-07-20 13:57:09 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-07-20 13:57:09 +0200
commit77a575c0489e3739c5b6184aa5a7d46c542c35f5 (patch)
tree382ac6edb2e3a5b183ea7fc51fc51228f11fd635 /id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java
parentf3befac4266567d37f52970e57486af7b87b0b7f (diff)
downloadmoa-id-spss-77a575c0489e3739c5b6184aa5a7d46c542c35f5.tar.gz
moa-id-spss-77a575c0489e3739c5b6184aa5a7d46c542c35f5.tar.bz2
moa-id-spss-77a575c0489e3739c5b6184aa5a7d46c542c35f5.zip
add deprecated MOA-ID 2.x database DAOs to source
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java252
1 files changed, 252 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java
new file mode 100644
index 000000000..f21833c13
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/BPKEncryption.java
@@ -0,0 +1,252 @@
+//
+// 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.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.Lob;
+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;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="publicKey" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ * &lt;element name="target" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="vkz" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "publicKey",
+ "target",
+ "vkz"
+})
+
+
+
+public class BPKEncryption
+ implements Serializable, Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected byte[] publicKey;
+ @XmlElement(required = true)
+ protected String target;
+ @XmlElement(required = true)
+ protected String vkz;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the publicKey property.
+ *
+ * @return
+ * possible object is
+ * byte[]
+ */
+
+
+ @Lob
+ public byte[] getPublicKey() {
+ return publicKey;
+ }
+
+ /**
+ * Sets the value of the publicKey property.
+ *
+ * @param value
+ * allowed object is
+ * byte[]
+ */
+ public void setPublicKey(byte[] value) {
+ this.publicKey = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+
+
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the vkz property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+
+
+ public String getVkz() {
+ return vkz;
+ }
+
+ /**
+ * Sets the value of the vkz property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVkz(String value) {
+ this.vkz = 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 BPKEncryption)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final BPKEncryption that = ((BPKEncryption) object);
+ {
+ byte[] lhsPublicKey;
+ lhsPublicKey = this.getPublicKey();
+ byte[] rhsPublicKey;
+ rhsPublicKey = that.getPublicKey();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "publicKey", lhsPublicKey), LocatorUtils.property(thatLocator, "publicKey", rhsPublicKey), lhsPublicKey, rhsPublicKey)) {
+ return false;
+ }
+ }
+ {
+ String lhsTarget;
+ lhsTarget = this.getTarget();
+ String rhsTarget;
+ rhsTarget = that.getTarget();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "target", lhsTarget), LocatorUtils.property(thatLocator, "target", rhsTarget), lhsTarget, rhsTarget)) {
+ return false;
+ }
+ }
+ {
+ String lhsVkz;
+ lhsVkz = this.getVkz();
+ String rhsVkz;
+ rhsVkz = that.getVkz();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "vkz", lhsVkz), LocatorUtils.property(thatLocator, "vkz", rhsVkz), lhsVkz, rhsVkz)) {
+ 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;
+ {
+ byte[] thePublicKey;
+ thePublicKey = this.getPublicKey();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publicKey", thePublicKey), currentHashCode, thePublicKey);
+ }
+ {
+ String theTarget;
+ theTarget = this.getTarget();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "target", theTarget), currentHashCode, theTarget);
+ }
+ {
+ String theVkz;
+ theVkz = this.getVkz();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "vkz", theVkz), currentHashCode, theVkz);
+ }
+ return currentHashCode;
+ }
+
+ public int hashCode() {
+ final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
+ return this.hashCode(null, strategy);
+ }
+
+}