//
// 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 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;
/**
*
The following schema fragment specifies the expected content contained within this class.
*
*
partyRepresentative;
@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;
}
/**
* Default Wert fuer Formularanzeige. Soll nicht nur
* bei leerer oder standardisierter Vollmacht mit unvollstaendigen
* Daten, sondern beispielsweise zu Kontrollzwecken das
* Eingabeformular zur vervollstaendigung der Vertretenendaten immer
* angezeigt werden, wenn ein Einschreiten durch berufliche
* Parteienvertretung geschieht so kann dies mittels dieses Schalters
* veranlasst werden
*
*
* @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 partyRepresentative 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 partyRepresentative property.
*
*
* For example, to add a new item, do as follows:
*
* getPartyRepresentative().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyRepresentativeType }
*
*
*/
@OneToMany(targetEntity = PartyRepresentativeType.class, cascade = {
CascadeType.ALL
})
public List getPartyRepresentative() {
if (partyRepresentative == null) {
partyRepresentative = new ArrayList();
}
return this.partyRepresentative;
}
/**
*
*
*/
public void setPartyRepresentative(List partyRepresentative) {
this.partyRepresentative = partyRepresentative;
}
/**
* 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 PartyRepresentationType)) {
return false;
}
if (this == object) {
return true;
}
final PartyRepresentationType that = ((PartyRepresentationType) 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;
}
}
{
List lhsPartyRepresentative;
lhsPartyRepresentative = (((this.partyRepresentative!= null)&&(!this.partyRepresentative.isEmpty()))?this.getPartyRepresentative():null);
List rhsPartyRepresentative;
rhsPartyRepresentative = (((that.partyRepresentative!= null)&&(!that.partyRepresentative.isEmpty()))?that.getPartyRepresentative():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "partyRepresentative", lhsPartyRepresentative), LocatorUtils.property(thatLocator, "partyRepresentative", rhsPartyRepresentative), lhsPartyRepresentative, rhsPartyRepresentative)) {
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);
}
{
List thePartyRepresentative;
thePartyRepresentative = (((this.partyRepresentative!= null)&&(!this.partyRepresentative.isEmpty()))?this.getPartyRepresentative():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyRepresentative", thePartyRepresentative), currentHashCode, thePartyRepresentative);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}