aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OnlineApplication.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/OnlineApplication.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OnlineApplication.java509
1 files changed, 0 insertions, 509 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OnlineApplication.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OnlineApplication.java
deleted file mode 100644
index b71428782..000000000
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/OnlineApplication.java
+++ /dev/null
@@ -1,509 +0,0 @@
-//
-// 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 javax.persistence.Basic;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EnumType;
-import javax.persistence.Enumerated;
-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.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
-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 OnlineApplication complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * &lt;complexType name="OnlineApplication">
- * &lt;complexContent>
- * &lt;extension base="{http://www.buergerkarte.at/namespaces/moaconfig#}OnlineApplicationType">
- * &lt;attribute name="publicURLPrefix" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
- * &lt;attribute name="keyBoxIdentifier" type="{http://www.buergerkarte.at/namespaces/moaconfig#}MOAKeyBoxSelector" default="SecureSignatureKeypair" />
- * &lt;attribute name="type" default="publicService">
- * &lt;simpleType>
- * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
- * &lt;enumeration value="businessService"/>
- * &lt;enumeration value="publicService"/>
- * &lt;enumeration value="storkService"/>
- * &lt;/restriction>
- * &lt;/simpleType>
- * &lt;/attribute>
- * &lt;attribute name="calculateHPI" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * &lt;attribute name="friendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
- * &lt;attribute name="target" type="{http://www.w3.org/2001/XMLSchema}string" />
- * &lt;attribute name="targetFriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
- * &lt;attribute name="storkSPTargetCountry" type="{http://www.w3.org/2001/XMLSchema}string" />
- * &lt;attribute name="removeBPKFromAuthBlock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- * &lt;/extension>
- * &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "OnlineApplication")
-@Entity(name = "OnlineApplication")
-@Table(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;
-
- /**
- * Gets the value of the publicURLPrefix property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Basic
- @Column(name = "PUBLICURLPREFIX")
- 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 }
- *
- */
- @Basic
- @Column(name = "KEYBOXIDENTIFIER", length = 255)
- @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 }
- *
- */
- @Basic
- @Column(name = "TYPE_")
- 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 }
- *
- */
- @Basic
- @Column(name = "CALCULATEHPI")
- 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 }
- *
- */
- @Basic
- @Column(name = "FRIENDLYNAME", length = 255)
- 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 }
- *
- */
- @Basic
- @Column(name = "TARGET", length = 255)
- 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 }
- *
- */
- @Basic
- @Column(name = "TARGETFRIENDLYNAME", length = 255)
- 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 }
- *
- */
- @Basic
- @Column(name = "STORKSPTARGETCOUNTRY", length = 255)
- 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 }
- *
- */
- @Basic
- @Column(name = "REMOVEBPKFROMAUTHBLOCK")
- 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);
- }
-
-}