// // 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 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.Table; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlSeeAlso; 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; /** *

Java class for OnlineApplicationType complex type. * *

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

 * <complexType name="OnlineApplicationType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="isNew" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="isActive" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="isAdminRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="isInterfederationIDP" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="InterfederationIDP" type="{http://www.buergerkarte.at/namespaces/moaconfig#}InterfederationIDPType" minOccurs="0"/>
 *         <element name="isInterfederationGateway" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="InterfederationGateway" type="{http://www.buergerkarte.at/namespaces/moaconfig#}InterfederationGatewayType" minOccurs="0"/>
 *         <element name="AuthComponent_OA" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="BKUURLS">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="OnlineBKU" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *                             <element name="HandyBKU" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *                             <element name="LocalBKU" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}IdentificationNumber" minOccurs="0"/>
 *                   <element name="Templates" type="{http://www.buergerkarte.at/namespaces/moaconfig#}TemplatesType" minOccurs="0"/>
 *                   <element name="TransformsInfo" type="{http://www.buergerkarte.at/namespaces/moaconfig#}TransformsInfoType" maxOccurs="unbounded" minOccurs="0"/>
 *                   <element name="Mandates" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="Profiles" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                             <element name="ProfileName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="testCredentials" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="credentialOID" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                           </sequence>
 *                           <attribute name="enableTestCredentials" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}OA_STORK" minOccurs="0"/>
 *                   <element name="OA_SSO" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="UseSSO" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                             <element name="AuthDataFrame" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                             <element name="SingleLogOutURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}OA_SAML1" minOccurs="0"/>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}OA_PVP2" minOccurs="0"/>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}OA_OAUTH20" minOccurs="0"/>
 *                   <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}EncBPKInformation" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OnlineApplicationType", propOrder = { "isNew", "isActive", "isAdminRequired", "isInterfederationIDP", "interfederationIDP", "isInterfederationGateway", "interfederationGateway", "authComponentOA" }) @XmlSeeAlso({ OnlineApplication.class }) public class OnlineApplicationType implements Serializable, Equals, HashCode { @XmlElement(type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean isNew; @XmlElement(required = true, type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean isActive; @XmlElement(type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean isAdminRequired; @XmlElement(type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean isInterfederationIDP; @XmlElement(name = "InterfederationIDP") protected InterfederationIDPType interfederationIDP; @XmlElement(type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean isInterfederationGateway; @XmlElement(name = "InterfederationGateway") protected InterfederationGatewayType interfederationGateway; @XmlElement(name = "AuthComponent_OA") protected AuthComponentOA authComponentOA; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the isNew property. * * @return * possible object is * {@link String } * */ @Transient public Boolean isIsNew() { return isNew; } /** * Sets the value of the isNew property. * * @param value * allowed object is * {@link String } * */ public void setIsNew(Boolean value) { this.isNew = value; } /** * Gets the value of the isActive property. * * @return * possible object is * {@link String } * */ public Boolean isIsActive() { return isActive; } /** * Sets the value of the isActive property. * * @param value * allowed object is * {@link String } * */ public void setIsActive(Boolean value) { this.isActive = value; } /** * Gets the value of the isAdminRequired property. * * @return * possible object is * {@link String } * */ public Boolean isIsAdminRequired() { return isAdminRequired; } /** * Sets the value of the isAdminRequired property. * * @param value * allowed object is * {@link String } * */ public void setIsAdminRequired(Boolean value) { this.isAdminRequired = value; } /** * Gets the value of the isInterfederationIDP property. * * @return * possible object is * {@link String } * */ public Boolean isIsInterfederationIDP() { return isInterfederationIDP; } /** * Sets the value of the isInterfederationIDP property. * * @param value * allowed object is * {@link String } * */ public void setIsInterfederationIDP(Boolean value) { this.isInterfederationIDP = value; } /** * Gets the value of the interfederationIDP property. * * @return * possible object is * {@link InterfederationIDPType } * */ @ManyToOne(targetEntity = InterfederationIDPType.class, cascade = { CascadeType.ALL }) public InterfederationIDPType getInterfederationIDP() { return interfederationIDP; } /** * Sets the value of the interfederationIDP property. * * @param value * allowed object is * {@link InterfederationIDPType } * */ public void setInterfederationIDP(InterfederationIDPType value) { this.interfederationIDP = value; } /** * Gets the value of the isInterfederationGateway property. * * @return * possible object is * {@link String } * */ public Boolean isIsInterfederationGateway() { return isInterfederationGateway; } /** * Sets the value of the isInterfederationGateway property. * * @param value * allowed object is * {@link String } * */ public void setIsInterfederationGateway(Boolean value) { this.isInterfederationGateway = value; } /** * Gets the value of the interfederationGateway property. * * @return * possible object is * {@link InterfederationGatewayType } * */ @ManyToOne(targetEntity = InterfederationGatewayType.class, cascade = { CascadeType.ALL }) public InterfederationGatewayType getInterfederationGateway() { return interfederationGateway; } /** * Sets the value of the interfederationGateway property. * * @param value * allowed object is * {@link InterfederationGatewayType } * */ public void setInterfederationGateway(InterfederationGatewayType value) { this.interfederationGateway = value; } /** * Gets the value of the authComponentOA property. * * @return * possible object is * {@link AuthComponentOA } * */ @ManyToOne(targetEntity = AuthComponentOA.class, cascade = { CascadeType.ALL }) public AuthComponentOA getAuthComponentOA() { return authComponentOA; } /** * Sets the value of the authComponentOA property. * * @param value * allowed object is * {@link AuthComponentOA } * */ public void setAuthComponentOA(AuthComponentOA value) { this.authComponentOA = 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; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof OnlineApplicationType)) { return false; } if (this == object) { return true; } final OnlineApplicationType that = ((OnlineApplicationType) object); { Boolean lhsIsNew; lhsIsNew = this.isIsNew(); Boolean rhsIsNew; rhsIsNew = that.isIsNew(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isNew", lhsIsNew), LocatorUtils.property(thatLocator, "isNew", rhsIsNew), lhsIsNew, rhsIsNew)) { return false; } } { Boolean lhsIsActive; lhsIsActive = this.isIsActive(); Boolean rhsIsActive; rhsIsActive = that.isIsActive(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isActive", lhsIsActive), LocatorUtils.property(thatLocator, "isActive", rhsIsActive), lhsIsActive, rhsIsActive)) { return false; } } { Boolean lhsIsAdminRequired; lhsIsAdminRequired = this.isIsAdminRequired(); Boolean rhsIsAdminRequired; rhsIsAdminRequired = that.isIsAdminRequired(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isAdminRequired", lhsIsAdminRequired), LocatorUtils.property(thatLocator, "isAdminRequired", rhsIsAdminRequired), lhsIsAdminRequired, rhsIsAdminRequired)) { return false; } } { Boolean lhsIsInterfederationIDP; lhsIsInterfederationIDP = this.isIsInterfederationIDP(); Boolean rhsIsInterfederationIDP; rhsIsInterfederationIDP = that.isIsInterfederationIDP(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isInterfederationIDP", lhsIsInterfederationIDP), LocatorUtils.property(thatLocator, "isInterfederationIDP", rhsIsInterfederationIDP), lhsIsInterfederationIDP, rhsIsInterfederationIDP)) { return false; } } { InterfederationIDPType lhsInterfederationIDP; lhsInterfederationIDP = this.getInterfederationIDP(); InterfederationIDPType rhsInterfederationIDP; rhsInterfederationIDP = that.getInterfederationIDP(); if (!strategy.equals(LocatorUtils.property(thisLocator, "interfederationIDP", lhsInterfederationIDP), LocatorUtils.property(thatLocator, "interfederationIDP", rhsInterfederationIDP), lhsInterfederationIDP, rhsInterfederationIDP)) { return false; } } { Boolean lhsIsInterfederationGateway; lhsIsInterfederationGateway = this.isIsInterfederationGateway(); Boolean rhsIsInterfederationGateway; rhsIsInterfederationGateway = that.isIsInterfederationGateway(); if (!strategy.equals(LocatorUtils.property(thisLocator, "isInterfederationGateway", lhsIsInterfederationGateway), LocatorUtils.property(thatLocator, "isInterfederationGateway", rhsIsInterfederationGateway), lhsIsInterfederationGateway, rhsIsInterfederationGateway)) { return false; } } { InterfederationGatewayType lhsInterfederationGateway; lhsInterfederationGateway = this.getInterfederationGateway(); InterfederationGatewayType rhsInterfederationGateway; rhsInterfederationGateway = that.getInterfederationGateway(); if (!strategy.equals(LocatorUtils.property(thisLocator, "interfederationGateway", lhsInterfederationGateway), LocatorUtils.property(thatLocator, "interfederationGateway", rhsInterfederationGateway), lhsInterfederationGateway, rhsInterfederationGateway)) { return false; } } { AuthComponentOA lhsAuthComponentOA; lhsAuthComponentOA = this.getAuthComponentOA(); AuthComponentOA rhsAuthComponentOA; rhsAuthComponentOA = that.getAuthComponentOA(); if (!strategy.equals(LocatorUtils.property(thisLocator, "authComponentOA", lhsAuthComponentOA), LocatorUtils.property(thatLocator, "authComponentOA", rhsAuthComponentOA), lhsAuthComponentOA, rhsAuthComponentOA)) { 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 theIsNew; theIsNew = this.isIsNew(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isNew", theIsNew), currentHashCode, theIsNew); } { Boolean theIsActive; theIsActive = this.isIsActive(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isActive", theIsActive), currentHashCode, theIsActive); } { Boolean theIsAdminRequired; theIsAdminRequired = this.isIsAdminRequired(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isAdminRequired", theIsAdminRequired), currentHashCode, theIsAdminRequired); } { Boolean theIsInterfederationIDP; theIsInterfederationIDP = this.isIsInterfederationIDP(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isInterfederationIDP", theIsInterfederationIDP), currentHashCode, theIsInterfederationIDP); } { InterfederationIDPType theInterfederationIDP; theInterfederationIDP = this.getInterfederationIDP(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "interfederationIDP", theInterfederationIDP), currentHashCode, theInterfederationIDP); } { Boolean theIsInterfederationGateway; theIsInterfederationGateway = this.isIsInterfederationGateway(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "isInterfederationGateway", theIsInterfederationGateway), currentHashCode, theIsInterfederationGateway); } { InterfederationGatewayType theInterfederationGateway; theInterfederationGateway = this.getInterfederationGateway(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "interfederationGateway", theInterfederationGateway), currentHashCode, theInterfederationGateway); } { AuthComponentOA theAuthComponentOA; theAuthComponentOA = this.getAuthComponentOA(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "authComponentOA", theAuthComponentOA), currentHashCode, theAuthComponentOA); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }