// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See http://java.sun.com/xml/jaxb // 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.CascadeType; import javax.persistence.JoinTable; import javax.persistence.ManyToMany; import javax.persistence.OneToMany; 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.XmlTransient; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 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; import com.sun.tools.xjc.runtime.ZeroOneBooleanAdapter; /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="StorkLogonEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}Qaa" minOccurs="0"/>
 *         <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}OAAttributes" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="VidpEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}AttributeProviders" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="requireConsent" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}C-PEPS" maxOccurs="unbounded"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "storkLogonEnabled", "qaa", "oaAttributes", "vidpEnabled", "attributeProviders", "requireConsent", "cpeps" }) @XmlRootElement(name = "OA_STORK") 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 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 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; @XmlAttribute(name = "Hjid") protected Long hjid; @XmlTransient protected String eIDAS_LOA = null; /** * Gets the value of the storkLogonEnabled property. * * @return * possible object is * {@link String } * */ 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 } * */ 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; } /** * @return the eIDAS_LOA */ public String geteIDAS_LOA() { return eIDAS_LOA; } /** * @param eIDAS_LOA the eIDAS_LOA to set */ public void seteIDAS_LOA(String eIDAS_LOA) { this.eIDAS_LOA = eIDAS_LOA; } /** * Gets the value of the oaAttributes property. * *

* 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 set method for the oaAttributes property. * *

* For example, to add a new item, do as follows: *

     *    getOAAttributes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OAStorkAttribute } * * */ @OneToMany(targetEntity = OAStorkAttribute.class, cascade = { CascadeType.ALL }) public List getOAAttributes() { if (oaAttributes == null) { oaAttributes = new ArrayList(); } return this.oaAttributes; } /** * * */ public void setOAAttributes(List oaAttributes) { this.oaAttributes = oaAttributes; } /** * Gets the value of the vidpEnabled property. * * @return * possible object is * {@link String } * */ 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. * *

* 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 set method for the attributeProviders property. * *

* For example, to add a new item, do as follows: *

     *    getAttributeProviders().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AttributeProviderPlugin } * * */ @OneToMany(targetEntity = AttributeProviderPlugin.class, cascade = { CascadeType.ALL }) public List getAttributeProviders() { if (attributeProviders == null) { attributeProviders = new ArrayList(); } return this.attributeProviders; } /** * * */ public void setAttributeProviders(List attributeProviders) { this.attributeProviders = attributeProviders; } /** * Gets the value of the requireConsent property. * * @return * possible object is * {@link String } * */ 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. * *

* 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 set method for the cpeps property. * *

* For example, to add a new item, do as follows: *

     *    getCPEPS().add(newItem);
     * 
* * *

* 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 = { }, inverseJoinColumns = { }) public List getCPEPS() { if (cpeps == null) { cpeps = new ArrayList(); } return this.cpeps; } /** * * */ public void setCPEPS(List cpeps) { this.cpeps = cpeps; } /** * 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 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 lhsOAAttributes; lhsOAAttributes = (((this.oaAttributes!= null)&&(!this.oaAttributes.isEmpty()))?this.getOAAttributes():null); List 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 lhsAttributeProviders; lhsAttributeProviders = (((this.attributeProviders!= null)&&(!this.attributeProviders.isEmpty()))?this.getAttributeProviders():null); List 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 lhsCPEPS; lhsCPEPS = (((this.cpeps!= null)&&(!this.cpeps.isEmpty()))?this.getCPEPS():null); List 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 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 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 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); } }