aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OASTORK.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/OASTORK.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OASTORK.java495
1 files changed, 495 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OASTORK.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OASTORK.java
new file mode 100644
index 000000000..9d4f5d699
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OASTORK.java
@@ -0,0 +1,495 @@
+//
+// 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.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.JoinTable;
+import javax.persistence.ManyToMany;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import com.sun.tools.xjc.runtime.ZeroOneBooleanAdapter;
+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="StorkLogonEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}Qaa" minOccurs="0"/>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}OAAttributes" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;element name="VidpEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}AttributeProviders" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;element name="requireConsent" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}C-PEPS" maxOccurs="unbounded"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "storkLogonEnabled",
+ "qaa",
+ "oaAttributes",
+ "vidpEnabled",
+ "attributeProviders",
+ "requireConsent",
+ "cpeps"
+})
+@XmlRootElement(name = "OA_STORK")
+@Entity(name = "OASTORK")
+@Table(name = "OASTORK")
+@Inheritance(strategy = InheritanceType.JOINED)
+public class OASTORK
+ implements Serializable, Equals, HashCode
+{
+
+ @XmlElement(name = "StorkLogonEnabled", required = true, type = String.class, defaultValue = "true")
+ @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class)
+ @XmlSchemaType(name = "boolean")
+ protected Boolean storkLogonEnabled;
+ @XmlElement(name = "Qaa")
+ protected Integer qaa;
+ @XmlElement(name = "OAAttributes")
+ protected List<OAStorkAttribute> oaAttributes;
+ @XmlElement(name = "VidpEnabled", required = true, type = String.class, defaultValue = "false")
+ @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class)
+ @XmlSchemaType(name = "boolean")
+ protected Boolean vidpEnabled;
+ @XmlElement(name = "AttributeProviders")
+ protected List<AttributeProviderPlugin> attributeProviders;
+ @XmlElement(required = true, type = String.class, defaultValue = "true")
+ @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class)
+ @XmlSchemaType(name = "boolean")
+ protected Boolean requireConsent;
+ @XmlElement(name = "C-PEPS", required = true)
+ protected List<CPEPS> cpeps;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the storkLogonEnabled property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "STORKLOGONENABLED")
+ public Boolean isStorkLogonEnabled() {
+ return storkLogonEnabled;
+ }
+
+ /**
+ * Sets the value of the storkLogonEnabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStorkLogonEnabled(Boolean value) {
+ this.storkLogonEnabled = value;
+ }
+
+ /**
+ * Gets the value of the qaa property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ @Basic
+ @Column(name = "QAA", precision = 20, scale = 0)
+ public Integer getQaa() {
+ return qaa;
+ }
+
+ /**
+ * Sets the value of the qaa property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setQaa(Integer value) {
+ this.qaa = value;
+ }
+
+ /**
+ * Gets the value of the oaAttributes 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 oaAttributes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOAAttributes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link OAStorkAttribute }
+ *
+ *
+ */
+ @OneToMany(targetEntity = OAStorkAttribute.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "OAATTRIBUTES_OASTORK_HJID")
+ public List<OAStorkAttribute> getOAAttributes() {
+ if (oaAttributes == null) {
+ oaAttributes = new ArrayList<OAStorkAttribute>();
+ }
+ return this.oaAttributes;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setOAAttributes(List<OAStorkAttribute> oaAttributes) {
+ this.oaAttributes = oaAttributes;
+ }
+
+ /**
+ * Gets the value of the vidpEnabled property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "VIDPENABLED")
+ public Boolean isVidpEnabled() {
+ return vidpEnabled;
+ }
+
+ /**
+ * Sets the value of the vidpEnabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVidpEnabled(Boolean value) {
+ this.vidpEnabled = value;
+ }
+
+ /**
+ * Gets the value of the attributeProviders 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 attributeProviders property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttributeProviders().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AttributeProviderPlugin }
+ *
+ *
+ */
+ @OneToMany(targetEntity = AttributeProviderPlugin.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ATTRIBUTEPROVIDERS_OASTORK_H_0")
+ public List<AttributeProviderPlugin> getAttributeProviders() {
+ if (attributeProviders == null) {
+ attributeProviders = new ArrayList<AttributeProviderPlugin>();
+ }
+ return this.attributeProviders;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setAttributeProviders(List<AttributeProviderPlugin> attributeProviders) {
+ this.attributeProviders = attributeProviders;
+ }
+
+ /**
+ * Gets the value of the requireConsent property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "REQUIRECONSENT")
+ public Boolean isRequireConsent() {
+ return requireConsent;
+ }
+
+ /**
+ * Sets the value of the requireConsent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequireConsent(Boolean value) {
+ this.requireConsent = value;
+ }
+
+ /**
+ * 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 }
+ *
+ *
+ */
+ @ManyToMany(targetEntity = CPEPS.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinTable(name = "OASTORK_CPEPS_CPEPS", joinColumns = {
+ @JoinColumn(name = "PARENT_OASTORK_HJID")
+ }, inverseJoinColumns = {
+ @JoinColumn(name = "CHILD_CPEPS_HJID")
+ })
+ 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 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 OASTORK)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final OASTORK that = ((OASTORK) object);
+ {
+ Boolean lhsStorkLogonEnabled;
+ lhsStorkLogonEnabled = this.isStorkLogonEnabled();
+ Boolean rhsStorkLogonEnabled;
+ rhsStorkLogonEnabled = that.isStorkLogonEnabled();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "storkLogonEnabled", lhsStorkLogonEnabled), LocatorUtils.property(thatLocator, "storkLogonEnabled", rhsStorkLogonEnabled), lhsStorkLogonEnabled, rhsStorkLogonEnabled)) {
+ return false;
+ }
+ }
+ {
+ Integer lhsQaa;
+ lhsQaa = this.getQaa();
+ Integer rhsQaa;
+ rhsQaa = that.getQaa();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "qaa", lhsQaa), LocatorUtils.property(thatLocator, "qaa", rhsQaa), lhsQaa, rhsQaa)) {
+ return false;
+ }
+ }
+ {
+ List<OAStorkAttribute> lhsOAAttributes;
+ lhsOAAttributes = (((this.oaAttributes!= null)&&(!this.oaAttributes.isEmpty()))?this.getOAAttributes():null);
+ List<OAStorkAttribute> rhsOAAttributes;
+ rhsOAAttributes = (((that.oaAttributes!= null)&&(!that.oaAttributes.isEmpty()))?that.getOAAttributes():null);
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "oaAttributes", lhsOAAttributes), LocatorUtils.property(thatLocator, "oaAttributes", rhsOAAttributes), lhsOAAttributes, rhsOAAttributes)) {
+ return false;
+ }
+ }
+ {
+ Boolean lhsVidpEnabled;
+ lhsVidpEnabled = this.isVidpEnabled();
+ Boolean rhsVidpEnabled;
+ rhsVidpEnabled = that.isVidpEnabled();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "vidpEnabled", lhsVidpEnabled), LocatorUtils.property(thatLocator, "vidpEnabled", rhsVidpEnabled), lhsVidpEnabled, rhsVidpEnabled)) {
+ return false;
+ }
+ }
+ {
+ List<AttributeProviderPlugin> lhsAttributeProviders;
+ lhsAttributeProviders = (((this.attributeProviders!= null)&&(!this.attributeProviders.isEmpty()))?this.getAttributeProviders():null);
+ List<AttributeProviderPlugin> rhsAttributeProviders;
+ rhsAttributeProviders = (((that.attributeProviders!= null)&&(!that.attributeProviders.isEmpty()))?that.getAttributeProviders():null);
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "attributeProviders", lhsAttributeProviders), LocatorUtils.property(thatLocator, "attributeProviders", rhsAttributeProviders), lhsAttributeProviders, rhsAttributeProviders)) {
+ return false;
+ }
+ }
+ {
+ Boolean lhsRequireConsent;
+ lhsRequireConsent = this.isRequireConsent();
+ Boolean rhsRequireConsent;
+ rhsRequireConsent = that.isRequireConsent();
+ if (!strategy.equals(LocatorUtils.property(thisLocator, "requireConsent", lhsRequireConsent), LocatorUtils.property(thatLocator, "requireConsent", rhsRequireConsent), lhsRequireConsent, rhsRequireConsent)) {
+ return false;
+ }
+ }
+ {
+ 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;
+ }
+ }
+ 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;
+ {
+ Boolean theStorkLogonEnabled;
+ theStorkLogonEnabled = this.isStorkLogonEnabled();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "storkLogonEnabled", theStorkLogonEnabled), currentHashCode, theStorkLogonEnabled);
+ }
+ {
+ Integer theQaa;
+ theQaa = this.getQaa();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "qaa", theQaa), currentHashCode, theQaa);
+ }
+ {
+ List<OAStorkAttribute> theOAAttributes;
+ theOAAttributes = (((this.oaAttributes!= null)&&(!this.oaAttributes.isEmpty()))?this.getOAAttributes():null);
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oaAttributes", theOAAttributes), currentHashCode, theOAAttributes);
+ }
+ {
+ Boolean theVidpEnabled;
+ theVidpEnabled = this.isVidpEnabled();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "vidpEnabled", theVidpEnabled), currentHashCode, theVidpEnabled);
+ }
+ {
+ List<AttributeProviderPlugin> theAttributeProviders;
+ theAttributeProviders = (((this.attributeProviders!= null)&&(!this.attributeProviders.isEmpty()))?this.getAttributeProviders():null);
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributeProviders", theAttributeProviders), currentHashCode, theAttributeProviders);
+ }
+ {
+ Boolean theRequireConsent;
+ theRequireConsent = this.isRequireConsent();
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requireConsent", theRequireConsent), currentHashCode, theRequireConsent);
+ }
+ {
+ List<CPEPS> theCPEPS;
+ theCPEPS = (((this.cpeps!= null)&&(!this.cpeps.isEmpty()))?this.getCPEPS():null);
+ currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cpeps", theCPEPS), currentHashCode, theCPEPS);
+ }
+ return currentHashCode;
+ }
+
+ public int hashCode() {
+ final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
+ return this.hashCode(null, strategy);
+ }
+
+}