// // 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.XmlSchemaType; 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 PartyRepresentativeType complex type. * *

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

 * <complexType name="PartyRepresentativeType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="InputProcessor" type="{http://www.buergerkarte.at/namespaces/moaconfig#}InputProcessorType" minOccurs="0"/>
 *         <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}AlwaysShowForm" minOccurs="0"/>
 *         <element name="ConnectionParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}ConnectionParameterClientAuthType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="oid" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="representPhysicalParty" default="false">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}boolean">
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="representCorporateParty" default="false">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}boolean">
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="representationText" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PartyRepresentativeType", propOrder = { "inputProcessor", "alwaysShowForm", "connectionParameter" }) public class PartyRepresentativeType implements Serializable, Equals, HashCode { @XmlElement(name = "InputProcessor") protected InputProcessorType inputProcessor; @XmlElement(name = "AlwaysShowForm", type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) protected Boolean alwaysShowForm; @XmlElement(name = "ConnectionParameter") protected ConnectionParameterClientAuthType connectionParameter; @XmlAttribute(name = "oid", required = true) @XmlSchemaType(name = "anySimpleType") protected String oid; @XmlAttribute(name = "representPhysicalParty") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) protected Boolean representPhysicalParty; @XmlAttribute(name = "representCorporateParty") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) protected Boolean representCorporateParty; @XmlAttribute(name = "representationText") @XmlSchemaType(name = "anySimpleType") protected String representationText; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the inputProcessor property. * * @return * possible object is * {@link InputProcessorType } * */ @ManyToOne(targetEntity = InputProcessorType.class, cascade = { CascadeType.ALL }) public InputProcessorType getInputProcessor() { return inputProcessor; } /** * Sets the value of the inputProcessor property. * * @param value * allowed object is * {@link InputProcessorType } * */ public void setInputProcessor(InputProcessorType value) { this.inputProcessor = value; } /** * Gets the value of the alwaysShowForm property. * * @return * possible object is * {@link String } * */ public Boolean isAlwaysShowForm() { return alwaysShowForm; } /** * Sets the value of the alwaysShowForm property. * * @param value * allowed object is * {@link String } * */ public void setAlwaysShowForm(Boolean value) { this.alwaysShowForm = value; } /** * Gets the value of the connectionParameter property. * * @return * possible object is * {@link ConnectionParameterClientAuthType } * */ @ManyToOne(targetEntity = ConnectionParameterClientAuthType.class, cascade = { CascadeType.ALL }) public ConnectionParameterClientAuthType getConnectionParameter() { return connectionParameter; } /** * Sets the value of the connectionParameter property. * * @param value * allowed object is * {@link ConnectionParameterClientAuthType } * */ public void setConnectionParameter(ConnectionParameterClientAuthType value) { this.connectionParameter = value; } /** * Gets the value of the oid property. * * @return * possible object is * {@link String } * */ public String getOid() { return oid; } /** * Sets the value of the oid property. * * @param value * allowed object is * {@link String } * */ public void setOid(String value) { this.oid = value; } /** * Gets the value of the representPhysicalParty property. * * @return * possible object is * {@link String } * */ public boolean isRepresentPhysicalParty() { if (representPhysicalParty == null) { return new ZeroOneBooleanAdapter().unmarshal("false"); } else { return representPhysicalParty; } } /** * Sets the value of the representPhysicalParty property. * * @param value * allowed object is * {@link String } * */ public void setRepresentPhysicalParty(Boolean value) { this.representPhysicalParty = value; } /** * Gets the value of the representCorporateParty property. * * @return * possible object is * {@link String } * */ public boolean isRepresentCorporateParty() { if (representCorporateParty == null) { return new ZeroOneBooleanAdapter().unmarshal("false"); } else { return representCorporateParty; } } /** * Sets the value of the representCorporateParty property. * * @param value * allowed object is * {@link String } * */ public void setRepresentCorporateParty(Boolean value) { this.representCorporateParty = value; } /** * Gets the value of the representationText property. * * @return * possible object is * {@link String } * */ public String getRepresentationText() { return representationText; } /** * Sets the value of the representationText property. * * @param value * allowed object is * {@link String } * */ public void setRepresentationText(String value) { this.representationText = 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 PartyRepresentativeType)) { return false; } if (this == object) { return true; } final PartyRepresentativeType that = ((PartyRepresentativeType) object); { InputProcessorType lhsInputProcessor; lhsInputProcessor = this.getInputProcessor(); InputProcessorType rhsInputProcessor; rhsInputProcessor = that.getInputProcessor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "inputProcessor", lhsInputProcessor), LocatorUtils.property(thatLocator, "inputProcessor", rhsInputProcessor), lhsInputProcessor, rhsInputProcessor)) { return false; } } { Boolean lhsAlwaysShowForm; lhsAlwaysShowForm = this.isAlwaysShowForm(); Boolean rhsAlwaysShowForm; rhsAlwaysShowForm = that.isAlwaysShowForm(); if (!strategy.equals(LocatorUtils.property(thisLocator, "alwaysShowForm", lhsAlwaysShowForm), LocatorUtils.property(thatLocator, "alwaysShowForm", rhsAlwaysShowForm), lhsAlwaysShowForm, rhsAlwaysShowForm)) { return false; } } { ConnectionParameterClientAuthType lhsConnectionParameter; lhsConnectionParameter = this.getConnectionParameter(); ConnectionParameterClientAuthType rhsConnectionParameter; rhsConnectionParameter = that.getConnectionParameter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionParameter", lhsConnectionParameter), LocatorUtils.property(thatLocator, "connectionParameter", rhsConnectionParameter), lhsConnectionParameter, rhsConnectionParameter)) { return false; } } { String lhsOid; lhsOid = this.getOid(); String rhsOid; rhsOid = that.getOid(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oid", lhsOid), LocatorUtils.property(thatLocator, "oid", rhsOid), lhsOid, rhsOid)) { return false; } } { boolean lhsRepresentPhysicalParty; lhsRepresentPhysicalParty = ((this.representPhysicalParty!= null)?this.isRepresentPhysicalParty():false); boolean rhsRepresentPhysicalParty; rhsRepresentPhysicalParty = ((that.representPhysicalParty!= null)?that.isRepresentPhysicalParty():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "representPhysicalParty", lhsRepresentPhysicalParty), LocatorUtils.property(thatLocator, "representPhysicalParty", rhsRepresentPhysicalParty), lhsRepresentPhysicalParty, rhsRepresentPhysicalParty)) { return false; } } { boolean lhsRepresentCorporateParty; lhsRepresentCorporateParty = ((this.representCorporateParty!= null)?this.isRepresentCorporateParty():false); boolean rhsRepresentCorporateParty; rhsRepresentCorporateParty = ((that.representCorporateParty!= null)?that.isRepresentCorporateParty():false); if (!strategy.equals(LocatorUtils.property(thisLocator, "representCorporateParty", lhsRepresentCorporateParty), LocatorUtils.property(thatLocator, "representCorporateParty", rhsRepresentCorporateParty), lhsRepresentCorporateParty, rhsRepresentCorporateParty)) { return false; } } { String lhsRepresentationText; lhsRepresentationText = this.getRepresentationText(); String rhsRepresentationText; rhsRepresentationText = that.getRepresentationText(); if (!strategy.equals(LocatorUtils.property(thisLocator, "representationText", lhsRepresentationText), LocatorUtils.property(thatLocator, "representationText", rhsRepresentationText), lhsRepresentationText, rhsRepresentationText)) { 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; { InputProcessorType theInputProcessor; theInputProcessor = this.getInputProcessor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inputProcessor", theInputProcessor), currentHashCode, theInputProcessor); } { Boolean theAlwaysShowForm; theAlwaysShowForm = this.isAlwaysShowForm(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "alwaysShowForm", theAlwaysShowForm), currentHashCode, theAlwaysShowForm); } { ConnectionParameterClientAuthType theConnectionParameter; theConnectionParameter = this.getConnectionParameter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionParameter", theConnectionParameter), currentHashCode, theConnectionParameter); } { String theOid; theOid = this.getOid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oid", theOid), currentHashCode, theOid); } { boolean theRepresentPhysicalParty; theRepresentPhysicalParty = ((this.representPhysicalParty!= null)?this.isRepresentPhysicalParty():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "representPhysicalParty", theRepresentPhysicalParty), currentHashCode, theRepresentPhysicalParty); } { boolean theRepresentCorporateParty; theRepresentCorporateParty = ((this.representCorporateParty!= null)?this.isRepresentCorporateParty():false); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "representCorporateParty", theRepresentCorporateParty), currentHashCode, theRepresentCorporateParty); } { String theRepresentationText; theRepresentationText = this.getRepresentationText(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "representationText", theRepresentationText), currentHashCode, theRepresentationText); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }