Author: jpeterka
Date: 2012-03-19 16:13:54 -0400 (Mon, 19 Mar 2012)
New Revision: 39639
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/hsqldb.jar
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/mysql-connector-java-5.1.13-bin.jar
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/postgresql-8.4-702.jdbc4.jar
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb35hsqldb.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.java
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch
Log:
Hibernate ui bot test resource projects update, added java files, etc.
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/hsqldb.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/hsqldb.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/mysql-connector-java-5.1.13-bin.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/mysql-connector-java-5.1.13-bin.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/postgresql-8.4-702.jdbc4.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/configurationtest/lib/postgresql-8.4-702.jdbc4.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch 2012-03-19
20:09:26 UTC (rev 39638)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch 2012-03-19
20:13:54 UTC (rev 39639)
@@ -10,19 +10,19 @@
<stringAttribute key="org.hibernate.eclipse.launch.CFG_XML_FILE"
value="/hibernatelib/cfg/hibernate.cfg.xml"/>
<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY"
value="CORE"/>
<listAttribute key="org.hibernate.eclipse.launch.FILE_MAPPINGS">
-<listEntry value="/hibernate35/src/org/testday/Customer.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Customers.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Dog.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Employees.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Kunde.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Offices.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Orderdetails.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Orders.hbm.xml"/>
-<listEntry
value="/hibernate35/src/org/testday/Passwordattributes.hbm.xml"/>
-<listEntry
value="/hibernate35/src/org/testday/Passwordresourceauditlog.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Payments.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Productlines.hbm.xml"/>
-<listEntry value="/hibernate35/src/org/testday/Products.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Customer.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Customers.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Dog.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Employees.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Kunde.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Offices.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Orderdetails.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Orders.hbm.xml"/>
+<listEntry
value="/hibernate35/src/org/diagram/Passwordattributes.hbm.xml"/>
+<listEntry
value="/hibernate35/src/org/diagram/Passwordresourceauditlog.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Payments.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Productlines.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/diagram/Products.hbm.xml"/>
</listAttribute>
<stringAttribute key="org.hibernate.eclipse.launch.HIBERNATE_VERSION"
value="4.0"/>
</launchConfiguration>
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb35hsqldb.launch
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb35hsqldb.launch
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb35hsqldb.launch 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
+<launchConfiguration
type="org.hibernate.eclipse.launch.CodeGenerationLaunchConfigurationType">
+<stringAttribute key="org.hibernate.tools.configurationname"
value="hibernate35"/>
+<booleanAttribute key="org.hibernate.tools.ejb3"
value="false"/>
+<listAttribute key="org.hibernate.tools.exporters">
+<listEntry value="org.hibernate.tools.hbm2java"/>
+<listEntry value="org.hibernate.tools.hbm2hbmxml"/>
+<listEntry value="org.hibernate.tools.hbm2dao"/>
+<listEntry value="org.hibernate.tools.hbmtemplate"/>
+<listEntry value="org.hibernate.tools.hbm2cfgxml"/>
+<listEntry value="org.hibernate.tools.hbm2doc"/>
+<listEntry value="org.hibernate.tools.hbm2ddl"/>
+<listEntry value="org.hibernate.tools.query"/>
+</listAttribute>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2cfgxml"
value="false"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2cfgxml.extension_id"
value="org.hibernate.tools.hbm2cfgxml"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2dao"
value="false"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2dao.extension_id"
value="org.hibernate.tools.hbm2dao"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2ddl"
value="false"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2ddl.extension_id"
value="org.hibernate.tools.hbm2ddl"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2doc"
value="false"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2doc.extension_id"
value="org.hibernate.tools.hbm2doc"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2hbmxml"
value="true"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2hbmxml.extension_id"
value="org.hibernate.tools.hbm2hbmxml"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2java"
value="true"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2java.extension_id"
value="org.hibernate.tools.hbm2java"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbmtemplate"
value="false"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.hbmtemplate.extension_id"
value="org.hibernate.tools.hbmtemplate"/>
+<booleanAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.query"
value="false"/>
+<stringAttribute
key="org.hibernate.tools.exporters.org.hibernate.tools.query.extension_id"
value="org.hibernate.tools.query"/>
+<booleanAttribute key="org.hibernate.tools.jdk5"
value="false"/>
+<stringAttribute key="org.hibernate.tools.outputdir"
value="/hibernate35/src/"/>
+<stringAttribute key="org.hibernate.tools.package"
value="org.diagram"/>
+<booleanAttribute key="org.hibernate.tools.prefercompositeids"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_many_to_many"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_one_to_one"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_optimistc_lock"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.schema2hbm"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.useExternalProcess"
value="false"/>
+<booleanAttribute key="org.hibernate.tools.useOwnTemplates"
value="false"/>
+</launchConfiguration>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb35hsqldb.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Customer" table="CUSTOMER"
schema="PUBLIC">
+ <id name="id" type="long">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="firstname" type="string">
+ <column name="FIRSTNAME" />
+ </property>
+ <property name="surname" type="string">
+ <column name="SURNAME" length="200" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,51 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Customer generated by hbm2java
+ */
+public class Customer implements java.io.Serializable {
+
+ private long id;
+ private String firstname;
+ private String surname;
+
+ public Customer() {
+ }
+
+ public Customer(long id) {
+ this.id = id;
+ }
+
+ public Customer(long id, String firstname, String surname) {
+ this.id = id;
+ this.firstname = firstname;
+ this.surname = surname;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getFirstname() {
+ return this.firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getSurname() {
+ return this.surname;
+ }
+
+ public void setSurname(String surname) {
+ this.surname = surname;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Customers" table="CUSTOMERS"
schema="PUBLIC">
+ <id name="customernumber" type="int">
+ <column name="CUSTOMERNUMBER" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="employees"
class="org.diagram.Employees" fetch="select">
+ <column name="SALESREPEMPLOYEENUMBER" />
+ </many-to-one>
+ <property name="addressline1" type="string">
+ <column name="ADDRESSLINE1" length="50"
not-null="true" />
+ </property>
+ <property name="addressline2" type="string">
+ <column name="ADDRESSLINE2" length="50" />
+ </property>
+ <property name="city" type="string">
+ <column name="CITY" length="50"
not-null="true" />
+ </property>
+ <property name="contactfirstname" type="string">
+ <column name="CONTACTFIRSTNAME" length="50"
not-null="true" />
+ </property>
+ <property name="contactlastname" type="string">
+ <column name="CONTACTLASTNAME" length="50"
not-null="true" />
+ </property>
+ <property name="country" type="string">
+ <column name="COUNTRY" length="50"
not-null="true" />
+ </property>
+ <property name="creditlimit" type="java.lang.Double">
+ <column name="CREDITLIMIT" precision="0"
scale="0" />
+ </property>
+ <property name="customername" type="string">
+ <column name="CUSTOMERNAME" length="50"
not-null="true" />
+ </property>
+ <property name="phone" type="string">
+ <column name="PHONE" length="50"
not-null="true" />
+ </property>
+ <property name="postalcode" type="string">
+ <column name="POSTALCODE" length="15" />
+ </property>
+ <property name="state" type="string">
+ <column name="STATE" length="50" />
+ </property>
+ <set name="orderses" table="ORDERS"
inverse="true" lazy="true" fetch="select">
+ <key>
+ <column name="CUSTOMERNUMBER" not-null="true"
/>
+ </key>
+ <one-to-many class="org.diagram.Orders" />
+ </set>
+ <set name="paymentses" table="PAYMENTS"
inverse="true" lazy="true" fetch="select">
+ <key>
+ <column name="CUSTOMERNUMBER" not-null="true"
/>
+ </key>
+ <one-to-many class="org.diagram.Payments" />
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,187 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Customers generated by hbm2java
+ */
+public class Customers implements java.io.Serializable {
+
+ private int customernumber;
+ private Employees employees;
+ private String addressline1;
+ private String addressline2;
+ private String city;
+ private String contactfirstname;
+ private String contactlastname;
+ private String country;
+ private Double creditlimit;
+ private String customername;
+ private String phone;
+ private String postalcode;
+ private String state;
+ private Set orderses = new HashSet(0);
+ private Set paymentses = new HashSet(0);
+
+ public Customers() {
+ }
+
+ public Customers(int customernumber, String addressline1, String city,
+ String contactfirstname, String contactlastname, String country,
+ String customername, String phone) {
+ this.customernumber = customernumber;
+ this.addressline1 = addressline1;
+ this.city = city;
+ this.contactfirstname = contactfirstname;
+ this.contactlastname = contactlastname;
+ this.country = country;
+ this.customername = customername;
+ this.phone = phone;
+ }
+
+ public Customers(int customernumber, Employees employees,
+ String addressline1, String addressline2, String city,
+ String contactfirstname, String contactlastname, String country,
+ Double creditlimit, String customername, String phone,
+ String postalcode, String state, Set orderses, Set paymentses) {
+ this.customernumber = customernumber;
+ this.employees = employees;
+ this.addressline1 = addressline1;
+ this.addressline2 = addressline2;
+ this.city = city;
+ this.contactfirstname = contactfirstname;
+ this.contactlastname = contactlastname;
+ this.country = country;
+ this.creditlimit = creditlimit;
+ this.customername = customername;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.state = state;
+ this.orderses = orderses;
+ this.paymentses = paymentses;
+ }
+
+ public int getCustomernumber() {
+ return this.customernumber;
+ }
+
+ public void setCustomernumber(int customernumber) {
+ this.customernumber = customernumber;
+ }
+
+ public Employees getEmployees() {
+ return this.employees;
+ }
+
+ public void setEmployees(Employees employees) {
+ this.employees = employees;
+ }
+
+ public String getAddressline1() {
+ return this.addressline1;
+ }
+
+ public void setAddressline1(String addressline1) {
+ this.addressline1 = addressline1;
+ }
+
+ public String getAddressline2() {
+ return this.addressline2;
+ }
+
+ public void setAddressline2(String addressline2) {
+ this.addressline2 = addressline2;
+ }
+
+ public String getCity() {
+ return this.city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getContactfirstname() {
+ return this.contactfirstname;
+ }
+
+ public void setContactfirstname(String contactfirstname) {
+ this.contactfirstname = contactfirstname;
+ }
+
+ public String getContactlastname() {
+ return this.contactlastname;
+ }
+
+ public void setContactlastname(String contactlastname) {
+ this.contactlastname = contactlastname;
+ }
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ public Double getCreditlimit() {
+ return this.creditlimit;
+ }
+
+ public void setCreditlimit(Double creditlimit) {
+ this.creditlimit = creditlimit;
+ }
+
+ public String getCustomername() {
+ return this.customername;
+ }
+
+ public void setCustomername(String customername) {
+ this.customername = customername;
+ }
+
+ public String getPhone() {
+ return this.phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getPostalcode() {
+ return this.postalcode;
+ }
+
+ public void setPostalcode(String postalcode) {
+ this.postalcode = postalcode;
+ }
+
+ public String getState() {
+ return this.state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public Set getOrderses() {
+ return this.orderses;
+ }
+
+ public void setOrderses(Set orderses) {
+ this.orderses = orderses;
+ }
+
+ public Set getPaymentses() {
+ return this.paymentses;
+ }
+
+ public void setPaymentses(Set paymentses) {
+ this.paymentses = paymentses;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Customers.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Dog" table="DOG"
schema="PUBLIC">
+ <id name="id" type="long">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="name" type="string">
+ <column name="NAME" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,41 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Dog generated by hbm2java
+ */
+public class Dog implements java.io.Serializable {
+
+ private long id;
+ private String name;
+
+ public Dog() {
+ }
+
+ public Dog(long id) {
+ this.id = id;
+ }
+
+ public Dog(long id, String name) {
+ this.id = id;
+ this.name = name;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Dog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Employees" table="EMPLOYEES"
schema="PUBLIC">
+ <id name="employeenumber" type="int">
+ <column name="EMPLOYEENUMBER" />
+ <generator class="assigned" />
+ </id>
+ <property name="email" type="string">
+ <column name="EMAIL" length="100"
not-null="true" />
+ </property>
+ <property name="extension" type="string">
+ <column name="EXTENSION" length="10"
not-null="true" />
+ </property>
+ <property name="firstname" type="string">
+ <column name="FIRSTNAME" length="50"
not-null="true" />
+ </property>
+ <property name="jobtitle" type="string">
+ <column name="JOBTITLE" length="50"
not-null="true" />
+ </property>
+ <property name="lastname" type="string">
+ <column name="LASTNAME" length="50"
not-null="true" />
+ </property>
+ <property name="officecode" type="string">
+ <column name="OFFICECODE" length="10"
not-null="true" />
+ </property>
+ <property name="reportsto" type="java.lang.Integer">
+ <column name="REPORTSTO" />
+ </property>
+ <set name="customerses" table="CUSTOMERS"
inverse="true" lazy="true" fetch="select">
+ <key>
+ <column name="SALESREPEMPLOYEENUMBER" />
+ </key>
+ <one-to-many class="org.diagram.Customers" />
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,124 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Employees generated by hbm2java
+ */
+public class Employees implements java.io.Serializable {
+
+ private int employeenumber;
+ private String email;
+ private String extension;
+ private String firstname;
+ private String jobtitle;
+ private String lastname;
+ private String officecode;
+ private Integer reportsto;
+ private Set customerses = new HashSet(0);
+
+ public Employees() {
+ }
+
+ public Employees(int employeenumber, String email, String extension,
+ String firstname, String jobtitle, String lastname,
+ String officecode) {
+ this.employeenumber = employeenumber;
+ this.email = email;
+ this.extension = extension;
+ this.firstname = firstname;
+ this.jobtitle = jobtitle;
+ this.lastname = lastname;
+ this.officecode = officecode;
+ }
+
+ public Employees(int employeenumber, String email, String extension,
+ String firstname, String jobtitle, String lastname,
+ String officecode, Integer reportsto, Set customerses) {
+ this.employeenumber = employeenumber;
+ this.email = email;
+ this.extension = extension;
+ this.firstname = firstname;
+ this.jobtitle = jobtitle;
+ this.lastname = lastname;
+ this.officecode = officecode;
+ this.reportsto = reportsto;
+ this.customerses = customerses;
+ }
+
+ public int getEmployeenumber() {
+ return this.employeenumber;
+ }
+
+ public void setEmployeenumber(int employeenumber) {
+ this.employeenumber = employeenumber;
+ }
+
+ public String getEmail() {
+ return this.email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getExtension() {
+ return this.extension;
+ }
+
+ public void setExtension(String extension) {
+ this.extension = extension;
+ }
+
+ public String getFirstname() {
+ return this.firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getJobtitle() {
+ return this.jobtitle;
+ }
+
+ public void setJobtitle(String jobtitle) {
+ this.jobtitle = jobtitle;
+ }
+
+ public String getLastname() {
+ return this.lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+
+ public String getOfficecode() {
+ return this.officecode;
+ }
+
+ public void setOfficecode(String officecode) {
+ this.officecode = officecode;
+ }
+
+ public Integer getReportsto() {
+ return this.reportsto;
+ }
+
+ public void setReportsto(Integer reportsto) {
+ this.reportsto = reportsto;
+ }
+
+ public Set getCustomerses() {
+ return this.customerses;
+ }
+
+ public void setCustomerses(Set customerses) {
+ this.customerses = customerses;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Employees.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Kunde" table="KUNDE"
schema="PUBLIC">
+ <id name="id" type="long">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="art" type="string">
+ <column name="ART" length="1"
not-null="true" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,37 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Kunde generated by hbm2java
+ */
+public class Kunde implements java.io.Serializable {
+
+ private long id;
+ private String art;
+
+ public Kunde() {
+ }
+
+ public Kunde(long id, String art) {
+ this.id = id;
+ this.art = art;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getArt() {
+ return this.art;
+ }
+
+ public void setArt(String art) {
+ this.art = art;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Kunde.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Offices" table="OFFICES"
schema="PUBLIC">
+ <id name="officecode" type="string">
+ <column name="OFFICECODE" length="10" />
+ <generator class="assigned" />
+ </id>
+ <property name="addressline1" type="string">
+ <column name="ADDRESSLINE1" length="50"
not-null="true" />
+ </property>
+ <property name="addressline2" type="string">
+ <column name="ADDRESSLINE2" length="50" />
+ </property>
+ <property name="city" type="string">
+ <column name="CITY" length="50"
not-null="true" />
+ </property>
+ <property name="country" type="string">
+ <column name="COUNTRY" length="50"
not-null="true" />
+ </property>
+ <property name="phone" type="string">
+ <column name="PHONE" length="50"
not-null="true" />
+ </property>
+ <property name="postalcode" type="string">
+ <column name="POSTALCODE" length="15"
not-null="true" />
+ </property>
+ <property name="state" type="string">
+ <column name="STATE" length="50" />
+ </property>
+ <property name="territory" type="string">
+ <column name="TERRITORY" length="10"
not-null="true" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,120 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Offices generated by hbm2java
+ */
+public class Offices implements java.io.Serializable {
+
+ private String officecode;
+ private String addressline1;
+ private String addressline2;
+ private String city;
+ private String country;
+ private String phone;
+ private String postalcode;
+ private String state;
+ private String territory;
+
+ public Offices() {
+ }
+
+ public Offices(String officecode, String addressline1, String city,
+ String country, String phone, String postalcode, String territory) {
+ this.officecode = officecode;
+ this.addressline1 = addressline1;
+ this.city = city;
+ this.country = country;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.territory = territory;
+ }
+
+ public Offices(String officecode, String addressline1, String addressline2,
+ String city, String country, String phone, String postalcode,
+ String state, String territory) {
+ this.officecode = officecode;
+ this.addressline1 = addressline1;
+ this.addressline2 = addressline2;
+ this.city = city;
+ this.country = country;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.state = state;
+ this.territory = territory;
+ }
+
+ public String getOfficecode() {
+ return this.officecode;
+ }
+
+ public void setOfficecode(String officecode) {
+ this.officecode = officecode;
+ }
+
+ public String getAddressline1() {
+ return this.addressline1;
+ }
+
+ public void setAddressline1(String addressline1) {
+ this.addressline1 = addressline1;
+ }
+
+ public String getAddressline2() {
+ return this.addressline2;
+ }
+
+ public void setAddressline2(String addressline2) {
+ this.addressline2 = addressline2;
+ }
+
+ public String getCity() {
+ return this.city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ public String getPhone() {
+ return this.phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getPostalcode() {
+ return this.postalcode;
+ }
+
+ public void setPostalcode(String postalcode) {
+ this.postalcode = postalcode;
+ }
+
+ public String getState() {
+ return this.state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public String getTerritory() {
+ return this.territory;
+ }
+
+ public void setTerritory(String territory) {
+ this.territory = territory;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Offices.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Orderdetails" table="ORDERDETAILS"
schema="PUBLIC">
+ <id name="orderdetailnumber" type="java.lang.Integer">
+ <column name="ORDERDETAILNUMBER" />
+ <generator class="identity" />
+ </id>
+ <many-to-one name="orders" class="org.diagram.Orders"
fetch="select">
+ <column name="ORDERNUMBER" not-null="true" />
+ </many-to-one>
+ <many-to-one name="products" class="org.diagram.Products"
fetch="select">
+ <column name="PRODUCTCODE" length="15"
not-null="true" />
+ </many-to-one>
+ <property name="orderlinenumber" type="short">
+ <column name="ORDERLINENUMBER" not-null="true" />
+ </property>
+ <property name="priceeach" type="double">
+ <column name="PRICEEACH" precision="0"
scale="0" not-null="true" />
+ </property>
+ <property name="quantityordered" type="int">
+ <column name="QUANTITYORDERED" not-null="true" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,77 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Orderdetails generated by hbm2java
+ */
+public class Orderdetails implements java.io.Serializable {
+
+ private Integer orderdetailnumber;
+ private Orders orders;
+ private Products products;
+ private short orderlinenumber;
+ private double priceeach;
+ private int quantityordered;
+
+ public Orderdetails() {
+ }
+
+ public Orderdetails(Orders orders, Products products,
+ short orderlinenumber, double priceeach, int quantityordered) {
+ this.orders = orders;
+ this.products = products;
+ this.orderlinenumber = orderlinenumber;
+ this.priceeach = priceeach;
+ this.quantityordered = quantityordered;
+ }
+
+ public Integer getOrderdetailnumber() {
+ return this.orderdetailnumber;
+ }
+
+ public void setOrderdetailnumber(Integer orderdetailnumber) {
+ this.orderdetailnumber = orderdetailnumber;
+ }
+
+ public Orders getOrders() {
+ return this.orders;
+ }
+
+ public void setOrders(Orders orders) {
+ this.orders = orders;
+ }
+
+ public Products getProducts() {
+ return this.products;
+ }
+
+ public void setProducts(Products products) {
+ this.products = products;
+ }
+
+ public short getOrderlinenumber() {
+ return this.orderlinenumber;
+ }
+
+ public void setOrderlinenumber(short orderlinenumber) {
+ this.orderlinenumber = orderlinenumber;
+ }
+
+ public double getPriceeach() {
+ return this.priceeach;
+ }
+
+ public void setPriceeach(double priceeach) {
+ this.priceeach = priceeach;
+ }
+
+ public int getQuantityordered() {
+ return this.quantityordered;
+ }
+
+ public void setQuantityordered(int quantityordered) {
+ this.quantityordered = quantityordered;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orderdetails.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Orders" table="ORDERS"
schema="PUBLIC">
+ <id name="ordernumber" type="int">
+ <column name="ORDERNUMBER" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="customers"
class="org.diagram.Customers" fetch="select">
+ <column name="CUSTOMERNUMBER" not-null="true" />
+ </many-to-one>
+ <property name="comments" type="string">
+ <column name="COMMENTS" />
+ </property>
+ <property name="orderdate" type="date">
+ <column name="ORDERDATE" length="0"
not-null="true" />
+ </property>
+ <property name="requireddate" type="date">
+ <column name="REQUIREDDATE" length="0"
not-null="true" />
+ </property>
+ <property name="shippeddate" type="date">
+ <column name="SHIPPEDDATE" length="0" />
+ </property>
+ <property name="status" type="string">
+ <column name="STATUS" length="16"
not-null="true" />
+ </property>
+ <set name="orderdetailses" table="ORDERDETAILS"
inverse="true" lazy="true" fetch="select">
+ <key>
+ <column name="ORDERNUMBER" not-null="true" />
+ </key>
+ <one-to-many class="org.diagram.Orderdetails" />
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,112 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Orders generated by hbm2java
+ */
+public class Orders implements java.io.Serializable {
+
+ private int ordernumber;
+ private Customers customers;
+ private String comments;
+ private Date orderdate;
+ private Date requireddate;
+ private Date shippeddate;
+ private String status;
+ private Set orderdetailses = new HashSet(0);
+
+ public Orders() {
+ }
+
+ public Orders(int ordernumber, Customers customers, Date orderdate,
+ Date requireddate, String status) {
+ this.ordernumber = ordernumber;
+ this.customers = customers;
+ this.orderdate = orderdate;
+ this.requireddate = requireddate;
+ this.status = status;
+ }
+
+ public Orders(int ordernumber, Customers customers, String comments,
+ Date orderdate, Date requireddate, Date shippeddate, String status,
+ Set orderdetailses) {
+ this.ordernumber = ordernumber;
+ this.customers = customers;
+ this.comments = comments;
+ this.orderdate = orderdate;
+ this.requireddate = requireddate;
+ this.shippeddate = shippeddate;
+ this.status = status;
+ this.orderdetailses = orderdetailses;
+ }
+
+ public int getOrdernumber() {
+ return this.ordernumber;
+ }
+
+ public void setOrdernumber(int ordernumber) {
+ this.ordernumber = ordernumber;
+ }
+
+ public Customers getCustomers() {
+ return this.customers;
+ }
+
+ public void setCustomers(Customers customers) {
+ this.customers = customers;
+ }
+
+ public String getComments() {
+ return this.comments;
+ }
+
+ public void setComments(String comments) {
+ this.comments = comments;
+ }
+
+ public Date getOrderdate() {
+ return this.orderdate;
+ }
+
+ public void setOrderdate(Date orderdate) {
+ this.orderdate = orderdate;
+ }
+
+ public Date getRequireddate() {
+ return this.requireddate;
+ }
+
+ public void setRequireddate(Date requireddate) {
+ this.requireddate = requireddate;
+ }
+
+ public Date getShippeddate() {
+ return this.shippeddate;
+ }
+
+ public void setShippeddate(Date shippeddate) {
+ this.shippeddate = shippeddate;
+ }
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public Set getOrderdetailses() {
+ return this.orderdetailses;
+ }
+
+ public void setOrderdetailses(Set orderdetailses) {
+ this.orderdetailses = orderdetailses;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Orders.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Passwordattributes"
table="PASSWORDATTRIBUTES" schema="PUBLIC">
+ <id name="id" type="string">
+ <column name="ID" length="32" />
+ <generator class="assigned" />
+ </id>
+ <version name="version" type="java.lang.Long">
+ <column name="VERSION" />
+ </version>
+ <set name="passwordresourceauditlogs"
table="PASSWORDRESOURCEAUDITLOG" inverse="true" lazy="true"
fetch="select">
+ <key>
+ <column name="ATTRIBUTES_ID" length="32" />
+ </key>
+ <one-to-many class="org.diagram.Passwordresourceauditlog" />
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,53 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Passwordattributes generated by hbm2java
+ */
+public class Passwordattributes implements java.io.Serializable {
+
+ private String id;
+ private Long version;
+ private Set passwordresourceauditlogs = new HashSet(0);
+
+ public Passwordattributes() {
+ }
+
+ public Passwordattributes(String id) {
+ this.id = id;
+ }
+
+ public Passwordattributes(String id, Set passwordresourceauditlogs) {
+ this.id = id;
+ this.passwordresourceauditlogs = passwordresourceauditlogs;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Long getVersion() {
+ return this.version;
+ }
+
+ public void setVersion(Long version) {
+ this.version = version;
+ }
+
+ public Set getPasswordresourceauditlogs() {
+ return this.passwordresourceauditlogs;
+ }
+
+ public void setPasswordresourceauditlogs(Set passwordresourceauditlogs) {
+ this.passwordresourceauditlogs = passwordresourceauditlogs;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordattributes.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Passwordresourceauditlog"
table="PASSWORDRESOURCEAUDITLOG" schema="PUBLIC">
+ <id name="id" type="string">
+ <column name="ID" length="32" />
+ <generator class="assigned" />
+ </id>
+ <timestamp name="timestamp" column="TIMESTAMP" />
+ <many-to-one name="passwordattributes"
class="org.diagram.Passwordattributes" fetch="select">
+ <column name="ATTRIBUTES_ID" length="32" />
+ </many-to-one>
+ <property name="datasourcename" type="string">
+ <column name="DATASOURCENAME" />
+ </property>
+ <property name="username" type="string">
+ <column name="USERNAME" length="50" />
+ </property>
+ <property name="version" type="java.lang.Long">
+ <column name="VERSION" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,84 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+
+/**
+ * Passwordresourceauditlog generated by hbm2java
+ */
+public class Passwordresourceauditlog implements java.io.Serializable {
+
+ private String id;
+ private Date timestamp;
+ private Passwordattributes passwordattributes;
+ private String datasourcename;
+ private String username;
+ private Long version;
+
+ public Passwordresourceauditlog() {
+ }
+
+ public Passwordresourceauditlog(String id) {
+ this.id = id;
+ }
+
+ public Passwordresourceauditlog(String id,
+ Passwordattributes passwordattributes, String datasourcename,
+ String username, Long version) {
+ this.id = id;
+ this.passwordattributes = passwordattributes;
+ this.datasourcename = datasourcename;
+ this.username = username;
+ this.version = version;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Date getTimestamp() {
+ return this.timestamp;
+ }
+
+ public void setTimestamp(Date timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public Passwordattributes getPasswordattributes() {
+ return this.passwordattributes;
+ }
+
+ public void setPasswordattributes(Passwordattributes passwordattributes) {
+ this.passwordattributes = passwordattributes;
+ }
+
+ public String getDatasourcename() {
+ return this.datasourcename;
+ }
+
+ public void setDatasourcename(String datasourcename) {
+ this.datasourcename = datasourcename;
+ }
+
+ public String getUsername() {
+ return this.username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public Long getVersion() {
+ return this.version;
+ }
+
+ public void setVersion(Long version) {
+ this.version = version;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Passwordresourceauditlog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Payments" table="PAYMENTS"
schema="PUBLIC">
+ <id name="paymentnumber" type="java.lang.Integer">
+ <column name="PAYMENTNUMBER" />
+ <generator class="identity" />
+ </id>
+ <many-to-one name="customers"
class="org.diagram.Customers" fetch="select">
+ <column name="CUSTOMERNUMBER" not-null="true" />
+ </many-to-one>
+ <property name="amount" type="double">
+ <column name="AMOUNT" precision="0"
scale="0" not-null="true" />
+ </property>
+ <property name="checknumber" type="string">
+ <column name="CHECKNUMBER" length="50"
not-null="true" />
+ </property>
+ <property name="paymentdate" type="date">
+ <column name="PAYMENTDATE" length="0"
not-null="true" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,69 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+
+/**
+ * Payments generated by hbm2java
+ */
+public class Payments implements java.io.Serializable {
+
+ private Integer paymentnumber;
+ private Customers customers;
+ private double amount;
+ private String checknumber;
+ private Date paymentdate;
+
+ public Payments() {
+ }
+
+ public Payments(Customers customers, double amount, String checknumber,
+ Date paymentdate) {
+ this.customers = customers;
+ this.amount = amount;
+ this.checknumber = checknumber;
+ this.paymentdate = paymentdate;
+ }
+
+ public Integer getPaymentnumber() {
+ return this.paymentnumber;
+ }
+
+ public void setPaymentnumber(Integer paymentnumber) {
+ this.paymentnumber = paymentnumber;
+ }
+
+ public Customers getCustomers() {
+ return this.customers;
+ }
+
+ public void setCustomers(Customers customers) {
+ this.customers = customers;
+ }
+
+ public double getAmount() {
+ return this.amount;
+ }
+
+ public void setAmount(double amount) {
+ this.amount = amount;
+ }
+
+ public String getChecknumber() {
+ return this.checknumber;
+ }
+
+ public void setChecknumber(String checknumber) {
+ this.checknumber = checknumber;
+ }
+
+ public Date getPaymentdate() {
+ return this.paymentdate;
+ }
+
+ public void setPaymentdate(Date paymentdate) {
+ this.paymentdate = paymentdate;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Payments.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Productlines" table="PRODUCTLINES"
schema="PUBLIC">
+ <id name="productline" type="string">
+ <column name="PRODUCTLINE" length="50" />
+ <generator class="assigned" />
+ </id>
+ <property name="htmldescription" type="string">
+ <column name="HTMLDESCRIPTION" length="4000" />
+ </property>
+ <property name="textdescription" type="string">
+ <column name="TEXTDESCRIPTION" length="4000" />
+ </property>
+ <set name="productses" table="PRODUCTS"
inverse="true" lazy="true" fetch="select">
+ <key>
+ <column name="PRODUCTLINE" length="50"
not-null="true" />
+ </key>
+ <one-to-many class="org.diagram.Products" />
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,65 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Productlines generated by hbm2java
+ */
+public class Productlines implements java.io.Serializable {
+
+ private String productline;
+ private String htmldescription;
+ private String textdescription;
+ private Set productses = new HashSet(0);
+
+ public Productlines() {
+ }
+
+ public Productlines(String productline) {
+ this.productline = productline;
+ }
+
+ public Productlines(String productline, String htmldescription,
+ String textdescription, Set productses) {
+ this.productline = productline;
+ this.htmldescription = htmldescription;
+ this.textdescription = textdescription;
+ this.productses = productses;
+ }
+
+ public String getProductline() {
+ return this.productline;
+ }
+
+ public void setProductline(String productline) {
+ this.productline = productline;
+ }
+
+ public String getHtmldescription() {
+ return this.htmldescription;
+ }
+
+ public void setHtmldescription(String htmldescription) {
+ this.htmldescription = htmldescription;
+ }
+
+ public String getTextdescription() {
+ return this.textdescription;
+ }
+
+ public void setTextdescription(String textdescription) {
+ this.textdescription = textdescription;
+ }
+
+ public Set getProductses() {
+ return this.productses;
+ }
+
+ public void setProductses(Set productses) {
+ this.productses = productses;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Productlines.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.hbm.xml 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 8:41:09 PM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.diagram.Products" table="PRODUCTS"
schema="PUBLIC">
+ <id name="productcode" type="string">
+ <column name="PRODUCTCODE" length="15" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="productlines"
class="org.diagram.Productlines" fetch="select">
+ <column name="PRODUCTLINE" length="50"
not-null="true" />
+ </many-to-one>
+ <property name="buyprice" type="double">
+ <column name="BUYPRICE" precision="0"
scale="0" not-null="true" />
+ </property>
+ <property name="msrp" type="double">
+ <column name="MSRP" precision="0" scale="0"
not-null="true" />
+ </property>
+ <property name="productdescription" type="string">
+ <column name="PRODUCTDESCRIPTION" length="4000"
not-null="true" />
+ </property>
+ <property name="productname" type="string">
+ <column name="PRODUCTNAME" length="70"
not-null="true" />
+ </property>
+ <property name="productscale" type="string">
+ <column name="PRODUCTSCALE" length="10"
not-null="true" />
+ </property>
+ <property name="productvendor" type="string">
+ <column name="PRODUCTVENDOR" length="50"
not-null="true" />
+ </property>
+ <property name="quantityinstock" type="short">
+ <column name="QUANTITYINSTOCK" not-null="true" />
+ </property>
+ <set name="orderdetailses" table="ORDERDETAILS"
inverse="true" lazy="true" fetch="select">
+ <key>
+ <column name="PRODUCTCODE" length="15"
not-null="true" />
+ </key>
+ <one-to-many class="org.diagram.Orderdetails" />
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.java
(rev 0)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.java 2012-03-19
20:13:54 UTC (rev 39639)
@@ -0,0 +1,138 @@
+package org.diagram;
+
+// Generated Mar 19, 2012 8:41:08 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Products generated by hbm2java
+ */
+public class Products implements java.io.Serializable {
+
+ private String productcode;
+ private Productlines productlines;
+ private double buyprice;
+ private double msrp;
+ private String productdescription;
+ private String productname;
+ private String productscale;
+ private String productvendor;
+ private short quantityinstock;
+ private Set orderdetailses = new HashSet(0);
+
+ public Products() {
+ }
+
+ public Products(String productcode, Productlines productlines,
+ double buyprice, double msrp, String productdescription,
+ String productname, String productscale, String productvendor,
+ short quantityinstock) {
+ this.productcode = productcode;
+ this.productlines = productlines;
+ this.buyprice = buyprice;
+ this.msrp = msrp;
+ this.productdescription = productdescription;
+ this.productname = productname;
+ this.productscale = productscale;
+ this.productvendor = productvendor;
+ this.quantityinstock = quantityinstock;
+ }
+
+ public Products(String productcode, Productlines productlines,
+ double buyprice, double msrp, String productdescription,
+ String productname, String productscale, String productvendor,
+ short quantityinstock, Set orderdetailses) {
+ this.productcode = productcode;
+ this.productlines = productlines;
+ this.buyprice = buyprice;
+ this.msrp = msrp;
+ this.productdescription = productdescription;
+ this.productname = productname;
+ this.productscale = productscale;
+ this.productvendor = productvendor;
+ this.quantityinstock = quantityinstock;
+ this.orderdetailses = orderdetailses;
+ }
+
+ public String getProductcode() {
+ return this.productcode;
+ }
+
+ public void setProductcode(String productcode) {
+ this.productcode = productcode;
+ }
+
+ public Productlines getProductlines() {
+ return this.productlines;
+ }
+
+ public void setProductlines(Productlines productlines) {
+ this.productlines = productlines;
+ }
+
+ public double getBuyprice() {
+ return this.buyprice;
+ }
+
+ public void setBuyprice(double buyprice) {
+ this.buyprice = buyprice;
+ }
+
+ public double getMsrp() {
+ return this.msrp;
+ }
+
+ public void setMsrp(double msrp) {
+ this.msrp = msrp;
+ }
+
+ public String getProductdescription() {
+ return this.productdescription;
+ }
+
+ public void setProductdescription(String productdescription) {
+ this.productdescription = productdescription;
+ }
+
+ public String getProductname() {
+ return this.productname;
+ }
+
+ public void setProductname(String productname) {
+ this.productname = productname;
+ }
+
+ public String getProductscale() {
+ return this.productscale;
+ }
+
+ public void setProductscale(String productscale) {
+ this.productscale = productscale;
+ }
+
+ public String getProductvendor() {
+ return this.productvendor;
+ }
+
+ public void setProductvendor(String productvendor) {
+ this.productvendor = productvendor;
+ }
+
+ public short getQuantityinstock() {
+ return this.quantityinstock;
+ }
+
+ public void setQuantityinstock(short quantityinstock) {
+ this.quantityinstock = quantityinstock;
+ }
+
+ public Set getOrderdetailses() {
+ return this.orderdetailses;
+ }
+
+ public void setOrderdetailses(Set orderdetailses) {
+ this.orderdetailses = orderdetailses;
+ }
+
+}
Property changes on:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/diagram/Products.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain