[#1211] Enforce method name disambiguation also when using custom strategies (regression of #182)

[#1212] Enforce identifier disambiguation also when using custom strategies (regression)
This commit is contained in:
Lukas Eder 2012-03-03 21:10:24 +00:00
parent b50b2177fb
commit 8d030d68dd
14 changed files with 0 additions and 1663 deletions

View File

@ -1,143 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class ProductVendor extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor> {
private static final long serialVersionUID = 832407977;
/**
* The singleton instance of Purchasing.ProductVendor
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor ProductVendor = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_ProductVendor_Product_ProductID
* FOREIGN KEY (ProductID)
* REFERENCES Production.Product (ProductID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.Integer> ProductID = createField("ProductID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_ProductVendor_Vendor_VendorID
* FOREIGN KEY (VendorID)
* REFERENCES Purchasing.Vendor (VendorID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.Integer> VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.Integer> AverageLeadTime = createField("AverageLeadTime", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.math.BigDecimal> StandardPrice = createField("StandardPrice", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.math.BigDecimal> LastReceiptCost = createField("LastReceiptCost", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.sql.Timestamp> LastReceiptDate = createField("LastReceiptDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.Integer> MinOrderQty = createField("MinOrderQty", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.Integer> MaxOrderQty = createField("MaxOrderQty", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.Integer> OnOrderQty = createField("OnOrderQty", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_ProductVendor_UnitMeasure_UnitMeasureCode
* FOREIGN KEY (UnitMeasureCode)
* REFERENCES Production.UnitMeasure (UnitMeasureCode)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.lang.String> UnitMeasureCode = createField("UnitMeasureCode", org.jooq.impl.SQLDataType.NCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, java.sql.Timestamp> ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* No further instances allowed
*/
private ProductVendor() {
super("ProductVendor", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private ProductVendor(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor.ProductVendor);
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor> getMainKey() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ProductVendor_ProductID_VendorID;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ProductVendor_ProductID_VendorID);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor, ?>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_ProductVendor_Product_ProductID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_ProductVendor_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_ProductVendor_UnitMeasure_UnitMeasureCode);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor(alias);
}
}

View File

@ -1,142 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class PurchaseOrderDetail extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail> {
private static final long serialVersionUID = 1340178033;
/**
* The singleton instance of Purchasing.PurchaseOrderDetail
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail PurchaseOrderDetail = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderID
* FOREIGN KEY (PurchaseOrderID)
* REFERENCES Purchasing.PurchaseOrderHeader (PurchaseOrderID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.lang.Integer> PurchaseOrderID = createField("PurchaseOrderID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*
* PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.lang.Integer> PurchaseOrderDetailID = createField("PurchaseOrderDetailID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.sql.Timestamp> DueDate = createField("DueDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.lang.Short> OrderQty = createField("OrderQty", org.jooq.impl.SQLDataType.SMALLINT, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_PurchaseOrderDetail_Product_ProductID
* FOREIGN KEY (ProductID)
* REFERENCES Production.Product (ProductID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.lang.Integer> ProductID = createField("ProductID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.math.BigDecimal> UnitPrice = createField("UnitPrice", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.math.BigDecimal> LineTotal = createField("LineTotal", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.math.BigDecimal> ReceivedQty = createField("ReceivedQty", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.math.BigDecimal> RejectedQty = createField("RejectedQty", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.math.BigDecimal> StockedQty = createField("StockedQty", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.sql.Timestamp> ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* No further instances allowed
*/
private PurchaseOrderDetail() {
super("PurchaseOrderDetail", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private PurchaseOrderDetail(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail.PurchaseOrderDetail);
}
@Override
public org.jooq.Identity<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, java.lang.Integer> getIdentity() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.IDENTITY_PurchaseOrderDetail;
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail> getMainKey() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderDetail_PurchaseOrderID_PurchaseOrderDetailID;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderDetail_PurchaseOrderID_PurchaseOrderDetailID);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail, ?>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderDetail_Product_ProductID);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail(alias);
}
}

View File

@ -1,156 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class PurchaseOrderHeader extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader> {
private static final long serialVersionUID = -1265498502;
/**
* The singleton instance of Purchasing.PurchaseOrderHeader
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader PurchaseOrderHeader = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*
* PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Integer> PurchaseOrderID = createField("PurchaseOrderID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Byte> RevisionNumber = createField("RevisionNumber", org.jooq.impl.SQLDataType.TINYINT, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Byte> Status = createField("Status", org.jooq.impl.SQLDataType.TINYINT, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_PurchaseOrderHeader_Employee_EmployeeID
* FOREIGN KEY (EmployeeID)
* REFERENCES HumanResources.Employee (EmployeeID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Integer> EmployeeID = createField("EmployeeID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_PurchaseOrderHeader_Vendor_VendorID
* FOREIGN KEY (VendorID)
* REFERENCES Purchasing.Vendor (VendorID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Integer> VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_PurchaseOrderHeader_ShipMethod_ShipMethodID
* FOREIGN KEY (ShipMethodID)
* REFERENCES Purchasing.ShipMethod (ShipMethodID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Integer> ShipMethodID = createField("ShipMethodID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.sql.Timestamp> OrderDate = createField("OrderDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.sql.Timestamp> ShipDate = createField("ShipDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.math.BigDecimal> SubTotal = createField("SubTotal", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.math.BigDecimal> TaxAmt = createField("TaxAmt", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.math.BigDecimal> Freight = createField("Freight", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.math.BigDecimal> TotalDue = createField("TotalDue", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.sql.Timestamp> ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* No further instances allowed
*/
private PurchaseOrderHeader() {
super("PurchaseOrderHeader", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private PurchaseOrderHeader(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader.PurchaseOrderHeader);
}
@Override
public org.jooq.Identity<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, java.lang.Integer> getIdentity() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.IDENTITY_PurchaseOrderHeader;
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader> getMainKey() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderHeader_PurchaseOrderID;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderHeader_PurchaseOrderID);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader, ?>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderHeader_Employee_EmployeeID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderHeader_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderHeader_ShipMethod_ShipMethodID);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader(alias);
}
}

View File

@ -1,97 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class ShipMethod extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod> {
private static final long serialVersionUID = -2044911349;
/**
* The singleton instance of Purchasing.ShipMethod
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod ShipMethod = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*
* PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.lang.Integer> ShipMethodID = createField("ShipMethodID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.lang.String> Name = createField("Name", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.math.BigDecimal> ShipBase = createField("ShipBase", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.math.BigDecimal> ShipRate = createField("ShipRate", org.jooq.impl.SQLDataType.NUMERIC, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.lang.String> rowguid = createField("rowguid", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.sql.Timestamp> ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* No further instances allowed
*/
private ShipMethod() {
super("ShipMethod", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private ShipMethod(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod.ShipMethod);
}
@Override
public org.jooq.Identity<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod, java.lang.Integer> getIdentity() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.IDENTITY_ShipMethod;
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod> getMainKey() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ShipMethod_ShipMethodID;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ShipMethod_ShipMethodID);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod(alias);
}
}

View File

@ -1,108 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class VendorAddress extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress> {
private static final long serialVersionUID = 679100526;
/**
* The singleton instance of Purchasing.VendorAddress
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress VendorAddress = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_VendorAddress_Vendor_VendorID
* FOREIGN KEY (VendorID)
* REFERENCES Purchasing.Vendor (VendorID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress, java.lang.Integer> VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_VendorAddress_Address_AddressID
* FOREIGN KEY (AddressID)
* REFERENCES Person.Address (AddressID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress, java.lang.Integer> AddressID = createField("AddressID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_VendorAddress_AddressType_AddressTypeID
* FOREIGN KEY (AddressTypeID)
* REFERENCES Person.AddressType (AddressTypeID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress, java.lang.Integer> AddressTypeID = createField("AddressTypeID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress, java.sql.Timestamp> ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* No further instances allowed
*/
private VendorAddress() {
super("VendorAddress", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private VendorAddress(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress.VendorAddress);
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress> getMainKey() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorAddress_VendorID_AddressID;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorAddress_VendorID_AddressID);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress, ?>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorAddress_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorAddress_Address_AddressID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorAddress_AddressType_AddressTypeID);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress(alias);
}
}

View File

@ -1,108 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class VendorContact extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact> {
private static final long serialVersionUID = -1308984518;
/**
* The singleton instance of Purchasing.VendorContact
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact VendorContact = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_VendorContact_Vendor_VendorID
* FOREIGN KEY (VendorID)
* REFERENCES Purchasing.Vendor (VendorID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact, java.lang.Integer> VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*
* PRIMARY KEY
* <p>
* <code><pre>
* CONSTRAINT FK_VendorContact_Contact_ContactID
* FOREIGN KEY (ContactID)
* REFERENCES Person.Contact (ContactID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact, java.lang.Integer> ContactID = createField("ContactID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
* <p>
* <code><pre>
* CONSTRAINT FK_VendorContact_ContactType_ContactTypeID
* FOREIGN KEY (ContactTypeID)
* REFERENCES Person.ContactType (ContactTypeID)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact, java.lang.Integer> ContactTypeID = createField("ContactTypeID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact, java.sql.Timestamp> ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this);
/**
* No further instances allowed
*/
private VendorContact() {
super("VendorContact", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private VendorContact(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact.VendorContact);
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact> getMainKey() {
return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorContact_VendorID_ContactID;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorContact_VendorID_ContactID);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact, ?>>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorContact_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorContact_Contact_ContactID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorContact_ContactType_ContactTypeID);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact(alias);
}
}

View File

@ -1,134 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables;
/**
* This class is generated by jOOQ.
*/
public class vVendor extends org.jooq.impl.TableImpl<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor> {
private static final long serialVersionUID = -136906519;
/**
* The singleton instance of Purchasing.vVendor
*/
public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor vVendor = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor();
/**
* The class holding records for this type
*/
private static final java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor> __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor.class;
/**
* The class holding records for this type
*/
@Override
public java.lang.Class<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor> getRecordType() {
return __RECORD_TYPE;
}
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.Integer> VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> Name = createField("Name", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> ContactType = createField("ContactType", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> Title = createField("Title", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> FirstName = createField("FirstName", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> MiddleName = createField("MiddleName", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> LastName = createField("LastName", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> Suffix = createField("Suffix", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> Phone = createField("Phone", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> EmailAddress = createField("EmailAddress", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.Integer> EmailPromotion = createField("EmailPromotion", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> AddressLine1 = createField("AddressLine1", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> AddressLine2 = createField("AddressLine2", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> City = createField("City", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> StateProvinceName = createField("StateProvinceName", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> PostalCode = createField("PostalCode", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* An uncommented item
*/
public final org.jooq.TableField<org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor, java.lang.String> CountryRegionName = createField("CountryRegionName", org.jooq.impl.SQLDataType.NVARCHAR, this);
/**
* No further instances allowed
*/
private vVendor() {
super("vVendor", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing);
}
/**
* No further instances allowed
*/
private vVendor(java.lang.String alias) {
super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor.vVendor);
}
@Override
public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor as(java.lang.String alias) {
return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor(alias);
}
}

View File

@ -1,127 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "ProductVendor", schema = "Purchasing", uniqueConstraints = {
@javax.persistence.UniqueConstraint(columnNames = {"ProductID", "VendorID"})
})
public class ProductVendor implements java.io.Serializable {
private static final long serialVersionUID = 408168499;
private java.lang.Integer ProductID;
private java.lang.Integer VendorID;
private java.lang.Integer AverageLeadTime;
private java.math.BigDecimal StandardPrice;
private java.math.BigDecimal LastReceiptCost;
private java.sql.Timestamp LastReceiptDate;
private java.lang.Integer MinOrderQty;
private java.lang.Integer MaxOrderQty;
private java.lang.Integer OnOrderQty;
private java.lang.String UnitMeasureCode;
private java.sql.Timestamp ModifiedDate;
@javax.persistence.Column(name = "ProductID", nullable = false)
public java.lang.Integer getProductID() {
return this.ProductID;
}
public void setProductID(java.lang.Integer ProductID) {
this.ProductID = ProductID;
}
@javax.persistence.Column(name = "VendorID", nullable = false)
public java.lang.Integer getVendorID() {
return this.VendorID;
}
public void setVendorID(java.lang.Integer VendorID) {
this.VendorID = VendorID;
}
@javax.persistence.Column(name = "AverageLeadTime", nullable = false)
public java.lang.Integer getAverageLeadTime() {
return this.AverageLeadTime;
}
public void setAverageLeadTime(java.lang.Integer AverageLeadTime) {
this.AverageLeadTime = AverageLeadTime;
}
@javax.persistence.Column(name = "StandardPrice", nullable = false)
public java.math.BigDecimal getStandardPrice() {
return this.StandardPrice;
}
public void setStandardPrice(java.math.BigDecimal StandardPrice) {
this.StandardPrice = StandardPrice;
}
@javax.persistence.Column(name = "LastReceiptCost")
public java.math.BigDecimal getLastReceiptCost() {
return this.LastReceiptCost;
}
public void setLastReceiptCost(java.math.BigDecimal LastReceiptCost) {
this.LastReceiptCost = LastReceiptCost;
}
@javax.persistence.Column(name = "LastReceiptDate")
public java.sql.Timestamp getLastReceiptDate() {
return this.LastReceiptDate;
}
public void setLastReceiptDate(java.sql.Timestamp LastReceiptDate) {
this.LastReceiptDate = LastReceiptDate;
}
@javax.persistence.Column(name = "MinOrderQty", nullable = false)
public java.lang.Integer getMinOrderQty() {
return this.MinOrderQty;
}
public void setMinOrderQty(java.lang.Integer MinOrderQty) {
this.MinOrderQty = MinOrderQty;
}
@javax.persistence.Column(name = "MaxOrderQty", nullable = false)
public java.lang.Integer getMaxOrderQty() {
return this.MaxOrderQty;
}
public void setMaxOrderQty(java.lang.Integer MaxOrderQty) {
this.MaxOrderQty = MaxOrderQty;
}
@javax.persistence.Column(name = "OnOrderQty")
public java.lang.Integer getOnOrderQty() {
return this.OnOrderQty;
}
public void setOnOrderQty(java.lang.Integer OnOrderQty) {
this.OnOrderQty = OnOrderQty;
}
@javax.persistence.Column(name = "UnitMeasureCode", nullable = false)
public java.lang.String getUnitMeasureCode() {
return this.UnitMeasureCode;
}
public void setUnitMeasureCode(java.lang.String UnitMeasureCode) {
this.UnitMeasureCode = UnitMeasureCode;
}
@javax.persistence.Column(name = "ModifiedDate", nullable = false)
public java.sql.Timestamp getModifiedDate() {
return this.ModifiedDate;
}
public void setModifiedDate(java.sql.Timestamp ModifiedDate) {
this.ModifiedDate = ModifiedDate;
}
}

View File

@ -1,127 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "PurchaseOrderDetail", schema = "Purchasing", uniqueConstraints = {
@javax.persistence.UniqueConstraint(columnNames = {"PurchaseOrderID", "PurchaseOrderDetailID"})
})
public class PurchaseOrderDetail implements java.io.Serializable {
private static final long serialVersionUID = 248882104;
private java.lang.Integer PurchaseOrderID;
private java.lang.Integer PurchaseOrderDetailID;
private java.sql.Timestamp DueDate;
private java.lang.Short OrderQty;
private java.lang.Integer ProductID;
private java.math.BigDecimal UnitPrice;
private java.math.BigDecimal LineTotal;
private java.math.BigDecimal ReceivedQty;
private java.math.BigDecimal RejectedQty;
private java.math.BigDecimal StockedQty;
private java.sql.Timestamp ModifiedDate;
@javax.persistence.Column(name = "PurchaseOrderID", nullable = false)
public java.lang.Integer getPurchaseOrderID() {
return this.PurchaseOrderID;
}
public void setPurchaseOrderID(java.lang.Integer PurchaseOrderID) {
this.PurchaseOrderID = PurchaseOrderID;
}
@javax.persistence.Column(name = "PurchaseOrderDetailID", nullable = false)
public java.lang.Integer getPurchaseOrderDetailID() {
return this.PurchaseOrderDetailID;
}
public void setPurchaseOrderDetailID(java.lang.Integer PurchaseOrderDetailID) {
this.PurchaseOrderDetailID = PurchaseOrderDetailID;
}
@javax.persistence.Column(name = "DueDate", nullable = false)
public java.sql.Timestamp getDueDate() {
return this.DueDate;
}
public void setDueDate(java.sql.Timestamp DueDate) {
this.DueDate = DueDate;
}
@javax.persistence.Column(name = "OrderQty", nullable = false)
public java.lang.Short getOrderQty() {
return this.OrderQty;
}
public void setOrderQty(java.lang.Short OrderQty) {
this.OrderQty = OrderQty;
}
@javax.persistence.Column(name = "ProductID", nullable = false)
public java.lang.Integer getProductID() {
return this.ProductID;
}
public void setProductID(java.lang.Integer ProductID) {
this.ProductID = ProductID;
}
@javax.persistence.Column(name = "UnitPrice", nullable = false)
public java.math.BigDecimal getUnitPrice() {
return this.UnitPrice;
}
public void setUnitPrice(java.math.BigDecimal UnitPrice) {
this.UnitPrice = UnitPrice;
}
@javax.persistence.Column(name = "LineTotal", nullable = false)
public java.math.BigDecimal getLineTotal() {
return this.LineTotal;
}
public void setLineTotal(java.math.BigDecimal LineTotal) {
this.LineTotal = LineTotal;
}
@javax.persistence.Column(name = "ReceivedQty", nullable = false)
public java.math.BigDecimal getReceivedQty() {
return this.ReceivedQty;
}
public void setReceivedQty(java.math.BigDecimal ReceivedQty) {
this.ReceivedQty = ReceivedQty;
}
@javax.persistence.Column(name = "RejectedQty", nullable = false)
public java.math.BigDecimal getRejectedQty() {
return this.RejectedQty;
}
public void setRejectedQty(java.math.BigDecimal RejectedQty) {
this.RejectedQty = RejectedQty;
}
@javax.persistence.Column(name = "StockedQty", nullable = false)
public java.math.BigDecimal getStockedQty() {
return this.StockedQty;
}
public void setStockedQty(java.math.BigDecimal StockedQty) {
this.StockedQty = StockedQty;
}
@javax.persistence.Column(name = "ModifiedDate", nullable = false)
public java.sql.Timestamp getModifiedDate() {
return this.ModifiedDate;
}
public void setModifiedDate(java.sql.Timestamp ModifiedDate) {
this.ModifiedDate = ModifiedDate;
}
}

View File

@ -1,146 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "PurchaseOrderHeader", schema = "Purchasing")
public class PurchaseOrderHeader implements java.io.Serializable {
private static final long serialVersionUID = -1344621084;
private java.lang.Integer PurchaseOrderID;
private java.lang.Byte RevisionNumber;
private java.lang.Byte Status;
private java.lang.Integer EmployeeID;
private java.lang.Integer VendorID;
private java.lang.Integer ShipMethodID;
private java.sql.Timestamp OrderDate;
private java.sql.Timestamp ShipDate;
private java.math.BigDecimal SubTotal;
private java.math.BigDecimal TaxAmt;
private java.math.BigDecimal Freight;
private java.math.BigDecimal TotalDue;
private java.sql.Timestamp ModifiedDate;
@javax.persistence.Id
@javax.persistence.Column(name = "PurchaseOrderID", unique = true, nullable = false)
public java.lang.Integer getPurchaseOrderID() {
return this.PurchaseOrderID;
}
public void setPurchaseOrderID(java.lang.Integer PurchaseOrderID) {
this.PurchaseOrderID = PurchaseOrderID;
}
@javax.persistence.Column(name = "RevisionNumber", nullable = false)
public java.lang.Byte getRevisionNumber() {
return this.RevisionNumber;
}
public void setRevisionNumber(java.lang.Byte RevisionNumber) {
this.RevisionNumber = RevisionNumber;
}
@javax.persistence.Column(name = "Status", nullable = false)
public java.lang.Byte getStatus() {
return this.Status;
}
public void setStatus(java.lang.Byte Status) {
this.Status = Status;
}
@javax.persistence.Column(name = "EmployeeID", nullable = false)
public java.lang.Integer getEmployeeID() {
return this.EmployeeID;
}
public void setEmployeeID(java.lang.Integer EmployeeID) {
this.EmployeeID = EmployeeID;
}
@javax.persistence.Column(name = "VendorID", nullable = false)
public java.lang.Integer getVendorID() {
return this.VendorID;
}
public void setVendorID(java.lang.Integer VendorID) {
this.VendorID = VendorID;
}
@javax.persistence.Column(name = "ShipMethodID", nullable = false)
public java.lang.Integer getShipMethodID() {
return this.ShipMethodID;
}
public void setShipMethodID(java.lang.Integer ShipMethodID) {
this.ShipMethodID = ShipMethodID;
}
@javax.persistence.Column(name = "OrderDate", nullable = false)
public java.sql.Timestamp getOrderDate() {
return this.OrderDate;
}
public void setOrderDate(java.sql.Timestamp OrderDate) {
this.OrderDate = OrderDate;
}
@javax.persistence.Column(name = "ShipDate")
public java.sql.Timestamp getShipDate() {
return this.ShipDate;
}
public void setShipDate(java.sql.Timestamp ShipDate) {
this.ShipDate = ShipDate;
}
@javax.persistence.Column(name = "SubTotal", nullable = false)
public java.math.BigDecimal getSubTotal() {
return this.SubTotal;
}
public void setSubTotal(java.math.BigDecimal SubTotal) {
this.SubTotal = SubTotal;
}
@javax.persistence.Column(name = "TaxAmt", nullable = false)
public java.math.BigDecimal getTaxAmt() {
return this.TaxAmt;
}
public void setTaxAmt(java.math.BigDecimal TaxAmt) {
this.TaxAmt = TaxAmt;
}
@javax.persistence.Column(name = "Freight", nullable = false)
public java.math.BigDecimal getFreight() {
return this.Freight;
}
public void setFreight(java.math.BigDecimal Freight) {
this.Freight = Freight;
}
@javax.persistence.Column(name = "TotalDue", nullable = false)
public java.math.BigDecimal getTotalDue() {
return this.TotalDue;
}
public void setTotalDue(java.math.BigDecimal TotalDue) {
this.TotalDue = TotalDue;
}
@javax.persistence.Column(name = "ModifiedDate", nullable = false)
public java.sql.Timestamp getModifiedDate() {
return this.ModifiedDate;
}
public void setModifiedDate(java.sql.Timestamp ModifiedDate) {
this.ModifiedDate = ModifiedDate;
}
}

View File

@ -1,76 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "ShipMethod", schema = "Purchasing")
public class ShipMethod implements java.io.Serializable {
private static final long serialVersionUID = 1720013689;
private java.lang.Integer ShipMethodID;
private java.lang.String Name;
private java.math.BigDecimal ShipBase;
private java.math.BigDecimal ShipRate;
private java.lang.String rowguid;
private java.sql.Timestamp ModifiedDate;
@javax.persistence.Id
@javax.persistence.Column(name = "ShipMethodID", unique = true, nullable = false)
public java.lang.Integer getShipMethodID() {
return this.ShipMethodID;
}
public void setShipMethodID(java.lang.Integer ShipMethodID) {
this.ShipMethodID = ShipMethodID;
}
@javax.persistence.Column(name = "Name", nullable = false)
public java.lang.String getName() {
return this.Name;
}
public void setName(java.lang.String Name) {
this.Name = Name;
}
@javax.persistence.Column(name = "ShipBase", nullable = false)
public java.math.BigDecimal getShipBase() {
return this.ShipBase;
}
public void setShipBase(java.math.BigDecimal ShipBase) {
this.ShipBase = ShipBase;
}
@javax.persistence.Column(name = "ShipRate", nullable = false)
public java.math.BigDecimal getShipRate() {
return this.ShipRate;
}
public void setShipRate(java.math.BigDecimal ShipRate) {
this.ShipRate = ShipRate;
}
@javax.persistence.Column(name = "rowguid", nullable = false)
public java.lang.String getrowguid() {
return this.rowguid;
}
public void setrowguid(java.lang.String rowguid) {
this.rowguid = rowguid;
}
@javax.persistence.Column(name = "ModifiedDate", nullable = false)
public java.sql.Timestamp getModifiedDate() {
return this.ModifiedDate;
}
public void setModifiedDate(java.sql.Timestamp ModifiedDate) {
this.ModifiedDate = ModifiedDate;
}
}

View File

@ -1,57 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "VendorAddress", schema = "Purchasing", uniqueConstraints = {
@javax.persistence.UniqueConstraint(columnNames = {"VendorID", "AddressID"})
})
public class VendorAddress implements java.io.Serializable {
private static final long serialVersionUID = 1875259502;
private java.lang.Integer VendorID;
private java.lang.Integer AddressID;
private java.lang.Integer AddressTypeID;
private java.sql.Timestamp ModifiedDate;
@javax.persistence.Column(name = "VendorID", nullable = false)
public java.lang.Integer getVendorID() {
return this.VendorID;
}
public void setVendorID(java.lang.Integer VendorID) {
this.VendorID = VendorID;
}
@javax.persistence.Column(name = "AddressID", nullable = false)
public java.lang.Integer getAddressID() {
return this.AddressID;
}
public void setAddressID(java.lang.Integer AddressID) {
this.AddressID = AddressID;
}
@javax.persistence.Column(name = "AddressTypeID", nullable = false)
public java.lang.Integer getAddressTypeID() {
return this.AddressTypeID;
}
public void setAddressTypeID(java.lang.Integer AddressTypeID) {
this.AddressTypeID = AddressTypeID;
}
@javax.persistence.Column(name = "ModifiedDate", nullable = false)
public java.sql.Timestamp getModifiedDate() {
return this.ModifiedDate;
}
public void setModifiedDate(java.sql.Timestamp ModifiedDate) {
this.ModifiedDate = ModifiedDate;
}
}

View File

@ -1,57 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "VendorContact", schema = "Purchasing", uniqueConstraints = {
@javax.persistence.UniqueConstraint(columnNames = {"VendorID", "ContactID"})
})
public class VendorContact implements java.io.Serializable {
private static final long serialVersionUID = -1907381854;
private java.lang.Integer VendorID;
private java.lang.Integer ContactID;
private java.lang.Integer ContactTypeID;
private java.sql.Timestamp ModifiedDate;
@javax.persistence.Column(name = "VendorID", nullable = false)
public java.lang.Integer getVendorID() {
return this.VendorID;
}
public void setVendorID(java.lang.Integer VendorID) {
this.VendorID = VendorID;
}
@javax.persistence.Column(name = "ContactID", nullable = false)
public java.lang.Integer getContactID() {
return this.ContactID;
}
public void setContactID(java.lang.Integer ContactID) {
this.ContactID = ContactID;
}
@javax.persistence.Column(name = "ContactTypeID", nullable = false)
public java.lang.Integer getContactTypeID() {
return this.ContactTypeID;
}
public void setContactTypeID(java.lang.Integer ContactTypeID) {
this.ContactTypeID = ContactTypeID;
}
@javax.persistence.Column(name = "ModifiedDate", nullable = false)
public java.sql.Timestamp getModifiedDate() {
return this.ModifiedDate;
}
public void setModifiedDate(java.sql.Timestamp ModifiedDate) {
this.ModifiedDate = ModifiedDate;
}
}

View File

@ -1,185 +0,0 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos;
/**
* This class is generated by jOOQ.
*/
@javax.persistence.Entity
@javax.persistence.Table(name = "vVendor", schema = "Purchasing")
public class vVendor implements java.io.Serializable {
private static final long serialVersionUID = -2092090805;
private java.lang.Integer VendorID;
private java.lang.String Name;
private java.lang.String ContactType;
private java.lang.String Title;
private java.lang.String FirstName;
private java.lang.String MiddleName;
private java.lang.String LastName;
private java.lang.String Suffix;
private java.lang.String Phone;
private java.lang.String EmailAddress;
private java.lang.Integer EmailPromotion;
private java.lang.String AddressLine1;
private java.lang.String AddressLine2;
private java.lang.String City;
private java.lang.String StateProvinceName;
private java.lang.String PostalCode;
private java.lang.String CountryRegionName;
@javax.persistence.Column(name = "VendorID", nullable = false)
public java.lang.Integer getVendorID() {
return this.VendorID;
}
public void setVendorID(java.lang.Integer VendorID) {
this.VendorID = VendorID;
}
@javax.persistence.Column(name = "Name", nullable = false)
public java.lang.String getName() {
return this.Name;
}
public void setName(java.lang.String Name) {
this.Name = Name;
}
@javax.persistence.Column(name = "ContactType", nullable = false)
public java.lang.String getContactType() {
return this.ContactType;
}
public void setContactType(java.lang.String ContactType) {
this.ContactType = ContactType;
}
@javax.persistence.Column(name = "Title")
public java.lang.String getTitle() {
return this.Title;
}
public void setTitle(java.lang.String Title) {
this.Title = Title;
}
@javax.persistence.Column(name = "FirstName", nullable = false)
public java.lang.String getFirstName() {
return this.FirstName;
}
public void setFirstName(java.lang.String FirstName) {
this.FirstName = FirstName;
}
@javax.persistence.Column(name = "MiddleName")
public java.lang.String getMiddleName() {
return this.MiddleName;
}
public void setMiddleName(java.lang.String MiddleName) {
this.MiddleName = MiddleName;
}
@javax.persistence.Column(name = "LastName", nullable = false)
public java.lang.String getLastName() {
return this.LastName;
}
public void setLastName(java.lang.String LastName) {
this.LastName = LastName;
}
@javax.persistence.Column(name = "Suffix")
public java.lang.String getSuffix() {
return this.Suffix;
}
public void setSuffix(java.lang.String Suffix) {
this.Suffix = Suffix;
}
@javax.persistence.Column(name = "Phone")
public java.lang.String getPhone() {
return this.Phone;
}
public void setPhone(java.lang.String Phone) {
this.Phone = Phone;
}
@javax.persistence.Column(name = "EmailAddress")
public java.lang.String getEmailAddress() {
return this.EmailAddress;
}
public void setEmailAddress(java.lang.String EmailAddress) {
this.EmailAddress = EmailAddress;
}
@javax.persistence.Column(name = "EmailPromotion", nullable = false)
public java.lang.Integer getEmailPromotion() {
return this.EmailPromotion;
}
public void setEmailPromotion(java.lang.Integer EmailPromotion) {
this.EmailPromotion = EmailPromotion;
}
@javax.persistence.Column(name = "AddressLine1", nullable = false)
public java.lang.String getAddressLine1() {
return this.AddressLine1;
}
public void setAddressLine1(java.lang.String AddressLine1) {
this.AddressLine1 = AddressLine1;
}
@javax.persistence.Column(name = "AddressLine2")
public java.lang.String getAddressLine2() {
return this.AddressLine2;
}
public void setAddressLine2(java.lang.String AddressLine2) {
this.AddressLine2 = AddressLine2;
}
@javax.persistence.Column(name = "City", nullable = false)
public java.lang.String getCity() {
return this.City;
}
public void setCity(java.lang.String City) {
this.City = City;
}
@javax.persistence.Column(name = "StateProvinceName", nullable = false)
public java.lang.String getStateProvinceName() {
return this.StateProvinceName;
}
public void setStateProvinceName(java.lang.String StateProvinceName) {
this.StateProvinceName = StateProvinceName;
}
@javax.persistence.Column(name = "PostalCode", nullable = false)
public java.lang.String getPostalCode() {
return this.PostalCode;
}
public void setPostalCode(java.lang.String PostalCode) {
this.PostalCode = PostalCode;
}
@javax.persistence.Column(name = "CountryRegionName", nullable = false)
public java.lang.String getCountryRegionName() {
return this.CountryRegionName;
}
public void setCountryRegionName(java.lang.String CountryRegionName) {
this.CountryRegionName = CountryRegionName;
}
}