aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/STORK.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/STORK.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/STORK.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/STORK.java342
1 files changed, 342 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/STORK.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/STORK.java
new file mode 100644
index 000000000..59b300e95
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/deprecated/STORK.java
@@ -0,0 +1,342 @@
+//
+// 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.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+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;choice>
+ * &lt;sequence>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}C-PEPS" maxOccurs="unbounded"/>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}SAMLSigningParameter"/>
+ * &lt;/sequence>
+ * &lt;sequence>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}QualityAuthenticationAssuranceLevel" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;sequence>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}Attributes" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/choice>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "cpeps",
+ "samlSigningParameter",
+ "qualityAuthenticationAssuranceLevel",
+ "attributes"
+})
+@XmlRootElement(name = "STORK")
+
+
+
+public class STORK
+ implements Serializable, Equals, HashCode
+{
+
+ @XmlElement(name = "C-PEPS")
+ protected List<CPEPS> cpeps;
+ @XmlElement(name = "SAMLSigningParameter")
+ protected SAMLSigningParameter samlSigningParameter;
+ @XmlElement(name = "QualityAuthenticationAssuranceLevel")
+ protected Integer qualityAuthenticationAssuranceLevel;
+ @XmlElement(name = "Attributes")
+ protected List<StorkAttribute> attributes;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the cpeps 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 cpeps property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCPEPS().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CPEPS }
+ *
+ *
+ */
+ @OneToMany(targetEntity = CPEPS.class, cascade = {
+ CascadeType.ALL
+ })
+
+ public List<CPEPS> getCPEPS() {
+ if (cpeps == null) {
+ cpeps = new ArrayList<CPEPS>();
+ }
+ return this.cpeps;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setCPEPS(List<CPEPS> cpeps) {
+ this.cpeps = cpeps;
+ }
+
+ /**
+ * Gets the value of the samlSigningParameter property.
+ *
+ * @return
+ * possible object is
+ * {@link SAMLSigningParameter }
+ *
+ */
+ @ManyToOne(targetEntity = SAMLSigningParameter.class, cascade = {
+ CascadeType.ALL
+ })
+
+ public SAMLSigningParameter getSAMLSigningParameter() {
+ return samlSigningParameter;
+ }
+
+ /**
+ * Sets the value of the samlSigningParameter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SAMLSigningParameter }
+ *
+ */
+ public void setSAMLSigningParameter(SAMLSigningParameter value) {
+ this.samlSigningParameter = value;
+ }
+
+ /**
+ * Gets the value of the qualityAuthenticationAssuranceLevel property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+
+
+ public Integer getQualityAuthenticationAssuranceLevel() {
+ return qualityAuthenticationAssuranceLevel;
+ }
+
+ /**
+ * Sets the value of the qualityAuthenticationAssuranceLevel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setQualityAuthenticationAssuranceLevel(Integer value) {
+ this.qualityAuthenticationAssuranceLevel = value;
+ }
+
+ /**
+ * Gets the value of the attributes 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 attributes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttributes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link StorkAttribute }
+ *
+ *
+ */
+ @OneToMany(targetEntity = StorkAttribute.class, cascade = {
+ CascadeType.ALL
+ })
+
+ public List<StorkAttribute> getAttributes() {
+ if (attributes == null) {
+ attributes = new ArrayList<StorkAttribute>();
+ }
+ return this.attributes;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setAttributes(List<StorkAttribute> attributes) {
+ this.attributes = attributes;
+ }
+
+ /**
+ * 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 STORK)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final STORK that = ((STORK) object);
+ {
+ List<CPEPS> lhsCPEPS;
+ lhsCPEPS = (((this.cpeps!= null)&&(!this.cpeps.isEmpty()))?this.getCPEPS():null);
+ List<CPEPS> rhsCPEPS;
+ rhsCPEPS = (((that.cpeps!= null)&&(!that.cpeps.isEmpty()))?that.getCPEPS():null);
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "cpeps", lhsCPEPS), LocatorUtils.property(thatLocator, "cpeps", rhsCPEPS), lhsCPEPS, rhsCPEPS)) {
+ return false;
+ }
+ }
+ {
+ SAMLSigningParameter lhsSAMLSigningParameter;
+ lhsSAMLSigningParameter = this.getSAMLSigningParameter();
+ SAMLSigningParameter rhsSAMLSigningParameter;
+ rhsSAMLSigningParameter = that.getSAMLSigningParameter();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "samlSigningParameter", lhsSAMLSigningParameter), LocatorUtils.property(thatLocator, "samlSigningParameter", rhsSAMLSigningParameter), lhsSAMLSigningParameter, rhsSAMLSigningParameter)) {
+ return false;
+ }
+ }
+ {
+ Integer lhsQualityAuthenticationAssuranceLevel;
+ lhsQualityAuthenticationAssuranceLevel = this.getQualityAuthenticationAssuranceLevel();
+ Integer rhsQualityAuthenticationAssuranceLevel;
+ rhsQualityAuthenticationAssuranceLevel = that.getQualityAuthenticationAssuranceLevel();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "qualityAuthenticationAssuranceLevel", lhsQualityAuthenticationAssuranceLevel), LocatorUtils.property(thatLocator, "qualityAuthenticationAssuranceLevel", rhsQualityAuthenticationAssuranceLevel), lhsQualityAuthenticationAssuranceLevel, rhsQualityAuthenticationAssuranceLevel)) {
+ return false;
+ }
+ }
+ {
+ List<StorkAttribute> lhsAttributes;
+ lhsAttributes = (((this.attributes!= null)&&(!this.attributes.isEmpty()))?this.getAttributes():null);
+ List<StorkAttribute> rhsAttributes;
+ rhsAttributes = (((that.attributes!= null)&&(!that.attributes.isEmpty()))?that.getAttributes():null);
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "attributes", lhsAttributes), LocatorUtils.property(thatLocator, "attributes", rhsAttributes), lhsAttributes, rhsAttributes)) {
+ 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;
+ {
+ List<CPEPS> theCPEPS;
+ theCPEPS = (((this.cpeps!= null)&&(!this.cpeps.isEmpty()))?this.getCPEPS():null);
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cpeps", theCPEPS), currentHashCode, theCPEPS);
+ }
+ {
+ SAMLSigningParameter theSAMLSigningParameter;
+ theSAMLSigningParameter = this.getSAMLSigningParameter();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "samlSigningParameter", theSAMLSigningParameter), currentHashCode, theSAMLSigningParameter);
+ }
+ {
+ Integer theQualityAuthenticationAssuranceLevel;
+ theQualityAuthenticationAssuranceLevel = this.getQualityAuthenticationAssuranceLevel();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "qualityAuthenticationAssuranceLevel", theQualityAuthenticationAssuranceLevel), currentHashCode, theQualityAuthenticationAssuranceLevel);
+ }
+ {
+ List<StorkAttribute> theAttributes;
+ theAttributes = (((this.attributes!= null)&&(!this.attributes.isEmpty()))?this.getAttributes():null);
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributes", theAttributes), currentHashCode, theAttributes);
+ }
+ return currentHashCode;
+ }
+
+ public int hashCode() {
+ final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
+ return this.hashCode(null, strategy);
+ }
+
+}