// // 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.Transient; 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.XmlTransient; 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; //import org.jvnet.hyperjaxb3.item.ItemUtils; /** *

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}TrustProfileID"/>
 *         <element name="VerifyTransformsInfoProfileID" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "trustProfileID", "verifyTransformsInfoProfileID" }) public class VerifyAuthBlock implements Serializable, Equals, HashCode { @XmlElement(name = "TrustProfileID", required = true) protected String trustProfileID; @XmlElement(name = "VerifyTransformsInfoProfileID") protected List verifyTransformsInfoProfileID; @XmlAttribute(name = "Hjid") protected Long hjid; // protected List verifyTransformsInfoProfileIDItems; @XmlTransient protected String TestTrustProfileID; /** * Gets the value of the trustProfileID property. * * @return * possible object is * {@link String } * */ public String getTrustProfileID() { return trustProfileID; } /** * Sets the value of the trustProfileID property. * * @param value * allowed object is * {@link String } * */ public void setTrustProfileID(String value) { this.trustProfileID = value; } /** * @return the testTrustProfileID */ public String getTestTrustProfileID() { return TestTrustProfileID; } /** * @param testTrustProfileID the testTrustProfileID to set */ public void setTestTrustProfileID(String testTrustProfileID) { TestTrustProfileID = testTrustProfileID; } /** * Gets the value of the verifyTransformsInfoProfileID 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 verifyTransformsInfoProfileID property. * *

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

     *    getVerifyTransformsInfoProfileID().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ @Transient public List getVerifyTransformsInfoProfileID() { if (verifyTransformsInfoProfileID == null) { verifyTransformsInfoProfileID = new ArrayList(); } return this.verifyTransformsInfoProfileID; } /** * * */ public void setVerifyTransformsInfoProfileID(List verifyTransformsInfoProfileID) { this.verifyTransformsInfoProfileID = verifyTransformsInfoProfileID; } /** * 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; } // @OneToMany(targetEntity = VerifyAuthBlockVerifyTransformsInfoProfileIDItem.class, cascade = { // CascadeType.ALL // }) // public List getVerifyTransformsInfoProfileIDItems() { // if (this.verifyTransformsInfoProfileIDItems == null) { // this.verifyTransformsInfoProfileIDItems = new ArrayList(); // } // if (ItemUtils.shouldBeWrapped(this.verifyTransformsInfoProfileID)) { // this.verifyTransformsInfoProfileID = ItemUtils.wrap(this.verifyTransformsInfoProfileID, this.verifyTransformsInfoProfileIDItems, VerifyAuthBlockVerifyTransformsInfoProfileIDItem.class); // } // return this.verifyTransformsInfoProfileIDItems; // } // // public void setVerifyTransformsInfoProfileIDItems(List value) { // this.verifyTransformsInfoProfileID = null; // this.verifyTransformsInfoProfileIDItems = null; // this.verifyTransformsInfoProfileIDItems = value; // if (this.verifyTransformsInfoProfileIDItems == null) { // this.verifyTransformsInfoProfileIDItems = new ArrayList(); // } // if (ItemUtils.shouldBeWrapped(this.verifyTransformsInfoProfileID)) { // this.verifyTransformsInfoProfileID = ItemUtils.wrap(this.verifyTransformsInfoProfileID, this.verifyTransformsInfoProfileIDItems, VerifyAuthBlockVerifyTransformsInfoProfileIDItem.class); // } // } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof VerifyAuthBlock)) { return false; } if (this == object) { return true; } final VerifyAuthBlock that = ((VerifyAuthBlock) object); { String lhsTrustProfileID; lhsTrustProfileID = this.getTrustProfileID(); String rhsTrustProfileID; rhsTrustProfileID = that.getTrustProfileID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "trustProfileID", lhsTrustProfileID), LocatorUtils.property(thatLocator, "trustProfileID", rhsTrustProfileID), lhsTrustProfileID, rhsTrustProfileID)) { return false; } } { List lhsVerifyTransformsInfoProfileID; lhsVerifyTransformsInfoProfileID = (((this.verifyTransformsInfoProfileID!= null)&&(!this.verifyTransformsInfoProfileID.isEmpty()))?this.getVerifyTransformsInfoProfileID():null); List rhsVerifyTransformsInfoProfileID; rhsVerifyTransformsInfoProfileID = (((that.verifyTransformsInfoProfileID!= null)&&(!that.verifyTransformsInfoProfileID.isEmpty()))?that.getVerifyTransformsInfoProfileID():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "verifyTransformsInfoProfileID", lhsVerifyTransformsInfoProfileID), LocatorUtils.property(thatLocator, "verifyTransformsInfoProfileID", rhsVerifyTransformsInfoProfileID), lhsVerifyTransformsInfoProfileID, rhsVerifyTransformsInfoProfileID)) { 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; { String theTrustProfileID; theTrustProfileID = this.getTrustProfileID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trustProfileID", theTrustProfileID), currentHashCode, theTrustProfileID); } { List theVerifyTransformsInfoProfileID; theVerifyTransformsInfoProfileID = (((this.verifyTransformsInfoProfileID!= null)&&(!this.verifyTransformsInfoProfileID.isEmpty()))?this.getVerifyTransformsInfoProfileID():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "verifyTransformsInfoProfileID", theVerifyTransformsInfoProfileID), currentHashCode, theVerifyTransformsInfoProfileID); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }