diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/TemplatesType.java')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/TemplatesType.java | 367 |
1 files changed, 0 insertions, 367 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/TemplatesType.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/TemplatesType.java deleted file mode 100644 index 1dc94e718..000000000 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/TemplatesType.java +++ /dev/null @@ -1,367 +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 java.util.ArrayList; -import java.util.List; -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.OneToMany; -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.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 TemplatesType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TemplatesType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Template" type="{http://www.buergerkarte.at/namespaces/moaconfig#}TemplateType" maxOccurs="3" minOccurs="0"/> - * <element name="AditionalAuthBlockText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="BKUSelectionCustomization" type="{http://www.buergerkarte.at/namespaces/moaconfig#}BKUSelectionCustomizationType" minOccurs="0"/> - * <element name="BKUSelectionTemplate" type="{http://www.buergerkarte.at/namespaces/moaconfig#}TransformsInfoType" minOccurs="0"/> - * <element name="SendAssertionTemplate" type="{http://www.buergerkarte.at/namespaces/moaconfig#}TransformsInfoType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TemplatesType", propOrder = { - "template", - "aditionalAuthBlockText", - "bkuSelectionCustomization", - "bkuSelectionTemplate", - "sendAssertionTemplate" -}) -@Entity(name = "TemplatesType") -@Table(name = "TEMPLATESTYPE") -@Inheritance(strategy = InheritanceType.JOINED) -public class TemplatesType - implements Serializable, Equals, HashCode -{ - - @XmlElement(name = "Template") - protected List<TemplateType> template; - @XmlElement(name = "AditionalAuthBlockText") - protected String aditionalAuthBlockText; - @XmlElement(name = "BKUSelectionCustomization") - protected BKUSelectionCustomizationType bkuSelectionCustomization; - @XmlElement(name = "BKUSelectionTemplate") - protected TransformsInfoType bkuSelectionTemplate; - @XmlElement(name = "SendAssertionTemplate") - protected TransformsInfoType sendAssertionTemplate; - @XmlAttribute(name = "Hjid") - protected Long hjid; - - /** - * Gets the value of the template property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the template property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getTemplate().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link TemplateType } - * - * - */ - @OneToMany(targetEntity = TemplateType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "TEMPLATE__TEMPLATESTYPE_HJID") - public List<TemplateType> getTemplate() { - if (template == null) { - template = new ArrayList<TemplateType>(); - } - return this.template; - } - - /** - * - * - */ - public void setTemplate(List<TemplateType> template) { - this.template = template; - } - - /** - * Gets the value of the aditionalAuthBlockText property. - * - * @return - * possible object is - * {@link String } - * - */ - @Basic - @Column(name = "ADITIONALAUTHBLOCKTEXT", length = 255) - public String getAditionalAuthBlockText() { - return aditionalAuthBlockText; - } - - /** - * Sets the value of the aditionalAuthBlockText property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAditionalAuthBlockText(String value) { - this.aditionalAuthBlockText = value; - } - - /** - * Gets the value of the bkuSelectionCustomization property. - * - * @return - * possible object is - * {@link BKUSelectionCustomizationType } - * - */ - @ManyToOne(targetEntity = BKUSelectionCustomizationType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "BKUSELECTIONCUSTOMIZATION_TE_0") - public BKUSelectionCustomizationType getBKUSelectionCustomization() { - return bkuSelectionCustomization; - } - - /** - * Sets the value of the bkuSelectionCustomization property. - * - * @param value - * allowed object is - * {@link BKUSelectionCustomizationType } - * - */ - public void setBKUSelectionCustomization(BKUSelectionCustomizationType value) { - this.bkuSelectionCustomization = value; - } - - /** - * Gets the value of the bkuSelectionTemplate property. - * - * @return - * possible object is - * {@link TransformsInfoType } - * - */ - @ManyToOne(targetEntity = TransformsInfoType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "BKUSELECTIONTEMPLATE_TEMPLAT_0") - public TransformsInfoType getBKUSelectionTemplate() { - return bkuSelectionTemplate; - } - - /** - * Sets the value of the bkuSelectionTemplate property. - * - * @param value - * allowed object is - * {@link TransformsInfoType } - * - */ - public void setBKUSelectionTemplate(TransformsInfoType value) { - this.bkuSelectionTemplate = value; - } - - /** - * Gets the value of the sendAssertionTemplate property. - * - * @return - * possible object is - * {@link TransformsInfoType } - * - */ - @ManyToOne(targetEntity = TransformsInfoType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "SENDASSERTIONTEMPLATE_TEMPLA_0") - public TransformsInfoType getSendAssertionTemplate() { - return sendAssertionTemplate; - } - - /** - * Sets the value of the sendAssertionTemplate property. - * - * @param value - * allowed object is - * {@link TransformsInfoType } - * - */ - public void setSendAssertionTemplate(TransformsInfoType value) { - this.sendAssertionTemplate = 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 TemplatesType)) { - return false; - } - if (this == object) { - return true; - } - final TemplatesType that = ((TemplatesType) object); - { - List<TemplateType> lhsTemplate; - lhsTemplate = (((this.template!= null)&&(!this.template.isEmpty()))?this.getTemplate():null); - List<TemplateType> rhsTemplate; - rhsTemplate = (((that.template!= null)&&(!that.template.isEmpty()))?that.getTemplate():null); - if (!strategy.equals(LocatorUtils.property(thisLocator, "template", lhsTemplate), LocatorUtils.property(thatLocator, "template", rhsTemplate), lhsTemplate, rhsTemplate)) { - return false; - } - } - { - String lhsAditionalAuthBlockText; - lhsAditionalAuthBlockText = this.getAditionalAuthBlockText(); - String rhsAditionalAuthBlockText; - rhsAditionalAuthBlockText = that.getAditionalAuthBlockText(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "aditionalAuthBlockText", lhsAditionalAuthBlockText), LocatorUtils.property(thatLocator, "aditionalAuthBlockText", rhsAditionalAuthBlockText), lhsAditionalAuthBlockText, rhsAditionalAuthBlockText)) { - return false; - } - } - { - BKUSelectionCustomizationType lhsBKUSelectionCustomization; - lhsBKUSelectionCustomization = this.getBKUSelectionCustomization(); - BKUSelectionCustomizationType rhsBKUSelectionCustomization; - rhsBKUSelectionCustomization = that.getBKUSelectionCustomization(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "bkuSelectionCustomization", lhsBKUSelectionCustomization), LocatorUtils.property(thatLocator, "bkuSelectionCustomization", rhsBKUSelectionCustomization), lhsBKUSelectionCustomization, rhsBKUSelectionCustomization)) { - return false; - } - } - { - TransformsInfoType lhsBKUSelectionTemplate; - lhsBKUSelectionTemplate = this.getBKUSelectionTemplate(); - TransformsInfoType rhsBKUSelectionTemplate; - rhsBKUSelectionTemplate = that.getBKUSelectionTemplate(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "bkuSelectionTemplate", lhsBKUSelectionTemplate), LocatorUtils.property(thatLocator, "bkuSelectionTemplate", rhsBKUSelectionTemplate), lhsBKUSelectionTemplate, rhsBKUSelectionTemplate)) { - return false; - } - } - { - TransformsInfoType lhsSendAssertionTemplate; - lhsSendAssertionTemplate = this.getSendAssertionTemplate(); - TransformsInfoType rhsSendAssertionTemplate; - rhsSendAssertionTemplate = that.getSendAssertionTemplate(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "sendAssertionTemplate", lhsSendAssertionTemplate), LocatorUtils.property(thatLocator, "sendAssertionTemplate", rhsSendAssertionTemplate), lhsSendAssertionTemplate, rhsSendAssertionTemplate)) { - 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; - { - List<TemplateType> theTemplate; - theTemplate = (((this.template!= null)&&(!this.template.isEmpty()))?this.getTemplate():null); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "template", theTemplate), currentHashCode, theTemplate); - } - { - String theAditionalAuthBlockText; - theAditionalAuthBlockText = this.getAditionalAuthBlockText(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "aditionalAuthBlockText", theAditionalAuthBlockText), currentHashCode, theAditionalAuthBlockText); - } - { - BKUSelectionCustomizationType theBKUSelectionCustomization; - theBKUSelectionCustomization = this.getBKUSelectionCustomization(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bkuSelectionCustomization", theBKUSelectionCustomization), currentHashCode, theBKUSelectionCustomization); - } - { - TransformsInfoType theBKUSelectionTemplate; - theBKUSelectionTemplate = this.getBKUSelectionTemplate(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bkuSelectionTemplate", theBKUSelectionTemplate), currentHashCode, theBKUSelectionTemplate); - } - { - TransformsInfoType theSendAssertionTemplate; - theSendAssertionTemplate = this.getSendAssertionTemplate(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sendAssertionTemplate", theSendAssertionTemplate), currentHashCode, theSendAssertionTemplate); - } - return currentHashCode; - } - - public int hashCode() { - final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; - return this.hashCode(null, strategy); - } - -} |