// // 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.EnumType; import javax.persistence.Enumerated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 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 OnlineApplication complex type. * *

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

 * <complexType name="OnlineApplication">
 *   <complexContent>
 *     <extension base="{http://www.buergerkarte.at/namespaces/moaconfig#}OnlineApplicationType">
 *       <attribute name="publicURLPrefix" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *       <attribute name="keyBoxIdentifier" type="{http://www.buergerkarte.at/namespaces/moaconfig#}MOAKeyBoxSelector" default="SecureSignatureKeypair" />
 *       <attribute name="type" default="publicService">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *             <enumeration value="businessService"/>
 *             <enumeration value="publicService"/>
 *             <enumeration value="storkService"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="calculateHPI" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="friendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="targetFriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="storkSPTargetCountry" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="removeBPKFromAuthBlock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OnlineApplication") public class OnlineApplication extends OnlineApplicationType implements Serializable, Equals, HashCode { @XmlAttribute(name = "publicURLPrefix", required = true) @XmlSchemaType(name = "anyURI") protected String publicURLPrefix; @XmlAttribute(name = "keyBoxIdentifier") protected MOAKeyBoxSelector keyBoxIdentifier; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @XmlAttribute(name = "calculateHPI") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean calculateHPI; @XmlAttribute(name = "friendlyName") protected String friendlyName; @XmlAttribute(name = "target") protected String target; @XmlAttribute(name = "targetFriendlyName") protected String targetFriendlyName; @XmlAttribute(name = "storkSPTargetCountry") protected String storkSPTargetCountry; @XmlAttribute(name = "removeBPKFromAuthBlock") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean removeBPKFromAuthBlock; @XmlTransient protected Boolean isRevisionsLogActive = false; @XmlTransient protected String eventCodes = null; @XmlTransient protected String selectedSZRGWServiceURL = null; @XmlTransient protected String saml2PostBindingTemplateURL = null; @XmlTransient protected String mandateServiceSelectionTemplateURL = null; @XmlTransient protected String foreignbPKTargetList = null; @XmlTransient protected String additionalbPKTargetList = null; @XmlTransient protected Boolean iseIDDemoModeActive = false; public String getForeignbPKTargetList() { return foreignbPKTargetList; } public void setForeignbPKTargetList(String foreignbPKTargetList) { this.foreignbPKTargetList = foreignbPKTargetList; } public String getAdditionalbPKTargetList() { return additionalbPKTargetList; } public void setAdditionalbPKTargetList(String additionalbPKTargetList) { this.additionalbPKTargetList = additionalbPKTargetList; } public Boolean getIseIDDemoModeActive() { return iseIDDemoModeActive; } public void setIseIDDemoModeActive(Boolean iseIDDemoModeActive) { this.iseIDDemoModeActive = iseIDDemoModeActive; } /** * @return the saml2PostBindingTemplateURL */ public String getSaml2PostBindingTemplateURL() { return saml2PostBindingTemplateURL; } /** * @param saml2PostBindingTemplateURL the saml2PostBindingTemplateURL to set */ public void setSaml2PostBindingTemplateURL(String saml2PostBindingTemplateURL) { this.saml2PostBindingTemplateURL = saml2PostBindingTemplateURL; } /** * @return the mandateServiceSelectionTemplateURL */ public String getMandateServiceSelectionTemplateURL() { return mandateServiceSelectionTemplateURL; } /** * @param mandateServiceSelectionTemplateURL the mandateServiceSelectionTemplateURL to set */ public void setMandateServiceSelectionTemplateURL(String mandateServiceSelectionTemplateURL) { this.mandateServiceSelectionTemplateURL = mandateServiceSelectionTemplateURL; } /** * @return the selectedSZRGWServiceURL */ public String getSelectedSZRGWServiceURL() { return selectedSZRGWServiceURL; } /** * @param selectedSZRGWServiceURL the selectedSZRGWServiceURL to set */ public void setSelectedSZRGWServiceURL(String selectedSZRGWServiceURL) { this.selectedSZRGWServiceURL = selectedSZRGWServiceURL; } /** * @return the isRevisionsLogActive */ public Boolean getIsRevisionsLogActive() { return isRevisionsLogActive; } /** * @param isRevisionsLogActive the isRevisionsLogActive to set */ public void setIsRevisionsLogActive(Boolean isRevisionsLogActive) { this.isRevisionsLogActive = isRevisionsLogActive; } /** * @return the eventCodes */ public String getEventCodes() { return eventCodes; } /** * @param eventCodes the eventCodes to set */ public void setEventCodes(String eventCodes) { this.eventCodes = eventCodes; } /** * Gets the value of the publicURLPrefix property. * * @return * possible object is * {@link String } * */ public String getPublicURLPrefix() { return publicURLPrefix; } /** * Sets the value of the publicURLPrefix property. * * @param value * allowed object is * {@link String } * */ public void setPublicURLPrefix(String value) { this.publicURLPrefix = value; } /** * Gets the value of the keyBoxIdentifier property. * * @return * possible object is * {@link MOAKeyBoxSelector } * */ @Enumerated(EnumType.STRING) public MOAKeyBoxSelector getKeyBoxIdentifier() { if (keyBoxIdentifier == null) { return MOAKeyBoxSelector.SECURE_SIGNATURE_KEYPAIR; } else { return keyBoxIdentifier; } } /** * Sets the value of the keyBoxIdentifier property. * * @param value * allowed object is * {@link MOAKeyBoxSelector } * */ public void setKeyBoxIdentifier(MOAKeyBoxSelector value) { this.keyBoxIdentifier = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "publicService"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the calculateHPI property. * * @return * possible object is * {@link String } * */ public boolean isCalculateHPI() { if (calculateHPI == null) { return new ZeroOneBooleanAdapter().unmarshal("false"); } else { return calculateHPI; } } /** * Sets the value of the calculateHPI property. * * @param value * allowed object is * {@link String } * */ public void setCalculateHPI(Boolean value) { this.calculateHPI = value; } /** * Gets the value of the friendlyName property. * * @return * possible object is * {@link String } * */ public String getFriendlyName() { return friendlyName; } /** * Sets the value of the friendlyName property. * * @param value * allowed object is * {@link String } * */ public void setFriendlyName(String value) { this.friendlyName = value; } /** * Gets the value of the target property. * * @return * possible object is * {@link String } * */ public String getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link String } * */ public void setTarget(String value) { this.target = value; } /** * Gets the value of the targetFriendlyName property. * * @return * possible object is * {@link String } * */ public String getTargetFriendlyName() { return targetFriendlyName; } /** * Sets the value of the targetFriendlyName property. * * @param value * allowed object is * {@link String } * */ public void setTargetFriendlyName(String value) { this.targetFriendlyName = value; } /** * Gets the value of the storkSPTargetCountry property. * * @return * possible object is * {@link String } * */ public String getStorkSPTargetCountry() { return storkSPTargetCountry; } /** * Sets the value of the storkSPTargetCountry property. * * @param value * allowed object is * {@link String } * */ public void setStorkSPTargetCountry(String value) { this.storkSPTargetCountry = value; } /** * Gets the value of the removeBPKFromAuthBlock property. * * @return * possible object is * {@link String } * */ public boolean isRemoveBPKFromAuthBlock() { if (removeBPKFromAuthBlock == null) { return new ZeroOneBooleanAdapter().unmarshal("false"); } else { return removeBPKFromAuthBlock; } } /** * Sets the value of the removeBPKFromAuthBlock property. * * @param value * allowed object is * {@link String } * */ public void setRemoveBPKFromAuthBlock(Boolean value) { this.removeBPKFromAuthBlock = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof OnlineApplication)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final OnlineApplication that = ((OnlineApplication) object); { String lhsPublicURLPrefix; lhsPublicURLPrefix = this.getPublicURLPrefix(); String rhsPublicURLPrefix; rhsPublicURLPrefix = that.getPublicURLPrefix(); if (!strategy.equals(LocatorUtils.property(thisLocator, "publicURLPrefix", lhsPublicURLPrefix), LocatorUtils.property(thatLocator, "publicURLPrefix", rhsPublicURLPrefix), lhsPublicURLPrefix, rhsPublicURLPrefix)) { return false; } } { MOAKeyBoxSelector lhsKeyBoxIdentifier; lhsKeyBoxIdentifier = this.getKeyBoxIdentifier(); MOAKeyBoxSelector rhsKeyBoxIdentifier; rhsKeyBoxIdentifier = that.getKeyBoxIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "keyBoxIdentifier", lhsKeyBoxIdentifier), LocatorUtils.property(thatLocator, "keyBoxIdentifier", rhsKeyBoxIdentifier), lhsKeyBoxIdentifier, rhsKeyBoxIdentifier)) { return false; } } { String lhsType; lhsType = this.getType(); String rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType)) { return false; } } { boolean lhsCalculateHPI; lhsCalculateHPI = ((this.calculateHPI!= null)?this.isCalculateHPI():false); boolean rhsCalculateHPI; rhsCalculateHPI = ((that.calculateHPI!= null)?that.isCalculateHPI():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "calculateHPI", lhsCalculateHPI), LocatorUtils.property(thatLocator, "calculateHPI", rhsCalculateHPI), lhsCalculateHPI, rhsCalculateHPI)) { return false; } } { String lhsFriendlyName; lhsFriendlyName = this.getFriendlyName(); String rhsFriendlyName; rhsFriendlyName = that.getFriendlyName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "friendlyName", lhsFriendlyName), LocatorUtils.property(thatLocator, "friendlyName", rhsFriendlyName), lhsFriendlyName, rhsFriendlyName)) { return false; } } { String lhsTarget; lhsTarget = this.getTarget(); String rhsTarget; rhsTarget = that.getTarget(); if (!strategy.equals(LocatorUtils.property(thisLocator, "target", lhsTarget), LocatorUtils.property(thatLocator, "target", rhsTarget), lhsTarget, rhsTarget)) { return false; } } { String lhsTargetFriendlyName; lhsTargetFriendlyName = this.getTargetFriendlyName(); String rhsTargetFriendlyName; rhsTargetFriendlyName = that.getTargetFriendlyName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetFriendlyName", lhsTargetFriendlyName), LocatorUtils.property(thatLocator, "targetFriendlyName", rhsTargetFriendlyName), lhsTargetFriendlyName, rhsTargetFriendlyName)) { return false; } } { String lhsStorkSPTargetCountry; lhsStorkSPTargetCountry = this.getStorkSPTargetCountry(); String rhsStorkSPTargetCountry; rhsStorkSPTargetCountry = that.getStorkSPTargetCountry(); if (!strategy.equals(LocatorUtils.property(thisLocator, "storkSPTargetCountry", lhsStorkSPTargetCountry), LocatorUtils.property(thatLocator, "storkSPTargetCountry", rhsStorkSPTargetCountry), lhsStorkSPTargetCountry, rhsStorkSPTargetCountry)) { return false; } } { boolean lhsRemoveBPKFromAuthBlock; lhsRemoveBPKFromAuthBlock = ((this.removeBPKFromAuthBlock!= null)?this.isRemoveBPKFromAuthBlock():false); boolean rhsRemoveBPKFromAuthBlock; rhsRemoveBPKFromAuthBlock = ((that.removeBPKFromAuthBlock!= null)?that.isRemoveBPKFromAuthBlock():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "removeBPKFromAuthBlock", lhsRemoveBPKFromAuthBlock), LocatorUtils.property(thatLocator, "removeBPKFromAuthBlock", rhsRemoveBPKFromAuthBlock), lhsRemoveBPKFromAuthBlock, rhsRemoveBPKFromAuthBlock)) { 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 = super.hashCode(locator, strategy); { String thePublicURLPrefix; thePublicURLPrefix = this.getPublicURLPrefix(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publicURLPrefix", thePublicURLPrefix), currentHashCode, thePublicURLPrefix); } { MOAKeyBoxSelector theKeyBoxIdentifier; theKeyBoxIdentifier = this.getKeyBoxIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyBoxIdentifier", theKeyBoxIdentifier), currentHashCode, theKeyBoxIdentifier); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } { boolean theCalculateHPI; theCalculateHPI = ((this.calculateHPI!= null)?this.isCalculateHPI():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "calculateHPI", theCalculateHPI), currentHashCode, theCalculateHPI); } { String theFriendlyName; theFriendlyName = this.getFriendlyName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "friendlyName", theFriendlyName), currentHashCode, theFriendlyName); } { String theTarget; theTarget = this.getTarget(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "target", theTarget), currentHashCode, theTarget); } { String theTargetFriendlyName; theTargetFriendlyName = this.getTargetFriendlyName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetFriendlyName", theTargetFriendlyName), currentHashCode, theTargetFriendlyName); } { String theStorkSPTargetCountry; theStorkSPTargetCountry = this.getStorkSPTargetCountry(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "storkSPTargetCountry", theStorkSPTargetCountry), currentHashCode, theStorkSPTargetCountry); } { boolean theRemoveBPKFromAuthBlock; theRemoveBPKFromAuthBlock = ((this.removeBPKFromAuthBlock!= null)?this.isRemoveBPKFromAuthBlock():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "removeBPKFromAuthBlock", theRemoveBPKFromAuthBlock), currentHashCode, theRemoveBPKFromAuthBlock); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }