//
// 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.CascadeType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
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;
/**
*
The following schema fragment specifies the expected content contained within this class.
*
*
transformsInfo;
@XmlElement(name = "Mandates")
protected Mandates mandates;
protected TestCredentials testCredentials;
@XmlElement(name = "OA_STORK")
protected OASTORK oastork;
@XmlElement(name = "OA_SSO")
protected OASSO oasso;
@XmlElement(name = "OA_SAML1")
protected OASAML1 oasaml1;
@XmlElement(name = "OA_PVP2")
protected OAPVP2 oapvp2;
@XmlElement(name = "OA_OAUTH20")
protected OAOAUTH20 oaoauth20;
@XmlElement(name = "EncBPKInformation")
protected EncBPKInformation encBPKInformation;
@XmlAttribute(name = "Hjid")
protected Long hjid;
@XmlTransient
protected Boolean sl20Active;
@XmlTransient
protected String sl20EndPoints;
/**
* Gets the value of the bkuurls property.
*
* @return
* possible object is
* {@link BKUURLS }
*
*/
@ManyToOne(targetEntity = BKUURLS.class, cascade = {
CascadeType.ALL
})
public BKUURLS getBKUURLS() {
return bkuurls;
}
/**
* Sets the value of the bkuurls property.
*
* @param value
* allowed object is
* {@link BKUURLS }
*
*/
public void setBKUURLS(BKUURLS value) {
this.bkuurls = value;
}
/**
* Gets the value of the identificationNumber property.
*
* @return
* possible object is
* {@link IdentificationNumber }
*
*/
@ManyToOne(targetEntity = IdentificationNumber.class, cascade = {
CascadeType.ALL
})
public IdentificationNumber getIdentificationNumber() {
return identificationNumber;
}
/**
* Sets the value of the identificationNumber property.
*
* @param value
* allowed object is
* {@link IdentificationNumber }
*
*/
public void setIdentificationNumber(IdentificationNumber value) {
this.identificationNumber = value;
}
/**
* Gets the value of the templates property.
*
* @return
* possible object is
* {@link TemplatesType }
*
*/
@ManyToOne(targetEntity = TemplatesType.class, cascade = {
CascadeType.ALL
})
public TemplatesType getTemplates() {
return templates;
}
/**
* Sets the value of the templates property.
*
* @param value
* allowed object is
* {@link TemplatesType }
*
*/
public void setTemplates(TemplatesType value) {
this.templates = value;
}
/**
* Gets the value of the transformsInfo 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 transformsInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getTransformsInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransformsInfoType }
*
*
*/
@OneToMany(targetEntity = TransformsInfoType.class, cascade = {
CascadeType.ALL
})
public List getTransformsInfo() {
if (transformsInfo == null) {
transformsInfo = new ArrayList();
}
return this.transformsInfo;
}
/**
*
*
*/
public void setTransformsInfo(List transformsInfo) {
this.transformsInfo = transformsInfo;
}
/**
* Gets the value of the mandates property.
*
* @return
* possible object is
* {@link Mandates }
*
*/
@ManyToOne(targetEntity = Mandates.class, cascade = {
CascadeType.ALL
})
public Mandates getMandates() {
return mandates;
}
/**
* Sets the value of the mandates property.
*
* @param value
* allowed object is
* {@link Mandates }
*
*/
public void setMandates(Mandates value) {
this.mandates = value;
}
/**
* Gets the value of the testCredentials property.
*
* @return
* possible object is
* {@link TestCredentials }
*
*/
@ManyToOne(targetEntity = TestCredentials.class, cascade = {
CascadeType.ALL
})
public TestCredentials getTestCredentials() {
return testCredentials;
}
/**
* Sets the value of the testCredentials property.
*
* @param value
* allowed object is
* {@link TestCredentials }
*
*/
public void setTestCredentials(TestCredentials value) {
this.testCredentials = value;
}
/**
* Gets the value of the oastork property.
*
* @return
* possible object is
* {@link OASTORK }
*
*/
@ManyToOne(targetEntity = OASTORK.class, cascade = {
CascadeType.ALL
})
public OASTORK getOASTORK() {
return oastork;
}
/**
* Sets the value of the oastork property.
*
* @param value
* allowed object is
* {@link OASTORK }
*
*/
public void setOASTORK(OASTORK value) {
this.oastork = value;
}
/**
* Gets the value of the oasso property.
*
* @return
* possible object is
* {@link OASSO }
*
*/
@ManyToOne(targetEntity = OASSO.class, cascade = {
CascadeType.ALL
})
public OASSO getOASSO() {
return oasso;
}
/**
* Sets the value of the oasso property.
*
* @param value
* allowed object is
* {@link OASSO }
*
*/
public void setOASSO(OASSO value) {
this.oasso = value;
}
/**
* Gets the value of the oasaml1 property.
*
* @return
* possible object is
* {@link OASAML1 }
*
*/
@ManyToOne(targetEntity = OASAML1 .class, cascade = {
CascadeType.ALL
})
public OASAML1 getOASAML1() {
return oasaml1;
}
/**
* Sets the value of the oasaml1 property.
*
* @param value
* allowed object is
* {@link OASAML1 }
*
*/
public void setOASAML1(OASAML1 value) {
this.oasaml1 = value;
}
/**
* Gets the value of the oapvp2 property.
*
* @return
* possible object is
* {@link OAPVP2 }
*
*/
@ManyToOne(targetEntity = OAPVP2 .class, cascade = {
CascadeType.ALL
})
public OAPVP2 getOAPVP2() {
return oapvp2;
}
/**
* Sets the value of the oapvp2 property.
*
* @param value
* allowed object is
* {@link OAPVP2 }
*
*/
public void setOAPVP2(OAPVP2 value) {
this.oapvp2 = value;
}
/**
* Gets the value of the oaoauth20 property.
*
* @return
* possible object is
* {@link OAOAUTH20 }
*
*/
@ManyToOne(targetEntity = OAOAUTH20 .class, cascade = {
CascadeType.ALL
})
public OAOAUTH20 getOAOAUTH20() {
return oaoauth20;
}
/**
* Sets the value of the oaoauth20 property.
*
* @param value
* allowed object is
* {@link OAOAUTH20 }
*
*/
public void setOAOAUTH20(OAOAUTH20 value) {
this.oaoauth20 = value;
}
/**
* Gets the value of the encBPKInformation property.
*
* @return
* possible object is
* {@link EncBPKInformation }
*
*/
@ManyToOne(targetEntity = EncBPKInformation.class, cascade = {
CascadeType.ALL
})
public EncBPKInformation getEncBPKInformation() {
return encBPKInformation;
}
/**
* Sets the value of the encBPKInformation property.
*
* @param value
* allowed object is
* {@link EncBPKInformation }
*
*/
public void setEncBPKInformation(EncBPKInformation value) {
this.encBPKInformation = value;
}
/**
* Gets the value of the hjid property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getHjid() {
return hjid;
}
public Boolean isSl20Active() {
return sl20Active;
}
public void setSl20Active(Boolean sl20Active) {
this.sl20Active = sl20Active;
}
public String getSl20EndPoints() {
return sl20EndPoints;
}
public void setSl20EndPoints(String sl20EndPoints) {
this.sl20EndPoints = sl20EndPoints;
}
/**
* 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 AuthComponentOA)) {
return false;
}
if (this == object) {
return true;
}
final AuthComponentOA that = ((AuthComponentOA) object);
{
BKUURLS lhsBKUURLS;
lhsBKUURLS = this.getBKUURLS();
BKUURLS rhsBKUURLS;
rhsBKUURLS = that.getBKUURLS();
if (!strategy.equals(LocatorUtils.property(thisLocator, "bkuurls", lhsBKUURLS), LocatorUtils.property(thatLocator, "bkuurls", rhsBKUURLS), lhsBKUURLS, rhsBKUURLS)) {
return false;
}
}
{
IdentificationNumber lhsIdentificationNumber;
lhsIdentificationNumber = this.getIdentificationNumber();
IdentificationNumber rhsIdentificationNumber;
rhsIdentificationNumber = that.getIdentificationNumber();
if (!strategy.equals(LocatorUtils.property(thisLocator, "identificationNumber", lhsIdentificationNumber), LocatorUtils.property(thatLocator, "identificationNumber", rhsIdentificationNumber), lhsIdentificationNumber, rhsIdentificationNumber)) {
return false;
}
}
{
TemplatesType lhsTemplates;
lhsTemplates = this.getTemplates();
TemplatesType rhsTemplates;
rhsTemplates = that.getTemplates();
if (!strategy.equals(LocatorUtils.property(thisLocator, "templates", lhsTemplates), LocatorUtils.property(thatLocator, "templates", rhsTemplates), lhsTemplates, rhsTemplates)) {
return false;
}
}
{
List lhsTransformsInfo;
lhsTransformsInfo = (((this.transformsInfo!= null)&&(!this.transformsInfo.isEmpty()))?this.getTransformsInfo():null);
List rhsTransformsInfo;
rhsTransformsInfo = (((that.transformsInfo!= null)&&(!that.transformsInfo.isEmpty()))?that.getTransformsInfo():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "transformsInfo", lhsTransformsInfo), LocatorUtils.property(thatLocator, "transformsInfo", rhsTransformsInfo), lhsTransformsInfo, rhsTransformsInfo)) {
return false;
}
}
{
Mandates lhsMandates;
lhsMandates = this.getMandates();
Mandates rhsMandates;
rhsMandates = that.getMandates();
if (!strategy.equals(LocatorUtils.property(thisLocator, "mandates", lhsMandates), LocatorUtils.property(thatLocator, "mandates", rhsMandates), lhsMandates, rhsMandates)) {
return false;
}
}
{
TestCredentials lhsTestCredentials;
lhsTestCredentials = this.getTestCredentials();
TestCredentials rhsTestCredentials;
rhsTestCredentials = that.getTestCredentials();
if (!strategy.equals(LocatorUtils.property(thisLocator, "testCredentials", lhsTestCredentials), LocatorUtils.property(thatLocator, "testCredentials", rhsTestCredentials), lhsTestCredentials, rhsTestCredentials)) {
return false;
}
}
{
OASTORK lhsOASTORK;
lhsOASTORK = this.getOASTORK();
OASTORK rhsOASTORK;
rhsOASTORK = that.getOASTORK();
if (!strategy.equals(LocatorUtils.property(thisLocator, "oastork", lhsOASTORK), LocatorUtils.property(thatLocator, "oastork", rhsOASTORK), lhsOASTORK, rhsOASTORK)) {
return false;
}
}
{
OASSO lhsOASSO;
lhsOASSO = this.getOASSO();
OASSO rhsOASSO;
rhsOASSO = that.getOASSO();
if (!strategy.equals(LocatorUtils.property(thisLocator, "oasso", lhsOASSO), LocatorUtils.property(thatLocator, "oasso", rhsOASSO), lhsOASSO, rhsOASSO)) {
return false;
}
}
{
OASAML1 lhsOASAML1;
lhsOASAML1 = this.getOASAML1();
OASAML1 rhsOASAML1;
rhsOASAML1 = that.getOASAML1();
if (!strategy.equals(LocatorUtils.property(thisLocator, "oasaml1", lhsOASAML1), LocatorUtils.property(thatLocator, "oasaml1", rhsOASAML1), lhsOASAML1, rhsOASAML1)) {
return false;
}
}
{
OAPVP2 lhsOAPVP2;
lhsOAPVP2 = this.getOAPVP2();
OAPVP2 rhsOAPVP2;
rhsOAPVP2 = that.getOAPVP2();
if (!strategy.equals(LocatorUtils.property(thisLocator, "oapvp2", lhsOAPVP2), LocatorUtils.property(thatLocator, "oapvp2", rhsOAPVP2), lhsOAPVP2, rhsOAPVP2)) {
return false;
}
}
{
OAOAUTH20 lhsOAOAUTH20;
lhsOAOAUTH20 = this.getOAOAUTH20();
OAOAUTH20 rhsOAOAUTH20;
rhsOAOAUTH20 = that.getOAOAUTH20();
if (!strategy.equals(LocatorUtils.property(thisLocator, "oaoauth20", lhsOAOAUTH20), LocatorUtils.property(thatLocator, "oaoauth20", rhsOAOAUTH20), lhsOAOAUTH20, rhsOAOAUTH20)) {
return false;
}
}
{
EncBPKInformation lhsEncBPKInformation;
lhsEncBPKInformation = this.getEncBPKInformation();
EncBPKInformation rhsEncBPKInformation;
rhsEncBPKInformation = that.getEncBPKInformation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "encBPKInformation", lhsEncBPKInformation), LocatorUtils.property(thatLocator, "encBPKInformation", rhsEncBPKInformation), lhsEncBPKInformation, rhsEncBPKInformation)) {
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;
{
BKUURLS theBKUURLS;
theBKUURLS = this.getBKUURLS();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bkuurls", theBKUURLS), currentHashCode, theBKUURLS);
}
{
IdentificationNumber theIdentificationNumber;
theIdentificationNumber = this.getIdentificationNumber();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identificationNumber", theIdentificationNumber), currentHashCode, theIdentificationNumber);
}
{
TemplatesType theTemplates;
theTemplates = this.getTemplates();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "templates", theTemplates), currentHashCode, theTemplates);
}
{
List theTransformsInfo;
theTransformsInfo = (((this.transformsInfo!= null)&&(!this.transformsInfo.isEmpty()))?this.getTransformsInfo():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transformsInfo", theTransformsInfo), currentHashCode, theTransformsInfo);
}
{
Mandates theMandates;
theMandates = this.getMandates();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mandates", theMandates), currentHashCode, theMandates);
}
{
TestCredentials theTestCredentials;
theTestCredentials = this.getTestCredentials();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "testCredentials", theTestCredentials), currentHashCode, theTestCredentials);
}
{
OASTORK theOASTORK;
theOASTORK = this.getOASTORK();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oastork", theOASTORK), currentHashCode, theOASTORK);
}
{
OASSO theOASSO;
theOASSO = this.getOASSO();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oasso", theOASSO), currentHashCode, theOASSO);
}
{
OASAML1 theOASAML1;
theOASAML1 = this.getOASAML1();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oasaml1", theOASAML1), currentHashCode, theOASAML1);
}
{
OAPVP2 theOAPVP2;
theOAPVP2 = this.getOAPVP2();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oapvp2", theOAPVP2), currentHashCode, theOAPVP2);
}
{
OAOAUTH20 theOAOAUTH20;
theOAOAUTH20 = this.getOAOAUTH20();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oaoauth20", theOAOAUTH20), currentHashCode, theOAOAUTH20);
}
{
EncBPKInformation theEncBPKInformation;
theEncBPKInformation = this.getEncBPKInformation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "encBPKInformation", theEncBPKInformation), currentHashCode, theEncBPKInformation);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}