// // 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 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.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.XmlSchemaType; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import com.sun.tools.xjc.runtime.ZeroOneBooleanAdapter; 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 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 name="TimeOuts">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Assertion" type="{http://www.w3.org/2001/XMLSchema}integer"/>
 *                   <element name="MOASessionCreated" type="{http://www.w3.org/2001/XMLSchema}integer"/>
 *                   <element name="MOASessionUpdated" type="{http://www.w3.org/2001/XMLSchema}integer"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="AlternativeSourceID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="CertStoreDirectory" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *         <element name="TrustManagerRevocationChecking" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="PublicURLPreFix" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "timeOuts", "alternativeSourceID", "certStoreDirectory", "trustManagerRevocationChecking", "publicURLPreFix" }) @XmlRootElement(name = "GeneralConfiguration") public class GeneralConfiguration implements Serializable, Equals, HashCode { @XmlElement(name = "TimeOuts", required = true) protected TimeOuts timeOuts; @XmlElement(name = "AlternativeSourceID", required = true) protected String alternativeSourceID; @XmlElement(name = "CertStoreDirectory", required = true) @XmlSchemaType(name = "anyURI") protected String certStoreDirectory; @XmlElement(name = "TrustManagerRevocationChecking", required = true, type = String.class, defaultValue = "true") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean trustManagerRevocationChecking; @XmlElement(name = "PublicURLPreFix", required = true) protected String publicURLPreFix; @XmlAttribute(name = "Hjid") protected Long hjid; @XmlTransient protected boolean virtualPublicURLPrefixEnabled = false; /** * Gets the value of the timeOuts property. * * @return * possible object is * {@link TimeOuts } * */ @ManyToOne(targetEntity = TimeOuts.class, cascade = { CascadeType.ALL }) public TimeOuts getTimeOuts() { return timeOuts; } /** * Sets the value of the timeOuts property. * * @param value * allowed object is * {@link TimeOuts } * */ public void setTimeOuts(TimeOuts value) { this.timeOuts = value; } /** * Gets the value of the alternativeSourceID property. * * @return * possible object is * {@link String } * */ public String getAlternativeSourceID() { return alternativeSourceID; } /** * Sets the value of the alternativeSourceID property. * * @param value * allowed object is * {@link String } * */ public void setAlternativeSourceID(String value) { this.alternativeSourceID = value; } /** * Gets the value of the certStoreDirectory property. * * @return * possible object is * {@link String } * */ public String getCertStoreDirectory() { return certStoreDirectory; } /** * Sets the value of the certStoreDirectory property. * * @param value * allowed object is * {@link String } * */ public void setCertStoreDirectory(String value) { this.certStoreDirectory = value; } /** * Gets the value of the trustManagerRevocationChecking property. * * @return * possible object is * {@link String } * */ public Boolean isTrustManagerRevocationChecking() { return trustManagerRevocationChecking; } /** * Sets the value of the trustManagerRevocationChecking property. * * @param value * allowed object is * {@link String } * */ public void setTrustManagerRevocationChecking(Boolean value) { this.trustManagerRevocationChecking = value; } /** * Gets the value of the publicURLPreFix property. * * @return * possible object is * {@link String } * */ public String getPublicURLPreFix() { return publicURLPreFix; } /** * Sets the value of the publicURLPreFix property. * * @param value * allowed object is * {@link String } * */ public void setPublicURLPreFix(String value) { this.publicURLPreFix = 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 GeneralConfiguration)) { return false; } if (this == object) { return true; } final GeneralConfiguration that = ((GeneralConfiguration) object); { TimeOuts lhsTimeOuts; lhsTimeOuts = this.getTimeOuts(); TimeOuts rhsTimeOuts; rhsTimeOuts = that.getTimeOuts(); if (!strategy.equals(LocatorUtils.property(thisLocator, "timeOuts", lhsTimeOuts), LocatorUtils.property(thatLocator, "timeOuts", rhsTimeOuts), lhsTimeOuts, rhsTimeOuts)) { return false; } } { String lhsAlternativeSourceID; lhsAlternativeSourceID = this.getAlternativeSourceID(); String rhsAlternativeSourceID; rhsAlternativeSourceID = that.getAlternativeSourceID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "alternativeSourceID", lhsAlternativeSourceID), LocatorUtils.property(thatLocator, "alternativeSourceID", rhsAlternativeSourceID), lhsAlternativeSourceID, rhsAlternativeSourceID)) { return false; } } { String lhsCertStoreDirectory; lhsCertStoreDirectory = this.getCertStoreDirectory(); String rhsCertStoreDirectory; rhsCertStoreDirectory = that.getCertStoreDirectory(); if (!strategy.equals(LocatorUtils.property(thisLocator, "certStoreDirectory", lhsCertStoreDirectory), LocatorUtils.property(thatLocator, "certStoreDirectory", rhsCertStoreDirectory), lhsCertStoreDirectory, rhsCertStoreDirectory)) { return false; } } { Boolean lhsTrustManagerRevocationChecking; lhsTrustManagerRevocationChecking = this.isTrustManagerRevocationChecking(); Boolean rhsTrustManagerRevocationChecking; rhsTrustManagerRevocationChecking = that.isTrustManagerRevocationChecking(); if (!strategy.equals(LocatorUtils.property(thisLocator, "trustManagerRevocationChecking", lhsTrustManagerRevocationChecking), LocatorUtils.property(thatLocator, "trustManagerRevocationChecking", rhsTrustManagerRevocationChecking), lhsTrustManagerRevocationChecking, rhsTrustManagerRevocationChecking)) { return false; } } { String lhsPublicURLPreFix; lhsPublicURLPreFix = this.getPublicURLPreFix(); String rhsPublicURLPreFix; rhsPublicURLPreFix = that.getPublicURLPreFix(); if (!strategy.equals(LocatorUtils.property(thisLocator, "publicURLPreFix", lhsPublicURLPreFix), LocatorUtils.property(thatLocator, "publicURLPreFix", rhsPublicURLPreFix), lhsPublicURLPreFix, rhsPublicURLPreFix)) { return false; } } return true; } /** * @return the virtualPublicURLPrefixEnabled */ public boolean isVirtualPublicURLPrefixEnabled() { return virtualPublicURLPrefixEnabled; } /** * @param virtualPublicURLPrefixEnabled the virtualPublicURLPrefixEnabled to set */ public void setVirtualPublicURLPrefixEnabled( boolean virtualPublicURLPrefixEnabled) { this.virtualPublicURLPrefixEnabled = virtualPublicURLPrefixEnabled; } 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; { TimeOuts theTimeOuts; theTimeOuts = this.getTimeOuts(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timeOuts", theTimeOuts), currentHashCode, theTimeOuts); } { String theAlternativeSourceID; theAlternativeSourceID = this.getAlternativeSourceID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "alternativeSourceID", theAlternativeSourceID), currentHashCode, theAlternativeSourceID); } { String theCertStoreDirectory; theCertStoreDirectory = this.getCertStoreDirectory(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "certStoreDirectory", theCertStoreDirectory), currentHashCode, theCertStoreDirectory); } { Boolean theTrustManagerRevocationChecking; theTrustManagerRevocationChecking = this.isTrustManagerRevocationChecking(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trustManagerRevocationChecking", theTrustManagerRevocationChecking), currentHashCode, theTrustManagerRevocationChecking); } { String thePublicURLPreFix; thePublicURLPreFix = this.getPublicURLPreFix(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publicURLPreFix", thePublicURLPreFix), currentHashCode, thePublicURLPreFix); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }