diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/SAMLSigningParameter.java')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/SAMLSigningParameter.java | 216 |
1 files changed, 0 insertions, 216 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/SAMLSigningParameter.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/SAMLSigningParameter.java deleted file mode 100644 index 685aa6299..000000000 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/SAMLSigningParameter.java +++ /dev/null @@ -1,216 +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.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.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="SignatureCreationParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}SignatureCreationParameterType"/> - * <element name="SignatureVerificationParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}SignatureVerificationParameterType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "signatureCreationParameter", - "signatureVerificationParameter" -}) -@XmlRootElement(name = "SAMLSigningParameter") -@Entity(name = "SAMLSigningParameter") -@Table(name = "SAMLSIGNINGPARAMETER") -@Inheritance(strategy = InheritanceType.JOINED) -public class SAMLSigningParameter - implements Serializable, Equals, HashCode -{ - - @XmlElement(name = "SignatureCreationParameter", required = true) - protected SignatureCreationParameterType signatureCreationParameter; - @XmlElement(name = "SignatureVerificationParameter", required = true) - protected SignatureVerificationParameterType signatureVerificationParameter; - @XmlAttribute(name = "Hjid") - protected Long hjid; - - /** - * Gets the value of the signatureCreationParameter property. - * - * @return - * possible object is - * {@link SignatureCreationParameterType } - * - */ - @ManyToOne(targetEntity = SignatureCreationParameterType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "SIGNATURECREATIONPARAMETER_S_0") - public SignatureCreationParameterType getSignatureCreationParameter() { - return signatureCreationParameter; - } - - /** - * Sets the value of the signatureCreationParameter property. - * - * @param value - * allowed object is - * {@link SignatureCreationParameterType } - * - */ - public void setSignatureCreationParameter(SignatureCreationParameterType value) { - this.signatureCreationParameter = value; - } - - /** - * Gets the value of the signatureVerificationParameter property. - * - * @return - * possible object is - * {@link SignatureVerificationParameterType } - * - */ - @ManyToOne(targetEntity = SignatureVerificationParameterType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "SIGNATUREVERIFICATIONPARAMET_1") - public SignatureVerificationParameterType getSignatureVerificationParameter() { - return signatureVerificationParameter; - } - - /** - * Sets the value of the signatureVerificationParameter property. - * - * @param value - * allowed object is - * {@link SignatureVerificationParameterType } - * - */ - public void setSignatureVerificationParameter(SignatureVerificationParameterType value) { - this.signatureVerificationParameter = 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 SAMLSigningParameter)) { - return false; - } - if (this == object) { - return true; - } - final SAMLSigningParameter that = ((SAMLSigningParameter) object); - { - SignatureCreationParameterType lhsSignatureCreationParameter; - lhsSignatureCreationParameter = this.getSignatureCreationParameter(); - SignatureCreationParameterType rhsSignatureCreationParameter; - rhsSignatureCreationParameter = that.getSignatureCreationParameter(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureCreationParameter", lhsSignatureCreationParameter), LocatorUtils.property(thatLocator, "signatureCreationParameter", rhsSignatureCreationParameter), lhsSignatureCreationParameter, rhsSignatureCreationParameter)) { - return false; - } - } - { - SignatureVerificationParameterType lhsSignatureVerificationParameter; - lhsSignatureVerificationParameter = this.getSignatureVerificationParameter(); - SignatureVerificationParameterType rhsSignatureVerificationParameter; - rhsSignatureVerificationParameter = that.getSignatureVerificationParameter(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureVerificationParameter", lhsSignatureVerificationParameter), LocatorUtils.property(thatLocator, "signatureVerificationParameter", rhsSignatureVerificationParameter), lhsSignatureVerificationParameter, rhsSignatureVerificationParameter)) { - 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; - { - SignatureCreationParameterType theSignatureCreationParameter; - theSignatureCreationParameter = this.getSignatureCreationParameter(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signatureCreationParameter", theSignatureCreationParameter), currentHashCode, theSignatureCreationParameter); - } - { - SignatureVerificationParameterType theSignatureVerificationParameter; - theSignatureVerificationParameter = this.getSignatureVerificationParameter(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signatureVerificationParameter", theSignatureVerificationParameter), currentHashCode, theSignatureVerificationParameter); - } - return currentHashCode; - } - - public int hashCode() { - final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; - return this.hashCode(null, strategy); - } - -} |