// // 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.ManyToOne; 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.XmlTransient; 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; /** *

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">
 *       <choice>
 *         <sequence>
 *           <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}C-PEPS" maxOccurs="unbounded"/>
 *           <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}SAMLSigningParameter"/>
 *         </sequence>
 *         <sequence>
 *           <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}QualityAuthenticationAssuranceLevel" minOccurs="0"/>
 *         </sequence>
 *         <sequence>
 *           <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}Attributes" maxOccurs="unbounded" minOccurs="0"/>
 *         </sequence>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @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; @XmlElement(name = "SAMLSigningParameter") protected SAMLSigningParameter samlSigningParameter; @XmlElement(name = "QualityAuthenticationAssuranceLevel") protected Integer qualityAuthenticationAssuranceLevel; @XmlElement(name = "Attributes") protected List attributes; @XmlAttribute(name = "Hjid") protected Long hjid; @XmlTransient protected String general_eIDAS_LOA = null; /** * 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 } * * */ @OneToMany(targetEntity = CPEPS.class, cascade = { CascadeType.ALL }) 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 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. * *

* 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 attributes property. * *

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

     *    getAttributes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link StorkAttribute } * * */ @OneToMany(targetEntity = StorkAttribute.class, cascade = { CascadeType.ALL }) public List getAttributes() { if (attributes == null) { attributes = new ArrayList(); } return this.attributes; } /** * * */ public void setAttributes(List 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; } /** * @return the general_eIDAS_LOA */ public String getGeneral_eIDAS_LOA() { return general_eIDAS_LOA; } /** * @param general_eIDAS_LOA the general_eIDAS_LOA to set */ public void setGeneral_eIDAS_LOA(String general_eIDAS_LOA) { this.general_eIDAS_LOA = general_eIDAS_LOA; } 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 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; } } { 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 lhsAttributes; lhsAttributes = (((this.attributes!= null)&&(!this.attributes.isEmpty()))?this.getAttributes():null); List 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 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 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); } }