aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/OAPVP2.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/OAPVP2.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/OAPVP2.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/OAPVP2.java274
1 files changed, 274 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/OAPVP2.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/OAPVP2.java
new file mode 100644
index 000000000..d5cee7b83
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/OAPVP2.java
@@ -0,0 +1,274 @@
+//
+// 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 java.util.Date;
+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.persistence.Temporal;
+import javax.persistence.TemporalType;
+import javax.persistence.Transient;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XMLGregorianCalendarAsDateTime;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+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="metadataURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * &lt;element name="certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ * &lt;element name="updateRequired" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "metadataURL",
+ "certificate",
+ "updateRequired"
+})
+@XmlRootElement(name = "OA_PVP2")
+
+
+
+public class OAPVP2
+ implements Serializable, Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String metadataURL;
+ @XmlElement(required = true)
+ protected byte[] certificate;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar updateRequired;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the metadataURL property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+
+
+ public String getMetadataURL() {
+ return metadataURL;
+ }
+
+ /**
+ * Sets the value of the metadataURL property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMetadataURL(String value) {
+ this.metadataURL = value;
+ }
+
+ /**
+ * Gets the value of the certificate property.
+ *
+ * @return
+ * possible object is
+ * byte[]
+ */
+
+
+ @Lob
+ public byte[] getCertificate() {
+ return certificate;
+ }
+
+ /**
+ * Sets the value of the certificate property.
+ *
+ * @param value
+ * allowed object is
+ * byte[]
+ */
+ public void setCertificate(byte[] value) {
+ this.certificate = value;
+ }
+
+ /**
+ * Gets the value of the updateRequired property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getUpdateRequired() {
+ return updateRequired;
+ }
+
+ /**
+ * Sets the value of the updateRequired property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setUpdateRequired(XMLGregorianCalendar value) {
+ this.updateRequired = 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;
+ }
+
+
+
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getUpdateRequiredItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getUpdateRequired());
+ }
+
+ public void setUpdateRequiredItem(Date target) {
+ setUpdateRequired(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
+ if (!(object instanceof OAPVP2)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final OAPVP2 that = ((OAPVP2) object);
+ {
+ String lhsMetadataURL;
+ lhsMetadataURL = this.getMetadataURL();
+ String rhsMetadataURL;
+ rhsMetadataURL = that.getMetadataURL();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "metadataURL", lhsMetadataURL), LocatorUtils.property(thatLocator, "metadataURL", rhsMetadataURL), lhsMetadataURL, rhsMetadataURL)) {
+ return false;
+ }
+ }
+ {
+ byte[] lhsCertificate;
+ lhsCertificate = this.getCertificate();
+ byte[] rhsCertificate;
+ rhsCertificate = that.getCertificate();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "certificate", lhsCertificate), LocatorUtils.property(thatLocator, "certificate", rhsCertificate), lhsCertificate, rhsCertificate)) {
+ return false;
+ }
+ }
+ {
+ XMLGregorianCalendar lhsUpdateRequired;
+ lhsUpdateRequired = this.getUpdateRequired();
+ XMLGregorianCalendar rhsUpdateRequired;
+ rhsUpdateRequired = that.getUpdateRequired();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "updateRequired", lhsUpdateRequired), LocatorUtils.property(thatLocator, "updateRequired", rhsUpdateRequired), lhsUpdateRequired, rhsUpdateRequired)) {
+ 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 theMetadataURL;
+ theMetadataURL = this.getMetadataURL();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "metadataURL", theMetadataURL), currentHashCode, theMetadataURL);
+ }
+ {
+ byte[] theCertificate;
+ theCertificate = this.getCertificate();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "certificate", theCertificate), currentHashCode, theCertificate);
+ }
+ {
+ XMLGregorianCalendar theUpdateRequired;
+ theUpdateRequired = this.getUpdateRequired();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "updateRequired", theUpdateRequired), currentHashCode, theUpdateRequired);
+ }
+ return currentHashCode;
+ }
+
+ public int hashCode() {
+ final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
+ return this.hashCode(null, strategy);
+ }
+
+}