aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/EncBPKInformation.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/EncBPKInformation.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/EncBPKInformation.java257
1 files changed, 0 insertions, 257 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/EncBPKInformation.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/EncBPKInformation.java
deleted file mode 100644
index b1639e1b0..000000000
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/EncBPKInformation.java
+++ /dev/null
@@ -1,257 +0,0 @@
-//
-// 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 java.util.ArrayList;
-import java.util.List;
-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.OneToMany;
-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;
-
-
-/**
- * <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="bPKDecryption" minOccurs="0">
- * &lt;complexType>
- * &lt;complexContent>
- * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * &lt;sequence>
- * &lt;element name="keyInformation" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
- * &lt;element name="iv" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
- * &lt;element name="keyStoreFileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * &lt;element name="keyAlias" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * &lt;/sequence>
- * &lt;/restriction>
- * &lt;/complexContent>
- * &lt;/complexType>
- * &lt;/element>
- * &lt;element name="bPKEncryption" maxOccurs="unbounded" minOccurs="0">
- * &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>
- * &lt;/element>
- * &lt;/sequence>
- * &lt;/restriction>
- * &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "bpkDecryption",
- "bpkEncryption"
-})
-@XmlRootElement(name = "EncBPKInformation")
-@Entity(name = "EncBPKInformation")
-@Table(name = "ENCBPKINFORMATION")
-@Inheritance(strategy = InheritanceType.JOINED)
-public class EncBPKInformation
- implements Serializable, Equals, HashCode
-{
-
- @XmlElement(name = "bPKDecryption")
- protected BPKDecryption bpkDecryption;
- @XmlElement(name = "bPKEncryption")
- protected List<BPKEncryption> bpkEncryption;
- @XmlAttribute(name = "Hjid")
- protected Long hjid;
-
- /**
- * Gets the value of the bpkDecryption property.
- *
- * @return
- * possible object is
- * {@link BPKDecryption }
- *
- */
- @ManyToOne(targetEntity = BPKDecryption.class, cascade = {
- CascadeType.ALL
- })
- @JoinColumn(name = "BPKDECRYPTION_ENCBPKINFORMAT_0")
- public BPKDecryption getBPKDecryption() {
- return bpkDecryption;
- }
-
- /**
- * Sets the value of the bpkDecryption property.
- *
- * @param value
- * allowed object is
- * {@link BPKDecryption }
- *
- */
- public void setBPKDecryption(BPKDecryption value) {
- this.bpkDecryption = value;
- }
-
- /**
- * Gets the value of the bpkEncryption property.
- *
- * <p>
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a <CODE>set</CODE> method for the bpkEncryption property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getBPKEncryption().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link BPKEncryption }
- *
- *
- */
- @OneToMany(targetEntity = BPKEncryption.class, cascade = {
- CascadeType.ALL
- })
- @JoinColumn(name = "BPKENCRYPTION_ENCBPKINFORMAT_0")
- public List<BPKEncryption> getBPKEncryption() {
- if (bpkEncryption == null) {
- bpkEncryption = new ArrayList<BPKEncryption>();
- }
- return this.bpkEncryption;
- }
-
- /**
- *
- *
- */
- public void setBPKEncryption(List<BPKEncryption> bpkEncryption) {
- this.bpkEncryption = bpkEncryption;
- }
-
- /**
- * 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 EncBPKInformation)) {
- return false;
- }
- if (this == object) {
- return true;
- }
- final EncBPKInformation that = ((EncBPKInformation) object);
- {
- BPKDecryption lhsBPKDecryption;
- lhsBPKDecryption = this.getBPKDecryption();
- BPKDecryption rhsBPKDecryption;
- rhsBPKDecryption = that.getBPKDecryption();
- if (!strategy.equals(LocatorUtils.property(thisLocator, "bpkDecryption", lhsBPKDecryption), LocatorUtils.property(thatLocator, "bpkDecryption", rhsBPKDecryption), lhsBPKDecryption, rhsBPKDecryption)) {
- return false;
- }
- }
- {
- List<BPKEncryption> lhsBPKEncryption;
- lhsBPKEncryption = (((this.bpkEncryption!= null)&&(!this.bpkEncryption.isEmpty()))?this.getBPKEncryption():null);
- List<BPKEncryption> rhsBPKEncryption;
- rhsBPKEncryption = (((that.bpkEncryption!= null)&&(!that.bpkEncryption.isEmpty()))?that.getBPKEncryption():null);
- if (!strategy.equals(LocatorUtils.property(thisLocator, "bpkEncryption", lhsBPKEncryption), LocatorUtils.property(thatLocator, "bpkEncryption", rhsBPKEncryption), lhsBPKEncryption, rhsBPKEncryption)) {
- 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;
- {
- BPKDecryption theBPKDecryption;
- theBPKDecryption = this.getBPKDecryption();
- currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bpkDecryption", theBPKDecryption), currentHashCode, theBPKDecryption);
- }
- {
- List<BPKEncryption> theBPKEncryption;
- theBPKEncryption = (((this.bpkEncryption!= null)&&(!this.bpkEncryption.isEmpty()))?this.getBPKEncryption():null);
- currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bpkEncryption", theBPKEncryption), currentHashCode, theBPKEncryption);
- }
- return currentHashCode;
- }
-
- public int hashCode() {
- final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
- return this.hashCode(null, strategy);
- }
-
-}