// // 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 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; /** *

Java class for TemplatesType complex type. * *

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

 * <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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TemplatesType", propOrder = { "template", "aditionalAuthBlockText", "bkuSelectionCustomization", "bkuSelectionTemplate", "sendAssertionTemplate" }) public class TemplatesType implements Serializable, Equals, HashCode { @XmlElement(name = "Template") protected List 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. * *

* 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 set method for the template property. * *

* For example, to add a new item, do as follows: *

     *    getTemplate().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TemplateType } * * */ @OneToMany(targetEntity = TemplateType.class, cascade = { CascadeType.ALL }) public List getTemplate() { if (template == null) { template = new ArrayList(); } return this.template; } /** * * */ public void setTemplate(List template) { this.template = template; } /** * Gets the value of the aditionalAuthBlockText property. * * @return * possible object is * {@link String } * */ 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 }) 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 }) 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 }) 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 } * */ 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 lhsTemplate; lhsTemplate = (((this.template!= null)&&(!this.template.isEmpty()))?this.getTemplate():null); List 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 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); } }