diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Configuration.java')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Configuration.java | 364 |
1 files changed, 0 insertions, 364 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Configuration.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Configuration.java deleted file mode 100644 index 364af076a..000000000 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Configuration.java +++ /dev/null @@ -1,364 +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.CascadeType; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; -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.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.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; - - -/** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="LoginType" type="{http://www.buergerkarte.at/namespaces/moaconfig#}LoginType"/> - * <element name="Binding" minOccurs="0"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="full"/> - * <enumeration value="userName"/> - * <enumeration value="none"/> - * </restriction> - * </simpleType> - * </element> - * <choice> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}ParamAuth"/> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}BasicAuth"/> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}HeaderAuth"/> - * </choice> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "loginType", - "binding", - "paramAuth", - "basicAuth", - "headerAuth" -}) -@XmlRootElement(name = "Configuration") -@Entity(name = "Configuration") -@Table(name = "CONFIGURATION") -@Inheritance(strategy = InheritanceType.JOINED) -public class Configuration - implements Serializable, Equals, HashCode -{ - - @XmlElement(name = "LoginType", required = true, defaultValue = "stateful") - protected LoginType loginType; - @XmlElement(name = "Binding") - protected String binding; - @XmlElement(name = "ParamAuth") - protected ParamAuth paramAuth; - @XmlElement(name = "BasicAuth") - protected BasicAuth basicAuth; - @XmlElement(name = "HeaderAuth") - protected HeaderAuth headerAuth; - @XmlAttribute(name = "Hjid") - protected Long hjid; - - /** - * Gets the value of the loginType property. - * - * @return - * possible object is - * {@link LoginType } - * - */ - @Basic - @Column(name = "LOGINTYPE", length = 255) - @Enumerated(EnumType.STRING) - public LoginType getLoginType() { - return loginType; - } - - /** - * Sets the value of the loginType property. - * - * @param value - * allowed object is - * {@link LoginType } - * - */ - public void setLoginType(LoginType value) { - this.loginType = value; - } - - /** - * Gets the value of the binding property. - * - * @return - * possible object is - * {@link String } - * - */ - @Basic - @Column(name = "BINDING") - public String getBinding() { - return binding; - } - - /** - * Sets the value of the binding property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBinding(String value) { - this.binding = value; - } - - /** - * Gets the value of the paramAuth property. - * - * @return - * possible object is - * {@link ParamAuth } - * - */ - @ManyToOne(targetEntity = ParamAuth.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "PARAMAUTH_CONFIGURATION_HJID") - public ParamAuth getParamAuth() { - return paramAuth; - } - - /** - * Sets the value of the paramAuth property. - * - * @param value - * allowed object is - * {@link ParamAuth } - * - */ - public void setParamAuth(ParamAuth value) { - this.paramAuth = value; - } - - /** - * Gets the value of the basicAuth property. - * - * @return - * possible object is - * {@link BasicAuth } - * - */ - @ManyToOne(targetEntity = BasicAuth.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "BASICAUTH_CONFIGURATION_HJID") - public BasicAuth getBasicAuth() { - return basicAuth; - } - - /** - * Sets the value of the basicAuth property. - * - * @param value - * allowed object is - * {@link BasicAuth } - * - */ - public void setBasicAuth(BasicAuth value) { - this.basicAuth = value; - } - - /** - * Gets the value of the headerAuth property. - * - * @return - * possible object is - * {@link HeaderAuth } - * - */ - @ManyToOne(targetEntity = HeaderAuth.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "HEADERAUTH_CONFIGURATION_HJID") - public HeaderAuth getHeaderAuth() { - return headerAuth; - } - - /** - * Sets the value of the headerAuth property. - * - * @param value - * allowed object is - * {@link HeaderAuth } - * - */ - public void setHeaderAuth(HeaderAuth value) { - this.headerAuth = value; - } - - /** - * Gets the value of the hjid property. - * - * @return - * possible object is - * {@link Long } - * - */ - @Id - @Column(name = "HJID") - @GeneratedValue(strategy = GenerationType.AUTO) - 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 Configuration)) { - return false; - } - if (this == object) { - return true; - } - final Configuration that = ((Configuration) object); - { - LoginType lhsLoginType; - lhsLoginType = this.getLoginType(); - LoginType rhsLoginType; - rhsLoginType = that.getLoginType(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "loginType", lhsLoginType), LocatorUtils.property(thatLocator, "loginType", rhsLoginType), lhsLoginType, rhsLoginType)) { - return false; - } - } - { - String lhsBinding; - lhsBinding = this.getBinding(); - String rhsBinding; - rhsBinding = that.getBinding(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "binding", lhsBinding), LocatorUtils.property(thatLocator, "binding", rhsBinding), lhsBinding, rhsBinding)) { - return false; - } - } - { - ParamAuth lhsParamAuth; - lhsParamAuth = this.getParamAuth(); - ParamAuth rhsParamAuth; - rhsParamAuth = that.getParamAuth(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "paramAuth", lhsParamAuth), LocatorUtils.property(thatLocator, "paramAuth", rhsParamAuth), lhsParamAuth, rhsParamAuth)) { - return false; - } - } - { - BasicAuth lhsBasicAuth; - lhsBasicAuth = this.getBasicAuth(); - BasicAuth rhsBasicAuth; - rhsBasicAuth = that.getBasicAuth(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "basicAuth", lhsBasicAuth), LocatorUtils.property(thatLocator, "basicAuth", rhsBasicAuth), lhsBasicAuth, rhsBasicAuth)) { - return false; - } - } - { - HeaderAuth lhsHeaderAuth; - lhsHeaderAuth = this.getHeaderAuth(); - HeaderAuth rhsHeaderAuth; - rhsHeaderAuth = that.getHeaderAuth(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "headerAuth", lhsHeaderAuth), LocatorUtils.property(thatLocator, "headerAuth", rhsHeaderAuth), lhsHeaderAuth, rhsHeaderAuth)) { - 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; - { - LoginType theLoginType; - theLoginType = this.getLoginType(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "loginType", theLoginType), currentHashCode, theLoginType); - } - { - String theBinding; - theBinding = this.getBinding(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "binding", theBinding), currentHashCode, theBinding); - } - { - ParamAuth theParamAuth; - theParamAuth = this.getParamAuth(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paramAuth", theParamAuth), currentHashCode, theParamAuth); - } - { - BasicAuth theBasicAuth; - theBasicAuth = this.getBasicAuth(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "basicAuth", theBasicAuth), currentHashCode, theBasicAuth); - } - { - HeaderAuth theHeaderAuth; - theHeaderAuth = this.getHeaderAuth(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "headerAuth", theHeaderAuth), currentHashCode, theHeaderAuth); - } - return currentHashCode; - } - - public int hashCode() { - final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; - return this.hashCode(null, strategy); - } - -} |