diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/PartyRepresentationType.java')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/PartyRepresentationType.java | 331 |
1 files changed, 0 insertions, 331 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/PartyRepresentationType.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/PartyRepresentationType.java deleted file mode 100644 index 8ce43675a..000000000 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/PartyRepresentationType.java +++ /dev/null @@ -1,331 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 -// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2015.01.09 at 09:01:43 AM CET -// - - -package at.gv.egovernment.moa.id.commons.db.dao.config; - -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; - - -/** - * <p>Java class for PartyRepresentationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="PartyRepresentationType"> - * <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"/> - * <element name="PartyRepresentative" type="{http://www.buergerkarte.at/namespaces/moaconfig#}PartyRepresentativeType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PartyRepresentationType", propOrder = { - "inputProcessor", - "alwaysShowForm", - "connectionParameter", - "partyRepresentative" -}) -@Entity(name = "PartyRepresentationType") -@Table(name = "PARTYREPRESENTATIONTYPE") -@Inheritance(strategy = InheritanceType.JOINED) -public class PartyRepresentationType - 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; - @XmlElement(name = "PartyRepresentative") - protected List<PartyRepresentativeType> 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 - }) - @JoinColumn(name = "INPUTPROCESSOR_PARTYREPRESEN_1") - 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 } - * - */ - @Basic - @Column(name = "ALWAYSSHOWFORM") - 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 - }) - @JoinColumn(name = "CONNECTIONPARAMETER_PARTYREP_1") - 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. - * - * <p> - * 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 <CODE>set</CODE> method for the partyRepresentative property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getPartyRepresentative().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PartyRepresentativeType } - * - * - */ - @OneToMany(targetEntity = PartyRepresentativeType.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "PARTYREPRESENTATIVE_PARTYREP_0") - public List<PartyRepresentativeType> getPartyRepresentative() { - if (partyRepresentative == null) { - partyRepresentative = new ArrayList<PartyRepresentativeType>(); - } - return this.partyRepresentative; - } - - /** - * - * - */ - public void setPartyRepresentative(List<PartyRepresentativeType> partyRepresentative) { - this.partyRepresentative = partyRepresentative; - } - - /** - * Gets the value of the hjid property. - * - * @return - * possible object is - * {@link Long } - * - */ - @Id - @Column(name = "HJID") - @GeneratedValue(strategy = GenerationType.AUTO) - 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<PartyRepresentativeType> lhsPartyRepresentative; - lhsPartyRepresentative = (((this.partyRepresentative!= null)&&(!this.partyRepresentative.isEmpty()))?this.getPartyRepresentative():null); - List<PartyRepresentativeType> 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<PartyRepresentativeType> 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); - } - -} |