diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/BPKDecryption.java')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/BPKDecryption.java | 293 |
1 files changed, 0 insertions, 293 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/BPKDecryption.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/BPKDecryption.java deleted file mode 100644 index f3fb0ecf0..000000000 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/BPKDecryption.java +++ /dev/null @@ -1,293 +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 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> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="keyInformation" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * <element name="iv" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * <element name="keyStoreFileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="keyAlias" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "keyInformation", - "iv", - "keyStoreFileName", - "keyAlias" -}) -@Entity(name = "BPKDecryption") -@Table(name = "BPKDECRYPTION") -@Inheritance(strategy = InheritanceType.JOINED) -public class BPKDecryption - implements Serializable, Equals, HashCode -{ - - @XmlElement(required = true) - protected byte[] keyInformation; - @XmlElement(required = true) - protected byte[] iv; - protected String keyStoreFileName; - protected String keyAlias; - @XmlAttribute(name = "Hjid") - protected Long hjid; - - /** - * Gets the value of the keyInformation property. - * - * @return - * possible object is - * byte[] - */ - @Basic - @Column(name = "KEYINFORMATION") - @Lob - public byte[] getKeyInformation() { - return keyInformation; - } - - /** - * Sets the value of the keyInformation property. - * - * @param value - * allowed object is - * byte[] - */ - public void setKeyInformation(byte[] value) { - this.keyInformation = value; - } - - /** - * Gets the value of the iv property. - * - * @return - * possible object is - * byte[] - */ - @Basic - @Column(name = "IV") - @Lob - public byte[] getIv() { - return iv; - } - - /** - * Sets the value of the iv property. - * - * @param value - * allowed object is - * byte[] - */ - public void setIv(byte[] value) { - this.iv = value; - } - - /** - * Gets the value of the keyStoreFileName property. - * - * @return - * possible object is - * {@link String } - * - */ - @Basic - @Column(name = "KEYSTOREFILENAME", length = 255) - public String getKeyStoreFileName() { - return keyStoreFileName; - } - - /** - * Sets the value of the keyStoreFileName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKeyStoreFileName(String value) { - this.keyStoreFileName = value; - } - - /** - * Gets the value of the keyAlias property. - * - * @return - * possible object is - * {@link String } - * - */ - @Basic - @Column(name = "KEYALIAS", length = 255) - public String getKeyAlias() { - return keyAlias; - } - - /** - * Sets the value of the keyAlias property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKeyAlias(String value) { - this.keyAlias = 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 BPKDecryption)) { - return false; - } - if (this == object) { - return true; - } - final BPKDecryption that = ((BPKDecryption) object); - { - byte[] lhsKeyInformation; - lhsKeyInformation = this.getKeyInformation(); - byte[] rhsKeyInformation; - rhsKeyInformation = that.getKeyInformation(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "keyInformation", lhsKeyInformation), LocatorUtils.property(thatLocator, "keyInformation", rhsKeyInformation), lhsKeyInformation, rhsKeyInformation)) { - return false; - } - } - { - byte[] lhsIv; - lhsIv = this.getIv(); - byte[] rhsIv; - rhsIv = that.getIv(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "iv", lhsIv), LocatorUtils.property(thatLocator, "iv", rhsIv), lhsIv, rhsIv)) { - return false; - } - } - { - String lhsKeyStoreFileName; - lhsKeyStoreFileName = this.getKeyStoreFileName(); - String rhsKeyStoreFileName; - rhsKeyStoreFileName = that.getKeyStoreFileName(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStoreFileName", lhsKeyStoreFileName), LocatorUtils.property(thatLocator, "keyStoreFileName", rhsKeyStoreFileName), lhsKeyStoreFileName, rhsKeyStoreFileName)) { - return false; - } - } - { - String lhsKeyAlias; - lhsKeyAlias = this.getKeyAlias(); - String rhsKeyAlias; - rhsKeyAlias = that.getKeyAlias(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "keyAlias", lhsKeyAlias), LocatorUtils.property(thatLocator, "keyAlias", rhsKeyAlias), lhsKeyAlias, rhsKeyAlias)) { - 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[] theKeyInformation; - theKeyInformation = this.getKeyInformation(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyInformation", theKeyInformation), currentHashCode, theKeyInformation); - } - { - byte[] theIv; - theIv = this.getIv(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "iv", theIv), currentHashCode, theIv); - } - { - String theKeyStoreFileName; - theKeyStoreFileName = this.getKeyStoreFileName(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStoreFileName", theKeyStoreFileName), currentHashCode, theKeyStoreFileName); - } - { - String theKeyAlias; - theKeyAlias = this.getKeyAlias(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyAlias", theKeyAlias), currentHashCode, theKeyAlias); - } - return currentHashCode; - } - - public int hashCode() { - final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; - return this.hashCode(null, strategy); - } - -} |