aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Organization.java
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Organization.java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Organization.java254
1 files changed, 0 insertions, 254 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Organization.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Organization.java
deleted file mode 100644
index fe2ff6933..000000000
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/Organization.java
+++ /dev/null
@@ -1,254 +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 javax.persistence.Basic;
-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.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 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 anonymous complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * &lt;complexType>
- * &lt;complexContent>
- * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * &lt;sequence>
- * &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="DisplayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * &lt;element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
- * &lt;/sequence>
- * &lt;/restriction>
- * &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "name",
- "displayName",
- "url"
-})
-@Entity(name = "Organization")
-@Table(name = "ORGANIZATION")
-@Inheritance(strategy = InheritanceType.JOINED)
-public class Organization
- implements Serializable, Equals, HashCode
-{
-
- @XmlElement(name = "Name", required = true)
- protected String name;
- @XmlElement(name = "DisplayName", required = true)
- protected String displayName;
- @XmlElement(name = "URL", required = true)
- @XmlSchemaType(name = "anyURI")
- protected String url;
- @XmlAttribute(name = "Hjid")
- protected Long hjid;
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Basic
- @Column(name = "NAME_", length = 255)
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the displayName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Basic
- @Column(name = "DISPLAYNAME", length = 255)
- public String getDisplayName() {
- return displayName;
- }
-
- /**
- * Sets the value of the displayName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDisplayName(String value) {
- this.displayName = value;
- }
-
- /**
- * Gets the value of the url property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Basic
- @Column(name = "URL")
- public String getURL() {
- return url;
- }
-
- /**
- * Sets the value of the url property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setURL(String value) {
- this.url = value;
- }
-
- /**
- * 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 Organization)) {
- return false;
- }
- if (this == object) {
- return true;
- }
- final Organization that = ((Organization) object);
- {
- String lhsName;
- lhsName = this.getName();
- String rhsName;
- rhsName = that.getName();
- if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) {
- return false;
- }
- }
- {
- String lhsDisplayName;
- lhsDisplayName = this.getDisplayName();
- String rhsDisplayName;
- rhsDisplayName = that.getDisplayName();
- if (!strategy.equals(LocatorUtils.property(thisLocator, "displayName", lhsDisplayName), LocatorUtils.property(thatLocator, "displayName", rhsDisplayName), lhsDisplayName, rhsDisplayName)) {
- return false;
- }
- }
- {
- String lhsURL;
- lhsURL = this.getURL();
- String rhsURL;
- rhsURL = that.getURL();
- if (!strategy.equals(LocatorUtils.property(thisLocator, "url", lhsURL), LocatorUtils.property(thatLocator, "url", rhsURL), lhsURL, rhsURL)) {
- 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;
- {
- String theName;
- theName = this.getName();
- currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName);
- }
- {
- String theDisplayName;
- theDisplayName = this.getDisplayName();
- currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "displayName", theDisplayName), currentHashCode, theDisplayName);
- }
- {
- String theURL;
- theURL = this.getURL();
- currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "url", theURL), currentHashCode, theURL);
- }
- return currentHashCode;
- }
-
- public int hashCode() {
- final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
- return this.hashCode(null, strategy);
- }
-
-}