From svnnotify @ sourceforge.jp Fri Apr 4 12:45:52 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Fri, 04 Apr 2008 12:45:52 +0900
Subject: [pal-cvs 3135] [871] disabled a name editing.
Message-ID: <1207280752.222968.7208.nullmailer@users.sourceforge.jp>
Revision: 871
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=871
Author: shinsuke
Date: 2008-04-04 12:45:51 +0900 (Fri, 04 Apr 2008)
Log Message:
-----------
disabled a name editing.
Modified Paths:
--------------
pal-admin/trunk/src/main/webapp/view/deployer/remoteRepositoryEdit.html
-------------- next part --------------
Modified: pal-admin/trunk/src/main/webapp/view/deployer/remoteRepositoryEdit.html
===================================================================
--- pal-admin/trunk/src/main/webapp/view/deployer/remoteRepositoryEdit.html 2008-03-29 22:18:32 UTC (rev 870)
+++ pal-admin/trunk/src/main/webapp/view/deployer/remoteRepositoryEdit.html 2008-04-04 03:45:51 UTC (rev 871)
@@ -40,7 +40,10 @@
- |
+
+
+ aaa
+ |
|
From svnnotify @ sourceforge.jp Fri Apr 4 12:46:07 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Fri, 04 Apr 2008 12:46:07 +0900
Subject: [pal-cvs 3136] [872] version 0.7
Message-ID: <1207280767.801752.8186.nullmailer@users.sourceforge.jp>
Revision: 872
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=872
Author: shinsuke
Date: 2008-04-04 12:46:07 +0900 (Fri, 04 Apr 2008)
Log Message:
-----------
version 0.7
Modified Paths:
--------------
pal-admin/trunk/pom.xml
-------------- next part --------------
Modified: pal-admin/trunk/pom.xml
===================================================================
--- pal-admin/trunk/pom.xml 2008-04-04 03:45:51 UTC (rev 871)
+++ pal-admin/trunk/pom.xml 2008-04-04 03:46:07 UTC (rev 872)
@@ -3,7 +3,7 @@
4.0.0
jp.sf.pal
pal-admin
- 0.7-SNAPSHOT
+ 0.7
war
Administration tools for PAL Portal
From svnnotify @ sourceforge.jp Fri Apr 4 15:53:31 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Fri, 04 Apr 2008 15:53:31 +0900
Subject: [pal-cvs 3137] [873] version 0.7
Message-ID: <1207292011.605385.13444.nullmailer@users.sourceforge.jp>
Revision: 873
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=873
Author: shinsuke
Date: 2008-04-04 15:53:31 +0900 (Fri, 04 Apr 2008)
Log Message:
-----------
version 0.7
Added Paths:
-----------
pal-admin/tags/pal-admin-0.7/
-------------- next part --------------
Copied: pal-admin/tags/pal-admin-0.7 (from rev 872, pal-admin/trunk)
From svnnotify @ sourceforge.jp Fri Apr 4 15:56:04 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Fri, 04 Apr 2008 15:56:04 +0900
Subject: [pal-cvs 3138] [874] version 1.0.4
Message-ID: <1207292164.524540.16307.nullmailer@users.sourceforge.jp>
Revision: 874
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=874
Author: shinsuke
Date: 2008-04-04 15:56:04 +0900 (Fri, 04 Apr 2008)
Log Message:
-----------
version 1.0.4
Modified Paths:
--------------
pal-portal/trunk/build.properties
pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties
-------------- next part --------------
Modified: pal-portal/trunk/build.properties
===================================================================
--- pal-portal/trunk/build.properties 2008-04-04 06:53:31 UTC (rev 873)
+++ pal-portal/trunk/build.properties 2008-04-04 06:56:04 UTC (rev 874)
@@ -4,7 +4,7 @@
container.name=PAL Portal
container.separator=/
container.version.major=1
-container.version.minor=0.4-dev
+container.version.minor=0.4
container.info.file=commons/src/java/org/apache/jetspeed/container/resources/ContainerInfo.properties
portlets.home=${basedir}/portlets
portlets.build.dir=${portlets.home}/build
Modified: pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties
===================================================================
--- pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties 2008-04-04 06:53:31 UTC (rev 873)
+++ pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties 2008-04-04 06:56:04 UTC (rev 874)
@@ -11,7 +11,7 @@
# SVN
#svn.repository.path=http://svn.sourceforge.jp/svnroot/pal/pal-admin/trunk/
-svn.repository.path=http://svn.sourceforge.jp/svnroot/pal/pal-admin/tags/pal-admin-0.6
+svn.repository.path=http://svn.sourceforge.jp/svnroot/pal/pal-admin/tags/pal-admin-0.7
svn.revision=HEAD
svn.module.name=pal-admin
From svnnotify @ sourceforge.jp Mon Apr 7 10:40:12 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Mon, 07 Apr 2008 10:40:12 +0900
Subject: [pal-cvs 3139] [875] created tags.
Message-ID: <1207532412.254553.13749.nullmailer@users.sourceforge.jp>
Revision: 875
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=875
Author: shinsuke
Date: 2008-04-07 10:40:12 +0900 (Mon, 07 Apr 2008)
Log Message:
-----------
created tags.
Added Paths:
-----------
pal-portal/tags/
-------------- next part --------------
From svnnotify @ sourceforge.jp Mon Apr 7 10:40:58 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Mon, 07 Apr 2008 10:40:58 +0900
Subject: [pal-cvs 3140] [876] version 1.0.4
Message-ID: <1207532458.070585.13956.nullmailer@users.sourceforge.jp>
Revision: 876
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=876
Author: shinsuke
Date: 2008-04-07 10:40:57 +0900 (Mon, 07 Apr 2008)
Log Message:
-----------
version 1.0.4
Added Paths:
-----------
pal-portal/tags/pal-portal-1.0.4/
-------------- next part --------------
Copied: pal-portal/tags/pal-portal-1.0.4 (from rev 875, pal-portal/trunk)
From svnnotify @ sourceforge.jp Mon Apr 7 10:45:35 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Mon, 07 Apr 2008 10:45:35 +0900
Subject: [pal-cvs 3141] [877] started 1.0.5 development.
Message-ID: <1207532735.024419.16958.nullmailer@users.sourceforge.jp>
Revision: 877
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=877
Author: shinsuke
Date: 2008-04-07 10:45:34 +0900 (Mon, 07 Apr 2008)
Log Message:
-----------
started 1.0.5 development.
Modified Paths:
--------------
pal-portal/trunk/build.properties
-------------- next part --------------
Modified: pal-portal/trunk/build.properties
===================================================================
--- pal-portal/trunk/build.properties 2008-04-07 01:40:57 UTC (rev 876)
+++ pal-portal/trunk/build.properties 2008-04-07 01:45:34 UTC (rev 877)
@@ -4,7 +4,7 @@
container.name=PAL Portal
container.separator=/
container.version.major=1
-container.version.minor=0.4
+container.version.minor=0.5-dev
container.info.file=commons/src/java/org/apache/jetspeed/container/resources/ContainerInfo.properties
portlets.home=${basedir}/portlets
portlets.build.dir=${portlets.home}/build
From svnnotify @ sourceforge.jp Tue Apr 8 13:39:31 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Tue, 08 Apr 2008 13:39:31 +0900
Subject: [pal-cvs 3142] [878] updated db schema and implemented entities.
Message-ID: <1207629571.082876.4798.nullmailer@users.sourceforge.jp>
Revision: 878
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=878
Author: shinsuke
Date: 2008-04-08 13:39:30 +0900 (Tue, 08 Apr 2008)
Log Message:
-----------
updated db schema and implemented entities.
Modified Paths:
--------------
pompei/libraries/pompei-db-h2/trunk/.classpath
pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties
pompei/libraries/pompei-db-h2/trunk/pom.xml
pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoryBhv.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsFileDataBhv.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturerDescriptionBhv.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderFormBhv.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderPaymentBhv.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductBhv.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoryDao.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsFileDataDao.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturerDescriptionDao.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderFormDao.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderPaymentDao.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductDao.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBargain.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasket.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasketProductOption.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCardType.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategory.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryContent.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryInfo.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountry.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountryDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomer.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatus.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatusDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryType.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryTypeDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZone.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZoneDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileData.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileTag.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsImageData.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturer.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerInfo.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderCardInfo.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderComment.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderForm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderNotification.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderPayment.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProduct.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProductOption.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatus.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusHistory.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethod.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethodDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatus.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatusDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProduct.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductAttribute.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductContent.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductInfo.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOption.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValue.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValueDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReview.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxType.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxTypeDescription.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BargainDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketProductOptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CardTypeDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryContentDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryInfoDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomerDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileDataDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileTagDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ImageDataDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerInfoDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCardInfoDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCommentDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderFormDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderNotificationDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderPaymentDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductOptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusHistoryDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductAttributeDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductContentDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductInfoDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDescriptionDbm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoryCB.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsFileDataCB.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoryCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsFileDataCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsManufacturerDescriptionCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderFormCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderPaymentCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoryCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsFileDataCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsManufacturerDescriptionCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderFormCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderPaymentCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductCQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoryCIQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/FileDataCIQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ManufacturerDescriptionCIQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderFormCIQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderPaymentCIQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductCIQ.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNss.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNsst.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/FileDataNsst.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/CardType.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Category.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Country.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Customer.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryMethod.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryStatus.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryType.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryZone.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Manufacturer.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderForm.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderStatus.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentMethod.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentStatus.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Product.java
pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/TaxType.java
-------------- next part --------------
Modified: pompei/libraries/pompei-db-h2/trunk/.classpath
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/.classpath 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/.classpath 2008-04-08 04:39:30 UTC (rev 878)
@@ -9,22 +9,23 @@
+
+
-
+
-
+
-
\ No newline at end of file
Modified: pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties 2008-04-08 04:39:30 UTC (rev 878)
@@ -156,13 +156,14 @@
# [Additional ForeignKey]
torque.additionalForeignKeyMap = map:{ \
FK_FROM_CATEGORY_TO_CATEGORY = map:{ localTableName = CATEGORY; localColumnName = PARENT_CATEGORY_ID; foreignTableName = CATEGORY; foreignColumnName = CATEGORY_ID } \
+ ;FK_FROM_CATEGORY_TO_FILE_DATA = map:{ localTableName = CATEGORY; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \
;FK_FROM_MANUFACTURER_TO_FILE_DATA = map:{ localTableName = MANUFACTURER; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \
;FK_FROM_CUSTOMER_TO_ORDER_FORM = map:{ localTableName = ORDER_FORM; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \
;FK_FROM_ORDER_FORM_TO_ORDER_STATUS = map:{ localTableName = ORDER_FORM; localColumnName = ORDER_STATUS_ID; foreignTableName = ORDER_STATUS; foreignColumnName = ORDER_STATUS_ID } \
;FK_FROM_PRODUCT_TO_MANUFACTURER = map:{ localTableName = PRODUCT; localColumnName = MANUFACTURER_ID; foreignTableName = MANUFACTURER; foreignColumnName = MANUFACTURER_ID } \
- ;FK_FROM_PRODUCT_TO_FILE_DATA = map:{ localTableName = PRODUCT; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \
;FK_FROM_PRODUCT_TO_TAX_TYPE = map:{ localTableName = PRODUCT; localColumnName = TAX_TYPE_ID; foreignTableName = TAX_TYPE; foreignColumnName = TAX_TYPE_ID } \
;FK_FROM_PRODUCT_TO_DELIVERY_TYPE = map:{ localTableName = PRODUCT; localColumnName = DELIVERY_TYPE_ID; foreignTableName = DELIVERY_TYPE; foreignColumnName = DELIVERY_TYPE_ID } \
+ ;FK_FROM_PRODUCT_TO_FILE_DATA = map:{ localTableName = PRODUCT; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \
;FK_FROM_BASKET_TO_PRODUCT = map:{ localTableName = BASKET; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \
;FK_FROM_BASKET_TO_CUSTOMER = map:{ localTableName = BASKET; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \
;FK_FROM_REVIEW_TO_PRODUCT = map:{ localTableName = REVIEW; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \
Modified: pompei/libraries/pompei-db-h2/trunk/pom.xml
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-04-08 04:39:30 UTC (rev 878)
@@ -185,5 +185,11 @@
1.0.65
provided
+
+ jp.sf.pal
+ pompei-db
+ 0.1.0-SNAPSHOT
+ provided
+
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql 2008-04-08 04:39:30 UTC (rev 878)
@@ -179,6 +179,7 @@
CREATE TABLE CATEGORY (
CATEGORY_ID INTEGER NOT NULL AUTO_INCREMENT
, PARENT_CATEGORY_ID INTEGER NOT NULL DEFAULT 0
+ , FILE_DATA_ID BIGINT
, NUM_OF_PRODUCT INTEGER
, STATUS INTEGER NOT NULL
, SORT_ORDER INTEGER NOT NULL
@@ -228,7 +229,7 @@
, BILLING_POSTCODE VARCHAR(10) NOT NULL
, BILLING_TELEPHONE VARCHAR(40)
, BILLING_COUNTRY_CODE VARCHAR(40) NOT NULL
- , BILLING_LOCALE_NAME VARCHAR(20) NOT NULL
+ , BILLING_LANGUAGE VARCHAR(20) NOT NULL
, ORDER_STATUS_ID INTEGER NOT NULL
, UPDATED_DATE TIMESTAMP NOT NULL
, PURCHASED_DATE TIMESTAMP NOT NULL
@@ -238,9 +239,11 @@
CREATE TABLE PRODUCT (
PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_MODE INTEGER NOT NULL
+ , CODE VARCHAR(40) NOT NULL
, MODEL VARCHAR(80)
- , CODE VARCHAR(40) NOT NULL
, STOCK INTEGER
+ , CATALOG_PRICE DECIMAL(15, 4)
, PRICE DECIMAL(15, 4) NOT NULL
, WEIGHT DECIMAL(5, 2)
, SIZE VARCHAR(40)
@@ -427,7 +430,7 @@
CREATE TABLE MANUFACTURER_DESCRIPTION (
MANUFACTURER_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
, MANUFACTURER_ID INTEGER NOT NULL
- , CONTENT TEXT
+ , DESCRIPTION TEXT
, LANGUAGE VARCHAR(20) NOT NULL
, PRIMARY KEY (MANUFACTURER_DESCRIPTION_ID)
);
@@ -505,7 +508,6 @@
, PAYMENT_METHOD_CODE VARCHAR(40) NOT NULL
, ORDER_CARD_INFO_ID BIGINT
, PAYMENT_STATUS_ID INTEGER
- , UPDATED_DATE TIMESTAMP
, SUB_TOTAL_PRICE DECIMAL(14, 6)
, TAX DECIMAL(14, 6)
, DELIVERY_PRICE DECIMAL(14, 6)
@@ -694,11 +696,17 @@
REFERENCES CATEGORY (CATEGORY_ID)
ON DELETE SET DEFAULT;
+ALTER TABLE CATEGORY
+ ADD CONSTRAINT FK_FROM_CATEGORY_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
ALTER TABLE MANUFACTURER
ADD CONSTRAINT FK_FROM_MANUFACTURER_TO_FILE_DATA
FOREIGN KEY (FILE_DATA_ID)
REFERENCES FILE_DATA (FILE_DATA_ID)
- ON DELETE CASCADE;
+ ON DELETE SET NULL;
ALTER TABLE ORDER_FORM
ADD CONSTRAINT FK_FROM_CUSTOMER_TO_ORDER_FORM
@@ -719,12 +727,6 @@
ON DELETE SET NULL;
ALTER TABLE PRODUCT
- ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA
- FOREIGN KEY (FILE_DATA_ID)
- REFERENCES FILE_DATA (FILE_DATA_ID)
- ON DELETE CASCADE;
-
-ALTER TABLE PRODUCT
ADD CONSTRAINT FK_FROM_PRODUCT_TO_TAX_TYPE
FOREIGN KEY (TAX_TYPE_ID)
REFERENCES TAX_TYPE (TAX_TYPE_ID)
@@ -736,6 +738,12 @@
REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID)
ON DELETE SET NULL;
+ALTER TABLE PRODUCT
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
ALTER TABLE BASKET
ADD CONSTRAINT FK_FROM_BASKET_TO_PRODUCT
FOREIGN KEY (PRODUCT_ID)
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoryBhv.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoryBhv.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoryBhv.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -34,10 +34,10 @@
* CATEGORY_ID
*
* [column-property]
- * CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
+ * CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
*
* [foreign-property]
- * categorySelf
+ * categorySelf, fileData
*
* [referrer-property]
* categorySelfList, categoryContentList, categoryInfoList, categoryPageInfoList, productToCategoryList
@@ -883,6 +883,17 @@
return helpPulloutInternally(categoryList, new InternalPulloutCallback() {
public Category callbackGetForeignEntity(Category entity) { return entity.getCategorySelf(); } });
}
+
+ /**
+ * Pull out the list of foreign table 'FileData'.
+ *
+ * @param categoryList The list of category. (NotNull)
+ * @return The list of foreign table. (NotNull)
+ */
+ public List pulloutFileData(List categoryList) {
+ return helpPulloutInternally(categoryList, new InternalPulloutCallback() {
+ public FileData callbackGetForeignEntity(Category entity) { return entity.getFileData(); } });
+ }
/**
* Pull out the list of referrer-as-one table 'CategoryPageInfo'.
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsFileDataBhv.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsFileDataBhv.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsFileDataBhv.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -40,7 +40,7 @@
*
*
* [referrer-property]
- * fileTagToFileDataList, imageDataList, manufacturerList, productList
+ * categoryList, fileTagToFileDataList, imageDataList, manufacturerList, productList
*
* [sequence]
*
@@ -300,6 +300,120 @@
// =============
// /* * * * * * * * * * * * * * * * * * * * * * *
+ // ReferrerTable = [CATEGORY]
+ // ReferrerProperty = [categoryList]
+ // * * * * * * * * */
+
+ /**
+ * Load referrer of categoryList.
+ *
+ * You can load referrer.
+ *
+ * ex) {Client Example}
+ * final FileDataCB cb = new FileDataCB();
+ * cb.query().setXxx_Equal("xxx");
+ * final List<FileData> fileDataList = fileDataBhv.selectList(cb);
+ * fileDataBhv.loadCategoryList(fileDataList);
+ *
+ * *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+ *
+ *
+ * @param fileDataList Entity list of fileData. (NotNull)
+ */
+ public void loadCategoryList(List fileDataList) {
+ final ConditionBeanSetupper conditionBeanSetupper = new ConditionBeanSetupper() {
+ public void setup(CategoryCB cb) {}
+ };
+ loadCategoryList(fileDataList, conditionBeanSetupper);
+ }
+
+ /**
+ * Load referrer of categoryList.
+ *
+ * You can load referrer with your original condition.
+ *
+ * ex) {Client Example}: Referrer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+ * /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ * final FileDataCB cb = new FileDataCB();
+ * cb.query().setXxx_Equal("xxx");
+ * final List<FileData> fileDataList = fileDataBhv.selectList(cb);
+ * final ConditionBeanSetupper<CategoryCB> conditionBeanSetupper = new ConditionBeanSetupper<CategoryCB>() {
+ * public void setup(CategoryCB cb) {
+ * cb.query().setXxx_IsNotNull();
+ * cb.query().addOrderBy_Yyy_Desc();
+ * }
+ * };
+ * fileDataBhv.loadCategoryList(fileDataList, conditionBeanSetupper);
+ * - - - - - - - - - -/
+ *
+ * The conditionBean that the setupper provides have settings before you touch it. It is as follows:
+ * /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ * cb.query().setFileDataId_InScope(pkList);
+ * cb.query().addOrderBy_FileDataId_Asc();
+ * - - - - - - - - - -/
+ *
+ * *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+ *
+ *
+ * @param fileDataList Entity list of fileData. (NotNull)
+ * @param conditionBeanSetupper Referrer condition setupper instance for registering referrer condition. (NotNull)
+ */
+ public void loadCategoryList(List fileDataList, ConditionBeanSetupper conditionBeanSetupper) {
+ assertObjectNotNull("fileDataList", fileDataList);
+ assertObjectNotNull("conditionBeanSetupper", conditionBeanSetupper);
+ if (fileDataList.isEmpty()) { return; }
+ loadCategoryList(fileDataList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadReferrerOption(conditionBeanSetupper));
+ }
+
+ /**
+ * Load referrer of categoryList.
+ *
+ * You can load referrer with your original condition.
+ *
+ * ex) {Client Example}: Referrer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+ * /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ * final FileDataCB cb = new FileDataCB();
+ * cb.query().setXxx_Equal("xxx");
+ * final List<FileData> fileDataList = fileDataBhv.selectList(cb);
+ * final ConditionBeanSetupper<CategoryCB> cbSetupper = new ConditionBeanSetupper<CategoryCB>() {
+ * public void setup(CategoryCB cb) {
+ * cb.query().setXxx_IsNotNull();
+ * cb.query().addOrderBy_Yyy_Desc();
+ * }
+ * };
+ * fileDataBhv.loadCategoryList(fileDataList, new LoadReferrerOption(cbSetupper));
+ * - - - - - - - - - -/
+ *
+ * The conditionBean that the setupper provides have settings before you touch it. It is as follows:
+ * /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ * cb.query().setFileDataId_InScope(pkList);
+ * cb.query().addOrderBy_FileDataId_Asc();
+ * - - - - - - - - - -/
+ *
+ * *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+ *
+ *
+ * @param fileDataList Entity list of fileData. (NotNull)
+ * @param loadReferrerOption Load-referrer option. (NotNull)
+ */
+ public void loadCategoryList(List fileDataList, jp.sf.pal.pompei.allcommon.bhv.load.LoadReferrerOption loadReferrerOption) {
+ assertObjectNotNull("fileDataList", fileDataList);
+ assertObjectNotNull("loadReferrerOption", loadReferrerOption);
+ if (fileDataList.isEmpty()) { return; }
+ final CategoryBhv referrerBhv = getBehaviorSelector().select(CategoryBhv.class);
+ helpLoadReferrerInternally(fileDataList, loadReferrerOption, new InternalLoadReferrerCallback() {
+ public java.math.BigDecimal callbackBase_getPrimaryKeyValue(FileData entity) { return entity.getFileDataId(); }
+ public void callbackBase_setReferrerList(FileData entity, List referrerList) { entity.setCategoryList(referrerList); }
+ public CategoryCB callbackReferrer_newMyConditionBean() { return referrerBhv.newMyConditionBean(); }
+ public void callbackReferrer_queryForeignKeyInScope(CategoryCB cb, List pkList) { cb.query().setFileDataId_InScope(pkList); }
+ public void callbackReferrer_queryAddOrderByForeignKeyAsc(CategoryCB cb) { cb.query().addOrderBy_FileDataId_Asc(); }
+ public List callbackReferrer_selectList(CategoryCB cb) { return referrerBhv.selectList(cb); }
+ public java.math.BigDecimal callbackReferrer_getForeignKeyValue(Category entity) { return entity.getFileDataId(); }
+ public void callbackReferrer_setForeignEntity(Category referrerEntity, FileData baseEntity) { referrerEntity.setFileData(baseEntity); }
+ } );
+ }
+
+ // /* * * * * * * * * * * * * * * * * * * * * * *
// ReferrerTable = [FILE_TAG_TO_FILE_DATA]
// ReferrerProperty = [fileTagToFileDataList]
// * * * * * * * * */
@@ -758,7 +872,7 @@
// ===================================================================================
// Pull Out Foreign
// ================
-
+
/**
* Pull out the list of referrer-as-one table 'ImageData'.
*
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturerDescriptionBhv.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturerDescriptionBhv.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturerDescriptionBhv.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -32,7 +32,7 @@
* MANUFACTURER_DESCRIPTION_ID
*
* [column-property]
- * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE
+ * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE
*
* [foreign-property]
* manufacturer
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderFormBhv.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderFormBhv.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderFormBhv.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -34,7 +34,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
+ * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
*
* [foreign-property]
* customer, orderStatus
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderPaymentBhv.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderPaymentBhv.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrderPaymentBhv.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -32,7 +32,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
+ * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
*
* [foreign-property]
* orderForm, paymentMethod, paymentStatus
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductBhv.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductBhv.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductBhv.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -34,7 +34,7 @@
* PRODUCT_ID
*
* [column-property]
- * PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
+ * PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
*
* [foreign-property]
* deliveryType, fileData, manufacturer, taxType
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoryDao.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoryDao.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoryDao.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -13,10 +13,10 @@
* CATEGORY_ID
*
* [column-property]
- * CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
+ * CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
*
* [foreign-property]
- * categorySelf
+ * categorySelf, fileData
*
* [referrer-property]
* categorySelfList, categoryContentList, categoryInfoList, categoryPageInfoList, productToCategoryList
@@ -54,7 +54,7 @@
public int getCountAll();
/** SQL-Annotation for getListAll(). */
- public static final String getListAll_SQL = "select CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE from CATEGORY";
+ public static final String getListAll_SQL = "select CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE from CATEGORY";
/**
* Get the list as all.
@@ -64,7 +64,7 @@
public java.util.List getListAll();
/** SQL-Annotation for getEntity(). */
- public static final String getEntity_SQL = "select CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE from CATEGORY where CATEGORY.CATEGORY_ID = /*categoryId*/null";
+ public static final String getEntity_SQL = "select CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE from CATEGORY where CATEGORY.CATEGORY_ID = /*categoryId*/null";
/** Args-Annotation for getEntity(). */
public static final String getEntity_ARGS = "categoryId";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsFileDataDao.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsFileDataDao.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsFileDataDao.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -19,7 +19,7 @@
*
*
* [referrer-property]
- * fileTagToFileDataList, imageDataList, manufacturerList, productList
+ * categoryList, fileTagToFileDataList, imageDataList, manufacturerList, productList
*
* [sequence]
*
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturerDescriptionDao.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturerDescriptionDao.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturerDescriptionDao.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -13,7 +13,7 @@
* MANUFACTURER_DESCRIPTION_ID
*
* [column-property]
- * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE
+ * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE
*
* [foreign-property]
* manufacturer
@@ -54,7 +54,7 @@
public int getCountAll();
/** SQL-Annotation for getListAll(). */
- public static final String getListAll_SQL = "select MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE from MANUFACTURER_DESCRIPTION";
+ public static final String getListAll_SQL = "select MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE from MANUFACTURER_DESCRIPTION";
/**
* Get the list as all.
@@ -64,7 +64,7 @@
public java.util.List getListAll();
/** SQL-Annotation for getEntity(). */
- public static final String getEntity_SQL = "select MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE from MANUFACTURER_DESCRIPTION where MANUFACTURER_DESCRIPTION.MANUFACTURER_DESCRIPTION_ID = /*manufacturerDescriptionId*/null";
+ public static final String getEntity_SQL = "select MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE from MANUFACTURER_DESCRIPTION where MANUFACTURER_DESCRIPTION.MANUFACTURER_DESCRIPTION_ID = /*manufacturerDescriptionId*/null";
/** Args-Annotation for getEntity(). */
public static final String getEntity_ARGS = "manufacturerDescriptionId";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderFormDao.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderFormDao.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderFormDao.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -13,7 +13,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
+ * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
*
* [foreign-property]
* customer, orderStatus
@@ -54,7 +54,7 @@
public int getCountAll();
/** SQL-Annotation for getListAll(). */
- public static final String getListAll_SQL = "select ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE from ORDER_FORM";
+ public static final String getListAll_SQL = "select ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE from ORDER_FORM";
/**
* Get the list as all.
@@ -64,7 +64,7 @@
public java.util.List getListAll();
/** SQL-Annotation for getEntity(). */
- public static final String getEntity_SQL = "select ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE from ORDER_FORM where ORDER_FORM.ORDER_FORM_ID = /*orderFormId*/null";
+ public static final String getEntity_SQL = "select ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE from ORDER_FORM where ORDER_FORM.ORDER_FORM_ID = /*orderFormId*/null";
/** Args-Annotation for getEntity(). */
public static final String getEntity_ARGS = "orderFormId";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderPaymentDao.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderPaymentDao.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrderPaymentDao.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -13,7 +13,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
+ * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
*
* [foreign-property]
* orderForm, paymentMethod, paymentStatus
@@ -54,7 +54,7 @@
public int getCountAll();
/** SQL-Annotation for getListAll(). */
- public static final String getListAll_SQL = "select ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE from ORDER_PAYMENT";
+ public static final String getListAll_SQL = "select ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE from ORDER_PAYMENT";
/**
* Get the list as all.
@@ -64,7 +64,7 @@
public java.util.List getListAll();
/** SQL-Annotation for getEntity(). */
- public static final String getEntity_SQL = "select ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE from ORDER_PAYMENT where ORDER_PAYMENT.ORDER_FORM_ID = /*orderFormId*/null";
+ public static final String getEntity_SQL = "select ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE from ORDER_PAYMENT where ORDER_PAYMENT.ORDER_FORM_ID = /*orderFormId*/null";
/** Args-Annotation for getEntity(). */
public static final String getEntity_ARGS = "orderFormId";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductDao.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductDao.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductDao.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -13,7 +13,7 @@
* PRODUCT_ID
*
* [column-property]
- * PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
+ * PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
*
* [foreign-property]
* deliveryType, fileData, manufacturer, taxType
@@ -54,7 +54,7 @@
public int getCountAll();
/** SQL-Annotation for getListAll(). */
- public static final String getListAll_SQL = "select PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE from PRODUCT";
+ public static final String getListAll_SQL = "select PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE from PRODUCT";
/**
* Get the list as all.
@@ -64,7 +64,7 @@
public java.util.List getListAll();
/** SQL-Annotation for getEntity(). */
- public static final String getEntity_SQL = "select PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE from PRODUCT where PRODUCT.PRODUCT_ID = /*productId*/null";
+ public static final String getEntity_SQL = "select PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE from PRODUCT where PRODUCT.PRODUCT_ID = /*productId*/null";
/** Args-Annotation for getEntity(). */
public static final String getEntity_ARGS = "productId";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of addressBookId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B2AB219C_D4F1_452C_B099_AD486A390F59]} */
+ /** The value of addressBookId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_808D4A71_93E0_4FA1_A942_87936FD75DF1]} */
protected java.math.BigDecimal _addressBookId;
/** The value of customerId. {BIGINT : NotNull : Default=[] : FK to CUSTOMER} */
@@ -501,12 +501,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B2AB219C_D4F1_452C_B099_AD486A390F59]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_808D4A71_93E0_4FA1_A942_87936FD75DF1]} */
public static final String addressBookId_COLUMN = "ADDRESS_BOOK_ID";
/**
* Get the value of addressBookId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B2AB219C_D4F1_452C_B099_AD486A390F59]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_808D4A71_93E0_4FA1_A942_87936FD75DF1]}
*
* @return The value of addressBookId. (Nullable)
*/
@@ -516,7 +516,7 @@
/**
* Set the value of addressBookId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B2AB219C_D4F1_452C_B099_AD486A390F59]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_808D4A71_93E0_4FA1_A942_87936FD75DF1]}
*
* @param addressBookId The value of addressBookId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBargain.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBargain.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBargain.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of bargainId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_41EE8F2A_146E_43EA_AEA0_14E70D67CD8F]} */
+ /** The value of bargainId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA035F66_12AF_4013_8E9B_1D071C2AF23D]} */
protected java.math.BigDecimal _bargainId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -337,12 +337,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_41EE8F2A_146E_43EA_AEA0_14E70D67CD8F]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA035F66_12AF_4013_8E9B_1D071C2AF23D]} */
public static final String bargainId_COLUMN = "BARGAIN_ID";
/**
* Get the value of bargainId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_41EE8F2A_146E_43EA_AEA0_14E70D67CD8F]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA035F66_12AF_4013_8E9B_1D071C2AF23D]}
*
* @return The value of bargainId. (Nullable)
*/
@@ -352,7 +352,7 @@
/**
* Set the value of bargainId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_41EE8F2A_146E_43EA_AEA0_14E70D67CD8F]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA035F66_12AF_4013_8E9B_1D071C2AF23D]}
*
* @param bargainId The value of bargainId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasket.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasket.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasket.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of basketId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BD92529C_24B2_40C3_A935_007DDC28CCAC]} */
+ /** The value of basketId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C81A57D4_EF48_44BD_82F6_EA8B07B4C91D]} */
protected java.math.BigDecimal _basketId;
/** The value of customerId. {BIGINT : NotNull : Default=[] : FK to CUSTOMER} */
@@ -428,12 +428,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BD92529C_24B2_40C3_A935_007DDC28CCAC]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C81A57D4_EF48_44BD_82F6_EA8B07B4C91D]} */
public static final String basketId_COLUMN = "BASKET_ID";
/**
* Get the value of basketId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BD92529C_24B2_40C3_A935_007DDC28CCAC]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C81A57D4_EF48_44BD_82F6_EA8B07B4C91D]}
*
* @return The value of basketId. (Nullable)
*/
@@ -443,7 +443,7 @@
/**
* Set the value of basketId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BD92529C_24B2_40C3_A935_007DDC28CCAC]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C81A57D4_EF48_44BD_82F6_EA8B07B4C91D]}
*
* @param basketId The value of basketId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasketProductOption.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasketProductOption.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBasketProductOption.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of basketProductOptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_312062F6_5D59_4533_B414_06ECBBBD36D5]} */
+ /** The value of basketProductOptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9CC3076A_1B2D_4E23_ADAB_AF5045FCCBB9]} */
protected java.math.BigDecimal _basketProductOptionId;
/** The value of basketId. {BIGINT : NotNull : Default=[] : FK to BASKET} */
@@ -377,12 +377,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_312062F6_5D59_4533_B414_06ECBBBD36D5]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9CC3076A_1B2D_4E23_ADAB_AF5045FCCBB9]} */
public static final String basketProductOptionId_COLUMN = "BASKET_PRODUCT_OPTION_ID";
/**
* Get the value of basketProductOptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_312062F6_5D59_4533_B414_06ECBBBD36D5]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9CC3076A_1B2D_4E23_ADAB_AF5045FCCBB9]}
*
* @return The value of basketProductOptionId. (Nullable)
*/
@@ -392,7 +392,7 @@
/**
* Set the value of basketProductOptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_312062F6_5D59_4533_B414_06ECBBBD36D5]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9CC3076A_1B2D_4E23_ADAB_AF5045FCCBB9]}
*
* @param basketProductOptionId The value of basketProductOptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCardType.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCardType.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCardType.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of cardTypeId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3B3C8382_1ECF_4D16_971A_A76CB729A43C]} */
+ /** The value of cardTypeId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_74FC7C9E_0ED7_46ED_AB5A_96F2637F9F62]} */
protected java.math.BigDecimal _cardTypeId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -339,12 +339,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3B3C8382_1ECF_4D16_971A_A76CB729A43C]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_74FC7C9E_0ED7_46ED_AB5A_96F2637F9F62]} */
public static final String cardTypeId_COLUMN = "CARD_TYPE_ID";
/**
* Get the value of cardTypeId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3B3C8382_1ECF_4D16_971A_A76CB729A43C]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_74FC7C9E_0ED7_46ED_AB5A_96F2637F9F62]}
*
* @return The value of cardTypeId. (Nullable)
*/
@@ -354,7 +354,7 @@
/**
* Set the value of cardTypeId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3B3C8382_1ECF_4D16_971A_A76CB729A43C]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_74FC7C9E_0ED7_46ED_AB5A_96F2637F9F62]}
*
* @param cardTypeId The value of cardTypeId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategory.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategory.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategory.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -14,10 +14,10 @@
* CATEGORY_ID
*
* [column-property]
- * CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
+ * CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
*
* [foreign-property]
- * categorySelf
+ * categorySelf, fileData
*
* [referrer-property]
* categorySelfList, categoryContentList, categoryInfoList, categoryPageInfoList, productToCategoryList
@@ -58,12 +58,15 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of categoryId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2776E811_0F4F_4C4B_9D91_EACBF999E2AE]} */
+ /** The value of categoryId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EFD2FD88_D7B6_478E_8C53_D744202F6C4E]} */
protected java.math.BigDecimal _categoryId;
/** The value of parentCategoryId. {INTEGER : NotNull : Default=[0] : FK to CATEGORY} */
protected java.math.BigDecimal _parentCategoryId;
+ /** The value of fileDataId. {BIGINT : Default=[] : FK to FILE_DATA} */
+ protected java.math.BigDecimal _fileDataId;
+
/** The value of numOfProduct. {INTEGER : Default=[]} */
protected java.math.BigDecimal _numOfProduct;
@@ -122,16 +125,16 @@
// ===================================================================================
// Classification Classifying
// ==========================
-
+
// ===================================================================================
// Classification Determination
// ============================
-
+
// ===================================================================================
// Classification Name/Alias
// =========================
-
+
// ===================================================================================
// Foreign Table
@@ -197,6 +200,66 @@
return _parentCategorySelf != null ? _parentCategorySelf : new jp.sf.pal.pompei.exentity.Category();
}
+ // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ // ForeignTable = [FILE_DATA(TABLE)]
+ // ForeignProperty = [fileData]
+ // * * * * * * * * */
+
+ /** RELNO of foreign table for s2dao. */
+ public static final int fileData_RELNO = 1;
+
+ /** RELKEYS of foreign table for s2dao. */
+ public static final String fileData_RELKEYS = "FILE_DATA_ID:FILE_DATA_ID";
+
+ /** The entity of foreign table. */
+ protected jp.sf.pal.pompei.exentity.FileData _parentFileData;
+
+ /**
+ * Get the entity of foreign table of fileData. {without lazyload}
+ *
+ * @return The entity of foreign table. (Nullable: If the foreign key does not have NotNull-constraint, please check null.)
+ */
+ public jp.sf.pal.pompei.exentity.FileData getFileData() {
+ return _parentFileData;
+ }
+
+ /**
+ * Set the entity of foreign table of fileData.
+ *
+ * @param fileData The entity of foreign table. (Nullable)
+ */
+ public void setFileData(jp.sf.pal.pompei.exentity.FileData fileData) {
+ this._parentFileData = fileData;
+ }
+
+ /**
+ * Has foreign instance of fileData.
+ *
+ * @return Determination.
+ */
+ public boolean hasForeignInstanceFileData() {
+ return _parentFileData != null;
+ }
+
+
+ /**
+ * Same as lookFileData(). This method will be deprecated at the future.
+ *
+ * @return The entity of foreign table. (NotNull: If the object is null, it returns new empty entity as read-only.)
+ */
+ public jp.sf.pal.pompei.exentity.FileData traceFileData() {
+ return lookFileData();
+ }
+
+ /**
+ * Look the foreign entity (for read) of fileData.
+ *
+ * @return The entity of foreign table. (NotNull: If the object is null, it returns new empty entity as read-only.)
+ */
+ public jp.sf.pal.pompei.exentity.FileData lookFileData() {
+ return _parentFileData != null ? _parentFileData : new jp.sf.pal.pompei.exentity.FileData();
+ }
+
// ===================================================================================
// Referrer Table
// ==============
@@ -325,7 +388,7 @@
// * * * * * * * * */
/** RELNO of foreign table for s2dao. */
- public static final int categoryPageInfoAsOne_RELNO = 1;
+ public static final int categoryPageInfoAsOne_RELNO = 2;
/** RELKEYS of foreign table for s2dao. */
public static final String categoryPageInfoAsOne_RELKEYS = "CATEGORY_ID:CATEGORY_ID";
@@ -571,6 +634,7 @@
sb.append(delimiter).append(getCategoryId());
sb.append(delimiter).append(getParentCategoryId());
+ sb.append(delimiter).append(getFileDataId());
sb.append(delimiter).append(getNumOfProduct());
sb.append(delimiter).append(getStatus());
sb.append(delimiter).append(getSortOrder());
@@ -585,12 +649,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2776E811_0F4F_4C4B_9D91_EACBF999E2AE]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EFD2FD88_D7B6_478E_8C53_D744202F6C4E]} */
public static final String categoryId_COLUMN = "CATEGORY_ID";
/**
* Get the value of categoryId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2776E811_0F4F_4C4B_9D91_EACBF999E2AE]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EFD2FD88_D7B6_478E_8C53_D744202F6C4E]}
*
* @return The value of categoryId. (Nullable)
*/
@@ -600,7 +664,7 @@
/**
* Set the value of categoryId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2776E811_0F4F_4C4B_9D91_EACBF999E2AE]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EFD2FD88_D7B6_478E_8C53_D744202F6C4E]}
*
* @param categoryId The value of categoryId. (Nullable)
*/
@@ -633,6 +697,30 @@
this._parentCategoryId = parentCategoryId;
}
+ /** Column Annotation for S2Dao. {BIGINT : Default=[] : FK to FILE_DATA} */
+ public static final String fileDataId_COLUMN = "FILE_DATA_ID";
+
+ /**
+ * Get the value of fileDataId.
+ * {BIGINT : Default=[] : FK to FILE_DATA}
+ *
+ * @return The value of fileDataId. (Nullable)
+ */
+ public java.math.BigDecimal getFileDataId() {
+ return _fileDataId;
+ }
+
+ /**
+ * Set the value of fileDataId.
+ * {BIGINT : Default=[] : FK to FILE_DATA}
+ *
+ * @param fileDataId The value of fileDataId. (Nullable)
+ */
+ public void setFileDataId(java.math.BigDecimal fileDataId) {
+ _modifiedProperties.addPropertyName("fileDataId");
+ this._fileDataId = fileDataId;
+ }
+
/** Column Annotation for S2Dao. {INTEGER : Default=[]} */
public static final String numOfProduct_COLUMN = "NUM_OF_PRODUCT";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryContent.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryContent.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryContent.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of categoryContentId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A3BB881_B47B_401B_9EA5_7FEDC1329AE3]} */
+ /** The value of categoryContentId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4C98039A_6237_4531_A90F_C0A50380C310]} */
protected java.math.BigDecimal _categoryContentId;
/** The value of categoryId. {INTEGER : NotNull : Default=[] : FK to CATEGORY} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A3BB881_B47B_401B_9EA5_7FEDC1329AE3]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4C98039A_6237_4531_A90F_C0A50380C310]} */
public static final String categoryContentId_COLUMN = "CATEGORY_CONTENT_ID";
/**
* Get the value of categoryContentId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A3BB881_B47B_401B_9EA5_7FEDC1329AE3]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4C98039A_6237_4531_A90F_C0A50380C310]}
*
* @return The value of categoryContentId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of categoryContentId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A3BB881_B47B_401B_9EA5_7FEDC1329AE3]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4C98039A_6237_4531_A90F_C0A50380C310]}
*
* @param categoryContentId The value of categoryContentId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryInfo.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryInfo.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoryInfo.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of categoryInfoId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C3387DA9_485D_4755_A8BB_8B5A1E89734B]} */
+ /** The value of categoryInfoId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4D31DB8A_4A1B_4D8D_88D5_6A20F62BE48F]} */
protected java.math.BigDecimal _categoryInfoId;
/** The value of categoryId. {INTEGER : NotNull : Default=[] : FK to CATEGORY} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C3387DA9_485D_4755_A8BB_8B5A1E89734B]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4D31DB8A_4A1B_4D8D_88D5_6A20F62BE48F]} */
public static final String categoryInfoId_COLUMN = "CATEGORY_INFO_ID";
/**
* Get the value of categoryInfoId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C3387DA9_485D_4755_A8BB_8B5A1E89734B]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4D31DB8A_4A1B_4D8D_88D5_6A20F62BE48F]}
*
* @return The value of categoryInfoId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of categoryInfoId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C3387DA9_485D_4755_A8BB_8B5A1E89734B]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4D31DB8A_4A1B_4D8D_88D5_6A20F62BE48F]}
*
* @param categoryInfoId The value of categoryInfoId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountry.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountry.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountry.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of countryId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6AB0C81F_09E2_4F79_9D1F_F46C8C2CFD55]} */
+ /** The value of countryId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B3347384_761A_465D_A9E5_0D1BF6B4BC31]} */
protected java.math.BigDecimal _countryId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -378,12 +378,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6AB0C81F_09E2_4F79_9D1F_F46C8C2CFD55]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B3347384_761A_465D_A9E5_0D1BF6B4BC31]} */
public static final String countryId_COLUMN = "COUNTRY_ID";
/**
* Get the value of countryId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6AB0C81F_09E2_4F79_9D1F_F46C8C2CFD55]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B3347384_761A_465D_A9E5_0D1BF6B4BC31]}
*
* @return The value of countryId. (Nullable)
*/
@@ -393,7 +393,7 @@
/**
* Set the value of countryId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6AB0C81F_09E2_4F79_9D1F_F46C8C2CFD55]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B3347384_761A_465D_A9E5_0D1BF6B4BC31]}
*
* @param countryId The value of countryId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountryDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountryDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountryDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of countryDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0B411FF2_6103_4E79_87B6_7903709FA783]} */
+ /** The value of countryDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5DDEE634_838F_4FB5_B473_D62BB86B5C7E]} */
protected java.math.BigDecimal _countryDescriptionId;
/** The value of countryId. {INTEGER : NotNull : Default=[] : FK to COUNTRY} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0B411FF2_6103_4E79_87B6_7903709FA783]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5DDEE634_838F_4FB5_B473_D62BB86B5C7E]} */
public static final String countryDescriptionId_COLUMN = "COUNTRY_DESCRIPTION_ID";
/**
* Get the value of countryDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0B411FF2_6103_4E79_87B6_7903709FA783]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5DDEE634_838F_4FB5_B473_D62BB86B5C7E]}
*
* @return The value of countryDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of countryDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0B411FF2_6103_4E79_87B6_7903709FA783]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5DDEE634_838F_4FB5_B473_D62BB86B5C7E]}
*
* @param countryDescriptionId The value of countryDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomer.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomer.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomer.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of customerId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_29635FE2_B951_464C_BC9A_3B9C0D5C4538]} */
+ /** The value of customerId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65D35573_EB70_445A_AFF1_2FC92C088EA9]} */
protected java.math.BigDecimal _customerId;
/** The value of portalId. {VARCHAR(255) : NotNull : Default=[]} */
@@ -527,12 +527,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_29635FE2_B951_464C_BC9A_3B9C0D5C4538]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65D35573_EB70_445A_AFF1_2FC92C088EA9]} */
public static final String customerId_COLUMN = "CUSTOMER_ID";
/**
* Get the value of customerId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_29635FE2_B951_464C_BC9A_3B9C0D5C4538]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65D35573_EB70_445A_AFF1_2FC92C088EA9]}
*
* @return The value of customerId. (Nullable)
*/
@@ -542,7 +542,7 @@
/**
* Set the value of customerId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_29635FE2_B951_464C_BC9A_3B9C0D5C4538]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65D35573_EB70_445A_AFF1_2FC92C088EA9]}
*
* @param customerId The value of customerId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryMethodId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBB18455_B665_4B52_9728_9AFC3FF3BDFD]} */
+ /** The value of deliveryMethodId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CF59FC79_99DD_4F91_BA52_20E25D3FE7DC]} */
protected java.math.BigDecimal _deliveryMethodId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -347,12 +347,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBB18455_B665_4B52_9728_9AFC3FF3BDFD]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CF59FC79_99DD_4F91_BA52_20E25D3FE7DC]} */
public static final String deliveryMethodId_COLUMN = "DELIVERY_METHOD_ID";
/**
* Get the value of deliveryMethodId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBB18455_B665_4B52_9728_9AFC3FF3BDFD]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CF59FC79_99DD_4F91_BA52_20E25D3FE7DC]}
*
* @return The value of deliveryMethodId. (Nullable)
*/
@@ -362,7 +362,7 @@
/**
* Set the value of deliveryMethodId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBB18455_B665_4B52_9728_9AFC3FF3BDFD]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CF59FC79_99DD_4F91_BA52_20E25D3FE7DC]}
*
* @param deliveryMethodId The value of deliveryMethodId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryMethodDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6688B9F_0B09_4F21_ABFF_9C0952F602B7]} */
+ /** The value of deliveryMethodDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1F2A2DC2_C76B_43E3_A1FD_A245D6595158]} */
protected java.math.BigDecimal _deliveryMethodDescriptionId;
/** The value of deliveryMethodId. {INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6688B9F_0B09_4F21_ABFF_9C0952F602B7]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1F2A2DC2_C76B_43E3_A1FD_A245D6595158]} */
public static final String deliveryMethodDescriptionId_COLUMN = "DELIVERY_METHOD_DESCRIPTION_ID";
/**
* Get the value of deliveryMethodDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6688B9F_0B09_4F21_ABFF_9C0952F602B7]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1F2A2DC2_C76B_43E3_A1FD_A245D6595158]}
*
* @return The value of deliveryMethodDescriptionId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of deliveryMethodDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6688B9F_0B09_4F21_ABFF_9C0952F602B7]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1F2A2DC2_C76B_43E3_A1FD_A245D6595158]}
*
* @param deliveryMethodDescriptionId The value of deliveryMethodDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatus.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatus.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatus.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryStatusId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA851A25_775C_4EFF_ABB2_49C6C4B07449]} */
+ /** The value of deliveryStatusId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FEEA775_C06C_4886_8D86_550DB02172BE]} */
protected java.math.BigDecimal _deliveryStatusId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -339,12 +339,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA851A25_775C_4EFF_ABB2_49C6C4B07449]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FEEA775_C06C_4886_8D86_550DB02172BE]} */
public static final String deliveryStatusId_COLUMN = "DELIVERY_STATUS_ID";
/**
* Get the value of deliveryStatusId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA851A25_775C_4EFF_ABB2_49C6C4B07449]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FEEA775_C06C_4886_8D86_550DB02172BE]}
*
* @return The value of deliveryStatusId. (Nullable)
*/
@@ -354,7 +354,7 @@
/**
* Set the value of deliveryStatusId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA851A25_775C_4EFF_ABB2_49C6C4B07449]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FEEA775_C06C_4886_8D86_550DB02172BE]}
*
* @param deliveryStatusId The value of deliveryStatusId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatusDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatusDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryStatusDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryStatusDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E7F2D0F7_94F6_43BA_8F1C_74434F89ACF4]} */
+ /** The value of deliveryStatusDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6ED016D_35D5_4EF2_864A_6ABD19BE70A6]} */
protected java.math.BigDecimal _deliveryStatusDescriptionId;
/** The value of deliveryStatusId. {INTEGER : NotNull : Default=[] : FK to DELIVERY_STATUS} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E7F2D0F7_94F6_43BA_8F1C_74434F89ACF4]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6ED016D_35D5_4EF2_864A_6ABD19BE70A6]} */
public static final String deliveryStatusDescriptionId_COLUMN = "DELIVERY_STATUS_DESCRIPTION_ID";
/**
* Get the value of deliveryStatusDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E7F2D0F7_94F6_43BA_8F1C_74434F89ACF4]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6ED016D_35D5_4EF2_864A_6ABD19BE70A6]}
*
* @return The value of deliveryStatusDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of deliveryStatusDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E7F2D0F7_94F6_43BA_8F1C_74434F89ACF4]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6ED016D_35D5_4EF2_864A_6ABD19BE70A6]}
*
* @param deliveryStatusDescriptionId The value of deliveryStatusDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryType.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryType.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryType.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryTypeId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE3303C_DD6F_4FEB_8AEA_697E4BCAE7DA]} */
+ /** The value of deliveryTypeId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE9392C_413F_4D00_BEB3_90F49FB5A8A2]} */
protected java.math.BigDecimal _deliveryTypeId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -339,12 +339,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE3303C_DD6F_4FEB_8AEA_697E4BCAE7DA]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE9392C_413F_4D00_BEB3_90F49FB5A8A2]} */
public static final String deliveryTypeId_COLUMN = "DELIVERY_TYPE_ID";
/**
* Get the value of deliveryTypeId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE3303C_DD6F_4FEB_8AEA_697E4BCAE7DA]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE9392C_413F_4D00_BEB3_90F49FB5A8A2]}
*
* @return The value of deliveryTypeId. (Nullable)
*/
@@ -354,7 +354,7 @@
/**
* Set the value of deliveryTypeId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE3303C_DD6F_4FEB_8AEA_697E4BCAE7DA]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE9392C_413F_4D00_BEB3_90F49FB5A8A2]}
*
* @param deliveryTypeId The value of deliveryTypeId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryTypeDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryTypeDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryTypeDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryTypeDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_513D9D3C_8F0C_4367_B3DA_2863C987246D]} */
+ /** The value of deliveryTypeDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38F192ED_EDB3_4717_BFFC_B2E1BDF57C25]} */
protected java.math.BigDecimal _deliveryTypeDescriptionId;
/** The value of deliveryTypeId. {INTEGER : NotNull : Default=[] : FK to DELIVERY_TYPE} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_513D9D3C_8F0C_4367_B3DA_2863C987246D]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38F192ED_EDB3_4717_BFFC_B2E1BDF57C25]} */
public static final String deliveryTypeDescriptionId_COLUMN = "DELIVERY_TYPE_DESCRIPTION_ID";
/**
* Get the value of deliveryTypeDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_513D9D3C_8F0C_4367_B3DA_2863C987246D]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38F192ED_EDB3_4717_BFFC_B2E1BDF57C25]}
*
* @return The value of deliveryTypeDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of deliveryTypeDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_513D9D3C_8F0C_4367_B3DA_2863C987246D]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38F192ED_EDB3_4717_BFFC_B2E1BDF57C25]}
*
* @param deliveryTypeDescriptionId The value of deliveryTypeDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZone.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZone.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZone.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryZoneId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B7E56541_CE09_4B7E_A125_001EA5B198D1]} */
+ /** The value of deliveryZoneId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA74016E_FAE7_439E_B12B_58A30A49B460]} */
protected java.math.BigDecimal _deliveryZoneId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -378,12 +378,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B7E56541_CE09_4B7E_A125_001EA5B198D1]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA74016E_FAE7_439E_B12B_58A30A49B460]} */
public static final String deliveryZoneId_COLUMN = "DELIVERY_ZONE_ID";
/**
* Get the value of deliveryZoneId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B7E56541_CE09_4B7E_A125_001EA5B198D1]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA74016E_FAE7_439E_B12B_58A30A49B460]}
*
* @return The value of deliveryZoneId. (Nullable)
*/
@@ -393,7 +393,7 @@
/**
* Set the value of deliveryZoneId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B7E56541_CE09_4B7E_A125_001EA5B198D1]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA74016E_FAE7_439E_B12B_58A30A49B460]}
*
* @param deliveryZoneId The value of deliveryZoneId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZoneDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZoneDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryZoneDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of deliveryZoneDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_AF2C82E5_D881_4C61_B096_8667C945FD08]} */
+ /** The value of deliveryZoneDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BB2396D3_E0E1_4B99_B786_0F09CE6BB3EF]} */
protected java.math.BigDecimal _deliveryZoneDescriptionId;
/** The value of deliveryZoneId. {INTEGER : NotNull : Default=[] : FK to DELIVERY_ZONE} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_AF2C82E5_D881_4C61_B096_8667C945FD08]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BB2396D3_E0E1_4B99_B786_0F09CE6BB3EF]} */
public static final String deliveryZoneDescriptionId_COLUMN = "DELIVERY_ZONE_DESCRIPTION_ID";
/**
* Get the value of deliveryZoneDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_AF2C82E5_D881_4C61_B096_8667C945FD08]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BB2396D3_E0E1_4B99_B786_0F09CE6BB3EF]}
*
* @return The value of deliveryZoneDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of deliveryZoneDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_AF2C82E5_D881_4C61_B096_8667C945FD08]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BB2396D3_E0E1_4B99_B786_0F09CE6BB3EF]}
*
* @param deliveryZoneDescriptionId The value of deliveryZoneDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileData.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileData.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileData.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -20,7 +20,7 @@
*
*
* [referrer-property]
- * fileTagToFileDataList, imageDataList, manufacturerList, productList
+ * categoryList, fileTagToFileDataList, imageDataList, manufacturerList, productList
*
* [sequence]
*
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of fileDataId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2A0E9AB9_771C_44B3_910E_4B8C8345E7B2]} */
+ /** The value of fileDataId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38D221B4_8B92_4D84_8BB0_5F0F5C0EAD26]} */
protected java.math.BigDecimal _fileDataId;
/** The value of name. {VARCHAR(100) : NotNull : Default=[]} */
@@ -140,6 +140,45 @@
// /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ // ReferrerTable = [CATEGORY(TABLE)]
+ // ReferrerProperty = [categoryList]
+ // * * * * * * * * */
+
+
+ /** The list of referrer table. */
+ protected java.util.List _childrenCategoryList;
+
+ /**
+ * Get the list of referrer table. {without lazyload}
+ *
+ * @return The list of referrer table. (NotNull: If it's not loaded yet, initializes the list instance of referrer as empty and returns it.)
+ */
+ public java.util.List getCategoryList() {
+ if (_childrenCategoryList == null) { _childrenCategoryList = new java.util.ArrayList(); }
+ return _childrenCategoryList;
+ }
+
+ /**
+ * Set the list of referrer table.
+ *
+ * @param categoryList The list of referrer table. (Nullable)
+ */
+ public void setCategoryList(java.util.List categoryList) {
+ this._childrenCategoryList = categoryList;
+ }
+
+ /**
+ * Has referrer elements of CategoryList.
+ *
+ * @return Determination.
+ */
+ public boolean hasRefererElementsCategoryList() {
+ return _childrenCategoryList != null && !_childrenCategoryList.isEmpty();
+ }
+
+
+
+ // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// ReferrerTable = [FILE_TAG_TO_FILE_DATA(TABLE)]
// ReferrerProperty = [fileTagToFileDataList]
// * * * * * * * * */
@@ -482,12 +521,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2A0E9AB9_771C_44B3_910E_4B8C8345E7B2]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38D221B4_8B92_4D84_8BB0_5F0F5C0EAD26]} */
public static final String fileDataId_COLUMN = "FILE_DATA_ID";
/**
* Get the value of fileDataId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2A0E9AB9_771C_44B3_910E_4B8C8345E7B2]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38D221B4_8B92_4D84_8BB0_5F0F5C0EAD26]}
*
* @return The value of fileDataId. (Nullable)
*/
@@ -497,7 +536,7 @@
/**
* Set the value of fileDataId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2A0E9AB9_771C_44B3_910E_4B8C8345E7B2]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38D221B4_8B92_4D84_8BB0_5F0F5C0EAD26]}
*
* @param fileDataId The value of fileDataId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileTag.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileTag.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsFileTag.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of fileTagId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1D4C5B93_A4EF_4BD8_82A8_96C55C046F98]} */
+ /** The value of fileTagId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3829C625_F661_4D38_B5B5_67D2347121EB]} */
protected java.math.BigDecimal _fileTagId;
/** The value of name. {VARCHAR(100) : NotNull : Default=[]} */
@@ -292,12 +292,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1D4C5B93_A4EF_4BD8_82A8_96C55C046F98]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3829C625_F661_4D38_B5B5_67D2347121EB]} */
public static final String fileTagId_COLUMN = "FILE_TAG_ID";
/**
* Get the value of fileTagId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1D4C5B93_A4EF_4BD8_82A8_96C55C046F98]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3829C625_F661_4D38_B5B5_67D2347121EB]}
*
* @return The value of fileTagId. (Nullable)
*/
@@ -307,7 +307,7 @@
/**
* Set the value of fileTagId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1D4C5B93_A4EF_4BD8_82A8_96C55C046F98]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3829C625_F661_4D38_B5B5_67D2347121EB]}
*
* @param fileTagId The value of fileTagId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsImageData.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsImageData.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsImageData.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of fileDataId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A3B575C1_8C44_4C92_B3A9_FD08C9ED1C56] : FK to FILE_DATA} */
+ /** The value of fileDataId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_66963A12_0B02_4F1B_887F_6330FE2597CA] : FK to FILE_DATA} */
protected java.math.BigDecimal _fileDataId;
/** The value of size. {INTEGER : Default=[]} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A3B575C1_8C44_4C92_B3A9_FD08C9ED1C56] : FK to FILE_DATA} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_66963A12_0B02_4F1B_887F_6330FE2597CA] : FK to FILE_DATA} */
public static final String fileDataId_COLUMN = "FILE_DATA_ID";
/**
* Get the value of fileDataId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A3B575C1_8C44_4C92_B3A9_FD08C9ED1C56] : FK to FILE_DATA}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_66963A12_0B02_4F1B_887F_6330FE2597CA] : FK to FILE_DATA}
*
* @return The value of fileDataId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of fileDataId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A3B575C1_8C44_4C92_B3A9_FD08C9ED1C56] : FK to FILE_DATA}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_66963A12_0B02_4F1B_887F_6330FE2597CA] : FK to FILE_DATA}
*
* @param fileDataId The value of fileDataId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturer.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturer.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturer.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of manufacturerId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C12F970E_8F1F_444E_81FE_5119267871E5]} */
+ /** The value of manufacturerId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A6AE78A2_ED57_48EB_B856_54EDE7606F3F]} */
protected java.math.BigDecimal _manufacturerId;
/** The value of fileDataId. {BIGINT : Default=[] : FK to FILE_DATA} */
@@ -438,12 +438,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C12F970E_8F1F_444E_81FE_5119267871E5]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A6AE78A2_ED57_48EB_B856_54EDE7606F3F]} */
public static final String manufacturerId_COLUMN = "MANUFACTURER_ID";
/**
* Get the value of manufacturerId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C12F970E_8F1F_444E_81FE_5119267871E5]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A6AE78A2_ED57_48EB_B856_54EDE7606F3F]}
*
* @return The value of manufacturerId. (Nullable)
*/
@@ -453,7 +453,7 @@
/**
* Set the value of manufacturerId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C12F970E_8F1F_444E_81FE_5119267871E5]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A6AE78A2_ED57_48EB_B856_54EDE7606F3F]}
*
* @param manufacturerId The value of manufacturerId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -14,7 +14,7 @@
* MANUFACTURER_DESCRIPTION_ID
*
* [column-property]
- * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE
+ * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE
*
* [foreign-property]
* manufacturer
@@ -58,14 +58,14 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of manufacturerDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FB14852_D548_492E_A546_D94CFE117480]} */
+ /** The value of manufacturerDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B00AC5CA_F645_4F81_AA2D_C6372A3892D8]} */
protected java.math.BigDecimal _manufacturerDescriptionId;
/** The value of manufacturerId. {INTEGER : NotNull : Default=[] : FK to MANUFACTURER} */
protected java.math.BigDecimal _manufacturerId;
- /** The value of content. {CLOB : Default=[]} */
- protected String _content;
+ /** The value of description. {CLOB : Default=[]} */
+ protected String _description;
/** The value of language. {VARCHAR(20) : NotNull : Default=[]} */
protected String _language;
@@ -309,7 +309,7 @@
sb.append(delimiter).append(getManufacturerDescriptionId());
sb.append(delimiter).append(getManufacturerId());
- sb.append(delimiter).append(getContent());
+ sb.append(delimiter).append(getDescription());
sb.append(delimiter).append(getLanguage());
sb.delete(0, delimiter.length());
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FB14852_D548_492E_A546_D94CFE117480]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B00AC5CA_F645_4F81_AA2D_C6372A3892D8]} */
public static final String manufacturerDescriptionId_COLUMN = "MANUFACTURER_DESCRIPTION_ID";
/**
* Get the value of manufacturerDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FB14852_D548_492E_A546_D94CFE117480]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B00AC5CA_F645_4F81_AA2D_C6372A3892D8]}
*
* @return The value of manufacturerDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of manufacturerDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FB14852_D548_492E_A546_D94CFE117480]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B00AC5CA_F645_4F81_AA2D_C6372A3892D8]}
*
* @param manufacturerDescriptionId The value of manufacturerDescriptionId. (Nullable)
*/
@@ -370,27 +370,27 @@
}
/** Column Annotation for S2Dao. {CLOB : Default=[]} */
- public static final String content_COLUMN = "CONTENT";
+ public static final String description_COLUMN = "DESCRIPTION";
/**
- * Get the value of content.
+ * Get the value of description.
* {CLOB : Default=[]}
*
- * @return The value of content. (Nullable)
+ * @return The value of description. (Nullable)
*/
- public String getContent() {
- return _content;
+ public String getDescription() {
+ return _description;
}
/**
- * Set the value of content.
+ * Set the value of description.
* {CLOB : Default=[]}
*
- * @param content The value of content. (Nullable)
+ * @param description The value of description. (Nullable)
*/
- public void setContent(String content) {
- _modifiedProperties.addPropertyName("content");
- this._content = content;
+ public void setDescription(String description) {
+ _modifiedProperties.addPropertyName("description");
+ this._description = description;
}
/** Column Annotation for S2Dao. {VARCHAR(20) : NotNull : Default=[]} */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerInfo.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerInfo.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturerInfo.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of manufacturerInfoId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2F63EF95_2A3B_4D50_A9E6_CBD0A2F58A9D]} */
+ /** The value of manufacturerInfoId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D899A060_636B_445D_87E6_0F22ED18FACD]} */
protected java.math.BigDecimal _manufacturerInfoId;
/** The value of manufacturerId. {INTEGER : NotNull : Default=[] : FK to MANUFACTURER} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2F63EF95_2A3B_4D50_A9E6_CBD0A2F58A9D]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D899A060_636B_445D_87E6_0F22ED18FACD]} */
public static final String manufacturerInfoId_COLUMN = "MANUFACTURER_INFO_ID";
/**
* Get the value of manufacturerInfoId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2F63EF95_2A3B_4D50_A9E6_CBD0A2F58A9D]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D899A060_636B_445D_87E6_0F22ED18FACD]}
*
* @return The value of manufacturerInfoId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of manufacturerInfoId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2F63EF95_2A3B_4D50_A9E6_CBD0A2F58A9D]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D899A060_636B_445D_87E6_0F22ED18FACD]}
*
* @param manufacturerInfoId The value of manufacturerInfoId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderCardInfo.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderCardInfo.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderCardInfo.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderFormId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CA7695D_D15F_4F2B_9051_506B115F603E]} */
+ /** The value of orderFormId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8025507D_BC2F_4AC6_A3E4_87F4CAC6CD3B]} */
protected java.math.BigDecimal _orderFormId;
/** The value of cardTypeId. {INTEGER : Default=[] : FK to CARD_TYPE} */
@@ -333,12 +333,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CA7695D_D15F_4F2B_9051_506B115F603E]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8025507D_BC2F_4AC6_A3E4_87F4CAC6CD3B]} */
public static final String orderFormId_COLUMN = "ORDER_FORM_ID";
/**
* Get the value of orderFormId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CA7695D_D15F_4F2B_9051_506B115F603E]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8025507D_BC2F_4AC6_A3E4_87F4CAC6CD3B]}
*
* @return The value of orderFormId. (Nullable)
*/
@@ -348,7 +348,7 @@
/**
* Set the value of orderFormId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CA7695D_D15F_4F2B_9051_506B115F603E]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8025507D_BC2F_4AC6_A3E4_87F4CAC6CD3B]}
*
* @param orderFormId The value of orderFormId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderComment.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderComment.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderComment.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderCommentId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53709283_8417_4D26_9790_CEE2549C20F0]} */
+ /** The value of orderCommentId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_509E62A5_5887_4863_B360_A4AC2C632E4F]} */
protected java.math.BigDecimal _orderCommentId;
/** The value of orderFormId. {BIGINT : NotNull : Default=[] : FK to ORDER_FORM} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53709283_8417_4D26_9790_CEE2549C20F0]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_509E62A5_5887_4863_B360_A4AC2C632E4F]} */
public static final String orderCommentId_COLUMN = "ORDER_COMMENT_ID";
/**
* Get the value of orderCommentId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53709283_8417_4D26_9790_CEE2549C20F0]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_509E62A5_5887_4863_B360_A4AC2C632E4F]}
*
* @return The value of orderCommentId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of orderCommentId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53709283_8417_4D26_9790_CEE2549C20F0]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_509E62A5_5887_4863_B360_A4AC2C632E4F]}
*
* @param orderCommentId The value of orderCommentId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderForm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderForm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderForm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -14,7 +14,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
+ * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
*
* [foreign-property]
* customer, orderStatus
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderFormId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E1DFBFB_6E87_4AFF_B190_B7582A1DAF58]} */
+ /** The value of orderFormId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D028B5F8_30A1_4068_B44A_15B15660D6A7]} */
protected java.math.BigDecimal _orderFormId;
/** The value of orderFormNumber. {VARCHAR(40) : NotNull : Default=[]} */
@@ -157,8 +157,8 @@
/** The value of billingCountryCode. {VARCHAR(40) : NotNull : Default=[]} */
protected String _billingCountryCode;
- /** The value of billingLocaleName. {VARCHAR(20) : NotNull : Default=[]} */
- protected String _billingLocaleName;
+ /** The value of billingLanguage. {VARCHAR(20) : NotNull : Default=[]} */
+ protected String _billingLanguage;
/** The value of orderStatusId. {INTEGER : NotNull : Default=[] : FK to ORDER_STATUS} */
protected java.math.BigDecimal _orderStatusId;
@@ -819,7 +819,7 @@
sb.append(delimiter).append(getBillingPostcode());
sb.append(delimiter).append(getBillingTelephone());
sb.append(delimiter).append(getBillingCountryCode());
- sb.append(delimiter).append(getBillingLocaleName());
+ sb.append(delimiter).append(getBillingLanguage());
sb.append(delimiter).append(getOrderStatusId());
sb.append(delimiter).append(getUpdatedDate());
sb.append(delimiter).append(getPurchasedDate());
@@ -834,12 +834,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E1DFBFB_6E87_4AFF_B190_B7582A1DAF58]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D028B5F8_30A1_4068_B44A_15B15660D6A7]} */
public static final String orderFormId_COLUMN = "ORDER_FORM_ID";
/**
* Get the value of orderFormId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E1DFBFB_6E87_4AFF_B190_B7582A1DAF58]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D028B5F8_30A1_4068_B44A_15B15660D6A7]}
*
* @return The value of orderFormId. (Nullable)
*/
@@ -849,7 +849,7 @@
/**
* Set the value of orderFormId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E1DFBFB_6E87_4AFF_B190_B7582A1DAF58]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D028B5F8_30A1_4068_B44A_15B15660D6A7]}
*
* @param orderFormId The value of orderFormId. (Nullable)
*/
@@ -1627,27 +1627,27 @@
}
/** Column Annotation for S2Dao. {VARCHAR(20) : NotNull : Default=[]} */
- public static final String billingLocaleName_COLUMN = "BILLING_LOCALE_NAME";
+ public static final String billingLanguage_COLUMN = "BILLING_LANGUAGE";
/**
- * Get the value of billingLocaleName.
+ * Get the value of billingLanguage.
* {VARCHAR(20) : NotNull : Default=[]}
*
- * @return The value of billingLocaleName. (Nullable)
+ * @return The value of billingLanguage. (Nullable)
*/
- public String getBillingLocaleName() {
- return _billingLocaleName;
+ public String getBillingLanguage() {
+ return _billingLanguage;
}
/**
- * Set the value of billingLocaleName.
+ * Set the value of billingLanguage.
* {VARCHAR(20) : NotNull : Default=[]}
*
- * @param billingLocaleName The value of billingLocaleName. (Nullable)
+ * @param billingLanguage The value of billingLanguage. (Nullable)
*/
- public void setBillingLocaleName(String billingLocaleName) {
- _modifiedProperties.addPropertyName("billingLocaleName");
- this._billingLocaleName = billingLocaleName;
+ public void setBillingLanguage(String billingLanguage) {
+ _modifiedProperties.addPropertyName("billingLanguage");
+ this._billingLanguage = billingLanguage;
}
/** Column Annotation for S2Dao. {INTEGER : NotNull : Default=[] : FK to ORDER_STATUS} */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderNotification.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderNotification.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderNotification.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderNotificationId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5EC32B11_0D84_4CE1_A08D_11E0C96B55D6]} */
+ /** The value of orderNotificationId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E10C6D3C_63F1_4367_966E_F57D333ABD11]} */
protected java.math.BigDecimal _orderNotificationId;
/** The value of orderStatusId. {INTEGER : NotNull : Default=[] : FK to ORDER_STATUS} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5EC32B11_0D84_4CE1_A08D_11E0C96B55D6]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E10C6D3C_63F1_4367_966E_F57D333ABD11]} */
public static final String orderNotificationId_COLUMN = "ORDER_NOTIFICATION_ID";
/**
* Get the value of orderNotificationId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5EC32B11_0D84_4CE1_A08D_11E0C96B55D6]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E10C6D3C_63F1_4367_966E_F57D333ABD11]}
*
* @return The value of orderNotificationId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of orderNotificationId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5EC32B11_0D84_4CE1_A08D_11E0C96B55D6]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E10C6D3C_63F1_4367_966E_F57D333ABD11]}
*
* @param orderNotificationId The value of orderNotificationId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderPayment.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderPayment.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderPayment.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -14,7 +14,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
+ * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
*
* [foreign-property]
* orderForm, paymentMethod, paymentStatus
@@ -70,9 +70,6 @@
/** The value of paymentStatusId. {INTEGER : Default=[] : FK to PAYMENT_STATUS} */
protected java.math.BigDecimal _paymentStatusId;
- /** The value of updatedDate. {TIMESTAMP : Default=[]} */
- protected java.sql.Timestamp _updatedDate;
-
/** The value of subTotalPrice. {DECIMAL(14, 6) : Default=[]} */
protected java.math.BigDecimal _subTotalPrice;
@@ -134,16 +131,16 @@
// ===================================================================================
// Classification Classifying
// ==========================
-
+
// ===================================================================================
// Classification Determination
// ============================
-
+
// ===================================================================================
// Classification Name/Alias
// =========================
-
+
// ===================================================================================
// Foreign Table
@@ -450,7 +447,6 @@
sb.append(delimiter).append(getPaymentMethodCode());
sb.append(delimiter).append(getOrderCardInfoId());
sb.append(delimiter).append(getPaymentStatusId());
- sb.append(delimiter).append(getUpdatedDate());
sb.append(delimiter).append(getSubTotalPrice());
sb.append(delimiter).append(getTax());
sb.append(delimiter).append(getDeliveryPrice());
@@ -586,30 +582,6 @@
this._paymentStatusId = paymentStatusId;
}
- /** Column Annotation for S2Dao. {TIMESTAMP : Default=[]} */
- public static final String updatedDate_COLUMN = "UPDATED_DATE";
-
- /**
- * Get the value of updatedDate.
- * {TIMESTAMP : Default=[]}
- *
- * @return The value of updatedDate. (Nullable)
- */
- public java.sql.Timestamp getUpdatedDate() {
- return _updatedDate;
- }
-
- /**
- * Set the value of updatedDate.
- * {TIMESTAMP : Default=[]}
- *
- * @param updatedDate The value of updatedDate. (Nullable)
- */
- public void setUpdatedDate(java.sql.Timestamp updatedDate) {
- _modifiedProperties.addPropertyName("updatedDate");
- this._updatedDate = updatedDate;
- }
-
/** Column Annotation for S2Dao. {DECIMAL(14, 6) : Default=[]} */
public static final String subTotalPrice_COLUMN = "SUB_TOTAL_PRICE";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProduct.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProduct.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProduct.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderProductId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6A0998C7_E994_4EAD_82DA_CD13DD6F3FDB]} */
+ /** The value of orderProductId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0E7663C8_2AA3_4A71_BA3C_9FB60F8CD5F4]} */
protected java.math.BigDecimal _orderProductId;
/** The value of orderFormId. {BIGINT : NotNull : Default=[] : FK to ORDER_FORM} */
@@ -456,12 +456,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6A0998C7_E994_4EAD_82DA_CD13DD6F3FDB]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0E7663C8_2AA3_4A71_BA3C_9FB60F8CD5F4]} */
public static final String orderProductId_COLUMN = "ORDER_PRODUCT_ID";
/**
* Get the value of orderProductId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6A0998C7_E994_4EAD_82DA_CD13DD6F3FDB]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0E7663C8_2AA3_4A71_BA3C_9FB60F8CD5F4]}
*
* @return The value of orderProductId. (Nullable)
*/
@@ -471,7 +471,7 @@
/**
* Set the value of orderProductId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6A0998C7_E994_4EAD_82DA_CD13DD6F3FDB]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0E7663C8_2AA3_4A71_BA3C_9FB60F8CD5F4]}
*
* @param orderProductId The value of orderProductId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProductOption.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProductOption.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderProductOption.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderProductOptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FE7F2B02_B5E2_4245_A033_EBF6D16F6F7A]} */
+ /** The value of orderProductOptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_34BAF4A8_D116_4023_BC0A_AEA573B5280F]} */
protected java.math.BigDecimal _orderProductOptionId;
/** The value of orderProductId. {BIGINT : NotNull : Default=[] : FK to ORDER_PRODUCT} */
@@ -401,12 +401,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FE7F2B02_B5E2_4245_A033_EBF6D16F6F7A]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_34BAF4A8_D116_4023_BC0A_AEA573B5280F]} */
public static final String orderProductOptionId_COLUMN = "ORDER_PRODUCT_OPTION_ID";
/**
* Get the value of orderProductOptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FE7F2B02_B5E2_4245_A033_EBF6D16F6F7A]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_34BAF4A8_D116_4023_BC0A_AEA573B5280F]}
*
* @return The value of orderProductOptionId. (Nullable)
*/
@@ -416,7 +416,7 @@
/**
* Set the value of orderProductOptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FE7F2B02_B5E2_4245_A033_EBF6D16F6F7A]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_34BAF4A8_D116_4023_BC0A_AEA573B5280F]}
*
* @param orderProductOptionId The value of orderProductOptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatus.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatus.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatus.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderStatusId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_50CD49BE_2DFF_4EBC_B0A3_352D3224CD8E]} */
+ /** The value of orderStatusId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E39CF5F_3F03_4CD2_93AF_D5271B7A9CD4]} */
protected java.math.BigDecimal _orderStatusId;
/** The value of type. {INTEGER : NotNull : Default=[]} */
@@ -417,12 +417,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_50CD49BE_2DFF_4EBC_B0A3_352D3224CD8E]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E39CF5F_3F03_4CD2_93AF_D5271B7A9CD4]} */
public static final String orderStatusId_COLUMN = "ORDER_STATUS_ID";
/**
* Get the value of orderStatusId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_50CD49BE_2DFF_4EBC_B0A3_352D3224CD8E]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E39CF5F_3F03_4CD2_93AF_D5271B7A9CD4]}
*
* @return The value of orderStatusId. (Nullable)
*/
@@ -432,7 +432,7 @@
/**
* Set the value of orderStatusId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_50CD49BE_2DFF_4EBC_B0A3_352D3224CD8E]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E39CF5F_3F03_4CD2_93AF_D5271B7A9CD4]}
*
* @param orderStatusId The value of orderStatusId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderStatusDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_57005BDB_8F67_48C9_8FA8_A5873EE74109]} */
+ /** The value of orderStatusDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CFF5800_E0F8_4DFD_B8E7_DD338204FCF2]} */
protected java.math.BigDecimal _orderStatusDescriptionId;
/** The value of orderStatusId. {INTEGER : NotNull : Default=[] : FK to ORDER_STATUS} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_57005BDB_8F67_48C9_8FA8_A5873EE74109]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CFF5800_E0F8_4DFD_B8E7_DD338204FCF2]} */
public static final String orderStatusDescriptionId_COLUMN = "ORDER_STATUS_DESCRIPTION_ID";
/**
* Get the value of orderStatusDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_57005BDB_8F67_48C9_8FA8_A5873EE74109]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CFF5800_E0F8_4DFD_B8E7_DD338204FCF2]}
*
* @return The value of orderStatusDescriptionId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of orderStatusDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_57005BDB_8F67_48C9_8FA8_A5873EE74109]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CFF5800_E0F8_4DFD_B8E7_DD338204FCF2]}
*
* @param orderStatusDescriptionId The value of orderStatusDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusHistory.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusHistory.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrderStatusHistory.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of orderStatusHistoryId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A1233B6_C86A_4560_9F95_D174C0F8AECD]} */
+ /** The value of orderStatusHistoryId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EAC40217_D574_4478_888A_8632E9DF0DDC]} */
protected java.math.BigDecimal _orderStatusHistoryId;
/** The value of orderFormId. {BIGINT : NotNull : Default=[] : FK to ORDER_FORM} */
@@ -389,12 +389,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A1233B6_C86A_4560_9F95_D174C0F8AECD]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EAC40217_D574_4478_888A_8632E9DF0DDC]} */
public static final String orderStatusHistoryId_COLUMN = "ORDER_STATUS_HISTORY_ID";
/**
* Get the value of orderStatusHistoryId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A1233B6_C86A_4560_9F95_D174C0F8AECD]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EAC40217_D574_4478_888A_8632E9DF0DDC]}
*
* @return The value of orderStatusHistoryId. (Nullable)
*/
@@ -404,7 +404,7 @@
/**
* Set the value of orderStatusHistoryId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A1233B6_C86A_4560_9F95_D174C0F8AECD]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EAC40217_D574_4478_888A_8632E9DF0DDC]}
*
* @param orderStatusHistoryId The value of orderStatusHistoryId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethod.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethod.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethod.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of paymentMethodId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A860291A_CEB7_4C33_B2C5_E17DDFF29780]} */
+ /** The value of paymentMethodId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1ACB50B5_1334_4789_83C3_F4D2B67AE926]} */
protected java.math.BigDecimal _paymentMethodId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -347,12 +347,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A860291A_CEB7_4C33_B2C5_E17DDFF29780]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1ACB50B5_1334_4789_83C3_F4D2B67AE926]} */
public static final String paymentMethodId_COLUMN = "PAYMENT_METHOD_ID";
/**
* Get the value of paymentMethodId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A860291A_CEB7_4C33_B2C5_E17DDFF29780]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1ACB50B5_1334_4789_83C3_F4D2B67AE926]}
*
* @return The value of paymentMethodId. (Nullable)
*/
@@ -362,7 +362,7 @@
/**
* Set the value of paymentMethodId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A860291A_CEB7_4C33_B2C5_E17DDFF29780]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1ACB50B5_1334_4789_83C3_F4D2B67AE926]}
*
* @param paymentMethodId The value of paymentMethodId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethodDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethodDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentMethodDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of paymentMethodDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FCCE10D1_1C23_4261_8F63_ACC2E84661E5]} */
+ /** The value of paymentMethodDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4F0976EF_3F52_43FD_A80E_0BE4F5CB6B09]} */
protected java.math.BigDecimal _paymentMethodDescriptionId;
/** The value of paymentMethodId. {INTEGER : NotNull : Default=[] : FK to PAYMENT_METHOD} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FCCE10D1_1C23_4261_8F63_ACC2E84661E5]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4F0976EF_3F52_43FD_A80E_0BE4F5CB6B09]} */
public static final String paymentMethodDescriptionId_COLUMN = "PAYMENT_METHOD_DESCRIPTION_ID";
/**
* Get the value of paymentMethodDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FCCE10D1_1C23_4261_8F63_ACC2E84661E5]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4F0976EF_3F52_43FD_A80E_0BE4F5CB6B09]}
*
* @return The value of paymentMethodDescriptionId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of paymentMethodDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FCCE10D1_1C23_4261_8F63_ACC2E84661E5]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4F0976EF_3F52_43FD_A80E_0BE4F5CB6B09]}
*
* @param paymentMethodDescriptionId The value of paymentMethodDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatus.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatus.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatus.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of paymentStatusId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_07F04D5F_8DEB_4F29_802E_787FF0C257F7]} */
+ /** The value of paymentStatusId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A2F7FC55_6332_417D_8BF0_AA4E09968224]} */
protected java.math.BigDecimal _paymentStatusId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -339,12 +339,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_07F04D5F_8DEB_4F29_802E_787FF0C257F7]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A2F7FC55_6332_417D_8BF0_AA4E09968224]} */
public static final String paymentStatusId_COLUMN = "PAYMENT_STATUS_ID";
/**
* Get the value of paymentStatusId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_07F04D5F_8DEB_4F29_802E_787FF0C257F7]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A2F7FC55_6332_417D_8BF0_AA4E09968224]}
*
* @return The value of paymentStatusId. (Nullable)
*/
@@ -354,7 +354,7 @@
/**
* Set the value of paymentStatusId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_07F04D5F_8DEB_4F29_802E_787FF0C257F7]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A2F7FC55_6332_417D_8BF0_AA4E09968224]}
*
* @param paymentStatusId The value of paymentStatusId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatusDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatusDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsPaymentStatusDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of paymentStatusDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0FA0CE4E_1A66_4141_BB8C_DEF9F3002150]} */
+ /** The value of paymentStatusDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FD3A4F90_5DB1_4753_8E86_CEFC8E032F6E]} */
protected java.math.BigDecimal _paymentStatusDescriptionId;
/** The value of paymentStatusId. {INTEGER : NotNull : Default=[] : FK to PAYMENT_STATUS} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0FA0CE4E_1A66_4141_BB8C_DEF9F3002150]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FD3A4F90_5DB1_4753_8E86_CEFC8E032F6E]} */
public static final String paymentStatusDescriptionId_COLUMN = "PAYMENT_STATUS_DESCRIPTION_ID";
/**
* Get the value of paymentStatusDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0FA0CE4E_1A66_4141_BB8C_DEF9F3002150]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FD3A4F90_5DB1_4753_8E86_CEFC8E032F6E]}
*
* @return The value of paymentStatusDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of paymentStatusDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0FA0CE4E_1A66_4141_BB8C_DEF9F3002150]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FD3A4F90_5DB1_4753_8E86_CEFC8E032F6E]}
*
* @param paymentStatusDescriptionId The value of paymentStatusDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProduct.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProduct.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProduct.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -14,7 +14,7 @@
* PRODUCT_ID
*
* [column-property]
- * PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
+ * PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
*
* [foreign-property]
* deliveryType, fileData, manufacturer, taxType
@@ -58,18 +58,24 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53F43142_633D_4D33_B998_7660EB2AAA6E]} */
+ /** The value of productId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_401D882C_D7F7_4467_952C_FF7279D1F245]} */
protected java.math.BigDecimal _productId;
- /** The value of model. {VARCHAR(80) : Default=[]} */
- protected String _model;
+ /** The value of productMode. {INTEGER : NotNull : Default=[]} */
+ protected java.math.BigDecimal _productMode;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
protected String _code;
+ /** The value of model. {VARCHAR(80) : Default=[]} */
+ protected String _model;
+
/** The value of stock. {INTEGER : Default=[]} */
protected java.math.BigDecimal _stock;
+ /** The value of catalogPrice. {DECIMAL(15, 4) : Default=[]} */
+ protected java.math.BigDecimal _catalogPrice;
+
/** The value of price. {DECIMAL(15, 4) : NotNull : Default=[]} */
protected java.math.BigDecimal _price;
@@ -158,16 +164,16 @@
// ===================================================================================
// Classification Classifying
// ==========================
-
+
// ===================================================================================
// Classification Determination
// ============================
-
+
// ===================================================================================
// Classification Name/Alias
// =========================
-
+
// ===================================================================================
// Foreign Table
@@ -1198,9 +1204,11 @@
final StringBuffer sb = new StringBuffer();
sb.append(delimiter).append(getProductId());
+ sb.append(delimiter).append(getProductMode());
+ sb.append(delimiter).append(getCode());
sb.append(delimiter).append(getModel());
- sb.append(delimiter).append(getCode());
sb.append(delimiter).append(getStock());
+ sb.append(delimiter).append(getCatalogPrice());
sb.append(delimiter).append(getPrice());
sb.append(delimiter).append(getWeight());
sb.append(delimiter).append(getSize());
@@ -1225,12 +1233,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53F43142_633D_4D33_B998_7660EB2AAA6E]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_401D882C_D7F7_4467_952C_FF7279D1F245]} */
public static final String productId_COLUMN = "PRODUCT_ID";
/**
* Get the value of productId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53F43142_633D_4D33_B998_7660EB2AAA6E]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_401D882C_D7F7_4467_952C_FF7279D1F245]}
*
* @return The value of productId. (Nullable)
*/
@@ -1240,7 +1248,7 @@
/**
* Set the value of productId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53F43142_633D_4D33_B998_7660EB2AAA6E]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_401D882C_D7F7_4467_952C_FF7279D1F245]}
*
* @param productId The value of productId. (Nullable)
*/
@@ -1249,28 +1257,28 @@
this._productId = productId;
}
- /** Column Annotation for S2Dao. {VARCHAR(80) : Default=[]} */
- public static final String model_COLUMN = "MODEL";
+ /** Column Annotation for S2Dao. {INTEGER : NotNull : Default=[]} */
+ public static final String productMode_COLUMN = "PRODUCT_MODE";
/**
- * Get the value of model.
- * {VARCHAR(80) : Default=[]}
+ * Get the value of productMode.
+ * {INTEGER : NotNull : Default=[]}
*
- * @return The value of model. (Nullable)
+ * @return The value of productMode. (Nullable)
*/
- public String getModel() {
- return _model;
+ public java.math.BigDecimal getProductMode() {
+ return _productMode;
}
/**
- * Set the value of model.
- * {VARCHAR(80) : Default=[]}
+ * Set the value of productMode.
+ * {INTEGER : NotNull : Default=[]}
*
- * @param model The value of model. (Nullable)
+ * @param productMode The value of productMode. (Nullable)
*/
- public void setModel(String model) {
- _modifiedProperties.addPropertyName("model");
- this._model = model;
+ public void setProductMode(java.math.BigDecimal productMode) {
+ _modifiedProperties.addPropertyName("productMode");
+ this._productMode = productMode;
}
/** Column Annotation for S2Dao. {VARCHAR(40) : NotNull : Default=[]} */
@@ -1297,6 +1305,30 @@
this._code = code;
}
+ /** Column Annotation for S2Dao. {VARCHAR(80) : Default=[]} */
+ public static final String model_COLUMN = "MODEL";
+
+ /**
+ * Get the value of model.
+ * {VARCHAR(80) : Default=[]}
+ *
+ * @return The value of model. (Nullable)
+ */
+ public String getModel() {
+ return _model;
+ }
+
+ /**
+ * Set the value of model.
+ * {VARCHAR(80) : Default=[]}
+ *
+ * @param model The value of model. (Nullable)
+ */
+ public void setModel(String model) {
+ _modifiedProperties.addPropertyName("model");
+ this._model = model;
+ }
+
/** Column Annotation for S2Dao. {INTEGER : Default=[]} */
public static final String stock_COLUMN = "STOCK";
@@ -1321,6 +1353,30 @@
this._stock = stock;
}
+ /** Column Annotation for S2Dao. {DECIMAL(15, 4) : Default=[]} */
+ public static final String catalogPrice_COLUMN = "CATALOG_PRICE";
+
+ /**
+ * Get the value of catalogPrice.
+ * {DECIMAL(15, 4) : Default=[]}
+ *
+ * @return The value of catalogPrice. (Nullable)
+ */
+ public java.math.BigDecimal getCatalogPrice() {
+ return _catalogPrice;
+ }
+
+ /**
+ * Set the value of catalogPrice.
+ * {DECIMAL(15, 4) : Default=[]}
+ *
+ * @param catalogPrice The value of catalogPrice. (Nullable)
+ */
+ public void setCatalogPrice(java.math.BigDecimal catalogPrice) {
+ _modifiedProperties.addPropertyName("catalogPrice");
+ this._catalogPrice = catalogPrice;
+ }
+
/** Column Annotation for S2Dao. {DECIMAL(15, 4) : NotNull : Default=[]} */
public static final String price_COLUMN = "PRICE";
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductAttribute.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductAttribute.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductAttribute.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productAttributeId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2610CCC8_5F78_4EB1_9A12_0AC2591CAA82]} */
+ /** The value of productAttributeId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_68ADF6E2_A268_4D8C_8EAB_FCFA9F4C21E5]} */
protected java.math.BigDecimal _productAttributeId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2610CCC8_5F78_4EB1_9A12_0AC2591CAA82]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_68ADF6E2_A268_4D8C_8EAB_FCFA9F4C21E5]} */
public static final String productAttributeId_COLUMN = "PRODUCT_ATTRIBUTE_ID";
/**
* Get the value of productAttributeId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2610CCC8_5F78_4EB1_9A12_0AC2591CAA82]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_68ADF6E2_A268_4D8C_8EAB_FCFA9F4C21E5]}
*
* @return The value of productAttributeId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of productAttributeId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2610CCC8_5F78_4EB1_9A12_0AC2591CAA82]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_68ADF6E2_A268_4D8C_8EAB_FCFA9F4C21E5]}
*
* @param productAttributeId The value of productAttributeId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductContent.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductContent.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductContent.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productContentId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B293D68B_28E4_4793_9AF6_F0349ECD15DD]} */
+ /** The value of productContentId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CCD79C7E_3A54_4424_B91D_A9E7FBDBFF59]} */
protected java.math.BigDecimal _productContentId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B293D68B_28E4_4793_9AF6_F0349ECD15DD]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CCD79C7E_3A54_4424_B91D_A9E7FBDBFF59]} */
public static final String productContentId_COLUMN = "PRODUCT_CONTENT_ID";
/**
* Get the value of productContentId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B293D68B_28E4_4793_9AF6_F0349ECD15DD]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CCD79C7E_3A54_4424_B91D_A9E7FBDBFF59]}
*
* @return The value of productContentId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of productContentId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B293D68B_28E4_4793_9AF6_F0349ECD15DD]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CCD79C7E_3A54_4424_B91D_A9E7FBDBFF59]}
*
* @param productContentId The value of productContentId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productDescriptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FB791960_CC5F_45D5_B37F_B6D75E155C0C]} */
+ /** The value of productDescriptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4DA6852D_7749_4178_928F_F2004FABABCE]} */
protected java.math.BigDecimal _productDescriptionId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FB791960_CC5F_45D5_B37F_B6D75E155C0C]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4DA6852D_7749_4178_928F_F2004FABABCE]} */
public static final String productDescriptionId_COLUMN = "PRODUCT_DESCRIPTION_ID";
/**
* Get the value of productDescriptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FB791960_CC5F_45D5_B37F_B6D75E155C0C]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4DA6852D_7749_4178_928F_F2004FABABCE]}
*
* @return The value of productDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of productDescriptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FB791960_CC5F_45D5_B37F_B6D75E155C0C]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4DA6852D_7749_4178_928F_F2004FABABCE]}
*
* @param productDescriptionId The value of productDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductInfo.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductInfo.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductInfo.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productInfoId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9993D476_B5B5_49CC_8ADE_EBA1CE9A9125]} */
+ /** The value of productInfoId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8041627D_F7ED_4DAC_8329_9646CB5790C6]} */
protected java.math.BigDecimal _productInfoId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -329,12 +329,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9993D476_B5B5_49CC_8ADE_EBA1CE9A9125]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8041627D_F7ED_4DAC_8329_9646CB5790C6]} */
public static final String productInfoId_COLUMN = "PRODUCT_INFO_ID";
/**
* Get the value of productInfoId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9993D476_B5B5_49CC_8ADE_EBA1CE9A9125]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8041627D_F7ED_4DAC_8329_9646CB5790C6]}
*
* @return The value of productInfoId. (Nullable)
*/
@@ -344,7 +344,7 @@
/**
* Set the value of productInfoId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9993D476_B5B5_49CC_8ADE_EBA1CE9A9125]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8041627D_F7ED_4DAC_8329_9646CB5790C6]}
*
* @param productInfoId The value of productInfoId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOption.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOption.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOption.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productOptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6903EF6A_CC3D_43CF_81E5_E3D4AC0C5FC4]} */
+ /** The value of productOptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_940904FB_500A_4755_9955_FC3B027A8B8A]} */
protected java.math.BigDecimal _productOptionId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -395,12 +395,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6903EF6A_CC3D_43CF_81E5_E3D4AC0C5FC4]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_940904FB_500A_4755_9955_FC3B027A8B8A]} */
public static final String productOptionId_COLUMN = "PRODUCT_OPTION_ID";
/**
* Get the value of productOptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6903EF6A_CC3D_43CF_81E5_E3D4AC0C5FC4]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_940904FB_500A_4755_9955_FC3B027A8B8A]}
*
* @return The value of productOptionId. (Nullable)
*/
@@ -410,7 +410,7 @@
/**
* Set the value of productOptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6903EF6A_CC3D_43CF_81E5_E3D4AC0C5FC4]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_940904FB_500A_4755_9955_FC3B027A8B8A]}
*
* @param productOptionId The value of productOptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productOptionDescriptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_43A5118F_243D_4D3C_935E_299F8EED5E52]} */
+ /** The value of productOptionDescriptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_81904327_A675_4673_9624_DCF0CBE4B8A8]} */
protected java.math.BigDecimal _productOptionDescriptionId;
/** The value of productOptionId. {BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_43A5118F_243D_4D3C_935E_299F8EED5E52]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_81904327_A675_4673_9624_DCF0CBE4B8A8]} */
public static final String productOptionDescriptionId_COLUMN = "PRODUCT_OPTION_DESCRIPTION_ID";
/**
* Get the value of productOptionDescriptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_43A5118F_243D_4D3C_935E_299F8EED5E52]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_81904327_A675_4673_9624_DCF0CBE4B8A8]}
*
* @return The value of productOptionDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of productOptionDescriptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_43A5118F_243D_4D3C_935E_299F8EED5E52]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_81904327_A675_4673_9624_DCF0CBE4B8A8]}
*
* @param productOptionDescriptionId The value of productOptionDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValue.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValue.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValue.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productOptionValueId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F23FF2B3_EED2_4FEE_9ED0_E9C5655FE122]} */
+ /** The value of productOptionValueId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0C947A89_3C09_42B9_BBA5_C45460C33F8C]} */
protected java.math.BigDecimal _productOptionValueId;
/** The value of productOptionId. {BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION} */
@@ -438,12 +438,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F23FF2B3_EED2_4FEE_9ED0_E9C5655FE122]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0C947A89_3C09_42B9_BBA5_C45460C33F8C]} */
public static final String productOptionValueId_COLUMN = "PRODUCT_OPTION_VALUE_ID";
/**
* Get the value of productOptionValueId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F23FF2B3_EED2_4FEE_9ED0_E9C5655FE122]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0C947A89_3C09_42B9_BBA5_C45460C33F8C]}
*
* @return The value of productOptionValueId. (Nullable)
*/
@@ -453,7 +453,7 @@
/**
* Set the value of productOptionValueId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F23FF2B3_EED2_4FEE_9ED0_E9C5655FE122]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0C947A89_3C09_42B9_BBA5_C45460C33F8C]}
*
* @param productOptionValueId The value of productOptionValueId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValueDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValueDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductOptionValueDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of productOptionValueDescriptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_19809486_4B46_4518_9993_D8F7C0022152]} */
+ /** The value of productOptionValueDescriptionId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_45F180FB_67A4_4AAD_93C8_637AD06D42A5]} */
protected java.math.BigDecimal _productOptionValueDescriptionId;
/** The value of productOptionValueId. {BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION_VALUE} */
@@ -321,12 +321,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_19809486_4B46_4518_9993_D8F7C0022152]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_45F180FB_67A4_4AAD_93C8_637AD06D42A5]} */
public static final String productOptionValueDescriptionId_COLUMN = "PRODUCT_OPTION_VALUE_DESCRIPTION_ID";
/**
* Get the value of productOptionValueDescriptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_19809486_4B46_4518_9993_D8F7C0022152]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_45F180FB_67A4_4AAD_93C8_637AD06D42A5]}
*
* @return The value of productOptionValueDescriptionId. (Nullable)
*/
@@ -336,7 +336,7 @@
/**
* Set the value of productOptionValueDescriptionId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_19809486_4B46_4518_9993_D8F7C0022152]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_45F180FB_67A4_4AAD_93C8_637AD06D42A5]}
*
* @param productOptionValueDescriptionId The value of productOptionValueDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReview.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReview.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReview.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of reviewId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D85D1640_DC82_4764_AC1E_54AD6993A863]} */
+ /** The value of reviewId. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65AB13F6_B094_46A9_AB54_971D78C1786C]} */
protected java.math.BigDecimal _reviewId;
/** The value of productId. {BIGINT : NotNull : Default=[] : FK to PRODUCT} */
@@ -493,12 +493,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D85D1640_DC82_4764_AC1E_54AD6993A863]} */
+ /** Column Annotation for S2Dao. {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65AB13F6_B094_46A9_AB54_971D78C1786C]} */
public static final String reviewId_COLUMN = "REVIEW_ID";
/**
* Get the value of reviewId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D85D1640_DC82_4764_AC1E_54AD6993A863]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65AB13F6_B094_46A9_AB54_971D78C1786C]}
*
* @return The value of reviewId. (Nullable)
*/
@@ -508,7 +508,7 @@
/**
* Set the value of reviewId.
- * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D85D1640_DC82_4764_AC1E_54AD6993A863]}
+ * {PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65AB13F6_B094_46A9_AB54_971D78C1786C]}
*
* @param reviewId The value of reviewId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxType.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxType.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxType.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of taxTypeId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3D9E5BA9_1EC6_4B79_8EAA_647BBE1BFC6B]} */
+ /** The value of taxTypeId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9A8A4772_33E6_47D4_9215_C2BFFA2BE3AC]} */
protected java.math.BigDecimal _taxTypeId;
/** The value of code. {VARCHAR(40) : NotNull : Default=[]} */
@@ -343,12 +343,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3D9E5BA9_1EC6_4B79_8EAA_647BBE1BFC6B]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9A8A4772_33E6_47D4_9215_C2BFFA2BE3AC]} */
public static final String taxTypeId_COLUMN = "TAX_TYPE_ID";
/**
* Get the value of taxTypeId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3D9E5BA9_1EC6_4B79_8EAA_647BBE1BFC6B]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9A8A4772_33E6_47D4_9215_C2BFFA2BE3AC]}
*
* @return The value of taxTypeId. (Nullable)
*/
@@ -358,7 +358,7 @@
/**
* Set the value of taxTypeId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3D9E5BA9_1EC6_4B79_8EAA_647BBE1BFC6B]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9A8A4772_33E6_47D4_9215_C2BFFA2BE3AC]}
*
* @param taxTypeId The value of taxTypeId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxTypeDescription.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxTypeDescription.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxTypeDescription.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,7 +58,7 @@
/** Entity modified properties. (for S2Dao) */
protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
- /** The value of taxTypeDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5FE6253A_8E3B_4B89_AA6E_EB8B3A8E6236]} */
+ /** The value of taxTypeDescriptionId. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F69A7535_43D6_47C0_A194_89836EB84BB8]} */
protected java.math.BigDecimal _taxTypeDescriptionId;
/** The value of taxTypeId. {INTEGER : NotNull : Default=[] : FK to TAX_TYPE} */
@@ -325,12 +325,12 @@
// Accessor
// ========
- /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5FE6253A_8E3B_4B89_AA6E_EB8B3A8E6236]} */
+ /** Column Annotation for S2Dao. {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F69A7535_43D6_47C0_A194_89836EB84BB8]} */
public static final String taxTypeDescriptionId_COLUMN = "TAX_TYPE_DESCRIPTION_ID";
/**
* Get the value of taxTypeDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5FE6253A_8E3B_4B89_AA6E_EB8B3A8E6236]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F69A7535_43D6_47C0_A194_89836EB84BB8]}
*
* @return The value of taxTypeDescriptionId. (Nullable)
*/
@@ -340,7 +340,7 @@
/**
* Set the value of taxTypeDescriptionId.
- * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5FE6253A_8E3B_4B89_AA6E_EB8B3A8E6236]}
+ * {PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F69A7535_43D6_47C0_A194_89836EB84BB8]}
*
* @param taxTypeDescriptionId The value of taxTypeDescriptionId. (Nullable)
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ADDRESS_BOOK_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B2AB219C_D4F1_452C_B099_AD486A390F59] */
+ /** DB name of ADDRESS_BOOK_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_808D4A71_93E0_4FA1_A942_87936FD75DF1] */
public static final String DB_NAME_ADDRESS_BOOK_ID = "ADDRESS_BOOK_ID";
/** DB name of CUSTOMER_ID. BIGINT : NotNull : Default=[] : FK to CUSTOMER */
@@ -155,7 +155,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of addressBookId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B2AB219C_D4F1_452C_B099_AD486A390F59] */
+ /** Property name(JavaBeansRule) of addressBookId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_808D4A71_93E0_4FA1_A942_87936FD75DF1] */
public static final String PROPERTY_NAME_addressBookId = "addressBookId";
/** Property name(JavaBeansRule) of customerId. BIGINT : NotNull : Default=[] : FK to CUSTOMER */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BargainDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BargainDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BargainDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of BARGAIN_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_41EE8F2A_146E_43EA_AEA0_14E70D67CD8F] */
+ /** DB name of BARGAIN_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA035F66_12AF_4013_8E9B_1D071C2AF23D] */
public static final String DB_NAME_BARGAIN_ID = "BARGAIN_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -122,7 +122,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of bargainId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_41EE8F2A_146E_43EA_AEA0_14E70D67CD8F] */
+ /** Property name(JavaBeansRule) of bargainId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA035F66_12AF_4013_8E9B_1D071C2AF23D] */
public static final String PROPERTY_NAME_bargainId = "bargainId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of BASKET_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BD92529C_24B2_40C3_A935_007DDC28CCAC] */
+ /** DB name of BASKET_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C81A57D4_EF48_44BD_82F6_EA8B07B4C91D] */
public static final String DB_NAME_BASKET_ID = "BASKET_ID";
/** DB name of CUSTOMER_ID. BIGINT : NotNull : Default=[] : FK to CUSTOMER */
@@ -116,7 +116,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of basketId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BD92529C_24B2_40C3_A935_007DDC28CCAC] */
+ /** Property name(JavaBeansRule) of basketId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C81A57D4_EF48_44BD_82F6_EA8B07B4C91D] */
public static final String PROPERTY_NAME_basketId = "basketId";
/** Property name(JavaBeansRule) of customerId. BIGINT : NotNull : Default=[] : FK to CUSTOMER */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketProductOptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketProductOptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BasketProductOptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of BASKET_PRODUCT_OPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_312062F6_5D59_4533_B414_06ECBBBD36D5] */
+ /** DB name of BASKET_PRODUCT_OPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9CC3076A_1B2D_4E23_ADAB_AF5045FCCBB9] */
public static final String DB_NAME_BASKET_PRODUCT_OPTION_ID = "BASKET_PRODUCT_OPTION_ID";
/** DB name of BASKET_ID. BIGINT : NotNull : Default=[] : FK to BASKET */
@@ -107,7 +107,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of basketProductOptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_312062F6_5D59_4533_B414_06ECBBBD36D5] */
+ /** Property name(JavaBeansRule) of basketProductOptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9CC3076A_1B2D_4E23_ADAB_AF5045FCCBB9] */
public static final String PROPERTY_NAME_basketProductOptionId = "basketProductOptionId";
/** Property name(JavaBeansRule) of basketId. BIGINT : NotNull : Default=[] : FK to BASKET */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CardTypeDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CardTypeDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CardTypeDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of CARD_TYPE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3B3C8382_1ECF_4D16_971A_A76CB729A43C] */
+ /** DB name of CARD_TYPE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_74FC7C9E_0ED7_46ED_AB5A_96F2637F9F62] */
public static final String DB_NAME_CARD_TYPE_ID = "CARD_TYPE_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of cardTypeId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3B3C8382_1ECF_4D16_971A_A76CB729A43C] */
+ /** Property name(JavaBeansRule) of cardTypeId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_74FC7C9E_0ED7_46ED_AB5A_96F2637F9F62] */
public static final String PROPERTY_NAME_cardTypeId = "cardTypeId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryContentDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryContentDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryContentDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of CATEGORY_CONTENT_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A3BB881_B47B_401B_9EA5_7FEDC1329AE3] */
+ /** DB name of CATEGORY_CONTENT_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4C98039A_6237_4531_A90F_C0A50380C310] */
public static final String DB_NAME_CATEGORY_CONTENT_ID = "CATEGORY_CONTENT_ID";
/** DB name of CATEGORY_ID. INTEGER : NotNull : Default=[] : FK to CATEGORY */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of categoryContentId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A3BB881_B47B_401B_9EA5_7FEDC1329AE3] */
+ /** Property name(JavaBeansRule) of categoryContentId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4C98039A_6237_4531_A90F_C0A50380C310] */
public static final String PROPERTY_NAME_categoryContentId = "categoryContentId";
/** Property name(JavaBeansRule) of categoryId. INTEGER : NotNull : Default=[] : FK to CATEGORY */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -21,10 +21,10 @@
* CATEGORY_ID
*
* [column-property]
- * CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
+ * CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE
*
* [foreign-property]
- * categorySelf
+ * categorySelf, fileData
*
* [referrer-property]
* categorySelfList, categoryContentList, categoryInfoList, categoryPageInfoList, productToCategoryList
@@ -94,12 +94,15 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of CATEGORY_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2776E811_0F4F_4C4B_9D91_EACBF999E2AE] */
+ /** DB name of CATEGORY_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EFD2FD88_D7B6_478E_8C53_D744202F6C4E] */
public static final String DB_NAME_CATEGORY_ID = "CATEGORY_ID";
/** DB name of PARENT_CATEGORY_ID. INTEGER : NotNull : Default=[0] : FK to CATEGORY */
public static final String DB_NAME_PARENT_CATEGORY_ID = "PARENT_CATEGORY_ID";
+ /** DB name of FILE_DATA_ID. BIGINT : Default=[] : FK to FILE_DATA */
+ public static final String DB_NAME_FILE_DATA_ID = "FILE_DATA_ID";
+
/** DB name of NUM_OF_PRODUCT. INTEGER : Default=[] */
public static final String DB_NAME_NUM_OF_PRODUCT = "NUM_OF_PRODUCT";
@@ -116,12 +119,15 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of categoryId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2776E811_0F4F_4C4B_9D91_EACBF999E2AE] */
+ /** Property name(JavaBeansRule) of categoryId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EFD2FD88_D7B6_478E_8C53_D744202F6C4E] */
public static final String PROPERTY_NAME_categoryId = "categoryId";
/** Property name(JavaBeansRule) of parentCategoryId. INTEGER : NotNull : Default=[0] : FK to CATEGORY */
public static final String PROPERTY_NAME_parentCategoryId = "parentCategoryId";
+ /** Property name(JavaBeansRule) of fileDataId. BIGINT : Default=[] : FK to FILE_DATA */
+ public static final String PROPERTY_NAME_fileDataId = "fileDataId";
+
/** Property name(JavaBeansRule) of numOfProduct. INTEGER : Default=[] */
public static final String PROPERTY_NAME_numOfProduct = "numOfProduct";
@@ -140,6 +146,9 @@
/** The foreign property name(JavaBeansRule) of categorySelf. */
public static final String FOREIGN_PROPERTY_NAME_categorySelf = "categorySelf";
+ /** The foreign property name(JavaBeansRule) of fileData. */
+ public static final String FOREIGN_PROPERTY_NAME_fileData = "fileData";
+
// -----------------------------------------------------
// Referrer Name
// -------------
@@ -168,6 +177,7 @@
map.put(DB_NAME_CATEGORY_ID.toLowerCase(), PROPERTY_NAME_categoryId);
map.put(DB_NAME_PARENT_CATEGORY_ID.toLowerCase(), PROPERTY_NAME_parentCategoryId);
+ map.put(DB_NAME_FILE_DATA_ID.toLowerCase(), PROPERTY_NAME_fileDataId);
map.put(DB_NAME_NUM_OF_PRODUCT.toLowerCase(), PROPERTY_NAME_numOfProduct);
map.put(DB_NAME_STATUS.toLowerCase(), PROPERTY_NAME_status);
map.put(DB_NAME_SORT_ORDER.toLowerCase(), PROPERTY_NAME_sortOrder);
@@ -188,6 +198,7 @@
map.put(PROPERTY_NAME_categoryId.toLowerCase(), DB_NAME_CATEGORY_ID);
map.put(PROPERTY_NAME_parentCategoryId.toLowerCase(), DB_NAME_PARENT_CATEGORY_ID);
+ map.put(PROPERTY_NAME_fileDataId.toLowerCase(), DB_NAME_FILE_DATA_ID);
map.put(PROPERTY_NAME_numOfProduct.toLowerCase(), DB_NAME_NUM_OF_PRODUCT);
map.put(PROPERTY_NAME_status.toLowerCase(), DB_NAME_STATUS);
map.put(PROPERTY_NAME_sortOrder.toLowerCase(), DB_NAME_SORT_ORDER);
@@ -325,6 +336,7 @@
final List columnInfoList = new ArrayList();
columnInfoList.add(columnCategoryId());
columnInfoList.add(columnParentCategoryId());
+ columnInfoList.add(columnFileDataId());
columnInfoList.add(columnNumOfProduct());
columnInfoList.add(columnStatus());
columnInfoList.add(columnSortOrder());
@@ -340,6 +352,10 @@
public ColumnInfo columnParentCategoryId() {
return new ColumnInfo(this, "PARENT_CATEGORY_ID", "parentCategoryId", java.math.BigDecimal.class, false, null, null);
}
+ /** @return The column information of fileDataId. (NotNull) */
+ public ColumnInfo columnFileDataId() {
+ return new ColumnInfo(this, "FILE_DATA_ID", "fileDataId", java.math.BigDecimal.class, false, null, null);
+ }
/** @return The column information of numOfProduct. (NotNull) */
public ColumnInfo columnNumOfProduct() {
return new ColumnInfo(this, "NUM_OF_PRODUCT", "numOfProduct", java.math.BigDecimal.class, false, null, null);
@@ -417,6 +433,23 @@
foreignInfo.setOneToOne(false);
return foreignInfo;
}
+ /**
+ * Get foreign information of fileData.
+ *
+ * @return Foreign information. (NotNull)
+ */
+ public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignFileData() {
+ final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+ foreignInfo.setForeignPropertyName("fileData");
+ foreignInfo.setLocalDBMeta(CategoryDbm.getInstance());
+ foreignInfo.setForeignDBMeta(FileDataDbm.getInstance());
+ final Map map = new java.util.LinkedHashMap();
+ map.put(columnFileDataId(), FileDataDbm.getInstance().columnFileDataId());
+ foreignInfo.setLocalForeignColumnInfoMap(map);
+ foreignInfo.setRelationNo(1);
+ foreignInfo.setOneToOne(false);
+ return foreignInfo;
+ }
/**
* Get foreign information of categoryPageInfoAsOne.
@@ -431,7 +464,7 @@
final java.util.Map map = new java.util.LinkedHashMap();
map.put(columnCategoryId(), CategoryPageInfoDbm.getInstance().columnCategoryId());
foreignInfo.setLocalForeignColumnInfoMap(map);
- foreignInfo.setRelationNo(1);
+ foreignInfo.setRelationNo(2);
foreignInfo.setOneToOne(true);
return foreignInfo;
}
@@ -607,6 +640,11 @@
_relationList.add(CategoryDbm.getInstance().foreignCategorySelf());
return CategoryDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
}
+
+ public FileDataDbm.FileDataRelationTrace foreignFileData() {
+ _relationList.add(CategoryDbm.getInstance().foreignFileData());
+ return FileDataDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+ }
public CategoryPageInfoDbm.CategoryPageInfoRelationTrace foreignCategoryPageInfoAsOne() {
_relationList.add(CategoryDbm.getInstance().foreignCategoryPageInfoAsOne());
@@ -650,6 +688,7 @@
public RelationTrace columnCategoryId() { return fixTrace(_relationList, CategoryDbm.getInstance().columnCategoryId()); }
public RelationTrace columnParentCategoryId() { return fixTrace(_relationList, CategoryDbm.getInstance().columnParentCategoryId()); }
+ public RelationTrace columnFileDataId() { return fixTrace(_relationList, CategoryDbm.getInstance().columnFileDataId()); }
public RelationTrace columnNumOfProduct() { return fixTrace(_relationList, CategoryDbm.getInstance().columnNumOfProduct()); }
public RelationTrace columnStatus() { return fixTrace(_relationList, CategoryDbm.getInstance().columnStatus()); }
public RelationTrace columnSortOrder() { return fixTrace(_relationList, CategoryDbm.getInstance().columnSortOrder()); }
@@ -746,6 +785,7 @@
if (analyzer.init("CATEGORY_ID", "categoryId", "categoryId")) { myEntity.setCategoryId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("PARENT_CATEGORY_ID", "parentCategoryId", "parentCategoryId")) { myEntity.setParentCategoryId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
+ if (analyzer.init("FILE_DATA_ID", "fileDataId", "fileDataId")) { myEntity.setFileDataId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("NUM_OF_PRODUCT", "numOfProduct", "numOfProduct")) { myEntity.setNumOfProduct(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("STATUS", "status", "status")) { myEntity.setStatus(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("SORT_ORDER", "sortOrder", "sortOrder")) { myEntity.setSortOrder(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
@@ -822,6 +862,7 @@
final StringBuffer sb = new StringBuffer();
helpAppendingColumnValueString(sb, delimiter, equal, "CATEGORY_ID", myEntity.getCategoryId());
helpAppendingColumnValueString(sb, delimiter, equal, "PARENT_CATEGORY_ID", myEntity.getParentCategoryId());
+ helpAppendingColumnValueString(sb, delimiter, equal, "FILE_DATA_ID", myEntity.getFileDataId());
helpAppendingColumnValueString(sb, delimiter, equal, "NUM_OF_PRODUCT", myEntity.getNumOfProduct());
helpAppendingColumnValueString(sb, delimiter, equal, "STATUS", myEntity.getStatus());
helpAppendingColumnValueString(sb, delimiter, equal, "SORT_ORDER", myEntity.getSortOrder());
@@ -882,6 +923,7 @@
final Map valueMap = new LinkedHashMap();
valueMap.put("CATEGORY_ID", myEntity.getCategoryId());
valueMap.put("PARENT_CATEGORY_ID", myEntity.getParentCategoryId());
+ valueMap.put("FILE_DATA_ID", myEntity.getFileDataId());
valueMap.put("NUM_OF_PRODUCT", myEntity.getNumOfProduct());
valueMap.put("STATUS", myEntity.getStatus());
valueMap.put("SORT_ORDER", myEntity.getSortOrder());
@@ -910,6 +952,7 @@
final Map valueMap = new LinkedHashMap();
valueMap.put("CATEGORY_ID", helpGettingColumnStringValue(myEntity.getCategoryId()));
valueMap.put("PARENT_CATEGORY_ID", helpGettingColumnStringValue(myEntity.getParentCategoryId()));
+ valueMap.put("FILE_DATA_ID", helpGettingColumnStringValue(myEntity.getFileDataId()));
valueMap.put("NUM_OF_PRODUCT", helpGettingColumnStringValue(myEntity.getNumOfProduct()));
valueMap.put("STATUS", helpGettingColumnStringValue(myEntity.getStatus()));
valueMap.put("SORT_ORDER", helpGettingColumnStringValue(myEntity.getSortOrder()));
@@ -938,9 +981,9 @@
public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
if (preparedInsertClauseOption.getTablePrefix() != null) {
final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
- return "insert into " + tablePrefix + "CATEGORY(CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE) values(? , ? , ? , ? , ? , ? )";
+ return "insert into " + tablePrefix + "CATEGORY(CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE) values(? , ? , ? , ? , ? , ? , ? )";
}
- return "insert into CATEGORY(CATEGORY_ID, PARENT_CATEGORY_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE) values(? , ? , ? , ? , ? , ? )";
+ return "insert into CATEGORY(CATEGORY_ID, PARENT_CATEGORY_ID, FILE_DATA_ID, NUM_OF_PRODUCT, STATUS, SORT_ORDER, UPDATED_DATE) values(? , ? , ? , ? , ? , ? , ? )";
}
// ===================================================================================
@@ -952,6 +995,7 @@
{
registerEntityPropertySetupper("CATEGORY_ID", "categoryId", new EntityPropertyCategoryIdSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("PARENT_CATEGORY_ID", "parentCategoryId", new EntityPropertyParentCategoryIdSetupper(), _entityPropertySetupperMap);
+ registerEntityPropertySetupper("FILE_DATA_ID", "fileDataId", new EntityPropertyFileDataIdSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("NUM_OF_PRODUCT", "numOfProduct", new EntityPropertyNumOfProductSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("STATUS", "status", new EntityPropertyStatusSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("SORT_ORDER", "sortOrder", new EntityPropertySortOrderSetupper(), _entityPropertySetupperMap);
@@ -991,6 +1035,9 @@
public class EntityPropertyParentCategoryIdSetupper implements EntityPropertySetupper {
public void setup(Category entity, Object value) { entity.setParentCategoryId((java.math.BigDecimal)value); }
}
+ public class EntityPropertyFileDataIdSetupper implements EntityPropertySetupper {
+ public void setup(Category entity, Object value) { entity.setFileDataId((java.math.BigDecimal)value); }
+ }
public class EntityPropertyNumOfProductSetupper implements EntityPropertySetupper {
public void setup(Category entity, Object value) { entity.setNumOfProduct((java.math.BigDecimal)value); }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryInfoDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryInfoDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoryInfoDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of CATEGORY_INFO_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C3387DA9_485D_4755_A8BB_8B5A1E89734B] */
+ /** DB name of CATEGORY_INFO_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4D31DB8A_4A1B_4D8D_88D5_6A20F62BE48F] */
public static final String DB_NAME_CATEGORY_INFO_ID = "CATEGORY_INFO_ID";
/** DB name of CATEGORY_ID. INTEGER : NotNull : Default=[] : FK to CATEGORY */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of categoryInfoId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C3387DA9_485D_4755_A8BB_8B5A1E89734B] */
+ /** Property name(JavaBeansRule) of categoryInfoId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4D31DB8A_4A1B_4D8D_88D5_6A20F62BE48F] */
public static final String PROPERTY_NAME_categoryInfoId = "categoryInfoId";
/** Property name(JavaBeansRule) of categoryId. INTEGER : NotNull : Default=[] : FK to CATEGORY */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of COUNTRY_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6AB0C81F_09E2_4F79_9D1F_F46C8C2CFD55] */
+ /** DB name of COUNTRY_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B3347384_761A_465D_A9E5_0D1BF6B4BC31] */
public static final String DB_NAME_COUNTRY_ID = "COUNTRY_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of countryId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6AB0C81F_09E2_4F79_9D1F_F46C8C2CFD55] */
+ /** Property name(JavaBeansRule) of countryId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B3347384_761A_465D_A9E5_0D1BF6B4BC31] */
public static final String PROPERTY_NAME_countryId = "countryId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountryDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of COUNTRY_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0B411FF2_6103_4E79_87B6_7903709FA783] */
+ /** DB name of COUNTRY_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5DDEE634_838F_4FB5_B473_D62BB86B5C7E] */
public static final String DB_NAME_COUNTRY_DESCRIPTION_ID = "COUNTRY_DESCRIPTION_ID";
/** DB name of COUNTRY_ID. INTEGER : NotNull : Default=[] : FK to COUNTRY */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of countryDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0B411FF2_6103_4E79_87B6_7903709FA783] */
+ /** Property name(JavaBeansRule) of countryDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5DDEE634_838F_4FB5_B473_D62BB86B5C7E] */
public static final String PROPERTY_NAME_countryDescriptionId = "countryDescriptionId";
/** Property name(JavaBeansRule) of countryId. INTEGER : NotNull : Default=[] : FK to COUNTRY */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomerDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomerDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomerDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of CUSTOMER_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_29635FE2_B951_464C_BC9A_3B9C0D5C4538] */
+ /** DB name of CUSTOMER_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65D35573_EB70_445A_AFF1_2FC92C088EA9] */
public static final String DB_NAME_CUSTOMER_ID = "CUSTOMER_ID";
/** DB name of PORTAL_ID. VARCHAR(255) : NotNull : Default=[] */
@@ -134,7 +134,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of customerId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_29635FE2_B951_464C_BC9A_3B9C0D5C4538] */
+ /** Property name(JavaBeansRule) of customerId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65D35573_EB70_445A_AFF1_2FC92C088EA9] */
public static final String PROPERTY_NAME_customerId = "customerId";
/** Property name(JavaBeansRule) of portalId. VARCHAR(255) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_METHOD_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBB18455_B665_4B52_9728_9AFC3FF3BDFD] */
+ /** DB name of DELIVERY_METHOD_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CF59FC79_99DD_4F91_BA52_20E25D3FE7DC] */
public static final String DB_NAME_DELIVERY_METHOD_ID = "DELIVERY_METHOD_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -116,7 +116,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBB18455_B665_4B52_9728_9AFC3FF3BDFD] */
+ /** Property name(JavaBeansRule) of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CF59FC79_99DD_4F91_BA52_20E25D3FE7DC] */
public static final String PROPERTY_NAME_deliveryMethodId = "deliveryMethodId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_METHOD_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6688B9F_0B09_4F21_ABFF_9C0952F602B7] */
+ /** DB name of DELIVERY_METHOD_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1F2A2DC2_C76B_43E3_A1FD_A245D6595158] */
public static final String DB_NAME_DELIVERY_METHOD_DESCRIPTION_ID = "DELIVERY_METHOD_DESCRIPTION_ID";
/** DB name of DELIVERY_METHOD_ID. INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryMethodDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6688B9F_0B09_4F21_ABFF_9C0952F602B7] */
+ /** Property name(JavaBeansRule) of deliveryMethodDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1F2A2DC2_C76B_43E3_A1FD_A245D6595158] */
public static final String PROPERTY_NAME_deliveryMethodDescriptionId = "deliveryMethodDescriptionId";
/** Property name(JavaBeansRule) of deliveryMethodId. INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_STATUS_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA851A25_775C_4EFF_ABB2_49C6C4B07449] */
+ /** DB name of DELIVERY_STATUS_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FEEA775_C06C_4886_8D86_550DB02172BE] */
public static final String DB_NAME_DELIVERY_STATUS_ID = "DELIVERY_STATUS_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryStatusId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA851A25_775C_4EFF_ABB2_49C6C4B07449] */
+ /** Property name(JavaBeansRule) of deliveryStatusId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FEEA775_C06C_4886_8D86_550DB02172BE] */
public static final String PROPERTY_NAME_deliveryStatusId = "deliveryStatusId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryStatusDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_STATUS_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E7F2D0F7_94F6_43BA_8F1C_74434F89ACF4] */
+ /** DB name of DELIVERY_STATUS_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6ED016D_35D5_4EF2_864A_6ABD19BE70A6] */
public static final String DB_NAME_DELIVERY_STATUS_DESCRIPTION_ID = "DELIVERY_STATUS_DESCRIPTION_ID";
/** DB name of DELIVERY_STATUS_ID. INTEGER : NotNull : Default=[] : FK to DELIVERY_STATUS */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryStatusDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E7F2D0F7_94F6_43BA_8F1C_74434F89ACF4] */
+ /** Property name(JavaBeansRule) of deliveryStatusDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C6ED016D_35D5_4EF2_864A_6ABD19BE70A6] */
public static final String PROPERTY_NAME_deliveryStatusDescriptionId = "deliveryStatusDescriptionId";
/** Property name(JavaBeansRule) of deliveryStatusId. INTEGER : NotNull : Default=[] : FK to DELIVERY_STATUS */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_TYPE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE3303C_DD6F_4FEB_8AEA_697E4BCAE7DA] */
+ /** DB name of DELIVERY_TYPE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE9392C_413F_4D00_BEB3_90F49FB5A8A2] */
public static final String DB_NAME_DELIVERY_TYPE_ID = "DELIVERY_TYPE_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryTypeId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE3303C_DD6F_4FEB_8AEA_697E4BCAE7DA] */
+ /** Property name(JavaBeansRule) of deliveryTypeId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0CE9392C_413F_4D00_BEB3_90F49FB5A8A2] */
public static final String PROPERTY_NAME_deliveryTypeId = "deliveryTypeId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryTypeDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_TYPE_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_513D9D3C_8F0C_4367_B3DA_2863C987246D] */
+ /** DB name of DELIVERY_TYPE_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38F192ED_EDB3_4717_BFFC_B2E1BDF57C25] */
public static final String DB_NAME_DELIVERY_TYPE_DESCRIPTION_ID = "DELIVERY_TYPE_DESCRIPTION_ID";
/** DB name of DELIVERY_TYPE_ID. INTEGER : NotNull : Default=[] : FK to DELIVERY_TYPE */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryTypeDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_513D9D3C_8F0C_4367_B3DA_2863C987246D] */
+ /** Property name(JavaBeansRule) of deliveryTypeDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38F192ED_EDB3_4717_BFFC_B2E1BDF57C25] */
public static final String PROPERTY_NAME_deliveryTypeDescriptionId = "deliveryTypeDescriptionId";
/** Property name(JavaBeansRule) of deliveryTypeId. INTEGER : NotNull : Default=[] : FK to DELIVERY_TYPE */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_ZONE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B7E56541_CE09_4B7E_A125_001EA5B198D1] */
+ /** DB name of DELIVERY_ZONE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA74016E_FAE7_439E_B12B_58A30A49B460] */
public static final String DB_NAME_DELIVERY_ZONE_ID = "DELIVERY_ZONE_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryZoneId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B7E56541_CE09_4B7E_A125_001EA5B198D1] */
+ /** Property name(JavaBeansRule) of deliveryZoneId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EA74016E_FAE7_439E_B12B_58A30A49B460] */
public static final String PROPERTY_NAME_deliveryZoneId = "deliveryZoneId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryZoneDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of DELIVERY_ZONE_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_AF2C82E5_D881_4C61_B096_8667C945FD08] */
+ /** DB name of DELIVERY_ZONE_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BB2396D3_E0E1_4B99_B786_0F09CE6BB3EF] */
public static final String DB_NAME_DELIVERY_ZONE_DESCRIPTION_ID = "DELIVERY_ZONE_DESCRIPTION_ID";
/** DB name of DELIVERY_ZONE_ID. INTEGER : NotNull : Default=[] : FK to DELIVERY_ZONE */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of deliveryZoneDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_AF2C82E5_D881_4C61_B096_8667C945FD08] */
+ /** Property name(JavaBeansRule) of deliveryZoneDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BB2396D3_E0E1_4B99_B786_0F09CE6BB3EF] */
public static final String PROPERTY_NAME_deliveryZoneDescriptionId = "deliveryZoneDescriptionId";
/** Property name(JavaBeansRule) of deliveryZoneId. INTEGER : NotNull : Default=[] : FK to DELIVERY_ZONE */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileDataDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileDataDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileDataDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -27,7 +27,7 @@
*
*
* [referrer-property]
- * fileTagToFileDataList, imageDataList, manufacturerList, productList
+ * categoryList, fileTagToFileDataList, imageDataList, manufacturerList, productList
*
* [sequence]
*
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of FILE_DATA_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2A0E9AB9_771C_44B3_910E_4B8C8345E7B2] */
+ /** DB name of FILE_DATA_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38D221B4_8B92_4D84_8BB0_5F0F5C0EAD26] */
public static final String DB_NAME_FILE_DATA_ID = "FILE_DATA_ID";
/** DB name of NAME. VARCHAR(100) : NotNull : Default=[] */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of fileDataId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2A0E9AB9_771C_44B3_910E_4B8C8345E7B2] */
+ /** Property name(JavaBeansRule) of fileDataId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_38D221B4_8B92_4D84_8BB0_5F0F5C0EAD26] */
public static final String PROPERTY_NAME_fileDataId = "fileDataId";
/** Property name(JavaBeansRule) of name. VARCHAR(100) : NotNull : Default=[] */
@@ -134,6 +134,8 @@
// -----------------------------------------------------
// Referrer Name
// -------------
+ /** The referrer property name(JavaBeansRule) of categoryList. */
+ public static final String REFERRER_PROPERTY_NAME_categoryList = "categoryList";
/** The referrer property name(JavaBeansRule) of fileTagToFileDataList. */
public static final String REFERRER_PROPERTY_NAME_fileTagToFileDataList = "fileTagToFileDataList";
/** The referrer property name(JavaBeansRule) of imageDataList. */
@@ -406,6 +408,29 @@
// ----------------
/**
* @return Referrer information. (NotNull)
+ * @deprecated Please use referrerCategoryList().
+ */
+ public jp.sf.pal.pompei.allcommon.dbmeta.info.ReferrerInfo refererCategoryList() {
+ return referrerCategoryList();
+ }
+ /**
+ * Get referrer information of categoryList.
+ *
+ * @return Referrer information. (NotNull)
+ */
+ public jp.sf.pal.pompei.allcommon.dbmeta.info.ReferrerInfo referrerCategoryList() {
+ final jp.sf.pal.pompei.allcommon.dbmeta.info.ReferrerInfo referrerInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ReferrerInfo();
+ referrerInfo.setReferrerPropertyName("categoryList");
+ referrerInfo.setLocalDBMeta(FileDataDbm.getInstance());
+ referrerInfo.setReferrerDBMeta(CategoryDbm.getInstance());
+ final java.util.Map map = new java.util.LinkedHashMap();
+ map.put(columnFileDataId(), CategoryDbm.getInstance().columnFileDataId());
+ referrerInfo.setLocalReferrerColumnInfoMap(map);
+ referrerInfo.setOneToOne(false);
+ return referrerInfo;
+ }
+ /**
+ * @return Referrer information. (NotNull)
* @deprecated Please use referrerFileTagToFileDataList().
*/
public jp.sf.pal.pompei.allcommon.dbmeta.info.ReferrerInfo refererFileTagToFileDataList() {
@@ -544,12 +569,19 @@
public FileDataRelationTrace(java.util.List relationList, java.util.List relationTraceList) {
super(relationList, relationTraceList);
}
-
+
public ImageDataDbm.ImageDataRelationTrace foreignImageDataAsOne() {
_relationList.add(FileDataDbm.getInstance().foreignImageDataAsOne());
return ImageDataDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
}
- public FileTagToFileDataDbm.FileTagToFileDataRelationTrace refererFileTagToFileDataList() {
+ public CategoryDbm.CategoryRelationTrace refererCategoryList() {
+ return referrerCategoryList();
+ }
+ public CategoryDbm.CategoryRelationTrace referrerCategoryList() {
+ _relationList.add(FileDataDbm.getInstance().referrerCategoryList());
+ return CategoryDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+ }
+ public FileTagToFileDataDbm.FileTagToFileDataRelationTrace refererFileTagToFileDataList() {
return referrerFileTagToFileDataList();
}
public FileTagToFileDataDbm.FileTagToFileDataRelationTrace referrerFileTagToFileDataList() {
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileTagDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileTagDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/FileTagDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of FILE_TAG_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1D4C5B93_A4EF_4BD8_82A8_96C55C046F98] */
+ /** DB name of FILE_TAG_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3829C625_F661_4D38_B5B5_67D2347121EB] */
public static final String DB_NAME_FILE_TAG_ID = "FILE_TAG_ID";
/** DB name of NAME. VARCHAR(100) : NotNull : Default=[] */
@@ -104,7 +104,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of fileTagId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1D4C5B93_A4EF_4BD8_82A8_96C55C046F98] */
+ /** Property name(JavaBeansRule) of fileTagId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3829C625_F661_4D38_B5B5_67D2347121EB] */
public static final String PROPERTY_NAME_fileTagId = "fileTagId";
/** Property name(JavaBeansRule) of name. VARCHAR(100) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ImageDataDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ImageDataDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ImageDataDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of FILE_DATA_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A3B575C1_8C44_4C92_B3A9_FD08C9ED1C56] : FK to FILE_DATA */
+ /** DB name of FILE_DATA_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_66963A12_0B02_4F1B_887F_6330FE2597CA] : FK to FILE_DATA */
public static final String DB_NAME_FILE_DATA_ID = "FILE_DATA_ID";
/** DB name of SIZE. INTEGER : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of fileDataId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A3B575C1_8C44_4C92_B3A9_FD08C9ED1C56] : FK to FILE_DATA */
+ /** Property name(JavaBeansRule) of fileDataId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_66963A12_0B02_4F1B_887F_6330FE2597CA] : FK to FILE_DATA */
public static final String PROPERTY_NAME_fileDataId = "fileDataId";
/** Property name(JavaBeansRule) of size. INTEGER : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of MANUFACTURER_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C12F970E_8F1F_444E_81FE_5119267871E5] */
+ /** DB name of MANUFACTURER_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A6AE78A2_ED57_48EB_B856_54EDE7606F3F] */
public static final String DB_NAME_MANUFACTURER_ID = "MANUFACTURER_ID";
/** DB name of FILE_DATA_ID. BIGINT : Default=[] : FK to FILE_DATA */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of manufacturerId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_C12F970E_8F1F_444E_81FE_5119267871E5] */
+ /** Property name(JavaBeansRule) of manufacturerId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A6AE78A2_ED57_48EB_B856_54EDE7606F3F] */
public static final String PROPERTY_NAME_manufacturerId = "manufacturerId";
/** Property name(JavaBeansRule) of fileDataId. BIGINT : Default=[] : FK to FILE_DATA */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -21,7 +21,7 @@
* MANUFACTURER_DESCRIPTION_ID
*
* [column-property]
- * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE
+ * MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE
*
* [foreign-property]
* manufacturer
@@ -94,14 +94,14 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of MANUFACTURER_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FB14852_D548_492E_A546_D94CFE117480] */
+ /** DB name of MANUFACTURER_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B00AC5CA_F645_4F81_AA2D_C6372A3892D8] */
public static final String DB_NAME_MANUFACTURER_DESCRIPTION_ID = "MANUFACTURER_DESCRIPTION_ID";
/** DB name of MANUFACTURER_ID. INTEGER : NotNull : Default=[] : FK to MANUFACTURER */
public static final String DB_NAME_MANUFACTURER_ID = "MANUFACTURER_ID";
- /** DB name of CONTENT. CLOB : Default=[] */
- public static final String DB_NAME_CONTENT = "CONTENT";
+ /** DB name of DESCRIPTION. CLOB : Default=[] */
+ public static final String DB_NAME_DESCRIPTION = "DESCRIPTION";
/** DB name of LANGUAGE. VARCHAR(20) : NotNull : Default=[] */
public static final String DB_NAME_LANGUAGE = "LANGUAGE";
@@ -110,14 +110,14 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of manufacturerDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2FB14852_D548_492E_A546_D94CFE117480] */
+ /** Property name(JavaBeansRule) of manufacturerDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B00AC5CA_F645_4F81_AA2D_C6372A3892D8] */
public static final String PROPERTY_NAME_manufacturerDescriptionId = "manufacturerDescriptionId";
/** Property name(JavaBeansRule) of manufacturerId. INTEGER : NotNull : Default=[] : FK to MANUFACTURER */
public static final String PROPERTY_NAME_manufacturerId = "manufacturerId";
- /** Property name(JavaBeansRule) of content. CLOB : Default=[] */
- public static final String PROPERTY_NAME_content = "content";
+ /** Property name(JavaBeansRule) of description. CLOB : Default=[] */
+ public static final String PROPERTY_NAME_description = "description";
/** Property name(JavaBeansRule) of language. VARCHAR(20) : NotNull : Default=[] */
public static final String PROPERTY_NAME_language = "language";
@@ -146,7 +146,7 @@
map.put(DB_NAME_MANUFACTURER_DESCRIPTION_ID.toLowerCase(), PROPERTY_NAME_manufacturerDescriptionId);
map.put(DB_NAME_MANUFACTURER_ID.toLowerCase(), PROPERTY_NAME_manufacturerId);
- map.put(DB_NAME_CONTENT.toLowerCase(), PROPERTY_NAME_content);
+ map.put(DB_NAME_DESCRIPTION.toLowerCase(), PROPERTY_NAME_description);
map.put(DB_NAME_LANGUAGE.toLowerCase(), PROPERTY_NAME_language);
_dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
@@ -164,7 +164,7 @@
map.put(PROPERTY_NAME_manufacturerDescriptionId.toLowerCase(), DB_NAME_MANUFACTURER_DESCRIPTION_ID);
map.put(PROPERTY_NAME_manufacturerId.toLowerCase(), DB_NAME_MANUFACTURER_ID);
- map.put(PROPERTY_NAME_content.toLowerCase(), DB_NAME_CONTENT);
+ map.put(PROPERTY_NAME_description.toLowerCase(), DB_NAME_DESCRIPTION);
map.put(PROPERTY_NAME_language.toLowerCase(), DB_NAME_LANGUAGE);
_propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
@@ -299,7 +299,7 @@
final List columnInfoList = new ArrayList();
columnInfoList.add(columnManufacturerDescriptionId());
columnInfoList.add(columnManufacturerId());
- columnInfoList.add(columnContent());
+ columnInfoList.add(columnDescription());
columnInfoList.add(columnLanguage());
return columnInfoList;
}
@@ -312,9 +312,9 @@
public ColumnInfo columnManufacturerId() {
return new ColumnInfo(this, "MANUFACTURER_ID", "manufacturerId", java.math.BigDecimal.class, false, null, null);
}
- /** @return The column information of content. (NotNull) */
- public ColumnInfo columnContent() {
- return new ColumnInfo(this, "CONTENT", "content", String.class, false, null, null);
+ /** @return The column information of description. (NotNull) */
+ public ColumnInfo columnDescription() {
+ return new ColumnInfo(this, "DESCRIPTION", "description", String.class, false, null, null);
}
/** @return The column information of language. (NotNull) */
public ColumnInfo columnLanguage() {
@@ -442,7 +442,7 @@
public RelationTrace columnManufacturerDescriptionId() { return fixTrace(_relationList, ManufacturerDescriptionDbm.getInstance().columnManufacturerDescriptionId()); }
public RelationTrace columnManufacturerId() { return fixTrace(_relationList, ManufacturerDescriptionDbm.getInstance().columnManufacturerId()); }
- public RelationTrace columnContent() { return fixTrace(_relationList, ManufacturerDescriptionDbm.getInstance().columnContent()); }
+ public RelationTrace columnDescription() { return fixTrace(_relationList, ManufacturerDescriptionDbm.getInstance().columnDescription()); }
public RelationTrace columnLanguage() { return fixTrace(_relationList, ManufacturerDescriptionDbm.getInstance().columnLanguage()); }
}
@@ -536,7 +536,7 @@
if (analyzer.init("MANUFACTURER_DESCRIPTION_ID", "manufacturerDescriptionId", "manufacturerDescriptionId")) { myEntity.setManufacturerDescriptionId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("MANUFACTURER_ID", "manufacturerId", "manufacturerId")) { myEntity.setManufacturerId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
- if (analyzer.init("CONTENT", "content", "content")) { myEntity.setContent(analyzer.analyzeString(String.class)); }
+ if (analyzer.init("DESCRIPTION", "description", "description")) { myEntity.setDescription(analyzer.analyzeString(String.class)); }
if (analyzer.init("LANGUAGE", "language", "language")) { myEntity.setLanguage(analyzer.analyzeString(String.class)); }
}
@@ -610,7 +610,7 @@
final StringBuffer sb = new StringBuffer();
helpAppendingColumnValueString(sb, delimiter, equal, "MANUFACTURER_DESCRIPTION_ID", myEntity.getManufacturerDescriptionId());
helpAppendingColumnValueString(sb, delimiter, equal, "MANUFACTURER_ID", myEntity.getManufacturerId());
- helpAppendingColumnValueString(sb, delimiter, equal, "CONTENT", myEntity.getContent());
+ helpAppendingColumnValueString(sb, delimiter, equal, "DESCRIPTION", myEntity.getDescription());
helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE", myEntity.getLanguage());
sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
@@ -668,7 +668,7 @@
final Map valueMap = new LinkedHashMap();
valueMap.put("MANUFACTURER_DESCRIPTION_ID", myEntity.getManufacturerDescriptionId());
valueMap.put("MANUFACTURER_ID", myEntity.getManufacturerId());
- valueMap.put("CONTENT", myEntity.getContent());
+ valueMap.put("DESCRIPTION", myEntity.getDescription());
valueMap.put("LANGUAGE", myEntity.getLanguage());
return valueMap;
}
@@ -694,7 +694,7 @@
final Map valueMap = new LinkedHashMap();
valueMap.put("MANUFACTURER_DESCRIPTION_ID", helpGettingColumnStringValue(myEntity.getManufacturerDescriptionId()));
valueMap.put("MANUFACTURER_ID", helpGettingColumnStringValue(myEntity.getManufacturerId()));
- valueMap.put("CONTENT", helpGettingColumnStringValue(myEntity.getContent()));
+ valueMap.put("DESCRIPTION", helpGettingColumnStringValue(myEntity.getDescription()));
valueMap.put("LANGUAGE", helpGettingColumnStringValue(myEntity.getLanguage()));
return valueMap;
}
@@ -720,9 +720,9 @@
public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
if (preparedInsertClauseOption.getTablePrefix() != null) {
final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
- return "insert into " + tablePrefix + "MANUFACTURER_DESCRIPTION(MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE) values(? , ? , ? , ? )";
+ return "insert into " + tablePrefix + "MANUFACTURER_DESCRIPTION(MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE) values(? , ? , ? , ? )";
}
- return "insert into MANUFACTURER_DESCRIPTION(MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, CONTENT, LANGUAGE) values(? , ? , ? , ? )";
+ return "insert into MANUFACTURER_DESCRIPTION(MANUFACTURER_DESCRIPTION_ID, MANUFACTURER_ID, DESCRIPTION, LANGUAGE) values(? , ? , ? , ? )";
}
// ===================================================================================
@@ -734,7 +734,7 @@
{
registerEntityPropertySetupper("MANUFACTURER_DESCRIPTION_ID", "manufacturerDescriptionId", new EntityPropertyManufacturerDescriptionIdSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("MANUFACTURER_ID", "manufacturerId", new EntityPropertyManufacturerIdSetupper(), _entityPropertySetupperMap);
- registerEntityPropertySetupper("CONTENT", "content", new EntityPropertyContentSetupper(), _entityPropertySetupperMap);
+ registerEntityPropertySetupper("DESCRIPTION", "description", new EntityPropertyDescriptionSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("LANGUAGE", "language", new EntityPropertyLanguageSetupper(), _entityPropertySetupperMap);
}
@@ -771,8 +771,8 @@
public class EntityPropertyManufacturerIdSetupper implements EntityPropertySetupper {
public void setup(ManufacturerDescription entity, Object value) { entity.setManufacturerId((java.math.BigDecimal)value); }
}
- public class EntityPropertyContentSetupper implements EntityPropertySetupper {
- public void setup(ManufacturerDescription entity, Object value) { entity.setContent((String)value); }
+ public class EntityPropertyDescriptionSetupper implements EntityPropertySetupper {
+ public void setup(ManufacturerDescription entity, Object value) { entity.setDescription((String)value); }
}
public class EntityPropertyLanguageSetupper implements EntityPropertySetupper {
public void setup(ManufacturerDescription entity, Object value) { entity.setLanguage((String)value); }
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerInfoDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerInfoDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturerInfoDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of MANUFACTURER_INFO_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2F63EF95_2A3B_4D50_A9E6_CBD0A2F58A9D] */
+ /** DB name of MANUFACTURER_INFO_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D899A060_636B_445D_87E6_0F22ED18FACD] */
public static final String DB_NAME_MANUFACTURER_INFO_ID = "MANUFACTURER_INFO_ID";
/** DB name of MANUFACTURER_ID. INTEGER : NotNull : Default=[] : FK to MANUFACTURER */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of manufacturerInfoId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2F63EF95_2A3B_4D50_A9E6_CBD0A2F58A9D] */
+ /** Property name(JavaBeansRule) of manufacturerInfoId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D899A060_636B_445D_87E6_0F22ED18FACD] */
public static final String PROPERTY_NAME_manufacturerInfoId = "manufacturerInfoId";
/** Property name(JavaBeansRule) of manufacturerId. INTEGER : NotNull : Default=[] : FK to MANUFACTURER */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCardInfoDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCardInfoDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCardInfoDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_FORM_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CA7695D_D15F_4F2B_9051_506B115F603E] */
+ /** DB name of ORDER_FORM_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8025507D_BC2F_4AC6_A3E4_87F4CAC6CD3B] */
public static final String DB_NAME_ORDER_FORM_ID = "ORDER_FORM_ID";
/** DB name of CARD_TYPE_ID. INTEGER : Default=[] : FK to CARD_TYPE */
@@ -119,7 +119,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderFormId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CA7695D_D15F_4F2B_9051_506B115F603E] */
+ /** Property name(JavaBeansRule) of orderFormId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8025507D_BC2F_4AC6_A3E4_87F4CAC6CD3B] */
public static final String PROPERTY_NAME_orderFormId = "orderFormId";
/** Property name(JavaBeansRule) of cardTypeId. INTEGER : Default=[] : FK to CARD_TYPE */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCommentDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCommentDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderCommentDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_COMMENT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53709283_8417_4D26_9790_CEE2549C20F0] */
+ /** DB name of ORDER_COMMENT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_509E62A5_5887_4863_B360_A4AC2C632E4F] */
public static final String DB_NAME_ORDER_COMMENT_ID = "ORDER_COMMENT_ID";
/** DB name of ORDER_FORM_ID. BIGINT : NotNull : Default=[] : FK to ORDER_FORM */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderCommentId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53709283_8417_4D26_9790_CEE2549C20F0] */
+ /** Property name(JavaBeansRule) of orderCommentId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_509E62A5_5887_4863_B360_A4AC2C632E4F] */
public static final String PROPERTY_NAME_orderCommentId = "orderCommentId";
/** Property name(JavaBeansRule) of orderFormId. BIGINT : NotNull : Default=[] : FK to ORDER_FORM */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderFormDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderFormDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderFormDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -21,7 +21,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
+ * ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE
*
* [foreign-property]
* customer, orderStatus
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_FORM_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E1DFBFB_6E87_4AFF_B190_B7582A1DAF58] */
+ /** DB name of ORDER_FORM_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D028B5F8_30A1_4068_B44A_15B15660D6A7] */
public static final String DB_NAME_ORDER_FORM_ID = "ORDER_FORM_ID";
/** DB name of ORDER_FORM_NUMBER. VARCHAR(40) : NotNull : Default=[] */
@@ -193,8 +193,8 @@
/** DB name of BILLING_COUNTRY_CODE. VARCHAR(40) : NotNull : Default=[] */
public static final String DB_NAME_BILLING_COUNTRY_CODE = "BILLING_COUNTRY_CODE";
- /** DB name of BILLING_LOCALE_NAME. VARCHAR(20) : NotNull : Default=[] */
- public static final String DB_NAME_BILLING_LOCALE_NAME = "BILLING_LOCALE_NAME";
+ /** DB name of BILLING_LANGUAGE. VARCHAR(20) : NotNull : Default=[] */
+ public static final String DB_NAME_BILLING_LANGUAGE = "BILLING_LANGUAGE";
/** DB name of ORDER_STATUS_ID. INTEGER : NotNull : Default=[] : FK to ORDER_STATUS */
public static final String DB_NAME_ORDER_STATUS_ID = "ORDER_STATUS_ID";
@@ -212,7 +212,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderFormId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E1DFBFB_6E87_4AFF_B190_B7582A1DAF58] */
+ /** Property name(JavaBeansRule) of orderFormId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D028B5F8_30A1_4068_B44A_15B15660D6A7] */
public static final String PROPERTY_NAME_orderFormId = "orderFormId";
/** Property name(JavaBeansRule) of orderFormNumber. VARCHAR(40) : NotNull : Default=[] */
@@ -311,8 +311,8 @@
/** Property name(JavaBeansRule) of billingCountryCode. VARCHAR(40) : NotNull : Default=[] */
public static final String PROPERTY_NAME_billingCountryCode = "billingCountryCode";
- /** Property name(JavaBeansRule) of billingLocaleName. VARCHAR(20) : NotNull : Default=[] */
- public static final String PROPERTY_NAME_billingLocaleName = "billingLocaleName";
+ /** Property name(JavaBeansRule) of billingLanguage. VARCHAR(20) : NotNull : Default=[] */
+ public static final String PROPERTY_NAME_billingLanguage = "billingLanguage";
/** Property name(JavaBeansRule) of orderStatusId. INTEGER : NotNull : Default=[] : FK to ORDER_STATUS */
public static final String PROPERTY_NAME_orderStatusId = "orderStatusId";
@@ -394,7 +394,7 @@
map.put(DB_NAME_BILLING_POSTCODE.toLowerCase(), PROPERTY_NAME_billingPostcode);
map.put(DB_NAME_BILLING_TELEPHONE.toLowerCase(), PROPERTY_NAME_billingTelephone);
map.put(DB_NAME_BILLING_COUNTRY_CODE.toLowerCase(), PROPERTY_NAME_billingCountryCode);
- map.put(DB_NAME_BILLING_LOCALE_NAME.toLowerCase(), PROPERTY_NAME_billingLocaleName);
+ map.put(DB_NAME_BILLING_LANGUAGE.toLowerCase(), PROPERTY_NAME_billingLanguage);
map.put(DB_NAME_ORDER_STATUS_ID.toLowerCase(), PROPERTY_NAME_orderStatusId);
map.put(DB_NAME_UPDATED_DATE.toLowerCase(), PROPERTY_NAME_updatedDate);
map.put(DB_NAME_PURCHASED_DATE.toLowerCase(), PROPERTY_NAME_purchasedDate);
@@ -446,7 +446,7 @@
map.put(PROPERTY_NAME_billingPostcode.toLowerCase(), DB_NAME_BILLING_POSTCODE);
map.put(PROPERTY_NAME_billingTelephone.toLowerCase(), DB_NAME_BILLING_TELEPHONE);
map.put(PROPERTY_NAME_billingCountryCode.toLowerCase(), DB_NAME_BILLING_COUNTRY_CODE);
- map.put(PROPERTY_NAME_billingLocaleName.toLowerCase(), DB_NAME_BILLING_LOCALE_NAME);
+ map.put(PROPERTY_NAME_billingLanguage.toLowerCase(), DB_NAME_BILLING_LANGUAGE);
map.put(PROPERTY_NAME_orderStatusId.toLowerCase(), DB_NAME_ORDER_STATUS_ID);
map.put(PROPERTY_NAME_updatedDate.toLowerCase(), DB_NAME_UPDATED_DATE);
map.put(PROPERTY_NAME_purchasedDate.toLowerCase(), DB_NAME_PURCHASED_DATE);
@@ -615,7 +615,7 @@
columnInfoList.add(columnBillingPostcode());
columnInfoList.add(columnBillingTelephone());
columnInfoList.add(columnBillingCountryCode());
- columnInfoList.add(columnBillingLocaleName());
+ columnInfoList.add(columnBillingLanguage());
columnInfoList.add(columnOrderStatusId());
columnInfoList.add(columnUpdatedDate());
columnInfoList.add(columnPurchasedDate());
@@ -755,9 +755,9 @@
public ColumnInfo columnBillingCountryCode() {
return new ColumnInfo(this, "BILLING_COUNTRY_CODE", "billingCountryCode", String.class, false, Integer.valueOf("40"), Integer.valueOf("0"));
}
- /** @return The column information of billingLocaleName. (NotNull) */
- public ColumnInfo columnBillingLocaleName() {
- return new ColumnInfo(this, "BILLING_LOCALE_NAME", "billingLocaleName", String.class, false, Integer.valueOf("20"), Integer.valueOf("0"));
+ /** @return The column information of billingLanguage. (NotNull) */
+ public ColumnInfo columnBillingLanguage() {
+ return new ColumnInfo(this, "BILLING_LANGUAGE", "billingLanguage", String.class, false, Integer.valueOf("20"), Integer.valueOf("0"));
}
/** @return The column information of orderStatusId. (NotNull) */
public ColumnInfo columnOrderStatusId() {
@@ -1144,7 +1144,7 @@
public RelationTrace columnBillingPostcode() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnBillingPostcode()); }
public RelationTrace columnBillingTelephone() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnBillingTelephone()); }
public RelationTrace columnBillingCountryCode() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnBillingCountryCode()); }
- public RelationTrace columnBillingLocaleName() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnBillingLocaleName()); }
+ public RelationTrace columnBillingLanguage() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnBillingLanguage()); }
public RelationTrace columnOrderStatusId() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnOrderStatusId()); }
public RelationTrace columnUpdatedDate() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnUpdatedDate()); }
public RelationTrace columnPurchasedDate() { return fixTrace(_relationList, OrderFormDbm.getInstance().columnPurchasedDate()); }
@@ -1272,7 +1272,7 @@
if (analyzer.init("BILLING_POSTCODE", "billingPostcode", "billingPostcode")) { myEntity.setBillingPostcode(analyzer.analyzeString(String.class)); }
if (analyzer.init("BILLING_TELEPHONE", "billingTelephone", "billingTelephone")) { myEntity.setBillingTelephone(analyzer.analyzeString(String.class)); }
if (analyzer.init("BILLING_COUNTRY_CODE", "billingCountryCode", "billingCountryCode")) { myEntity.setBillingCountryCode(analyzer.analyzeString(String.class)); }
- if (analyzer.init("BILLING_LOCALE_NAME", "billingLocaleName", "billingLocaleName")) { myEntity.setBillingLocaleName(analyzer.analyzeString(String.class)); }
+ if (analyzer.init("BILLING_LANGUAGE", "billingLanguage", "billingLanguage")) { myEntity.setBillingLanguage(analyzer.analyzeString(String.class)); }
if (analyzer.init("ORDER_STATUS_ID", "orderStatusId", "orderStatusId")) { myEntity.setOrderStatusId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("UPDATED_DATE", "updatedDate", "updatedDate")) { myEntity.setUpdatedDate(analyzer.analyzeDate(java.sql.Timestamp.class)); }
if (analyzer.init("PURCHASED_DATE", "purchasedDate", "purchasedDate")) { myEntity.setPurchasedDate(analyzer.analyzeDate(java.sql.Timestamp.class)); }
@@ -1380,7 +1380,7 @@
helpAppendingColumnValueString(sb, delimiter, equal, "BILLING_POSTCODE", myEntity.getBillingPostcode());
helpAppendingColumnValueString(sb, delimiter, equal, "BILLING_TELEPHONE", myEntity.getBillingTelephone());
helpAppendingColumnValueString(sb, delimiter, equal, "BILLING_COUNTRY_CODE", myEntity.getBillingCountryCode());
- helpAppendingColumnValueString(sb, delimiter, equal, "BILLING_LOCALE_NAME", myEntity.getBillingLocaleName());
+ helpAppendingColumnValueString(sb, delimiter, equal, "BILLING_LANGUAGE", myEntity.getBillingLanguage());
helpAppendingColumnValueString(sb, delimiter, equal, "ORDER_STATUS_ID", myEntity.getOrderStatusId());
helpAppendingColumnValueString(sb, delimiter, equal, "UPDATED_DATE", myEntity.getUpdatedDate());
helpAppendingColumnValueString(sb, delimiter, equal, "PURCHASED_DATE", myEntity.getPurchasedDate());
@@ -1472,7 +1472,7 @@
valueMap.put("BILLING_POSTCODE", myEntity.getBillingPostcode());
valueMap.put("BILLING_TELEPHONE", myEntity.getBillingTelephone());
valueMap.put("BILLING_COUNTRY_CODE", myEntity.getBillingCountryCode());
- valueMap.put("BILLING_LOCALE_NAME", myEntity.getBillingLocaleName());
+ valueMap.put("BILLING_LANGUAGE", myEntity.getBillingLanguage());
valueMap.put("ORDER_STATUS_ID", myEntity.getOrderStatusId());
valueMap.put("UPDATED_DATE", myEntity.getUpdatedDate());
valueMap.put("PURCHASED_DATE", myEntity.getPurchasedDate());
@@ -1532,7 +1532,7 @@
valueMap.put("BILLING_POSTCODE", helpGettingColumnStringValue(myEntity.getBillingPostcode()));
valueMap.put("BILLING_TELEPHONE", helpGettingColumnStringValue(myEntity.getBillingTelephone()));
valueMap.put("BILLING_COUNTRY_CODE", helpGettingColumnStringValue(myEntity.getBillingCountryCode()));
- valueMap.put("BILLING_LOCALE_NAME", helpGettingColumnStringValue(myEntity.getBillingLocaleName()));
+ valueMap.put("BILLING_LANGUAGE", helpGettingColumnStringValue(myEntity.getBillingLanguage()));
valueMap.put("ORDER_STATUS_ID", helpGettingColumnStringValue(myEntity.getOrderStatusId()));
valueMap.put("UPDATED_DATE", helpGettingColumnStringValue(myEntity.getUpdatedDate()));
valueMap.put("PURCHASED_DATE", helpGettingColumnStringValue(myEntity.getPurchasedDate()));
@@ -1561,9 +1561,9 @@
public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
if (preparedInsertClauseOption.getTablePrefix() != null) {
final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
- return "insert into " + tablePrefix + "ORDER_FORM(ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
+ return "insert into " + tablePrefix + "ORDER_FORM(ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
}
- return "insert into ORDER_FORM(ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LOCALE_NAME, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
+ return "insert into ORDER_FORM(ORDER_FORM_ID, ORDER_FORM_NUMBER, CUSTOMER_ID, CUSTOMER_GENDER, CUSTOMER_FIRSTNAME, CUSTOMER_LASTNAME, CUSTOMER_FIRSTNAME_DESCRIPTION, CUSTOMER_LASTNAME_DESCRIPTION, CUSTOMER_DAY_OF_BIRTH, CUSTOMER_EMAIL_ADDRESS, CUSTOMER_COMPANY, CUSTOMER_DEPARTMENT, CUSTOMER_STREET_ADDRESS, CUSTOMER_SUBURB, CUSTOMER_CITY, CUSTOMER_STATE, CUSTOMER_POSTCODE, CUSTOMER_TELEPHONE, CUSTOMER_COUNTRY_CODE, CUSTOMER_LANGUAGE, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_FIRSTNAME, BILLING_LASTNAME, BILLING_FIRSTNAME_DESCRIPTION, BILLING_LASTNAME_DESCRIPTION, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_STATE, BILLING_POSTCODE, BILLING_TELEPHONE, BILLING_COUNTRY_CODE, BILLING_LANGUAGE, ORDER_STATUS_ID, UPDATED_DATE, PURCHASED_DATE, FINISHED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
}
// ===================================================================================
@@ -1606,7 +1606,7 @@
registerEntityPropertySetupper("BILLING_POSTCODE", "billingPostcode", new EntityPropertyBillingPostcodeSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("BILLING_TELEPHONE", "billingTelephone", new EntityPropertyBillingTelephoneSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("BILLING_COUNTRY_CODE", "billingCountryCode", new EntityPropertyBillingCountryCodeSetupper(), _entityPropertySetupperMap);
- registerEntityPropertySetupper("BILLING_LOCALE_NAME", "billingLocaleName", new EntityPropertyBillingLocaleNameSetupper(), _entityPropertySetupperMap);
+ registerEntityPropertySetupper("BILLING_LANGUAGE", "billingLanguage", new EntityPropertyBillingLanguageSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("ORDER_STATUS_ID", "orderStatusId", new EntityPropertyOrderStatusIdSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("UPDATED_DATE", "updatedDate", new EntityPropertyUpdatedDateSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("PURCHASED_DATE", "purchasedDate", new EntityPropertyPurchasedDateSetupper(), _entityPropertySetupperMap);
@@ -1739,8 +1739,8 @@
public class EntityPropertyBillingCountryCodeSetupper implements EntityPropertySetupper {
public void setup(OrderForm entity, Object value) { entity.setBillingCountryCode((String)value); }
}
- public class EntityPropertyBillingLocaleNameSetupper implements EntityPropertySetupper {
- public void setup(OrderForm entity, Object value) { entity.setBillingLocaleName((String)value); }
+ public class EntityPropertyBillingLanguageSetupper implements EntityPropertySetupper {
+ public void setup(OrderForm entity, Object value) { entity.setBillingLanguage((String)value); }
}
public class EntityPropertyOrderStatusIdSetupper implements EntityPropertySetupper {
public void setup(OrderForm entity, Object value) { entity.setOrderStatusId((java.math.BigDecimal)value); }
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderNotificationDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderNotificationDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderNotificationDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_NOTIFICATION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5EC32B11_0D84_4CE1_A08D_11E0C96B55D6] */
+ /** DB name of ORDER_NOTIFICATION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E10C6D3C_63F1_4367_966E_F57D333ABD11] */
public static final String DB_NAME_ORDER_NOTIFICATION_ID = "ORDER_NOTIFICATION_ID";
/** DB name of ORDER_STATUS_ID. INTEGER : NotNull : Default=[] : FK to ORDER_STATUS */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderNotificationId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5EC32B11_0D84_4CE1_A08D_11E0C96B55D6] */
+ /** Property name(JavaBeansRule) of orderNotificationId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E10C6D3C_63F1_4367_966E_F57D333ABD11] */
public static final String PROPERTY_NAME_orderNotificationId = "orderNotificationId";
/** Property name(JavaBeansRule) of orderStatusId. INTEGER : NotNull : Default=[] : FK to ORDER_STATUS */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderPaymentDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderPaymentDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderPaymentDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -21,7 +21,7 @@
* ORDER_FORM_ID
*
* [column-property]
- * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
+ * ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE
*
* [foreign-property]
* orderForm, paymentMethod, paymentStatus
@@ -109,9 +109,6 @@
/** DB name of PAYMENT_STATUS_ID. INTEGER : Default=[] : FK to PAYMENT_STATUS */
public static final String DB_NAME_PAYMENT_STATUS_ID = "PAYMENT_STATUS_ID";
- /** DB name of UPDATED_DATE. TIMESTAMP : Default=[] */
- public static final String DB_NAME_UPDATED_DATE = "UPDATED_DATE";
-
/** DB name of SUB_TOTAL_PRICE. DECIMAL(14, 6) : Default=[] */
public static final String DB_NAME_SUB_TOTAL_PRICE = "SUB_TOTAL_PRICE";
@@ -146,9 +143,6 @@
/** Property name(JavaBeansRule) of paymentStatusId. INTEGER : Default=[] : FK to PAYMENT_STATUS */
public static final String PROPERTY_NAME_paymentStatusId = "paymentStatusId";
- /** Property name(JavaBeansRule) of updatedDate. TIMESTAMP : Default=[] */
- public static final String PROPERTY_NAME_updatedDate = "updatedDate";
-
/** Property name(JavaBeansRule) of subTotalPrice. DECIMAL(14, 6) : Default=[] */
public static final String PROPERTY_NAME_subTotalPrice = "subTotalPrice";
@@ -197,7 +191,6 @@
map.put(DB_NAME_PAYMENT_METHOD_CODE.toLowerCase(), PROPERTY_NAME_paymentMethodCode);
map.put(DB_NAME_ORDER_CARD_INFO_ID.toLowerCase(), PROPERTY_NAME_orderCardInfoId);
map.put(DB_NAME_PAYMENT_STATUS_ID.toLowerCase(), PROPERTY_NAME_paymentStatusId);
- map.put(DB_NAME_UPDATED_DATE.toLowerCase(), PROPERTY_NAME_updatedDate);
map.put(DB_NAME_SUB_TOTAL_PRICE.toLowerCase(), PROPERTY_NAME_subTotalPrice);
map.put(DB_NAME_TAX.toLowerCase(), PROPERTY_NAME_tax);
map.put(DB_NAME_DELIVERY_PRICE.toLowerCase(), PROPERTY_NAME_deliveryPrice);
@@ -222,7 +215,6 @@
map.put(PROPERTY_NAME_paymentMethodCode.toLowerCase(), DB_NAME_PAYMENT_METHOD_CODE);
map.put(PROPERTY_NAME_orderCardInfoId.toLowerCase(), DB_NAME_ORDER_CARD_INFO_ID);
map.put(PROPERTY_NAME_paymentStatusId.toLowerCase(), DB_NAME_PAYMENT_STATUS_ID);
- map.put(PROPERTY_NAME_updatedDate.toLowerCase(), DB_NAME_UPDATED_DATE);
map.put(PROPERTY_NAME_subTotalPrice.toLowerCase(), DB_NAME_SUB_TOTAL_PRICE);
map.put(PROPERTY_NAME_tax.toLowerCase(), DB_NAME_TAX);
map.put(PROPERTY_NAME_deliveryPrice.toLowerCase(), DB_NAME_DELIVERY_PRICE);
@@ -364,7 +356,6 @@
columnInfoList.add(columnPaymentMethodCode());
columnInfoList.add(columnOrderCardInfoId());
columnInfoList.add(columnPaymentStatusId());
- columnInfoList.add(columnUpdatedDate());
columnInfoList.add(columnSubTotalPrice());
columnInfoList.add(columnTax());
columnInfoList.add(columnDeliveryPrice());
@@ -393,10 +384,6 @@
public ColumnInfo columnPaymentStatusId() {
return new ColumnInfo(this, "PAYMENT_STATUS_ID", "paymentStatusId", java.math.BigDecimal.class, false, null, null);
}
- /** @return The column information of updatedDate. (NotNull) */
- public ColumnInfo columnUpdatedDate() {
- return new ColumnInfo(this, "UPDATED_DATE", "updatedDate", java.sql.Timestamp.class, false, null, null);
- }
/** @return The column information of subTotalPrice. (NotNull) */
public ColumnInfo columnSubTotalPrice() {
return new ColumnInfo(this, "SUB_TOTAL_PRICE", "subTotalPrice", java.math.BigDecimal.class, false, Integer.valueOf("14"), Integer.valueOf("6"));
@@ -586,7 +573,6 @@
public RelationTrace columnPaymentMethodCode() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnPaymentMethodCode()); }
public RelationTrace columnOrderCardInfoId() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnOrderCardInfoId()); }
public RelationTrace columnPaymentStatusId() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnPaymentStatusId()); }
- public RelationTrace columnUpdatedDate() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnUpdatedDate()); }
public RelationTrace columnSubTotalPrice() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnSubTotalPrice()); }
public RelationTrace columnTax() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnTax()); }
public RelationTrace columnDeliveryPrice() { return fixTrace(_relationList, OrderPaymentDbm.getInstance().columnDeliveryPrice()); }
@@ -687,7 +673,6 @@
if (analyzer.init("PAYMENT_METHOD_CODE", "paymentMethodCode", "paymentMethodCode")) { myEntity.setPaymentMethodCode(analyzer.analyzeString(String.class)); }
if (analyzer.init("ORDER_CARD_INFO_ID", "orderCardInfoId", "orderCardInfoId")) { myEntity.setOrderCardInfoId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("PAYMENT_STATUS_ID", "paymentStatusId", "paymentStatusId")) { myEntity.setPaymentStatusId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
- if (analyzer.init("UPDATED_DATE", "updatedDate", "updatedDate")) { myEntity.setUpdatedDate(analyzer.analyzeDate(java.sql.Timestamp.class)); }
if (analyzer.init("SUB_TOTAL_PRICE", "subTotalPrice", "subTotalPrice")) { myEntity.setSubTotalPrice(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("TAX", "tax", "tax")) { myEntity.setTax(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("DELIVERY_PRICE", "deliveryPrice", "deliveryPrice")) { myEntity.setDeliveryPrice(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
@@ -768,7 +753,6 @@
helpAppendingColumnValueString(sb, delimiter, equal, "PAYMENT_METHOD_CODE", myEntity.getPaymentMethodCode());
helpAppendingColumnValueString(sb, delimiter, equal, "ORDER_CARD_INFO_ID", myEntity.getOrderCardInfoId());
helpAppendingColumnValueString(sb, delimiter, equal, "PAYMENT_STATUS_ID", myEntity.getPaymentStatusId());
- helpAppendingColumnValueString(sb, delimiter, equal, "UPDATED_DATE", myEntity.getUpdatedDate());
helpAppendingColumnValueString(sb, delimiter, equal, "SUB_TOTAL_PRICE", myEntity.getSubTotalPrice());
helpAppendingColumnValueString(sb, delimiter, equal, "TAX", myEntity.getTax());
helpAppendingColumnValueString(sb, delimiter, equal, "DELIVERY_PRICE", myEntity.getDeliveryPrice());
@@ -833,7 +817,6 @@
valueMap.put("PAYMENT_METHOD_CODE", myEntity.getPaymentMethodCode());
valueMap.put("ORDER_CARD_INFO_ID", myEntity.getOrderCardInfoId());
valueMap.put("PAYMENT_STATUS_ID", myEntity.getPaymentStatusId());
- valueMap.put("UPDATED_DATE", myEntity.getUpdatedDate());
valueMap.put("SUB_TOTAL_PRICE", myEntity.getSubTotalPrice());
valueMap.put("TAX", myEntity.getTax());
valueMap.put("DELIVERY_PRICE", myEntity.getDeliveryPrice());
@@ -866,7 +849,6 @@
valueMap.put("PAYMENT_METHOD_CODE", helpGettingColumnStringValue(myEntity.getPaymentMethodCode()));
valueMap.put("ORDER_CARD_INFO_ID", helpGettingColumnStringValue(myEntity.getOrderCardInfoId()));
valueMap.put("PAYMENT_STATUS_ID", helpGettingColumnStringValue(myEntity.getPaymentStatusId()));
- valueMap.put("UPDATED_DATE", helpGettingColumnStringValue(myEntity.getUpdatedDate()));
valueMap.put("SUB_TOTAL_PRICE", helpGettingColumnStringValue(myEntity.getSubTotalPrice()));
valueMap.put("TAX", helpGettingColumnStringValue(myEntity.getTax()));
valueMap.put("DELIVERY_PRICE", helpGettingColumnStringValue(myEntity.getDeliveryPrice()));
@@ -896,9 +878,9 @@
public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
if (preparedInsertClauseOption.getTablePrefix() != null) {
final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
- return "insert into " + tablePrefix + "ORDER_PAYMENT(ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
+ return "insert into " + tablePrefix + "ORDER_PAYMENT(ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
}
- return "insert into ORDER_PAYMENT(ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, UPDATED_DATE, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
+ return "insert into ORDER_PAYMENT(ORDER_FORM_ID, PAYMENT_METHOD_ID, PAYMENT_METHOD_CODE, ORDER_CARD_INFO_ID, PAYMENT_STATUS_ID, SUB_TOTAL_PRICE, TAX, DELIVERY_PRICE, PAYMENT_FEE, TOTAL_PRICE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
}
// ===================================================================================
@@ -913,7 +895,6 @@
registerEntityPropertySetupper("PAYMENT_METHOD_CODE", "paymentMethodCode", new EntityPropertyPaymentMethodCodeSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("ORDER_CARD_INFO_ID", "orderCardInfoId", new EntityPropertyOrderCardInfoIdSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("PAYMENT_STATUS_ID", "paymentStatusId", new EntityPropertyPaymentStatusIdSetupper(), _entityPropertySetupperMap);
- registerEntityPropertySetupper("UPDATED_DATE", "updatedDate", new EntityPropertyUpdatedDateSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("SUB_TOTAL_PRICE", "subTotalPrice", new EntityPropertySubTotalPriceSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("TAX", "tax", new EntityPropertyTaxSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("DELIVERY_PRICE", "deliveryPrice", new EntityPropertyDeliveryPriceSetupper(), _entityPropertySetupperMap);
@@ -963,9 +944,6 @@
public class EntityPropertyPaymentStatusIdSetupper implements EntityPropertySetupper {
public void setup(OrderPayment entity, Object value) { entity.setPaymentStatusId((java.math.BigDecimal)value); }
}
- public class EntityPropertyUpdatedDateSetupper implements EntityPropertySetupper {
- public void setup(OrderPayment entity, Object value) { entity.setUpdatedDate((java.sql.Timestamp)value); }
- }
public class EntityPropertySubTotalPriceSetupper implements EntityPropertySetupper {
public void setup(OrderPayment entity, Object value) { entity.setSubTotalPrice((java.math.BigDecimal)value); }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_PRODUCT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6A0998C7_E994_4EAD_82DA_CD13DD6F3FDB] */
+ /** DB name of ORDER_PRODUCT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0E7663C8_2AA3_4A71_BA3C_9FB60F8CD5F4] */
public static final String DB_NAME_ORDER_PRODUCT_ID = "ORDER_PRODUCT_ID";
/** DB name of ORDER_FORM_ID. BIGINT : NotNull : Default=[] : FK to ORDER_FORM */
@@ -137,7 +137,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderProductId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6A0998C7_E994_4EAD_82DA_CD13DD6F3FDB] */
+ /** Property name(JavaBeansRule) of orderProductId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0E7663C8_2AA3_4A71_BA3C_9FB60F8CD5F4] */
public static final String PROPERTY_NAME_orderProductId = "orderProductId";
/** Property name(JavaBeansRule) of orderFormId. BIGINT : NotNull : Default=[] : FK to ORDER_FORM */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductOptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductOptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderProductOptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_PRODUCT_OPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FE7F2B02_B5E2_4245_A033_EBF6D16F6F7A] */
+ /** DB name of ORDER_PRODUCT_OPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_34BAF4A8_D116_4023_BC0A_AEA573B5280F] */
public static final String DB_NAME_ORDER_PRODUCT_OPTION_ID = "ORDER_PRODUCT_OPTION_ID";
/** DB name of ORDER_PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to ORDER_PRODUCT */
@@ -125,7 +125,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderProductOptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FE7F2B02_B5E2_4245_A033_EBF6D16F6F7A] */
+ /** Property name(JavaBeansRule) of orderProductOptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_34BAF4A8_D116_4023_BC0A_AEA573B5280F] */
public static final String PROPERTY_NAME_orderProductOptionId = "orderProductOptionId";
/** Property name(JavaBeansRule) of orderProductId. BIGINT : NotNull : Default=[] : FK to ORDER_PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_STATUS_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_50CD49BE_2DFF_4EBC_B0A3_352D3224CD8E] */
+ /** DB name of ORDER_STATUS_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E39CF5F_3F03_4CD2_93AF_D5271B7A9CD4] */
public static final String DB_NAME_ORDER_STATUS_ID = "ORDER_STATUS_ID";
/** DB name of TYPE. INTEGER : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderStatusId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_50CD49BE_2DFF_4EBC_B0A3_352D3224CD8E] */
+ /** Property name(JavaBeansRule) of orderStatusId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6E39CF5F_3F03_4CD2_93AF_D5271B7A9CD4] */
public static final String PROPERTY_NAME_orderStatusId = "orderStatusId";
/** Property name(JavaBeansRule) of type. INTEGER : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_STATUS_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_57005BDB_8F67_48C9_8FA8_A5873EE74109] */
+ /** DB name of ORDER_STATUS_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CFF5800_E0F8_4DFD_B8E7_DD338204FCF2] */
public static final String DB_NAME_ORDER_STATUS_DESCRIPTION_ID = "ORDER_STATUS_DESCRIPTION_ID";
/** DB name of ORDER_STATUS_ID. INTEGER : NotNull : Default=[] : FK to ORDER_STATUS */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderStatusDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_57005BDB_8F67_48C9_8FA8_A5873EE74109] */
+ /** Property name(JavaBeansRule) of orderStatusDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6CFF5800_E0F8_4DFD_B8E7_DD338204FCF2] */
public static final String PROPERTY_NAME_orderStatusDescriptionId = "orderStatusDescriptionId";
/** Property name(JavaBeansRule) of orderStatusId. INTEGER : NotNull : Default=[] : FK to ORDER_STATUS */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusHistoryDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusHistoryDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrderStatusHistoryDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of ORDER_STATUS_HISTORY_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A1233B6_C86A_4560_9F95_D174C0F8AECD] */
+ /** DB name of ORDER_STATUS_HISTORY_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EAC40217_D574_4478_888A_8632E9DF0DDC] */
public static final String DB_NAME_ORDER_STATUS_HISTORY_ID = "ORDER_STATUS_HISTORY_ID";
/** DB name of ORDER_FORM_ID. BIGINT : NotNull : Default=[] : FK to ORDER_FORM */
@@ -116,7 +116,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of orderStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5A1233B6_C86A_4560_9F95_D174C0F8AECD] */
+ /** Property name(JavaBeansRule) of orderStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_EAC40217_D574_4478_888A_8632E9DF0DDC] */
public static final String PROPERTY_NAME_orderStatusHistoryId = "orderStatusHistoryId";
/** Property name(JavaBeansRule) of orderFormId. BIGINT : NotNull : Default=[] : FK to ORDER_FORM */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PAYMENT_METHOD_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A860291A_CEB7_4C33_B2C5_E17DDFF29780] */
+ /** DB name of PAYMENT_METHOD_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1ACB50B5_1334_4789_83C3_F4D2B67AE926] */
public static final String DB_NAME_PAYMENT_METHOD_ID = "PAYMENT_METHOD_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -116,7 +116,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of paymentMethodId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A860291A_CEB7_4C33_B2C5_E17DDFF29780] */
+ /** Property name(JavaBeansRule) of paymentMethodId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_1ACB50B5_1334_4789_83C3_F4D2B67AE926] */
public static final String PROPERTY_NAME_paymentMethodId = "paymentMethodId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentMethodDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PAYMENT_METHOD_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FCCE10D1_1C23_4261_8F63_ACC2E84661E5] */
+ /** DB name of PAYMENT_METHOD_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4F0976EF_3F52_43FD_A80E_0BE4F5CB6B09] */
public static final String DB_NAME_PAYMENT_METHOD_DESCRIPTION_ID = "PAYMENT_METHOD_DESCRIPTION_ID";
/** DB name of PAYMENT_METHOD_ID. INTEGER : NotNull : Default=[] : FK to PAYMENT_METHOD */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of paymentMethodDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FCCE10D1_1C23_4261_8F63_ACC2E84661E5] */
+ /** Property name(JavaBeansRule) of paymentMethodDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4F0976EF_3F52_43FD_A80E_0BE4F5CB6B09] */
public static final String PROPERTY_NAME_paymentMethodDescriptionId = "paymentMethodDescriptionId";
/** Property name(JavaBeansRule) of paymentMethodId. INTEGER : NotNull : Default=[] : FK to PAYMENT_METHOD */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PAYMENT_STATUS_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_07F04D5F_8DEB_4F29_802E_787FF0C257F7] */
+ /** DB name of PAYMENT_STATUS_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A2F7FC55_6332_417D_8BF0_AA4E09968224] */
public static final String DB_NAME_PAYMENT_STATUS_ID = "PAYMENT_STATUS_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of paymentStatusId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_07F04D5F_8DEB_4F29_802E_787FF0C257F7] */
+ /** Property name(JavaBeansRule) of paymentStatusId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A2F7FC55_6332_417D_8BF0_AA4E09968224] */
public static final String PROPERTY_NAME_paymentStatusId = "paymentStatusId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/PaymentStatusDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PAYMENT_STATUS_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0FA0CE4E_1A66_4141_BB8C_DEF9F3002150] */
+ /** DB name of PAYMENT_STATUS_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FD3A4F90_5DB1_4753_8E86_CEFC8E032F6E] */
public static final String DB_NAME_PAYMENT_STATUS_DESCRIPTION_ID = "PAYMENT_STATUS_DESCRIPTION_ID";
/** DB name of PAYMENT_STATUS_ID. INTEGER : NotNull : Default=[] : FK to PAYMENT_STATUS */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of paymentStatusDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0FA0CE4E_1A66_4141_BB8C_DEF9F3002150] */
+ /** Property name(JavaBeansRule) of paymentStatusDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FD3A4F90_5DB1_4753_8E86_CEFC8E032F6E] */
public static final String PROPERTY_NAME_paymentStatusDescriptionId = "paymentStatusDescriptionId";
/** Property name(JavaBeansRule) of paymentStatusId. INTEGER : NotNull : Default=[] : FK to PAYMENT_STATUS */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductAttributeDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductAttributeDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductAttributeDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_ATTRIBUTE_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2610CCC8_5F78_4EB1_9A12_0AC2591CAA82] */
+ /** DB name of PRODUCT_ATTRIBUTE_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_68ADF6E2_A268_4D8C_8EAB_FCFA9F4C21E5] */
public static final String DB_NAME_PRODUCT_ATTRIBUTE_ID = "PRODUCT_ATTRIBUTE_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productAttributeId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_2610CCC8_5F78_4EB1_9A12_0AC2591CAA82] */
+ /** Property name(JavaBeansRule) of productAttributeId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_68ADF6E2_A268_4D8C_8EAB_FCFA9F4C21E5] */
public static final String PROPERTY_NAME_productAttributeId = "productAttributeId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductContentDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductContentDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductContentDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_CONTENT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B293D68B_28E4_4793_9AF6_F0349ECD15DD] */
+ /** DB name of PRODUCT_CONTENT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CCD79C7E_3A54_4424_B91D_A9E7FBDBFF59] */
public static final String DB_NAME_PRODUCT_CONTENT_ID = "PRODUCT_CONTENT_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productContentId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_B293D68B_28E4_4793_9AF6_F0349ECD15DD] */
+ /** Property name(JavaBeansRule) of productContentId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_CCD79C7E_3A54_4424_B91D_A9E7FBDBFF59] */
public static final String PROPERTY_NAME_productContentId = "productContentId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -21,7 +21,7 @@
* PRODUCT_ID
*
* [column-property]
- * PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
+ * PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE
*
* [foreign-property]
* deliveryType, fileData, manufacturer, taxType
@@ -94,18 +94,24 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53F43142_633D_4D33_B998_7660EB2AAA6E] */
+ /** DB name of PRODUCT_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_401D882C_D7F7_4467_952C_FF7279D1F245] */
public static final String DB_NAME_PRODUCT_ID = "PRODUCT_ID";
- /** DB name of MODEL. VARCHAR(80) : Default=[] */
- public static final String DB_NAME_MODEL = "MODEL";
+ /** DB name of PRODUCT_MODE. INTEGER : NotNull : Default=[] */
+ public static final String DB_NAME_PRODUCT_MODE = "PRODUCT_MODE";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
public static final String DB_NAME_CODE = "CODE";
+ /** DB name of MODEL. VARCHAR(80) : Default=[] */
+ public static final String DB_NAME_MODEL = "MODEL";
+
/** DB name of STOCK. INTEGER : Default=[] */
public static final String DB_NAME_STOCK = "STOCK";
+ /** DB name of CATALOG_PRICE. DECIMAL(15, 4) : Default=[] */
+ public static final String DB_NAME_CATALOG_PRICE = "CATALOG_PRICE";
+
/** DB name of PRICE. DECIMAL(15, 4) : NotNull : Default=[] */
public static final String DB_NAME_PRICE = "PRICE";
@@ -152,18 +158,24 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_53F43142_633D_4D33_B998_7660EB2AAA6E] */
+ /** Property name(JavaBeansRule) of productId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_401D882C_D7F7_4467_952C_FF7279D1F245] */
public static final String PROPERTY_NAME_productId = "productId";
- /** Property name(JavaBeansRule) of model. VARCHAR(80) : Default=[] */
- public static final String PROPERTY_NAME_model = "model";
+ /** Property name(JavaBeansRule) of productMode. INTEGER : NotNull : Default=[] */
+ public static final String PROPERTY_NAME_productMode = "productMode";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
public static final String PROPERTY_NAME_code = "code";
+ /** Property name(JavaBeansRule) of model. VARCHAR(80) : Default=[] */
+ public static final String PROPERTY_NAME_model = "model";
+
/** Property name(JavaBeansRule) of stock. INTEGER : Default=[] */
public static final String PROPERTY_NAME_stock = "stock";
+ /** Property name(JavaBeansRule) of catalogPrice. DECIMAL(15, 4) : Default=[] */
+ public static final String PROPERTY_NAME_catalogPrice = "catalogPrice";
+
/** Property name(JavaBeansRule) of price. DECIMAL(15, 4) : NotNull : Default=[] */
public static final String PROPERTY_NAME_price = "price";
@@ -266,9 +278,11 @@
map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
map.put(DB_NAME_PRODUCT_ID.toLowerCase(), PROPERTY_NAME_productId);
+ map.put(DB_NAME_PRODUCT_MODE.toLowerCase(), PROPERTY_NAME_productMode);
+ map.put(DB_NAME_CODE.toLowerCase(), PROPERTY_NAME_code);
map.put(DB_NAME_MODEL.toLowerCase(), PROPERTY_NAME_model);
- map.put(DB_NAME_CODE.toLowerCase(), PROPERTY_NAME_code);
map.put(DB_NAME_STOCK.toLowerCase(), PROPERTY_NAME_stock);
+ map.put(DB_NAME_CATALOG_PRICE.toLowerCase(), PROPERTY_NAME_catalogPrice);
map.put(DB_NAME_PRICE.toLowerCase(), PROPERTY_NAME_price);
map.put(DB_NAME_WEIGHT.toLowerCase(), PROPERTY_NAME_weight);
map.put(DB_NAME_SIZE.toLowerCase(), PROPERTY_NAME_size);
@@ -298,9 +312,11 @@
map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
map.put(PROPERTY_NAME_productId.toLowerCase(), DB_NAME_PRODUCT_ID);
+ map.put(PROPERTY_NAME_productMode.toLowerCase(), DB_NAME_PRODUCT_MODE);
+ map.put(PROPERTY_NAME_code.toLowerCase(), DB_NAME_CODE);
map.put(PROPERTY_NAME_model.toLowerCase(), DB_NAME_MODEL);
- map.put(PROPERTY_NAME_code.toLowerCase(), DB_NAME_CODE);
map.put(PROPERTY_NAME_stock.toLowerCase(), DB_NAME_STOCK);
+ map.put(PROPERTY_NAME_catalogPrice.toLowerCase(), DB_NAME_CATALOG_PRICE);
map.put(PROPERTY_NAME_price.toLowerCase(), DB_NAME_PRICE);
map.put(PROPERTY_NAME_weight.toLowerCase(), DB_NAME_WEIGHT);
map.put(PROPERTY_NAME_size.toLowerCase(), DB_NAME_SIZE);
@@ -447,9 +463,11 @@
public List getColumnInfoList() {
final List columnInfoList = new ArrayList();
columnInfoList.add(columnProductId());
+ columnInfoList.add(columnProductMode());
+ columnInfoList.add(columnCode());
columnInfoList.add(columnModel());
- columnInfoList.add(columnCode());
columnInfoList.add(columnStock());
+ columnInfoList.add(columnCatalogPrice());
columnInfoList.add(columnPrice());
columnInfoList.add(columnWeight());
columnInfoList.add(columnSize());
@@ -471,18 +489,26 @@
public ColumnInfo columnProductId() {
return new ColumnInfo(this, "PRODUCT_ID", "productId", java.math.BigDecimal.class, true, null, null);
}
- /** @return The column information of model. (NotNull) */
- public ColumnInfo columnModel() {
- return new ColumnInfo(this, "MODEL", "model", String.class, false, Integer.valueOf("80"), Integer.valueOf("0"));
+ /** @return The column information of productMode. (NotNull) */
+ public ColumnInfo columnProductMode() {
+ return new ColumnInfo(this, "PRODUCT_MODE", "productMode", java.math.BigDecimal.class, false, null, null);
}
/** @return The column information of code. (NotNull) */
public ColumnInfo columnCode() {
return new ColumnInfo(this, "CODE", "code", String.class, false, Integer.valueOf("40"), Integer.valueOf("0"));
}
+ /** @return The column information of model. (NotNull) */
+ public ColumnInfo columnModel() {
+ return new ColumnInfo(this, "MODEL", "model", String.class, false, Integer.valueOf("80"), Integer.valueOf("0"));
+ }
/** @return The column information of stock. (NotNull) */
public ColumnInfo columnStock() {
return new ColumnInfo(this, "STOCK", "stock", java.math.BigDecimal.class, false, null, null);
}
+ /** @return The column information of catalogPrice. (NotNull) */
+ public ColumnInfo columnCatalogPrice() {
+ return new ColumnInfo(this, "CATALOG_PRICE", "catalogPrice", java.math.BigDecimal.class, false, Integer.valueOf("15"), Integer.valueOf("4"));
+ }
/** @return The column information of price. (NotNull) */
public ColumnInfo columnPrice() {
return new ColumnInfo(this, "PRICE", "price", java.math.BigDecimal.class, false, Integer.valueOf("15"), Integer.valueOf("4"));
@@ -1190,9 +1216,11 @@
}
public RelationTrace columnProductId() { return fixTrace(_relationList, ProductDbm.getInstance().columnProductId()); }
+ public RelationTrace columnProductMode() { return fixTrace(_relationList, ProductDbm.getInstance().columnProductMode()); }
+ public RelationTrace columnCode() { return fixTrace(_relationList, ProductDbm.getInstance().columnCode()); }
public RelationTrace columnModel() { return fixTrace(_relationList, ProductDbm.getInstance().columnModel()); }
- public RelationTrace columnCode() { return fixTrace(_relationList, ProductDbm.getInstance().columnCode()); }
public RelationTrace columnStock() { return fixTrace(_relationList, ProductDbm.getInstance().columnStock()); }
+ public RelationTrace columnCatalogPrice() { return fixTrace(_relationList, ProductDbm.getInstance().columnCatalogPrice()); }
public RelationTrace columnPrice() { return fixTrace(_relationList, ProductDbm.getInstance().columnPrice()); }
public RelationTrace columnWeight() { return fixTrace(_relationList, ProductDbm.getInstance().columnWeight()); }
public RelationTrace columnSize() { return fixTrace(_relationList, ProductDbm.getInstance().columnSize()); }
@@ -1298,9 +1326,11 @@
final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
if (analyzer.init("PRODUCT_ID", "productId", "productId")) { myEntity.setProductId(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
+ if (analyzer.init("PRODUCT_MODE", "productMode", "productMode")) { myEntity.setProductMode(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
+ if (analyzer.init("CODE", "code", "code")) { myEntity.setCode(analyzer.analyzeString(String.class)); }
if (analyzer.init("MODEL", "model", "model")) { myEntity.setModel(analyzer.analyzeString(String.class)); }
- if (analyzer.init("CODE", "code", "code")) { myEntity.setCode(analyzer.analyzeString(String.class)); }
if (analyzer.init("STOCK", "stock", "stock")) { myEntity.setStock(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
+ if (analyzer.init("CATALOG_PRICE", "catalogPrice", "catalogPrice")) { myEntity.setCatalogPrice(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("PRICE", "price", "price")) { myEntity.setPrice(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("WEIGHT", "weight", "weight")) { myEntity.setWeight(analyzer.analyzeNumber(java.math.BigDecimal.class)); }
if (analyzer.init("SIZE", "size", "size")) { myEntity.setSize(analyzer.analyzeString(String.class)); }
@@ -1386,9 +1416,11 @@
final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
final StringBuffer sb = new StringBuffer();
helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCT_ID", myEntity.getProductId());
+ helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCT_MODE", myEntity.getProductMode());
+ helpAppendingColumnValueString(sb, delimiter, equal, "CODE", myEntity.getCode());
helpAppendingColumnValueString(sb, delimiter, equal, "MODEL", myEntity.getModel());
- helpAppendingColumnValueString(sb, delimiter, equal, "CODE", myEntity.getCode());
helpAppendingColumnValueString(sb, delimiter, equal, "STOCK", myEntity.getStock());
+ helpAppendingColumnValueString(sb, delimiter, equal, "CATALOG_PRICE", myEntity.getCatalogPrice());
helpAppendingColumnValueString(sb, delimiter, equal, "PRICE", myEntity.getPrice());
helpAppendingColumnValueString(sb, delimiter, equal, "WEIGHT", myEntity.getWeight());
helpAppendingColumnValueString(sb, delimiter, equal, "SIZE", myEntity.getSize());
@@ -1458,9 +1490,11 @@
final Product myEntity = downcast(entity);
final Map valueMap = new LinkedHashMap();
valueMap.put("PRODUCT_ID", myEntity.getProductId());
+ valueMap.put("PRODUCT_MODE", myEntity.getProductMode());
+ valueMap.put("CODE", myEntity.getCode());
valueMap.put("MODEL", myEntity.getModel());
- valueMap.put("CODE", myEntity.getCode());
valueMap.put("STOCK", myEntity.getStock());
+ valueMap.put("CATALOG_PRICE", myEntity.getCatalogPrice());
valueMap.put("PRICE", myEntity.getPrice());
valueMap.put("WEIGHT", myEntity.getWeight());
valueMap.put("SIZE", myEntity.getSize());
@@ -1498,9 +1532,11 @@
final Product myEntity = downcast(entity);
final Map valueMap = new LinkedHashMap();
valueMap.put("PRODUCT_ID", helpGettingColumnStringValue(myEntity.getProductId()));
+ valueMap.put("PRODUCT_MODE", helpGettingColumnStringValue(myEntity.getProductMode()));
+ valueMap.put("CODE", helpGettingColumnStringValue(myEntity.getCode()));
valueMap.put("MODEL", helpGettingColumnStringValue(myEntity.getModel()));
- valueMap.put("CODE", helpGettingColumnStringValue(myEntity.getCode()));
valueMap.put("STOCK", helpGettingColumnStringValue(myEntity.getStock()));
+ valueMap.put("CATALOG_PRICE", helpGettingColumnStringValue(myEntity.getCatalogPrice()));
valueMap.put("PRICE", helpGettingColumnStringValue(myEntity.getPrice()));
valueMap.put("WEIGHT", helpGettingColumnStringValue(myEntity.getWeight()));
valueMap.put("SIZE", helpGettingColumnStringValue(myEntity.getSize()));
@@ -1539,9 +1575,9 @@
public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
if (preparedInsertClauseOption.getTablePrefix() != null) {
final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
- return "insert into " + tablePrefix + "PRODUCT(PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
+ return "insert into " + tablePrefix + "PRODUCT(PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
}
- return "insert into PRODUCT(PRODUCT_ID, MODEL, CODE, STOCK, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
+ return "insert into PRODUCT(PRODUCT_ID, PRODUCT_MODE, CODE, MODEL, STOCK, CATALOG_PRICE, PRICE, WEIGHT, SIZE, STATUS, LIMIT_PURCHASE, RELEASE_DATE, START_DATE, END_DATE, FILE_DATA_ID, MANUFACTURER_ID, TAX_TYPE_ID, DELIVERY_TYPE_ID, CREATED_DATE, UPDATED_DATE) values(? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )";
}
// ===================================================================================
@@ -1552,9 +1588,11 @@
protected Map> _entityPropertySetupperMap = new HashMap>();
{
registerEntityPropertySetupper("PRODUCT_ID", "productId", new EntityPropertyProductIdSetupper(), _entityPropertySetupperMap);
+ registerEntityPropertySetupper("PRODUCT_MODE", "productMode", new EntityPropertyProductModeSetupper(), _entityPropertySetupperMap);
+ registerEntityPropertySetupper("CODE", "code", new EntityPropertyCodeSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("MODEL", "model", new EntityPropertyModelSetupper(), _entityPropertySetupperMap);
- registerEntityPropertySetupper("CODE", "code", new EntityPropertyCodeSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("STOCK", "stock", new EntityPropertyStockSetupper(), _entityPropertySetupperMap);
+ registerEntityPropertySetupper("CATALOG_PRICE", "catalogPrice", new EntityPropertyCatalogPriceSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("PRICE", "price", new EntityPropertyPriceSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("WEIGHT", "weight", new EntityPropertyWeightSetupper(), _entityPropertySetupperMap);
registerEntityPropertySetupper("SIZE", "size", new EntityPropertySizeSetupper(), _entityPropertySetupperMap);
@@ -1601,15 +1639,21 @@
public class EntityPropertyProductIdSetupper implements EntityPropertySetupper {
public void setup(Product entity, Object value) { entity.setProductId((java.math.BigDecimal)value); }
}
- public class EntityPropertyModelSetupper implements EntityPropertySetupper {
- public void setup(Product entity, Object value) { entity.setModel((String)value); }
+ public class EntityPropertyProductModeSetupper implements EntityPropertySetupper {
+ public void setup(Product entity, Object value) { entity.setProductMode((java.math.BigDecimal)value); }
}
public class EntityPropertyCodeSetupper implements EntityPropertySetupper {
public void setup(Product entity, Object value) { entity.setCode((String)value); }
}
+ public class EntityPropertyModelSetupper implements EntityPropertySetupper {
+ public void setup(Product entity, Object value) { entity.setModel((String)value); }
+ }
public class EntityPropertyStockSetupper implements EntityPropertySetupper {
public void setup(Product entity, Object value) { entity.setStock((java.math.BigDecimal)value); }
}
+ public class EntityPropertyCatalogPriceSetupper implements EntityPropertySetupper {
+ public void setup(Product entity, Object value) { entity.setCatalogPrice((java.math.BigDecimal)value); }
+ }
public class EntityPropertyPriceSetupper implements EntityPropertySetupper {
public void setup(Product entity, Object value) { entity.setPrice((java.math.BigDecimal)value); }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_DESCRIPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FB791960_CC5F_45D5_B37F_B6D75E155C0C] */
+ /** DB name of PRODUCT_DESCRIPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4DA6852D_7749_4178_928F_F2004FABABCE] */
public static final String DB_NAME_PRODUCT_DESCRIPTION_ID = "PRODUCT_DESCRIPTION_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productDescriptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_FB791960_CC5F_45D5_B37F_B6D75E155C0C] */
+ /** Property name(JavaBeansRule) of productDescriptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4DA6852D_7749_4178_928F_F2004FABABCE] */
public static final String PROPERTY_NAME_productDescriptionId = "productDescriptionId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductInfoDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductInfoDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductInfoDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_INFO_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9993D476_B5B5_49CC_8ADE_EBA1CE9A9125] */
+ /** DB name of PRODUCT_INFO_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8041627D_F7ED_4DAC_8329_9646CB5790C6] */
public static final String DB_NAME_PRODUCT_INFO_ID = "PRODUCT_INFO_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -116,7 +116,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productInfoId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9993D476_B5B5_49CC_8ADE_EBA1CE9A9125] */
+ /** Property name(JavaBeansRule) of productInfoId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_8041627D_F7ED_4DAC_8329_9646CB5790C6] */
public static final String PROPERTY_NAME_productInfoId = "productInfoId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_OPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6903EF6A_CC3D_43CF_81E5_E3D4AC0C5FC4] */
+ /** DB name of PRODUCT_OPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_940904FB_500A_4755_9955_FC3B027A8B8A] */
public static final String DB_NAME_PRODUCT_OPTION_ID = "PRODUCT_OPTION_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -107,7 +107,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productOptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6903EF6A_CC3D_43CF_81E5_E3D4AC0C5FC4] */
+ /** Property name(JavaBeansRule) of productOptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_940904FB_500A_4755_9955_FC3B027A8B8A] */
public static final String PROPERTY_NAME_productOptionId = "productOptionId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_OPTION_DESCRIPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_43A5118F_243D_4D3C_935E_299F8EED5E52] */
+ /** DB name of PRODUCT_OPTION_DESCRIPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_81904327_A675_4673_9624_DCF0CBE4B8A8] */
public static final String DB_NAME_PRODUCT_OPTION_DESCRIPTION_ID = "PRODUCT_OPTION_DESCRIPTION_ID";
/** DB name of PRODUCT_OPTION_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productOptionDescriptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_43A5118F_243D_4D3C_935E_299F8EED5E52] */
+ /** Property name(JavaBeansRule) of productOptionDescriptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_81904327_A675_4673_9624_DCF0CBE4B8A8] */
public static final String PROPERTY_NAME_productOptionDescriptionId = "productOptionDescriptionId";
/** Property name(JavaBeansRule) of productOptionId. BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_OPTION_VALUE_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F23FF2B3_EED2_4FEE_9ED0_E9C5655FE122] */
+ /** DB name of PRODUCT_OPTION_VALUE_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0C947A89_3C09_42B9_BBA5_C45460C33F8C] */
public static final String DB_NAME_PRODUCT_OPTION_VALUE_ID = "PRODUCT_OPTION_VALUE_ID";
/** DB name of PRODUCT_OPTION_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productOptionValueId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F23FF2B3_EED2_4FEE_9ED0_E9C5655FE122] */
+ /** Property name(JavaBeansRule) of productOptionValueId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_0C947A89_3C09_42B9_BBA5_C45460C33F8C] */
public static final String PROPERTY_NAME_productOptionValueId = "productOptionValueId";
/** Property name(JavaBeansRule) of productOptionId. BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductOptionValueDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of PRODUCT_OPTION_VALUE_DESCRIPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_19809486_4B46_4518_9993_D8F7C0022152] */
+ /** DB name of PRODUCT_OPTION_VALUE_DESCRIPTION_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_45F180FB_67A4_4AAD_93C8_637AD06D42A5] */
public static final String DB_NAME_PRODUCT_OPTION_VALUE_DESCRIPTION_ID = "PRODUCT_OPTION_VALUE_DESCRIPTION_ID";
/** DB name of PRODUCT_OPTION_VALUE_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION_VALUE */
@@ -110,7 +110,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of productOptionValueDescriptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_19809486_4B46_4518_9993_D8F7C0022152] */
+ /** Property name(JavaBeansRule) of productOptionValueDescriptionId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_45F180FB_67A4_4AAD_93C8_637AD06D42A5] */
public static final String PROPERTY_NAME_productOptionValueDescriptionId = "productOptionValueDescriptionId";
/** Property name(JavaBeansRule) of productOptionValueId. BIGINT : NotNull : Default=[] : FK to PRODUCT_OPTION_VALUE */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of REVIEW_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D85D1640_DC82_4764_AC1E_54AD6993A863] */
+ /** DB name of REVIEW_ID. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65AB13F6_B094_46A9_AB54_971D78C1786C] */
public static final String DB_NAME_REVIEW_ID = "REVIEW_ID";
/** DB name of PRODUCT_ID. BIGINT : NotNull : Default=[] : FK to PRODUCT */
@@ -119,7 +119,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of reviewId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_D85D1640_DC82_4764_AC1E_54AD6993A863] */
+ /** Property name(JavaBeansRule) of reviewId. PK : INC : BIGINT : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_65AB13F6_B094_46A9_AB54_971D78C1786C] */
public static final String PROPERTY_NAME_reviewId = "reviewId";
/** Property name(JavaBeansRule) of productId. BIGINT : NotNull : Default=[] : FK to PRODUCT */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of TAX_TYPE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3D9E5BA9_1EC6_4B79_8EAA_647BBE1BFC6B] */
+ /** DB name of TAX_TYPE_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9A8A4772_33E6_47D4_9215_C2BFFA2BE3AC] */
public static final String DB_NAME_TAX_TYPE_ID = "TAX_TYPE_ID";
/** DB name of CODE. VARCHAR(40) : NotNull : Default=[] */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of taxTypeId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_3D9E5BA9_1EC6_4B79_8EAA_647BBE1BFC6B] */
+ /** Property name(JavaBeansRule) of taxTypeId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_9A8A4772_33E6_47D4_9215_C2BFFA2BE3AC] */
public static final String PROPERTY_NAME_taxTypeId = "taxTypeId";
/** Property name(JavaBeansRule) of code. VARCHAR(40) : NotNull : Default=[] */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDescriptionDbm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDescriptionDbm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxTypeDescriptionDbm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -94,7 +94,7 @@
// -----------------------------------------------------
// Column DB Name
// --------------
- /** DB name of TAX_TYPE_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5FE6253A_8E3B_4B89_AA6E_EB8B3A8E6236] */
+ /** DB name of TAX_TYPE_DESCRIPTION_ID. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F69A7535_43D6_47C0_A194_89836EB84BB8] */
public static final String DB_NAME_TAX_TYPE_DESCRIPTION_ID = "TAX_TYPE_DESCRIPTION_ID";
/** DB name of TAX_TYPE_ID. INTEGER : NotNull : Default=[] : FK to TAX_TYPE */
@@ -113,7 +113,7 @@
// Column Property Name
// (JavaBeansRule)
// --------------------
- /** Property name(JavaBeansRule) of taxTypeDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_5FE6253A_8E3B_4B89_AA6E_EB8B3A8E6236] */
+ /** Property name(JavaBeansRule) of taxTypeDescriptionId. PK : INC : INTEGER : NotNull : Default=[NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F69A7535_43D6_47C0_A194_89836EB84BB8] */
public static final String PROPERTY_NAME_taxTypeDescriptionId = "taxTypeDescriptionId";
/** Property name(JavaBeansRule) of taxTypeId. INTEGER : NotNull : Default=[] : FK to TAX_TYPE */
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoryCB.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoryCB.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoryCB.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -218,6 +218,43 @@
limitSelect_Off();
return _nssCategorySelf;
}
+
+ // /* * * * * * * * * * * * * * * * * * * * * * *
+ // ForeignTable = [FILE_DATA]
+ // ForeignProperty = [fileData]
+ // * * * * * * * * */
+
+ /** Nest select setupper for fileData. */
+ protected jp.sf.pal.pompei.cbean.nss.FileDataNss _nssFileData;
+
+ /**
+ * Get nest select setupper for fileData. {For Internal}
+ *
+ * @return Nest select setupper. (NotNull)
+ */
+ public jp.sf.pal.pompei.cbean.nss.FileDataNss getNssFileData() {
+ if (_nssFileData == null) {
+ _nssFileData = new jp.sf.pal.pompei.cbean.nss.FileDataNss(null);// for Dummy
+ }
+ return _nssFileData;
+ }
+ /**
+ * Set up select for fileData.
+ * If you invoke this, this entity is target of select.
+ *
+ * @return Nest select setupper for fileData. (NotNull)
+ */
+ public jp.sf.pal.pompei.cbean.nss.FileDataNss setupSelect_FileData() {
+ final String foreignTableAliasName = query().queryFileData().getRealAliasName();
+ final String localRelationPath = query().getRelationPath();
+ getSqlClause().registerSelectedSelectColumn(foreignTableAliasName, "CATEGORY", "fileData", localRelationPath);
+ getSqlClause().registerSelectedForeignInfo(query().queryFileData().getRelationPath(), "fileData");
+ if (_nssFileData == null || !_nssFileData.hasConditionQuery()) {
+ _nssFileData = new jp.sf.pal.pompei.cbean.nss.FileDataNss(query().queryFileData());
+ }
+ limitSelect_Off();
+ return _nssFileData;
+ }
// /* * * * * * * * * * * * * * * * * * * * * * * {as one}
// ReferrerTable = [CATEGORY_PAGE_INFO]
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsFileDataCB.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsFileDataCB.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsFileDataCB.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -181,7 +181,7 @@
// ===================================================================================
// Setup Select
// ============
-
+
// /* * * * * * * * * * * * * * * * * * * * * * * {as one}
// ReferrerTable = [IMAGE_DATA]
// ReferrerProperty = [imageDataAsOne]
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoryCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoryCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoryCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -429,6 +429,133 @@
abstract protected ConditionValue getCValueParentCategoryId();
/**
+ * Set the value of fileDataId using equal. { = }
+ *
+ * @param fileDataId The value of fileDataId as equal.
+ */
+ public void setFileDataId_Equal(java.math.BigDecimal fileDataId) {
+ registerFileDataId(ConditionKey.CK_EQUAL, fileDataId);
+ }
+
+ /**
+ * Set the value of fileDataId using notEqual. { != }
+ *
+ * @param fileDataId The value of fileDataId as notEqual.
+ */
+ public void setFileDataId_NotEqual(java.math.BigDecimal fileDataId) {
+ registerFileDataId(ConditionKey.CK_NOT_EQUAL, fileDataId);
+ }
+
+ /**
+ * Set the value of fileDataId using greaterThan. { > }
+ *
+ * @param fileDataId The value of fileDataId as greaterThan.
+ */
+ public void setFileDataId_GreaterThan(java.math.BigDecimal fileDataId) {
+ registerFileDataId(ConditionKey.CK_GREATER_THAN, fileDataId);
+ }
+
+ /**
+ * Set the value of fileDataId using lessThan. { < }
+ *
+ * @param fileDataId The value of fileDataId as lessThan.
+ */
+ public void setFileDataId_LessThan(java.math.BigDecimal fileDataId) {
+ registerFileDataId(ConditionKey.CK_LESS_THAN, fileDataId);
+ }
+
+ /**
+ * Set the value of fileDataId using greaterEqual. { >= }
+ *
+ * @param fileDataId The value of fileDataId as greaterEqual.
+ */
+ public void setFileDataId_GreaterEqual(java.math.BigDecimal fileDataId) {
+ registerFileDataId(ConditionKey.CK_GREATER_EQUAL, fileDataId);
+ }
+
+ /**
+ * Set the value of fileDataId using lessEqual. { <= }
+ *
+ * @param fileDataId The value of fileDataId as lessEqual.
+ */
+ public void setFileDataId_LessEqual(java.math.BigDecimal fileDataId) {
+ registerFileDataId(ConditionKey.CK_LESS_EQUAL, fileDataId);
+ }
+
+ /**
+ * Set the value of fileDataId using inScope. { in (a, b) }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param fileDataIdList The value of fileDataId as inScope.
+ */
+ public void setFileDataId_InScope(java.util.Collection fileDataIdList) {
+ registerFileDataId(ConditionKey.CK_IN_SCOPE, convertToList(fileDataIdList));
+ }
+
+ /**
+ * Set the value of fileDataId using notInScope. { not in (a, b) }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param fileDataIdList The value of fileDataId as notInScope.
+ */
+ public void setFileDataId_NotInScope(java.util.Collection fileDataIdList) {
+ registerFileDataId(ConditionKey.CK_NOT_IN_SCOPE, convertToList(fileDataIdList));
+ }
+
+ /**
+ * Set the sub-query of FileDataId_InScopeSubQuery_FileData using inScopeSubQuery.
+ * { in (select xxx.FILE_DATA_ID from FILE_DATA where ...) }
+ * This method use from clause and where clause of the sub-query instance.
+ * this query keep the sub-query instance for query-value.
+ * After you invoke this, If you set query in the argument[subQuery], the query is ignored.
+ *
+ * @param fileDataCBquery The sub-query of FileDataId_InScopeSubQuery_FileData using inScopeSubQuery. (NotNull)
+ */
+ public void setFileDataId_InScopeSubQuery_FileData(jp.sf.pal.pompei.cbean.cq.FileDataCQ fileDataCBquery) {
+ assertObjectNotNull("fileDataCBquery", fileDataCBquery);
+ final String subQueryPropertyName = keepFileDataId_InScopeSubQuery_FileData(fileDataCBquery);// for saving query-value.
+ registerInScopeSubQuery(fileDataCBquery, "FILE_DATA_ID", "FILE_DATA_ID", subQueryPropertyName);
+ }
+
+ abstract public String keepFileDataId_InScopeSubQuery_FileData(jp.sf.pal.pompei.cbean.cq.FileDataCQ subQuery);
+
+ /**
+ * Set the value of fileDataId using isNull. { is null }
+ */
+ public void setFileDataId_IsNull() {
+ registerFileDataId(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
+ }
+
+ /**
+ * Set the value of fileDataId using isNotNull. { is not null }
+ */
+ public void setFileDataId_IsNotNull() {
+ registerFileDataId(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
+ }
+
+ /**
+ * Register condition of fileDataId.
+ *
+ * @param key Condition key. (NotNull)
+ * @param value The value of fileDataId. (Nullable)
+ */
+ protected void registerFileDataId(ConditionKey key, Object value) {
+ registerQuery(key, value, getCValueFileDataId(), "FILE_DATA_ID", "FileDataId", "fileDataId");
+ }
+
+ /**
+ * Register inline condition of fileDataId.
+ *
+ * @param key Condition key. (NotNull)
+ * @param value The value of fileDataId. (Nullable)
+ */
+ protected void registerInlineFileDataId(ConditionKey key, Object value) {
+ registerInlineQuery(key, value, getCValueFileDataId(), "FILE_DATA_ID", "FileDataId", "fileDataId");
+ }
+
+ abstract protected ConditionValue getCValueFileDataId();
+
+ /**
* Set the value of numOfProduct using equal. { = }
*
* @param numOfProduct The value of numOfProduct as equal.
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsFileDataCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsFileDataCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsFileDataCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -124,6 +124,23 @@
}
/**
+ * Set the sub-query of FileDataId_InScopeSubQuery_CategoryList using inScopeSubQuery.
+ * { in (select xxx.FILE_DATA_ID from CATEGORY where ...) }
+ * This method use from clause and where clause of the sub-query instance.
+ * this query keep the sub-query instance for query-value.
+ * After you invoke this, If you set query in the argument[subQuery], the query is ignored.
+ *
+ * @param categoryCBquery The sub-query of FileDataId_InScopeSubQuery_CategoryList using inScopeSubQuery. (NotNull)
+ */
+ public void setFileDataId_InScopeSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ categoryCBquery) {
+ assertObjectNotNull("categoryCBquery", categoryCBquery);
+ final String subQueryPropertyName = keepFileDataId_InScopeSubQuery_CategoryList(categoryCBquery);// for saving query-value.
+ registerInScopeSubQuery(categoryCBquery, "FILE_DATA_ID", "FILE_DATA_ID", subQueryPropertyName);
+ }
+
+ abstract public String keepFileDataId_InScopeSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ subQuery);
+
+ /**
* Set the sub-query of FileDataId_InScopeSubQuery_FileTagToFileDataList using inScopeSubQuery.
* { in (select xxx.FILE_DATA_ID from FILE_TAG_TO_FILE_DATA where ...) }
* This method use from clause and where clause of the sub-query instance.
@@ -192,6 +209,23 @@
abstract public String keepFileDataId_InScopeSubQuery_ProductList(jp.sf.pal.pompei.cbean.cq.ProductCQ subQuery);
/**
+ * Set the sub-query of FileDataId_ExistsSubQuery_CategoryList using existsSubQuery.
+ * { exists (select xxx.FILE_DATA_ID from CATEGORY where ...) }
+ * This method use from clause and where clause of the sub-query instance.
+ * this query keep the sub-query instance for query-value.
+ * After you invoke this, If you set query in the argument[subQuery], the query is ignored.
+ *
+ * @param categoryCBquery The sub-query of FileDataId_ExistsSubQuery_CategoryList using existsSubQuery. (NotNull)
+ */
+ public void setFileDataId_ExistsSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ categoryCBquery) {
+ assertObjectNotNull("categoryCBquery", categoryCBquery);
+ final String subQueryPropertyName = keepFileDataId_ExistsSubQuery_CategoryList(categoryCBquery);// for saving query-value.
+ registerExistsSubQuery(categoryCBquery, "FILE_DATA_ID", "FILE_DATA_ID", subQueryPropertyName);
+ }
+
+ abstract public String keepFileDataId_ExistsSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ subQuery);
+
+ /**
* Set the sub-query of FileDataId_ExistsSubQuery_FileTagToFileDataList using existsSubQuery.
* { exists (select xxx.FILE_DATA_ID from FILE_TAG_TO_FILE_DATA where ...) }
* This method use from clause and where clause of the sub-query instance.
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsManufacturerDescriptionCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsManufacturerDescriptionCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsManufacturerDescriptionCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -259,153 +259,153 @@
abstract protected ConditionValue getCValueManufacturerId();
/**
- * Set the value of content using equal. { = }
+ * Set the value of description using equal. { = }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as equal.
+ * @param description The value of description as equal.
*/
- public void setContent_Equal(String content) {
- registerContent(ConditionKey.CK_EQUAL, filterRemoveEmptyString(content));
+ public void setDescription_Equal(String description) {
+ registerDescription(ConditionKey.CK_EQUAL, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using notEqual. { != }
+ * Set the value of description using notEqual. { != }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as notEqual.
+ * @param description The value of description as notEqual.
*/
- public void setContent_NotEqual(String content) {
- registerContent(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(content));
+ public void setDescription_NotEqual(String description) {
+ registerDescription(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using greaterThan. { > }
+ * Set the value of description using greaterThan. { > }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as greaterThan.
+ * @param description The value of description as greaterThan.
*/
- public void setContent_GreaterThan(String content) {
- registerContent(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(content));
+ public void setDescription_GreaterThan(String description) {
+ registerDescription(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using lessThan. { < }
+ * Set the value of description using lessThan. { < }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as lessThan.
+ * @param description The value of description as lessThan.
*/
- public void setContent_LessThan(String content) {
- registerContent(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(content));
+ public void setDescription_LessThan(String description) {
+ registerDescription(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using greaterEqual. { >= }
+ * Set the value of description using greaterEqual. { >= }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as greaterEqual.
+ * @param description The value of description as greaterEqual.
*/
- public void setContent_GreaterEqual(String content) {
- registerContent(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(content));
+ public void setDescription_GreaterEqual(String description) {
+ registerDescription(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using lessEqual. { <= }
+ * Set the value of description using lessEqual. { <= }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as lessEqual.
+ * @param description The value of description as lessEqual.
*/
- public void setContent_LessEqual(String content) {
- registerContent(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(content));
+ public void setDescription_LessEqual(String description) {
+ registerDescription(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using prefixSearch. { like 'xxx%' }
+ * Set the value of description using prefixSearch. { like 'xxx%' }
* If the value is null or empty-string, this condition is ignored.
*
- * @param content The value of content as prefixSearch.
+ * @param description The value of description as prefixSearch.
*/
- public void setContent_PrefixSearch(String content) {
- registerContent(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(content));
+ public void setDescription_PrefixSearch(String description) {
+ registerDescription(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(description));
}
/**
- * Set the value of content using likeSearch. { like '%xxx%' }
+ * Set the value of description using likeSearch. { like '%xxx%' }
* If the value is null or empty-string, this condition is ignored.
* You can invoke this method several times and the conditions are set up.
*
- * @param content The value of content as likeSearch.
+ * @param description The value of description as likeSearch.
* @param likeSearchOption The option of like-search. (NotNull)
*/
- public void setContent_LikeSearch(String content, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
- registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(content), getCValueContent(), "CONTENT", "Content", "content", likeSearchOption);
+ public void setDescription_LikeSearch(String description, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+ registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(description), getCValueDescription(), "DESCRIPTION", "Description", "description", likeSearchOption);
}
/**
- * Set the value of content using inScope. { in ('a', 'b') }
+ * Set the value of description using inScope. { in ('a', 'b') }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param contentList The value of content as inScope.
+ * @param descriptionList The value of description as inScope.
*/
- public void setContent_InScope(java.util.Collection contentList) {
- registerContent(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(contentList)));
+ public void setDescription_InScope(java.util.Collection descriptionList) {
+ registerDescription(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(descriptionList)));
}
/**
- * Set the value of content using inScope. { in ('a', 'b') }
+ * Set the value of description using inScope. { in ('a', 'b') }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param content The value of content as inScope.
+ * @param description The value of description as inScope.
* @param inScopeOption The option of in-scope. (NotNull)
*/
- public void setContent_InScope(String content, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
- registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(content), getCValueContent(), "CONTENT", "Content", "content", inScopeOption);
+ public void setDescription_InScope(String description, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
+ registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(description), getCValueDescription(), "DESCRIPTION", "Description", "description", inScopeOption);
}
/**
- * Set the value of content using notInScope. { not in ('a', 'b') }
+ * Set the value of description using notInScope. { not in ('a', 'b') }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param contentList The value of content as notInScope.
+ * @param descriptionList The value of description as notInScope.
*/
- public void setContent_NotInScope(java.util.Collection contentList) {
- registerContent(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(contentList)));
+ public void setDescription_NotInScope(java.util.Collection descriptionList) {
+ registerDescription(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(descriptionList)));
}
/**
- * Set the value of content using isNull. { is null }
+ * Set the value of description using isNull. { is null }
*/
- public void setContent_IsNull() {
- registerContent(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
+ public void setDescription_IsNull() {
+ registerDescription(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
}
/**
- * Set the value of content using isNotNull. { is not null }
+ * Set the value of description using isNotNull. { is not null }
*/
- public void setContent_IsNotNull() {
- registerContent(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
+ public void setDescription_IsNotNull() {
+ registerDescription(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
}
/**
- * Register condition of content.
+ * Register condition of description.
*
* @param key Condition key. (NotNull)
- * @param value The value of content. (Nullable)
+ * @param value The value of description. (Nullable)
*/
- protected void registerContent(ConditionKey key, Object value) {
- registerQuery(key, value, getCValueContent(), "CONTENT", "Content", "content");
+ protected void registerDescription(ConditionKey key, Object value) {
+ registerQuery(key, value, getCValueDescription(), "DESCRIPTION", "Description", "description");
}
/**
- * Register inline condition of content.
+ * Register inline condition of description.
*
* @param key Condition key. (NotNull)
- * @param value The value of content. (Nullable)
+ * @param value The value of description. (Nullable)
*/
- protected void registerInlineContent(ConditionKey key, Object value) {
- registerInlineQuery(key, value, getCValueContent(), "CONTENT", "Content", "content");
+ protected void registerInlineDescription(ConditionKey key, Object value) {
+ registerInlineQuery(key, value, getCValueDescription(), "DESCRIPTION", "Description", "description");
}
- abstract protected ConditionValue getCValueContent();
+ abstract protected ConditionValue getCValueDescription();
/**
* Set the value of language using equal. { = }
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderFormCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderFormCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderFormCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -4786,139 +4786,139 @@
abstract protected ConditionValue getCValueBillingCountryCode();
/**
- * Set the value of billingLocaleName using equal. { = }
+ * Set the value of billingLanguage using equal. { = }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as equal.
+ * @param billingLanguage The value of billingLanguage as equal.
*/
- public void setBillingLocaleName_Equal(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_Equal(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_EQUAL, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using notEqual. { != }
+ * Set the value of billingLanguage using notEqual. { != }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as notEqual.
+ * @param billingLanguage The value of billingLanguage as notEqual.
*/
- public void setBillingLocaleName_NotEqual(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_NotEqual(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using greaterThan. { > }
+ * Set the value of billingLanguage using greaterThan. { > }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as greaterThan.
+ * @param billingLanguage The value of billingLanguage as greaterThan.
*/
- public void setBillingLocaleName_GreaterThan(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_GreaterThan(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using lessThan. { < }
+ * Set the value of billingLanguage using lessThan. { < }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as lessThan.
+ * @param billingLanguage The value of billingLanguage as lessThan.
*/
- public void setBillingLocaleName_LessThan(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_LessThan(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using greaterEqual. { >= }
+ * Set the value of billingLanguage using greaterEqual. { >= }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as greaterEqual.
+ * @param billingLanguage The value of billingLanguage as greaterEqual.
*/
- public void setBillingLocaleName_GreaterEqual(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_GreaterEqual(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using lessEqual. { <= }
+ * Set the value of billingLanguage using lessEqual. { <= }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as lessEqual.
+ * @param billingLanguage The value of billingLanguage as lessEqual.
*/
- public void setBillingLocaleName_LessEqual(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_LessEqual(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using prefixSearch. { like 'xxx%' }
+ * Set the value of billingLanguage using prefixSearch. { like 'xxx%' }
* If the value is null or empty-string, this condition is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as prefixSearch.
+ * @param billingLanguage The value of billingLanguage as prefixSearch.
*/
- public void setBillingLocaleName_PrefixSearch(String billingLocaleName) {
- registerBillingLocaleName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(billingLocaleName));
+ public void setBillingLanguage_PrefixSearch(String billingLanguage) {
+ registerBillingLanguage(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(billingLanguage));
}
/**
- * Set the value of billingLocaleName using likeSearch. { like '%xxx%' }
+ * Set the value of billingLanguage using likeSearch. { like '%xxx%' }
* If the value is null or empty-string, this condition is ignored.
* You can invoke this method several times and the conditions are set up.
*
- * @param billingLocaleName The value of billingLocaleName as likeSearch.
+ * @param billingLanguage The value of billingLanguage as likeSearch.
* @param likeSearchOption The option of like-search. (NotNull)
*/
- public void setBillingLocaleName_LikeSearch(String billingLocaleName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
- registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(billingLocaleName), getCValueBillingLocaleName(), "BILLING_LOCALE_NAME", "BillingLocaleName", "billingLocaleName", likeSearchOption);
+ public void setBillingLanguage_LikeSearch(String billingLanguage, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+ registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(billingLanguage), getCValueBillingLanguage(), "BILLING_LANGUAGE", "BillingLanguage", "billingLanguage", likeSearchOption);
}
/**
- * Set the value of billingLocaleName using inScope. { in ('a', 'b') }
+ * Set the value of billingLanguage using inScope. { in ('a', 'b') }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param billingLocaleNameList The value of billingLocaleName as inScope.
+ * @param billingLanguageList The value of billingLanguage as inScope.
*/
- public void setBillingLocaleName_InScope(java.util.Collection billingLocaleNameList) {
- registerBillingLocaleName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(billingLocaleNameList)));
+ public void setBillingLanguage_InScope(java.util.Collection billingLanguageList) {
+ registerBillingLanguage(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(billingLanguageList)));
}
/**
- * Set the value of billingLocaleName using inScope. { in ('a', 'b') }
+ * Set the value of billingLanguage using inScope. { in ('a', 'b') }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param billingLocaleName The value of billingLocaleName as inScope.
+ * @param billingLanguage The value of billingLanguage as inScope.
* @param inScopeOption The option of in-scope. (NotNull)
*/
- public void setBillingLocaleName_InScope(String billingLocaleName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
- registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(billingLocaleName), getCValueBillingLocaleName(), "BILLING_LOCALE_NAME", "BillingLocaleName", "billingLocaleName", inScopeOption);
+ public void setBillingLanguage_InScope(String billingLanguage, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
+ registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(billingLanguage), getCValueBillingLanguage(), "BILLING_LANGUAGE", "BillingLanguage", "billingLanguage", inScopeOption);
}
/**
- * Set the value of billingLocaleName using notInScope. { not in ('a', 'b') }
+ * Set the value of billingLanguage using notInScope. { not in ('a', 'b') }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param billingLocaleNameList The value of billingLocaleName as notInScope.
+ * @param billingLanguageList The value of billingLanguage as notInScope.
*/
- public void setBillingLocaleName_NotInScope(java.util.Collection billingLocaleNameList) {
- registerBillingLocaleName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(billingLocaleNameList)));
+ public void setBillingLanguage_NotInScope(java.util.Collection billingLanguageList) {
+ registerBillingLanguage(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(billingLanguageList)));
}
/**
- * Register condition of billingLocaleName.
+ * Register condition of billingLanguage.
*
* @param key Condition key. (NotNull)
- * @param value The value of billingLocaleName. (Nullable)
+ * @param value The value of billingLanguage. (Nullable)
*/
- protected void registerBillingLocaleName(ConditionKey key, Object value) {
- registerQuery(key, value, getCValueBillingLocaleName(), "BILLING_LOCALE_NAME", "BillingLocaleName", "billingLocaleName");
+ protected void registerBillingLanguage(ConditionKey key, Object value) {
+ registerQuery(key, value, getCValueBillingLanguage(), "BILLING_LANGUAGE", "BillingLanguage", "billingLanguage");
}
/**
- * Register inline condition of billingLocaleName.
+ * Register inline condition of billingLanguage.
*
* @param key Condition key. (NotNull)
- * @param value The value of billingLocaleName. (Nullable)
+ * @param value The value of billingLanguage. (Nullable)
*/
- protected void registerInlineBillingLocaleName(ConditionKey key, Object value) {
- registerInlineQuery(key, value, getCValueBillingLocaleName(), "BILLING_LOCALE_NAME", "BillingLocaleName", "billingLocaleName");
+ protected void registerInlineBillingLanguage(ConditionKey key, Object value) {
+ registerInlineQuery(key, value, getCValueBillingLanguage(), "BILLING_LANGUAGE", "BillingLanguage", "billingLanguage");
}
- abstract protected ConditionValue getCValueBillingLocaleName();
+ abstract protected ConditionValue getCValueBillingLanguage();
/**
* Set the value of orderStatusId using equal. { = }
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderPaymentCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderPaymentCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrderPaymentCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -660,117 +660,6 @@
}
abstract protected ConditionValue getCValuePaymentStatusId();
-
- /**
- * Set the value of updatedDate using equal. { = }
- *
- * @param updatedDate The value of updatedDate as equal.
- */
- public void setUpdatedDate_Equal(java.sql.Timestamp updatedDate) {
- registerUpdatedDate(ConditionKey.CK_EQUAL, updatedDate);
- }
-
- /**
- * Set the value of updatedDate using notEqual. { != }
- *
- * @param updatedDate The value of updatedDate as notEqual.
- */
- public void setUpdatedDate_NotEqual(java.sql.Timestamp updatedDate) {
- registerUpdatedDate(ConditionKey.CK_NOT_EQUAL, updatedDate);
- }
-
- /**
- * Set the value of updatedDate using greaterThan. { > }
- *
- * @param updatedDate The value of updatedDate as greaterThan.
- */
- public void setUpdatedDate_GreaterThan(java.sql.Timestamp updatedDate) {
- registerUpdatedDate(ConditionKey.CK_GREATER_THAN, updatedDate);
- }
-
- /**
- * Set the value of updatedDate using lessThan. { < }
- *
- * @param updatedDate The value of updatedDate as lessThan.
- */
- public void setUpdatedDate_LessThan(java.sql.Timestamp updatedDate) {
- registerUpdatedDate(ConditionKey.CK_LESS_THAN, updatedDate);
- }
-
- /**
- * Set the value of updatedDate using greaterEqual. { >= }
- *
- * @param updatedDate The value of updatedDate as greaterEqual.
- */
- public void setUpdatedDate_GreaterEqual(java.sql.Timestamp updatedDate) {
- registerUpdatedDate(ConditionKey.CK_GREATER_EQUAL, updatedDate);
- }
-
- /**
- * Set the value of updatedDate using lessEqual. { <= }
- *
- * @param updatedDate The value of updatedDate as lessEqual.
- */
- public void setUpdatedDate_LessEqual(java.sql.Timestamp updatedDate) {
- registerUpdatedDate(ConditionKey.CK_LESS_EQUAL, updatedDate);
- }
-
- /**
- * Set the value of updatedDate using from-to. { $fromDate <= COLUMN_NAME <= $toDate }
- *
- * @param fromDate The from-date of updatedDate. (Nullable)
- * @param toDate The to-date of updatedDate. (Nullable)
- * @param fromToOption The option of from-to. (NotNull)
- */
- public void setUpdatedDate_FromTo(java.util.Date fromDate, java.util.Date toDate, jp.sf.pal.pompei.allcommon.cbean.coption.FromToOption fromToOption) {
- registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate.getTime()) : null), (toDate != null ? new java.sql.Timestamp(toDate.getTime()) : null), getCValueUpdatedDate(), "UPDATED_DATE", "UpdatedDate", "updatedDate", fromToOption);
- }
-
- /**
- * Set the value of updatedDate using from-to as date. { $fromDate <= COLUMN_NAME < $toDate + 1 }
- *
- * @param fromDate The from-date of updatedDate. (Nullable)
- * @param toDate The to-date of updatedDate. (Nullable)
- */
- public void setUpdatedDate_DateFromTo(java.util.Date fromDate, java.util.Date toDate) {
- setUpdatedDate_FromTo(fromDate, toDate, new jp.sf.pal.pompei.allcommon.cbean.coption.DateFromToOption());
- }
-
- /**
- * Set the value of updatedDate using isNull. { is null }
- */
- public void setUpdatedDate_IsNull() {
- registerUpdatedDate(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
- }
-
- /**
- * Set the value of updatedDate using isNotNull. { is not null }
- */
- public void setUpdatedDate_IsNotNull() {
- registerUpdatedDate(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
- }
-
- /**
- * Register condition of updatedDate.
- *
- * @param key Condition key. (NotNull)
- * @param value The value of updatedDate. (Nullable)
- */
- protected void registerUpdatedDate(ConditionKey key, Object value) {
- registerQuery(key, value, getCValueUpdatedDate(), "UPDATED_DATE", "UpdatedDate", "updatedDate");
- }
-
- /**
- * Register inline condition of updatedDate.
- *
- * @param key Condition key. (NotNull)
- * @param value The value of updatedDate. (Nullable)
- */
- protected void registerInlineUpdatedDate(ConditionKey key, Object value) {
- registerInlineQuery(key, value, getCValueUpdatedDate(), "UPDATED_DATE", "UpdatedDate", "updatedDate");
- }
-
- abstract protected ConditionValue getCValueUpdatedDate();
/**
* Set the value of subTotalPrice using equal. { = }
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -620,155 +620,102 @@
}
abstract protected ConditionValue getCValueProductId();
-
+
/**
- * Set the value of model using equal. { = }
- * If the value is null or empty-string, this condition is ignored.
+ * Set the value of productMode using equal. { = }
*
- * @param model The value of model as equal.
+ * @param productMode The value of productMode as equal.
*/
- public void setModel_Equal(String model) {
- registerModel(ConditionKey.CK_EQUAL, filterRemoveEmptyString(model));
+ public void setProductMode_Equal(java.math.BigDecimal productMode) {
+ registerProductMode(ConditionKey.CK_EQUAL, productMode);
}
-
+
/**
- * Set the value of model using notEqual. { != }
- * If the value is null or empty-string, this condition is ignored.
+ * Set the value of productMode using notEqual. { != }
*
- * @param model The value of model as notEqual.
+ * @param productMode The value of productMode as notEqual.
*/
- public void setModel_NotEqual(String model) {
- registerModel(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(model));
+ public void setProductMode_NotEqual(java.math.BigDecimal productMode) {
+ registerProductMode(ConditionKey.CK_NOT_EQUAL, productMode);
}
/**
- * Set the value of model using greaterThan. { > }
- * If the value is null or empty-string, this condition is ignored.
+ * Set the value of productMode using greaterThan. { > }
*
- * @param model The value of model as greaterThan.
+ * @param productMode The value of productMode as greaterThan.
*/
- public void setModel_GreaterThan(String model) {
- registerModel(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(model));
+ public void setProductMode_GreaterThan(java.math.BigDecimal productMode) {
+ registerProductMode(ConditionKey.CK_GREATER_THAN, productMode);
}
/**
- * Set the value of model using lessThan. { < }
- * If the value is null or empty-string, this condition is ignored.
+ * Set the value of productMode using lessThan. { < }
*
- * @param model The value of model as lessThan.
+ * @param productMode The value of productMode as lessThan.
*/
- public void setModel_LessThan(String model) {
- registerModel(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(model));
+ public void setProductMode_LessThan(java.math.BigDecimal productMode) {
+ registerProductMode(ConditionKey.CK_LESS_THAN, productMode);
}
/**
- * Set the value of model using greaterEqual. { >= }
- * If the value is null or empty-string, this condition is ignored.
+ * Set the value of productMode using greaterEqual. { >= }
*
- * @param model The value of model as greaterEqual.
+ * @param productMode The value of productMode as greaterEqual.
*/
- public void setModel_GreaterEqual(String model) {
- registerModel(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(model));
+ public void setProductMode_GreaterEqual(java.math.BigDecimal productMode) {
+ registerProductMode(ConditionKey.CK_GREATER_EQUAL, productMode);
}
/**
- * Set the value of model using lessEqual. { <= }
- * If the value is null or empty-string, this condition is ignored.
+ * Set the value of productMode using lessEqual. { <= }
*
- * @param model The value of model as lessEqual.
+ * @param productMode The value of productMode as lessEqual.
*/
- public void setModel_LessEqual(String model) {
- registerModel(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(model));
+ public void setProductMode_LessEqual(java.math.BigDecimal productMode) {
+ registerProductMode(ConditionKey.CK_LESS_EQUAL, productMode);
}
-
+
/**
- * Set the value of model using prefixSearch. { like 'xxx%' }
- * If the value is null or empty-string, this condition is ignored.
- *
- * @param model The value of model as prefixSearch.
- */
- public void setModel_PrefixSearch(String model) {
- registerModel(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(model));
- }
-
- /**
- * Set the value of model using likeSearch. { like '%xxx%' }
- * If the value is null or empty-string, this condition is ignored.
- * You can invoke this method several times and the conditions are set up.
- *
- * @param model The value of model as likeSearch.
- * @param likeSearchOption The option of like-search. (NotNull)
- */
- public void setModel_LikeSearch(String model, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
- registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(model), getCValueModel(), "MODEL", "Model", "model", likeSearchOption);
- }
-
- /**
- * Set the value of model using inScope. { in ('a', 'b') }
+ * Set the value of productMode using inScope. { in (a, b) }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param modelList The value of model as inScope.
+ * @param productModeList The value of productMode as inScope.
*/
- public void setModel_InScope(java.util.Collection modelList) {
- registerModel(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(modelList)));
+ public void setProductMode_InScope(java.util.Collection productModeList) {
+ registerProductMode(ConditionKey.CK_IN_SCOPE, convertToList(productModeList));
}
-
- /**
- * Set the value of model using inScope. { in ('a', 'b') }
- * If the element in the collection is null or empty-string, the condition-element is ignored.
- *
- * @param model The value of model as inScope.
- * @param inScopeOption The option of in-scope. (NotNull)
- */
- public void setModel_InScope(String model, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
- registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(model), getCValueModel(), "MODEL", "Model", "model", inScopeOption);
- }
/**
- * Set the value of model using notInScope. { not in ('a', 'b') }
+ * Set the value of productMode using notInScope. { not in (a, b) }
* If the element in the collection is null or empty-string, the condition-element is ignored.
*
- * @param modelList The value of model as notInScope.
+ * @param productModeList The value of productMode as notInScope.
*/
- public void setModel_NotInScope(java.util.Collection modelList) {
- registerModel(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(modelList)));
+ public void setProductMode_NotInScope(java.util.Collection productModeList) {
+ registerProductMode(ConditionKey.CK_NOT_IN_SCOPE, convertToList(productModeList));
}
/**
- * Set the value of model using isNull. { is null }
- */
- public void setModel_IsNull() {
- registerModel(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
- }
-
- /**
- * Set the value of model using isNotNull. { is not null }
- */
- public void setModel_IsNotNull() {
- registerModel(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
- }
-
- /**
- * Register condition of model.
+ * Register condition of productMode.
*
* @param key Condition key. (NotNull)
- * @param value The value of model. (Nullable)
+ * @param value The value of productMode. (Nullable)
*/
- protected void registerModel(ConditionKey key, Object value) {
- registerQuery(key, value, getCValueModel(), "MODEL", "Model", "model");
+ protected void registerProductMode(ConditionKey key, Object value) {
+ registerQuery(key, value, getCValueProductMode(), "PRODUCT_MODE", "ProductMode", "productMode");
}
/**
- * Register inline condition of model.
+ * Register inline condition of productMode.
*
* @param key Condition key. (NotNull)
- * @param value The value of model. (Nullable)
+ * @param value The value of productMode. (Nullable)
*/
- protected void registerInlineModel(ConditionKey key, Object value) {
- registerInlineQuery(key, value, getCValueModel(), "MODEL", "Model", "model");
+ protected void registerInlineProductMode(ConditionKey key, Object value) {
+ registerInlineQuery(key, value, getCValueProductMode(), "PRODUCT_MODE", "ProductMode", "productMode");
}
- abstract protected ConditionValue getCValueModel();
+ abstract protected ConditionValue getCValueProductMode();
/**
* Set the value of code using equal. { = }
@@ -904,6 +851,155 @@
}
abstract protected ConditionValue getCValueCode();
+
+ /**
+ * Set the value of model using equal. { = }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as equal.
+ */
+ public void setModel_Equal(String model) {
+ registerModel(ConditionKey.CK_EQUAL, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using notEqual. { != }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as notEqual.
+ */
+ public void setModel_NotEqual(String model) {
+ registerModel(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using greaterThan. { > }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as greaterThan.
+ */
+ public void setModel_GreaterThan(String model) {
+ registerModel(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using lessThan. { < }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as lessThan.
+ */
+ public void setModel_LessThan(String model) {
+ registerModel(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using greaterEqual. { >= }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as greaterEqual.
+ */
+ public void setModel_GreaterEqual(String model) {
+ registerModel(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using lessEqual. { <= }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as lessEqual.
+ */
+ public void setModel_LessEqual(String model) {
+ registerModel(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using prefixSearch. { like 'xxx%' }
+ * If the value is null or empty-string, this condition is ignored.
+ *
+ * @param model The value of model as prefixSearch.
+ */
+ public void setModel_PrefixSearch(String model) {
+ registerModel(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(model));
+ }
+
+ /**
+ * Set the value of model using likeSearch. { like '%xxx%' }
+ * If the value is null or empty-string, this condition is ignored.
+ * You can invoke this method several times and the conditions are set up.
+ *
+ * @param model The value of model as likeSearch.
+ * @param likeSearchOption The option of like-search. (NotNull)
+ */
+ public void setModel_LikeSearch(String model, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+ registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(model), getCValueModel(), "MODEL", "Model", "model", likeSearchOption);
+ }
+
+ /**
+ * Set the value of model using inScope. { in ('a', 'b') }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param modelList The value of model as inScope.
+ */
+ public void setModel_InScope(java.util.Collection modelList) {
+ registerModel(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(modelList)));
+ }
+
+ /**
+ * Set the value of model using inScope. { in ('a', 'b') }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param model The value of model as inScope.
+ * @param inScopeOption The option of in-scope. (NotNull)
+ */
+ public void setModel_InScope(String model, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
+ registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(model), getCValueModel(), "MODEL", "Model", "model", inScopeOption);
+ }
+
+ /**
+ * Set the value of model using notInScope. { not in ('a', 'b') }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param modelList The value of model as notInScope.
+ */
+ public void setModel_NotInScope(java.util.Collection modelList) {
+ registerModel(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(convertToList(modelList)));
+ }
+
+ /**
+ * Set the value of model using isNull. { is null }
+ */
+ public void setModel_IsNull() {
+ registerModel(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
+ }
+
+ /**
+ * Set the value of model using isNotNull. { is not null }
+ */
+ public void setModel_IsNotNull() {
+ registerModel(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
+ }
+
+ /**
+ * Register condition of model.
+ *
+ * @param key Condition key. (NotNull)
+ * @param value The value of model. (Nullable)
+ */
+ protected void registerModel(ConditionKey key, Object value) {
+ registerQuery(key, value, getCValueModel(), "MODEL", "Model", "model");
+ }
+
+ /**
+ * Register inline condition of model.
+ *
+ * @param key Condition key. (NotNull)
+ * @param value The value of model. (Nullable)
+ */
+ protected void registerInlineModel(ConditionKey key, Object value) {
+ registerInlineQuery(key, value, getCValueModel(), "MODEL", "Model", "model");
+ }
+
+ abstract protected ConditionValue getCValueModel();
/**
* Set the value of stock using equal. { = }
@@ -1016,6 +1112,116 @@
abstract protected ConditionValue getCValueStock();
/**
+ * Set the value of catalogPrice using equal. { = }
+ *
+ * @param catalogPrice The value of catalogPrice as equal.
+ */
+ public void setCatalogPrice_Equal(java.math.BigDecimal catalogPrice) {
+ registerCatalogPrice(ConditionKey.CK_EQUAL, catalogPrice);
+ }
+
+ /**
+ * Set the value of catalogPrice using notEqual. { != }
+ *
+ * @param catalogPrice The value of catalogPrice as notEqual.
+ */
+ public void setCatalogPrice_NotEqual(java.math.BigDecimal catalogPrice) {
+ registerCatalogPrice(ConditionKey.CK_NOT_EQUAL, catalogPrice);
+ }
+
+ /**
+ * Set the value of catalogPrice using greaterThan. { > }
+ *
+ * @param catalogPrice The value of catalogPrice as greaterThan.
+ */
+ public void setCatalogPrice_GreaterThan(java.math.BigDecimal catalogPrice) {
+ registerCatalogPrice(ConditionKey.CK_GREATER_THAN, catalogPrice);
+ }
+
+ /**
+ * Set the value of catalogPrice using lessThan. { < }
+ *
+ * @param catalogPrice The value of catalogPrice as lessThan.
+ */
+ public void setCatalogPrice_LessThan(java.math.BigDecimal catalogPrice) {
+ registerCatalogPrice(ConditionKey.CK_LESS_THAN, catalogPrice);
+ }
+
+ /**
+ * Set the value of catalogPrice using greaterEqual. { >= }
+ *
+ * @param catalogPrice The value of catalogPrice as greaterEqual.
+ */
+ public void setCatalogPrice_GreaterEqual(java.math.BigDecimal catalogPrice) {
+ registerCatalogPrice(ConditionKey.CK_GREATER_EQUAL, catalogPrice);
+ }
+
+ /**
+ * Set the value of catalogPrice using lessEqual. { <= }
+ *
+ * @param catalogPrice The value of catalogPrice as lessEqual.
+ */
+ public void setCatalogPrice_LessEqual(java.math.BigDecimal catalogPrice) {
+ registerCatalogPrice(ConditionKey.CK_LESS_EQUAL, catalogPrice);
+ }
+
+ /**
+ * Set the value of catalogPrice using inScope. { in (a, b) }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param catalogPriceList The value of catalogPrice as inScope.
+ */
+ public void setCatalogPrice_InScope(java.util.Collection catalogPriceList) {
+ registerCatalogPrice(ConditionKey.CK_IN_SCOPE, convertToList(catalogPriceList));
+ }
+
+ /**
+ * Set the value of catalogPrice using notInScope. { not in (a, b) }
+ * If the element in the collection is null or empty-string, the condition-element is ignored.
+ *
+ * @param catalogPriceList The value of catalogPrice as notInScope.
+ */
+ public void setCatalogPrice_NotInScope(java.util.Collection catalogPriceList) {
+ registerCatalogPrice(ConditionKey.CK_NOT_IN_SCOPE, convertToList(catalogPriceList));
+ }
+
+ /**
+ * Set the value of catalogPrice using isNull. { is null }
+ */
+ public void setCatalogPrice_IsNull() {
+ registerCatalogPrice(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
+ }
+
+ /**
+ * Set the value of catalogPrice using isNotNull. { is not null }
+ */
+ public void setCatalogPrice_IsNotNull() {
+ registerCatalogPrice(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
+ }
+
+ /**
+ * Register condition of catalogPrice.
+ *
+ * @param key Condition key. (NotNull)
+ * @param value The value of catalogPrice. (Nullable)
+ */
+ protected void registerCatalogPrice(ConditionKey key, Object value) {
+ registerQuery(key, value, getCValueCatalogPrice(), "CATALOG_PRICE", "CatalogPrice", "catalogPrice");
+ }
+
+ /**
+ * Register inline condition of catalogPrice.
+ *
+ * @param key Condition key. (NotNull)
+ * @param value The value of catalogPrice. (Nullable)
+ */
+ protected void registerInlineCatalogPrice(ConditionKey key, Object value) {
+ registerInlineQuery(key, value, getCValueCatalogPrice(), "CATALOG_PRICE", "CatalogPrice", "catalogPrice");
+ }
+
+ abstract protected ConditionValue getCValueCatalogPrice();
+
+ /**
* Set the value of price using equal. { = }
*
* @param price The value of price as equal.
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoryCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoryCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoryCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -78,6 +78,8 @@
public void includeAsMine_CategoryId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("CATEGORY_ID")); }
public void includeAsMine_ParentCategoryId() { registerIncludedSelectColumn("ParentCategoryId", getRealColumnName("PARENT_CATEGORY_ID")); }
public void includeAsMine_ParentCategoryId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("PARENT_CATEGORY_ID")); }
+ public void includeAsMine_FileDataId() { registerIncludedSelectColumn("FileDataId", getRealColumnName("FILE_DATA_ID")); }
+ public void includeAsMine_FileDataId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("FILE_DATA_ID")); }
public void includeAsMine_NumOfProduct() { registerIncludedSelectColumn("NumOfProduct", getRealColumnName("NUM_OF_PRODUCT")); }
public void includeAsMine_NumOfProduct(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("NUM_OF_PRODUCT")); }
public void includeAsMine_Status() { registerIncludedSelectColumn("Status", getRealColumnName("STATUS")); }
@@ -385,6 +387,67 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
+ // Column = [FILE_DATA_ID]
+ // - - - - - - - - -/
+
+ /** The attribute of fileDataId. */
+ protected ConditionValue _fileDataId;
+
+ /**
+ * Get the value of fileDataId.
+ *
+ * @return The value of fileDataId.
+ */
+ public ConditionValue getFileDataId() {
+ if (_fileDataId == null) {
+ _fileDataId = new ConditionValue();
+ }
+ return _fileDataId;
+ }
+
+ protected ConditionValue getCValueFileDataId() {
+ return getFileDataId();
+ }
+
+
+ /** The sub-query of FileDataId_InScopeSubQuery_FileData using inScopeSubQuery. */
+ protected java.util.Map _fileDataId_InScopeSubQuery_FileDataMap;
+
+ /**
+ * Get the sub-query of FileDataId_InScopeSubQuery_FileData using inScopeSubQuery.
+ *
+ * @return The sub-query of FileDataId_InScopeSubQuery_FileData using inScopeSubQuery. (Nullable)
+ */
+ public java.util.Map getFileDataId_InScopeSubQuery_FileData() {
+ return _fileDataId_InScopeSubQuery_FileDataMap;
+ }
+
+ public String keepFileDataId_InScopeSubQuery_FileData(jp.sf.pal.pompei.cbean.cq.FileDataCQ subQuery) {
+ if (_fileDataId_InScopeSubQuery_FileDataMap == null) { _fileDataId_InScopeSubQuery_FileDataMap = new java.util.LinkedHashMap(); }
+ final String key = "subQueryMapKey" + (_fileDataId_InScopeSubQuery_FileDataMap.size() + 1);
+ _fileDataId_InScopeSubQuery_FileDataMap.put(key, subQuery);
+ return "fileDataId_InScopeSubQuery_FileData." + key;
+ }
+
+ /**
+ * Add order-by of fileDataId as ASC.
+ *
+ * @return this. (NotNull)
+ */
+ public BsCategoryCQ addOrderBy_FileDataId_Asc() {
+ getSqlClause().registerOrderBy(getRealColumnName("FILE_DATA_ID"), null, true);return this;
+ }
+
+ /**
+ * Add order-by of fileDataId as DESC.
+ *
+ * @return this. (NotNull)
+ */
+ public BsCategoryCQ addOrderBy_FileDataId_Desc() {
+ getSqlClause().registerOrderBy(getRealColumnName("FILE_DATA_ID"), null, false);return this;
+ }
+
+ // /- - - - - - - - - - - - - - - - - - - - - - -
// Column = [NUM_OF_PRODUCT]
// - - - - - - - - -/
@@ -561,6 +624,9 @@
if (baseQuery.hasConditionQueryCategorySelf()) {
unionQuery.queryCategorySelf().reflectRelationOnUnionQuery(baseQuery.queryCategorySelf(), unionQuery.queryCategorySelf());
}
+ if (baseQuery.hasConditionQueryFileData()) {
+ unionQuery.queryFileData().reflectRelationOnUnionQuery(baseQuery.queryFileData(), unionQuery.queryFileData());
+ }
if (baseQuery.hasConditionQueryCategoryPageInfoAsOne()) {
unionQuery.queryCategoryPageInfoAsOne().reflectRelationOnUnionQuery(baseQuery.queryCategoryPageInfoAsOne(), unionQuery.queryCategoryPageInfoAsOne());
}
@@ -636,8 +702,74 @@
public boolean hasConditionQueryCategorySelf() {
return _conditionQueryCategorySelf != null;
}
+
+ // /* * * * * * * * * * * * * * * * * * * * * * *
+ // ForeignTable = [FILE_DATA(TABLE)]
+ // ForeignProperty = [fileData]
+ // * * * * * * * * */
+ /**
+ * Query for fileData.
+ *
+ * @return Instance of jp.sf.pal.pompei.cbean.cq.FileDataCQ as fileData. (NotNull)
+ */
+ public jp.sf.pal.pompei.cbean.cq.FileDataCQ queryFileData() {
+ return getConditionQueryFileData();
+ }
+ /** Condition-query for fileData. */
+ protected jp.sf.pal.pompei.cbean.cq.FileDataCQ _conditionQueryFileData;
+
+ /**
+ * Get condition-query for fileData.
+ *
+ * @return Instance of jp.sf.pal.pompei.cbean.cq.FileDataCQ as fileData. (NotNull)
+ */
+ public jp.sf.pal.pompei.cbean.cq.FileDataCQ getConditionQueryFileData() {
+ if (_conditionQueryFileData == null) {
+ _conditionQueryFileData = createQueryFileData();
+ setupOuterJoin_FileData();
+ }
+ return _conditionQueryFileData;
+ }
+
+ /**
+ * Setup outer join for ${foreignJavaBeansRulePropertyName}.
+ */
+ protected void setupOuterJoin_FileData() {
+ final java.util.Map joinOnMap = new java.util.LinkedHashMap();
+ joinOnMap.put(getRealColumnName("FILE_DATA_ID"), getConditionQueryFileData().getRealColumnName("FILE_DATA_ID"));
+ getSqlClause().registerOuterJoin("FILE_DATA", getConditionQueryFileData().getRealAliasName(), joinOnMap);
+ }
+
+ /**
+ * Create query for fileData.
+ *
+ * @return Query for fileData. (NotNull)
+ */
+ protected jp.sf.pal.pompei.cbean.cq.FileDataCQ createQueryFileData() {
+ final String nextRelationPath = resolveNextRelationPathFileData();
+ final String resolvedAliasName = resolveJoinAliasName(nextRelationPath, getNextNestLevel());
+ final jp.sf.pal.pompei.cbean.cq.FileDataCQ cq = new jp.sf.pal.pompei.cbean.cq.FileDataCQ(this, getSqlClause(), resolvedAliasName, getNextNestLevel());
+ cq.xsetForeignPropertyName("fileData");
+ cq.xsetRelationPath(nextRelationPath);
+ return cq;
+ }
+
+ protected String resolveNextRelationPathFileData() {
+ return resolveNextRelationPath("CATEGORY", "fileData");
+ }
+
+ /**
+ * Has condition query?
+ *
+ * @return Determination.
+ */
+ public boolean hasConditionQueryFileData() {
+ return _conditionQueryFileData != null;
+ }
+
+
// /* * * * * * * * * * * * * * * * * * * * * * * {as one}
// ReferrerTable = [CATEGORY_PAGE_INFO(TABLE)]
// ReferrerProperty = [categoryPageInfoAsOne]
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsFileDataCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsFileDataCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsFileDataCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -113,6 +113,25 @@
}
+ /** The sub-query of FileDataId_InScopeSubQuery_CategoryList using inScopeSubQuery. */
+ protected java.util.Map _fileDataId_InScopeSubQuery_CategoryListMap;
+
+ /**
+ * Get the sub-query of FileDataId_InScopeSubQuery_CategoryList using inScopeSubQuery.
+ *
+ * @return The sub-query of FileDataId_InScopeSubQuery_CategoryList using inScopeSubQuery. (Nullable)
+ */
+ public java.util.Map getFileDataId_InScopeSubQuery_CategoryList() {
+ return _fileDataId_InScopeSubQuery_CategoryListMap;
+ }
+
+ public String keepFileDataId_InScopeSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ subQuery) {
+ if (_fileDataId_InScopeSubQuery_CategoryListMap == null) { _fileDataId_InScopeSubQuery_CategoryListMap = new java.util.LinkedHashMap(); }
+ final String key = "subQueryMapKey" + (_fileDataId_InScopeSubQuery_CategoryListMap.size() + 1);
+ _fileDataId_InScopeSubQuery_CategoryListMap.put(key, subQuery);
+ return "fileDataId_InScopeSubQuery_CategoryList." + key;
+ }
+
/** The sub-query of FileDataId_InScopeSubQuery_FileTagToFileDataList using inScopeSubQuery. */
protected java.util.Map _fileDataId_InScopeSubQuery_FileTagToFileDataListMap;
@@ -189,6 +208,25 @@
return "fileDataId_InScopeSubQuery_ProductList." + key;
}
+ /** The sub-query of FileDataId_ExistsSubQuery_CategoryList using existsSubQuery. */
+ protected java.util.Map _fileDataId_ExistsSubQuery_CategoryListMap;
+
+ /**
+ * Get the sub-query of FileDataId_ExistsSubQuery_CategoryList using existsSubQuery.
+ *
+ * @return The sub-query of FileDataId_ExistsSubQuery_CategoryList using existsSubQuery. (Nullable)
+ */
+ public java.util.Map getFileDataId_ExistsSubQuery_CategoryList() {
+ return _fileDataId_ExistsSubQuery_CategoryListMap;
+ }
+
+ public String keepFileDataId_ExistsSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ subQuery) {
+ if (_fileDataId_ExistsSubQuery_CategoryListMap == null) { _fileDataId_ExistsSubQuery_CategoryListMap = new java.util.LinkedHashMap(); }
+ final String key = "subQueryMapKey" + (_fileDataId_ExistsSubQuery_CategoryListMap.size() + 1);
+ _fileDataId_ExistsSubQuery_CategoryListMap.put(key, subQuery);
+ return "fileDataId_ExistsSubQuery_CategoryList." + key;
+ }
+
/** The sub-query of FileDataId_ExistsSubQuery_FileTagToFileDataList using existsSubQuery. */
protected java.util.Map _fileDataId_ExistsSubQuery_FileTagToFileDataListMap;
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsManufacturerDescriptionCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsManufacturerDescriptionCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsManufacturerDescriptionCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -78,8 +78,8 @@
public void includeAsMine_ManufacturerDescriptionId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("MANUFACTURER_DESCRIPTION_ID")); }
public void includeAsMine_ManufacturerId() { registerIncludedSelectColumn("ManufacturerId", getRealColumnName("MANUFACTURER_ID")); }
public void includeAsMine_ManufacturerId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("MANUFACTURER_ID")); }
- public void includeAsMine_Content() { registerIncludedSelectColumn("Content", getRealColumnName("CONTENT")); }
- public void includeAsMine_Content(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("CONTENT")); }
+ public void includeAsMine_Description() { registerIncludedSelectColumn("Description", getRealColumnName("DESCRIPTION")); }
+ public void includeAsMine_Description(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("DESCRIPTION")); }
public void includeAsMine_Language() { registerIncludedSelectColumn("Language", getRealColumnName("LANGUAGE")); }
public void includeAsMine_Language(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE")); }
@@ -191,45 +191,45 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
- // Column = [CONTENT]
+ // Column = [DESCRIPTION]
// - - - - - - - - -/
- /** The attribute of content. */
- protected ConditionValue _content;
+ /** The attribute of description. */
+ protected ConditionValue _description;
/**
- * Get the value of content.
+ * Get the value of description.
*
- * @return The value of content.
+ * @return The value of description.
*/
- public ConditionValue getContent() {
- if (_content == null) {
- _content = new ConditionValue();
+ public ConditionValue getDescription() {
+ if (_description == null) {
+ _description = new ConditionValue();
}
- return _content;
+ return _description;
}
- protected ConditionValue getCValueContent() {
- return getContent();
+ protected ConditionValue getCValueDescription() {
+ return getDescription();
}
/**
- * Add order-by of content as ASC.
+ * Add order-by of description as ASC.
*
* @return this. (NotNull)
*/
- public BsManufacturerDescriptionCQ addOrderBy_Content_Asc() {
- getSqlClause().registerOrderBy(getRealColumnName("CONTENT"), null, true);return this;
+ public BsManufacturerDescriptionCQ addOrderBy_Description_Asc() {
+ getSqlClause().registerOrderBy(getRealColumnName("DESCRIPTION"), null, true);return this;
}
/**
- * Add order-by of content as DESC.
+ * Add order-by of description as DESC.
*
* @return this. (NotNull)
*/
- public BsManufacturerDescriptionCQ addOrderBy_Content_Desc() {
- getSqlClause().registerOrderBy(getRealColumnName("CONTENT"), null, false);return this;
+ public BsManufacturerDescriptionCQ addOrderBy_Description_Desc() {
+ getSqlClause().registerOrderBy(getRealColumnName("DESCRIPTION"), null, false);return this;
}
// /- - - - - - - - - - - - - - - - - - - - - - -
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderFormCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderFormCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderFormCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -140,8 +140,8 @@
public void includeAsMine_BillingTelephone(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("BILLING_TELEPHONE")); }
public void includeAsMine_BillingCountryCode() { registerIncludedSelectColumn("BillingCountryCode", getRealColumnName("BILLING_COUNTRY_CODE")); }
public void includeAsMine_BillingCountryCode(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("BILLING_COUNTRY_CODE")); }
- public void includeAsMine_BillingLocaleName() { registerIncludedSelectColumn("BillingLocaleName", getRealColumnName("BILLING_LOCALE_NAME")); }
- public void includeAsMine_BillingLocaleName(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("BILLING_LOCALE_NAME")); }
+ public void includeAsMine_BillingLanguage() { registerIncludedSelectColumn("BillingLanguage", getRealColumnName("BILLING_LANGUAGE")); }
+ public void includeAsMine_BillingLanguage(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("BILLING_LANGUAGE")); }
public void includeAsMine_OrderStatusId() { registerIncludedSelectColumn("OrderStatusId", getRealColumnName("ORDER_STATUS_ID")); }
public void includeAsMine_OrderStatusId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("ORDER_STATUS_ID")); }
public void includeAsMine_UpdatedDate() { registerIncludedSelectColumn("UpdatedDate", getRealColumnName("UPDATED_DATE")); }
@@ -1751,45 +1751,45 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
- // Column = [BILLING_LOCALE_NAME]
+ // Column = [BILLING_LANGUAGE]
// - - - - - - - - -/
- /** The attribute of billingLocaleName. */
- protected ConditionValue _billingLocaleName;
+ /** The attribute of billingLanguage. */
+ protected ConditionValue _billingLanguage;
/**
- * Get the value of billingLocaleName.
+ * Get the value of billingLanguage.
*
- * @return The value of billingLocaleName.
+ * @return The value of billingLanguage.
*/
- public ConditionValue getBillingLocaleName() {
- if (_billingLocaleName == null) {
- _billingLocaleName = new ConditionValue();
+ public ConditionValue getBillingLanguage() {
+ if (_billingLanguage == null) {
+ _billingLanguage = new ConditionValue();
}
- return _billingLocaleName;
+ return _billingLanguage;
}
- protected ConditionValue getCValueBillingLocaleName() {
- return getBillingLocaleName();
+ protected ConditionValue getCValueBillingLanguage() {
+ return getBillingLanguage();
}
/**
- * Add order-by of billingLocaleName as ASC.
+ * Add order-by of billingLanguage as ASC.
*
* @return this. (NotNull)
*/
- public BsOrderFormCQ addOrderBy_BillingLocaleName_Asc() {
- getSqlClause().registerOrderBy(getRealColumnName("BILLING_LOCALE_NAME"), null, true);return this;
+ public BsOrderFormCQ addOrderBy_BillingLanguage_Asc() {
+ getSqlClause().registerOrderBy(getRealColumnName("BILLING_LANGUAGE"), null, true);return this;
}
/**
- * Add order-by of billingLocaleName as DESC.
+ * Add order-by of billingLanguage as DESC.
*
* @return this. (NotNull)
*/
- public BsOrderFormCQ addOrderBy_BillingLocaleName_Desc() {
- getSqlClause().registerOrderBy(getRealColumnName("BILLING_LOCALE_NAME"), null, false);return this;
+ public BsOrderFormCQ addOrderBy_BillingLanguage_Desc() {
+ getSqlClause().registerOrderBy(getRealColumnName("BILLING_LANGUAGE"), null, false);return this;
}
// /- - - - - - - - - - - - - - - - - - - - - - -
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderPaymentCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderPaymentCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrderPaymentCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -84,8 +84,6 @@
public void includeAsMine_OrderCardInfoId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("ORDER_CARD_INFO_ID")); }
public void includeAsMine_PaymentStatusId() { registerIncludedSelectColumn("PaymentStatusId", getRealColumnName("PAYMENT_STATUS_ID")); }
public void includeAsMine_PaymentStatusId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("PAYMENT_STATUS_ID")); }
- public void includeAsMine_UpdatedDate() { registerIncludedSelectColumn("UpdatedDate", getRealColumnName("UPDATED_DATE")); }
- public void includeAsMine_UpdatedDate(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("UPDATED_DATE")); }
public void includeAsMine_SubTotalPrice() { registerIncludedSelectColumn("SubTotalPrice", getRealColumnName("SUB_TOTAL_PRICE")); }
public void includeAsMine_SubTotalPrice(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("SUB_TOTAL_PRICE")); }
public void includeAsMine_Tax() { registerIncludedSelectColumn("Tax", getRealColumnName("TAX")); }
@@ -369,48 +367,6 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
- // Column = [UPDATED_DATE]
- // - - - - - - - - -/
-
- /** The attribute of updatedDate. */
- protected ConditionValue _updatedDate;
-
- /**
- * Get the value of updatedDate.
- *
- * @return The value of updatedDate.
- */
- public ConditionValue getUpdatedDate() {
- if (_updatedDate == null) {
- _updatedDate = new ConditionValue();
- }
- return _updatedDate;
- }
-
- protected ConditionValue getCValueUpdatedDate() {
- return getUpdatedDate();
- }
-
-
- /**
- * Add order-by of updatedDate as ASC.
- *
- * @return this. (NotNull)
- */
- public BsOrderPaymentCQ addOrderBy_UpdatedDate_Asc() {
- getSqlClause().registerOrderBy(getRealColumnName("UPDATED_DATE"), null, true);return this;
- }
-
- /**
- * Add order-by of updatedDate as DESC.
- *
- * @return this. (NotNull)
- */
- public BsOrderPaymentCQ addOrderBy_UpdatedDate_Desc() {
- getSqlClause().registerOrderBy(getRealColumnName("UPDATED_DATE"), null, false);return this;
- }
-
- // /- - - - - - - - - - - - - - - - - - - - - - -
// Column = [SUB_TOTAL_PRICE]
// - - - - - - - - -/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductCQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductCQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductCQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -76,12 +76,16 @@
//
public void includeAsMine_ProductId() { registerIncludedSelectColumn("ProductId", getRealColumnName("PRODUCT_ID")); }
public void includeAsMine_ProductId(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCT_ID")); }
+ public void includeAsMine_ProductMode() { registerIncludedSelectColumn("ProductMode", getRealColumnName("PRODUCT_MODE")); }
+ public void includeAsMine_ProductMode(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCT_MODE")); }
+ public void includeAsMine_Code() { registerIncludedSelectColumn("Code", getRealColumnName("CODE")); }
+ public void includeAsMine_Code(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("CODE")); }
public void includeAsMine_Model() { registerIncludedSelectColumn("Model", getRealColumnName("MODEL")); }
public void includeAsMine_Model(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("MODEL")); }
- public void includeAsMine_Code() { registerIncludedSelectColumn("Code", getRealColumnName("CODE")); }
- public void includeAsMine_Code(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("CODE")); }
public void includeAsMine_Stock() { registerIncludedSelectColumn("Stock", getRealColumnName("STOCK")); }
public void includeAsMine_Stock(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("STOCK")); }
+ public void includeAsMine_CatalogPrice() { registerIncludedSelectColumn("CatalogPrice", getRealColumnName("CATALOG_PRICE")); }
+ public void includeAsMine_CatalogPrice(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("CATALOG_PRICE")); }
public void includeAsMine_Price() { registerIncludedSelectColumn("Price", getRealColumnName("PRICE")); }
public void includeAsMine_Price(String aliasName) { registerIncludedSelectColumn(aliasName, getRealColumnName("PRICE")); }
public void includeAsMine_Weight() { registerIncludedSelectColumn("Weight", getRealColumnName("WEIGHT")); }
@@ -690,45 +694,45 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
- // Column = [MODEL]
+ // Column = [PRODUCT_MODE]
// - - - - - - - - -/
- /** The attribute of model. */
- protected ConditionValue _model;
+ /** The attribute of productMode. */
+ protected ConditionValue _productMode;
/**
- * Get the value of model.
+ * Get the value of productMode.
*
- * @return The value of model.
+ * @return The value of productMode.
*/
- public ConditionValue getModel() {
- if (_model == null) {
- _model = new ConditionValue();
+ public ConditionValue getProductMode() {
+ if (_productMode == null) {
+ _productMode = new ConditionValue();
}
- return _model;
+ return _productMode;
}
- protected ConditionValue getCValueModel() {
- return getModel();
+ protected ConditionValue getCValueProductMode() {
+ return getProductMode();
}
-
+
/**
- * Add order-by of model as ASC.
+ * Add order-by of productMode as ASC.
*
* @return this. (NotNull)
*/
- public BsProductCQ addOrderBy_Model_Asc() {
- getSqlClause().registerOrderBy(getRealColumnName("MODEL"), null, true);return this;
+ public BsProductCQ addOrderBy_ProductMode_Asc() {
+ getSqlClause().registerOrderBy(getRealColumnName("PRODUCT_MODE"), null, true);return this;
}
/**
- * Add order-by of model as DESC.
+ * Add order-by of productMode as DESC.
*
* @return this. (NotNull)
*/
- public BsProductCQ addOrderBy_Model_Desc() {
- getSqlClause().registerOrderBy(getRealColumnName("MODEL"), null, false);return this;
+ public BsProductCQ addOrderBy_ProductMode_Desc() {
+ getSqlClause().registerOrderBy(getRealColumnName("PRODUCT_MODE"), null, false);return this;
}
// /- - - - - - - - - - - - - - - - - - - - - - -
@@ -774,6 +778,48 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
+ // Column = [MODEL]
+ // - - - - - - - - -/
+
+ /** The attribute of model. */
+ protected ConditionValue _model;
+
+ /**
+ * Get the value of model.
+ *
+ * @return The value of model.
+ */
+ public ConditionValue getModel() {
+ if (_model == null) {
+ _model = new ConditionValue();
+ }
+ return _model;
+ }
+
+ protected ConditionValue getCValueModel() {
+ return getModel();
+ }
+
+
+ /**
+ * Add order-by of model as ASC.
+ *
+ * @return this. (NotNull)
+ */
+ public BsProductCQ addOrderBy_Model_Asc() {
+ getSqlClause().registerOrderBy(getRealColumnName("MODEL"), null, true);return this;
+ }
+
+ /**
+ * Add order-by of model as DESC.
+ *
+ * @return this. (NotNull)
+ */
+ public BsProductCQ addOrderBy_Model_Desc() {
+ getSqlClause().registerOrderBy(getRealColumnName("MODEL"), null, false);return this;
+ }
+
+ // /- - - - - - - - - - - - - - - - - - - - - - -
// Column = [STOCK]
// - - - - - - - - -/
@@ -816,6 +862,48 @@
}
// /- - - - - - - - - - - - - - - - - - - - - - -
+ // Column = [CATALOG_PRICE]
+ // - - - - - - - - -/
+
+ /** The attribute of catalogPrice. */
+ protected ConditionValue _catalogPrice;
+
+ /**
+ * Get the value of catalogPrice.
+ *
+ * @return The value of catalogPrice.
+ */
+ public ConditionValue getCatalogPrice() {
+ if (_catalogPrice == null) {
+ _catalogPrice = new ConditionValue();
+ }
+ return _catalogPrice;
+ }
+
+ protected ConditionValue getCValueCatalogPrice() {
+ return getCatalogPrice();
+ }
+
+
+ /**
+ * Add order-by of catalogPrice as ASC.
+ *
+ * @return this. (NotNull)
+ */
+ public BsProductCQ addOrderBy_CatalogPrice_Asc() {
+ getSqlClause().registerOrderBy(getRealColumnName("CATALOG_PRICE"), null, true);return this;
+ }
+
+ /**
+ * Add order-by of catalogPrice as DESC.
+ *
+ * @return this. (NotNull)
+ */
+ public BsProductCQ addOrderBy_CatalogPrice_Desc() {
+ getSqlClause().registerOrderBy(getRealColumnName("CATALOG_PRICE"), null, false);return this;
+ }
+
+ // /- - - - - - - - - - - - - - - - - - - - - - -
// Column = [PRICE]
// - - - - - - - - -/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoryCIQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoryCIQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoryCIQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -137,6 +137,15 @@
return _myCQ.keepParentCategoryId_InScopeSubQuery_CategorySelf(subQuery);
}
+ protected ConditionValue getCValueFileDataId() {
+ return _myCQ.getFileDataId();
+ }
+
+
+ public String keepFileDataId_InScopeSubQuery_FileData(jp.sf.pal.pompei.cbean.cq.FileDataCQ subQuery) {
+ return _myCQ.keepFileDataId_InScopeSubQuery_FileData(subQuery);
+ }
+
protected ConditionValue getCValueNumOfProduct() {
return _myCQ.getNumOfProduct();
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/FileDataCIQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/FileDataCIQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/FileDataCIQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -83,6 +83,10 @@
}
+ public String keepFileDataId_InScopeSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ subQuery) {
+ return _myCQ.keepFileDataId_InScopeSubQuery_CategoryList(subQuery);
+ }
+
public String keepFileDataId_InScopeSubQuery_FileTagToFileDataList(jp.sf.pal.pompei.cbean.cq.FileTagToFileDataCQ subQuery) {
return _myCQ.keepFileDataId_InScopeSubQuery_FileTagToFileDataList(subQuery);
}
@@ -99,6 +103,11 @@
return _myCQ.keepFileDataId_InScopeSubQuery_ProductList(subQuery);
}
+ public String keepFileDataId_ExistsSubQuery_CategoryList(jp.sf.pal.pompei.cbean.cq.CategoryCQ subQuery) {
+ throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+ // _myCQ.keepFileDataId_ExistsSubQuery_CategoryList(subQuery);
+ }
+
public String keepFileDataId_ExistsSubQuery_FileTagToFileDataList(jp.sf.pal.pompei.cbean.cq.FileTagToFileDataCQ subQuery) {
throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
// _myCQ.keepFileDataId_ExistsSubQuery_FileTagToFileDataList(subQuery);
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ManufacturerDescriptionCIQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ManufacturerDescriptionCIQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ManufacturerDescriptionCIQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -92,8 +92,8 @@
return _myCQ.keepManufacturerId_InScopeSubQuery_Manufacturer(subQuery);
}
- protected ConditionValue getCValueContent() {
- return _myCQ.getContent();
+ protected ConditionValue getCValueDescription() {
+ return _myCQ.getDescription();
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderFormCIQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderFormCIQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderFormCIQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -292,8 +292,8 @@
}
- protected ConditionValue getCValueBillingLocaleName() {
- return _myCQ.getBillingLocaleName();
+ protected ConditionValue getCValueBillingLanguage() {
+ return _myCQ.getBillingLanguage();
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderPaymentCIQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderPaymentCIQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrderPaymentCIQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -115,11 +115,6 @@
return _myCQ.keepPaymentStatusId_InScopeSubQuery_PaymentStatus(subQuery);
}
- protected ConditionValue getCValueUpdatedDate() {
- return _myCQ.getUpdatedDate();
- }
-
-
protected ConditionValue getCValueSubTotalPrice() {
return _myCQ.getSubTotalPrice();
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductCIQ.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductCIQ.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductCIQ.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -209,21 +209,31 @@
// _myCQ.keepProductId_ExistsSubQuery_ReviewList(subQuery);
}
- protected ConditionValue getCValueModel() {
- return _myCQ.getModel();
+ protected ConditionValue getCValueProductMode() {
+ return _myCQ.getProductMode();
}
-
+
protected ConditionValue getCValueCode() {
return _myCQ.getCode();
}
+ protected ConditionValue getCValueModel() {
+ return _myCQ.getModel();
+ }
+
+
protected ConditionValue getCValueStock() {
return _myCQ.getStock();
}
+ protected ConditionValue getCValueCatalogPrice() {
+ return _myCQ.getCatalogPrice();
+ }
+
+
protected ConditionValue getCValuePrice() {
return _myCQ.getPrice();
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNss.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNss.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNss.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -58,6 +58,20 @@
return new CategoryNsst(_query.queryCategorySelf());
}
+ /**
+ * Set up select with fileData.
+ *
+ * @return The nest-select-setupper-terminal of foreign. (NotNull)
+ */
+ public FileDataNsst withFileData() {
+ assertConditionQuery();
+ final String foreignTableAliasName = _query.queryFileData().getRealAliasName();
+ final String localRelationPath = _query.getRelationPath();
+ _query.getSqlClause().registerSelectedSelectColumn(foreignTableAliasName, "CATEGORY", "fileData", localRelationPath);
+ _query.getSqlClause().registerSelectedForeignInfo(_query.queryFileData().getRelationPath(), "fileData");
+ return new FileDataNsst(_query.queryFileData());
+ }
+
// ===================================================================================
// With Nested Referrer Table
// ==========================
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNsst.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNsst.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoryNsst.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -51,6 +51,13 @@
_nss.withCategorySelf();
}
+ /**
+ * Set up select with fileData.
+ */
+ public void withFileData() {
+ _nss.withFileData();
+ }
+
// ===================================================================================
// With Nested Referrer Table
// ==========================
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/FileDataNsst.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/FileDataNsst.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/FileDataNsst.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -47,7 +47,7 @@
// ===================================================================================
// With Nested Referrer Table
// ==========================
-
+
/**
* Set up select with imageDataAsOne.
*/
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/CardType.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/CardType.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/CardType.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,102 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of CARD_TYPE.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class CardType extends jp.sf.pal.pompei.bsentity.BsCardType {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private CardTypeDescription defaultCardTypeDescription;
+
+ private void clearDefaultValues() {
+ defaultCardTypeDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // CardTypeDescription
+
+ private void loadCardTypeDescription() {
+ if (getCardTypeDescriptionList() != null
+ && !getCardTypeDescriptionList().isEmpty()) {
+ for (CardTypeDescription cardTypeDescription : getCardTypeDescriptionList()) {
+ if (getLanguage().equals(cardTypeDescription.getLanguage())) {
+ defaultCardTypeDescription = cardTypeDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(cardTypeDescription.getLanguage())) {
+ defaultCardTypeDescription = cardTypeDescription;
+ }
+ }
+ }
+ }
+
+ private void createCardTypeDescription() {
+ loadCardTypeDescription();
+ if (getCardTypeDescriptionList() == null) {
+ setCardTypeDescriptionList(new ArrayList());
+ }
+ if (defaultCardTypeDescription == null) {
+ defaultCardTypeDescription = new CardTypeDescription();
+ defaultCardTypeDescription.setCardTypeId(getCardTypeId());
+ defaultCardTypeDescription.setLanguage(getLanguage());
+ getCardTypeDescriptionList().add(defaultCardTypeDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultCardTypeDescription == null) {
+ loadCardTypeDescription();
+ }
+
+ if (defaultCardTypeDescription != null) {
+ return defaultCardTypeDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultCardTypeDescription == null) {
+ createCardTypeDescription();
+ }
+ defaultCardTypeDescription.setName(name);
+ }
+
+ public String getDescription() {
+ if (defaultCardTypeDescription == null) {
+ loadCardTypeDescription();
+ }
+
+ if (defaultCardTypeDescription != null) {
+ return defaultCardTypeDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ if (defaultCardTypeDescription == null) {
+ createCardTypeDescription();
+ }
+ defaultCardTypeDescription.setDescription(description);
+ }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Category.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Category.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Category.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,264 @@
package jp.sf.pal.pompei.exentity;
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of CATEGORY.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class Category extends jp.sf.pal.pompei.bsentity.BsCategory {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private CategoryInfo defaultCategoryInfo;
+
+ private CategoryPageInfo defaultCategoryPageInfo;
+
+ private CategoryContent defaultCategoryContent1;
+
+ private CategoryContent defaultCategoryContent2;
+
+ private CategoryContent defaultCategoryContent3;
+
+ private void clearDefaultValues() {
+ defaultCategoryInfo = null;
+ defaultCategoryPageInfo = null;
+ defaultCategoryContent1 = null;
+ defaultCategoryContent2 = null;
+ defaultCategoryContent3 = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ public String getName() {
+ if (defaultCategoryInfo != null) {
+ return defaultCategoryInfo.getName();
+ }
+
+ if (getCategoryInfoList() != null && !getCategoryInfoList().isEmpty()) {
+ for (CategoryInfo categoryInfo : getCategoryInfoList()) {
+ if (getLanguage().equals(categoryInfo.getLanguage())) {
+ defaultCategoryInfo = categoryInfo;
+ return defaultCategoryInfo.getName();
+ }
+ }
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultCategoryInfo == null) {
+ defaultCategoryInfo = new CategoryInfo();
+ defaultCategoryInfo.setCategoryId(getCategoryId());
+ defaultCategoryInfo.setLanguage(getLanguage());
+ List categoryInfoList = new ArrayList();
+ categoryInfoList.add(defaultCategoryInfo);
+ setCategoryInfoList(categoryInfoList);
+ }
+ defaultCategoryInfo.setName(name);
+ }
+
+ private void createDefaultCategoryPageInfo() {
+ if (defaultCategoryPageInfo == null) {
+ defaultCategoryPageInfo = new CategoryPageInfo();
+ defaultCategoryPageInfo.setCategoryId(getCategoryId());
+ setCategoryPageInfoAsOne(defaultCategoryPageInfo);
+ }
+ }
+
+ public String getPageId() {
+ if (getCategoryPageInfoAsOne() != null) {
+ return getCategoryPageInfoAsOne().getPageId();
+ }
+ return null;
+ }
+
+ public void setPageId(String pageId) {
+ createDefaultCategoryPageInfo();
+ defaultCategoryPageInfo.setPageId(pageId);
+ }
+
+ public String getTemplateName() {
+ if (getCategoryPageInfoAsOne() != null) {
+ return getCategoryPageInfoAsOne().getTemplateName();
+ }
+ return null;
+ }
+
+ public void setTemplateName(String templateName) {
+ createDefaultCategoryPageInfo();
+ defaultCategoryPageInfo.setTemplateName(templateName);
+ }
+
+ public String getKeyword() {
+ if (getCategoryPageInfoAsOne() != null) {
+ return getCategoryPageInfoAsOne().getKeyword();
+ }
+ return null;
+ }
+
+ public void setKeyword(String keyword) {
+ createDefaultCategoryPageInfo();
+ defaultCategoryPageInfo.setKeyword(keyword);
+ }
+
+ public String getDescription() {
+ if (getCategoryPageInfoAsOne() != null) {
+ return getCategoryPageInfoAsOne().getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ createDefaultCategoryPageInfo();
+ defaultCategoryPageInfo.setDescription(description);
+ }
+
+ private void loadDefaultCategoryContent() {
+ if (getCategoryContentList() != null
+ && !getCategoryContentList().isEmpty()) {
+ CategoryContent categoryContent1 = null;
+ CategoryContent categoryContent2 = null;
+ CategoryContent categoryContent3 = null;
+ for (CategoryContent categoryContent : getCategoryContentList()) {
+ if (getLanguage().equals(categoryContent.getLanguage())) {
+ if (BigDecimal.valueOf(1).equals(
+ categoryContent.getSortOrder())) {
+ defaultCategoryContent1 = categoryContent;
+ } else if (BigDecimal.valueOf(2).equals(
+ categoryContent.getSortOrder())) {
+ defaultCategoryContent2 = categoryContent;
+ } else if (BigDecimal.valueOf(3).equals(
+ categoryContent.getSortOrder())) {
+ defaultCategoryContent3 = categoryContent;
+ }
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(categoryContent.getLanguage())) {
+ if (BigDecimal.valueOf(1).equals(
+ categoryContent.getSortOrder())) {
+ categoryContent1 = categoryContent;
+ } else if (BigDecimal.valueOf(2).equals(
+ categoryContent.getSortOrder())) {
+ categoryContent2 = categoryContent;
+ } else if (BigDecimal.valueOf(3).equals(
+ categoryContent.getSortOrder())) {
+ categoryContent3 = categoryContent;
+ }
+ }
+ }
+ if (defaultCategoryContent1 == null) {
+ defaultCategoryContent1 = categoryContent1;
+ }
+ if (defaultCategoryContent2 == null) {
+ defaultCategoryContent2 = categoryContent2;
+ }
+ if (defaultCategoryContent3 == null) {
+ defaultCategoryContent3 = categoryContent3;
+ }
+ }
+ }
+
+ private void createDefaultCategoryContent() {
+ if (defaultCategoryContent1 == null || defaultCategoryContent2 == null
+ || defaultCategoryContent3 == null) {
+ loadDefaultCategoryContent();
+ }
+ if (getCategoryContentList() == null) {
+ setCategoryContentList(new ArrayList());
+ }
+ if (defaultCategoryContent1 == null) {
+ defaultCategoryContent1 = new CategoryContent();
+ defaultCategoryContent1.setCategoryId(getCategoryId());
+ defaultCategoryContent1.setLanguage(getLanguage());
+ defaultCategoryContent1.setSortOrder(BigDecimal.valueOf(1));
+ getCategoryContentList().add(defaultCategoryContent1);
+ }
+ if (defaultCategoryContent2 == null) {
+ defaultCategoryContent2 = new CategoryContent();
+ defaultCategoryContent2.setCategoryId(getCategoryId());
+ defaultCategoryContent2.setLanguage(getLanguage());
+ defaultCategoryContent2.setSortOrder(BigDecimal.valueOf(2));
+ getCategoryContentList().add(defaultCategoryContent2);
+ }
+ if (defaultCategoryContent3 == null) {
+ defaultCategoryContent3 = new CategoryContent();
+ defaultCategoryContent3.setCategoryId(getCategoryId());
+ defaultCategoryContent3.setLanguage(getLanguage());
+ defaultCategoryContent3.setSortOrder(BigDecimal.valueOf(3));
+ getCategoryContentList().add(defaultCategoryContent3);
+ }
+ }
+
+ public String getContent1() {
+ if (defaultCategoryContent1 != null) {
+ return defaultCategoryContent1.getContent();
+ }
+
+ loadDefaultCategoryContent();
+
+ if (defaultCategoryContent1 != null) {
+ return defaultCategoryContent1.getContent();
+ }
+ return null;
+ }
+
+ public void setContent1(String content) {
+ createDefaultCategoryContent();
+ defaultCategoryContent1.setContent(content);
+ }
+
+ public String getContent2() {
+ if (defaultCategoryContent2 != null) {
+ return defaultCategoryContent2.getContent();
+ }
+
+ loadDefaultCategoryContent();
+
+ if (defaultCategoryContent2 != null) {
+ return defaultCategoryContent2.getContent();
+ }
+ return null;
+ }
+
+ public void setContent2(String content) {
+ createDefaultCategoryContent();
+ defaultCategoryContent2.setContent(content);
+ }
+
+ public String getContent3() {
+ if (defaultCategoryContent3 != null) {
+ return defaultCategoryContent3.getContent();
+ }
+
+ loadDefaultCategoryContent();
+
+ if (defaultCategoryContent3 != null) {
+ return defaultCategoryContent3.getContent();
+ }
+ return null;
+ }
+
+ public void setContent3(String content) {
+ createDefaultCategoryContent();
+ defaultCategoryContent3.setContent(content);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Country.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Country.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Country.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,85 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of COUNTRY.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class Country extends jp.sf.pal.pompei.bsentity.BsCountry {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private CountryDescription defaultCountryDescription;
+
+ private void clearDefaultValues() {
+ defaultCountryDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // CountryDescription
+
+ private void loadCountryDescription() {
+ if (getCountryDescriptionList() != null
+ && !getCountryDescriptionList().isEmpty()) {
+ for (CountryDescription countryDescription : getCountryDescriptionList()) {
+ if (getLanguage().equals(countryDescription.getLanguage())) {
+ defaultCountryDescription = countryDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(countryDescription.getLanguage())) {
+ defaultCountryDescription = countryDescription;
+ }
+ }
+ }
+ }
+
+ private void createCountryDescription() {
+ loadCountryDescription();
+ if (getCountryDescriptionList() == null) {
+ setCountryDescriptionList(new ArrayList());
+ }
+ if (defaultCountryDescription == null) {
+ defaultCountryDescription = new CountryDescription();
+ defaultCountryDescription.setCountryId(getCountryId());
+ defaultCountryDescription.setLanguage(getLanguage());
+ getCountryDescriptionList().add(defaultCountryDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultCountryDescription == null) {
+ loadCountryDescription();
+ }
+
+ if (defaultCountryDescription != null) {
+ return defaultCountryDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultCountryDescription == null) {
+ createCountryDescription();
+ }
+ defaultCountryDescription.setName(name);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Customer.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Customer.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Customer.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,174 @@
package jp.sf.pal.pompei.exentity;
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of CUSTOMER.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class Customer extends jp.sf.pal.pompei.bsentity.BsCustomer {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private AddressBook defaultAddressBook;
+
+ public AddressBook getDefaultAddressBook() {
+ createAddressBook();
+ return defaultAddressBook;
+ }
+
+ // AddressBook
+ private void loadAddressBook() {
+ if (defaultAddressBook == null) {
+ if (getAddressBookList() != null && !getAddressBookList().isEmpty()) {
+ for (AddressBook addressBook : getAddressBookList()) {
+ if (PompeiDBConstants.TRUE.equals(addressBook
+ .getDefaultAddress())) {
+ defaultAddressBook = addressBook;
+ return;
+ }
+ }
+ }
+ }
+ }
+
+ private void createAddressBook() {
+ loadAddressBook();
+ if (getAddressBookList() == null) {
+ setAddressBookList(new ArrayList());
+ }
+ if (defaultAddressBook == null) {
+ defaultAddressBook = new AddressBook();
+ defaultAddressBook.setCustomerId(getCustomerId());
+ defaultAddressBook.setDefaultAddress(PompeiDBConstants.TRUE);
+ getAddressBookList().add(defaultAddressBook);
+ }
+ }
+
+ public String getCellphone() {
+ loadAddressBook();
+ return defaultAddressBook.getCellphone();
+ }
+
+ public String getCity() {
+ loadAddressBook();
+ return defaultAddressBook.getCity();
+ }
+
+ public String getCompany() {
+ loadAddressBook();
+ return defaultAddressBook.getCompany();
+ }
+
+ public BigDecimal getCountryId() {
+ return defaultAddressBook.getCountryId();
+ }
+
+ public BigDecimal getDeliveryZoneId() {
+ loadAddressBook();
+ return defaultAddressBook.getDeliveryZoneId();
+ }
+
+ public String getDepartment() {
+ loadAddressBook();
+ return defaultAddressBook.getDepartment();
+ }
+
+ public String getFax() {
+ loadAddressBook();
+ return defaultAddressBook.getFax();
+ }
+
+ public String getPostcode() {
+ loadAddressBook();
+ return defaultAddressBook.getPostcode();
+ }
+
+ public String getState() {
+ loadAddressBook();
+ return defaultAddressBook.getState();
+ }
+
+ public String getStreetAddress() {
+ loadAddressBook();
+ return defaultAddressBook.getStreetAddress();
+ }
+
+ public String getSuburb() {
+ loadAddressBook();
+ return defaultAddressBook.getSuburb();
+ }
+
+ public String getTelephone() {
+ loadAddressBook();
+ return defaultAddressBook.getTelephone();
+ }
+
+ public void setCellphone(String cellphone) {
+ createAddressBook();
+ defaultAddressBook.setCellphone(cellphone);
+ }
+
+ public void setCity(String city) {
+ createAddressBook();
+ defaultAddressBook.setCity(city);
+ }
+
+ public void setCompany(String company) {
+ createAddressBook();
+ defaultAddressBook.setCompany(company);
+ }
+
+ public void setCountryId(BigDecimal countryId) {
+ createAddressBook();
+ defaultAddressBook.setCountryId(countryId);
+ }
+
+ public void setDeliveryZoneId(BigDecimal deliveryZoneId) {
+ createAddressBook();
+ defaultAddressBook.setDeliveryZoneId(deliveryZoneId);
+ }
+
+ public void setDepartment(String department) {
+ createAddressBook();
+ defaultAddressBook.setDepartment(department);
+ }
+
+ public void setFax(String fax) {
+ createAddressBook();
+ defaultAddressBook.setFax(fax);
+ }
+
+ public void setPostcode(String postcode) {
+ createAddressBook();
+ defaultAddressBook.setPostcode(postcode);
+ }
+
+ public void setState(String state) {
+ createAddressBook();
+ defaultAddressBook.setState(state);
+ }
+
+ public void setStreetAddress(String streetAddress) {
+ createAddressBook();
+ defaultAddressBook.setStreetAddress(streetAddress);
+ }
+
+ public void setSuburb(String suburb) {
+ createAddressBook();
+ defaultAddressBook.setSuburb(suburb);
+ }
+
+ public void setTelephone(String telephone) {
+ createAddressBook();
+ defaultAddressBook.setTelephone(telephone);
+ }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryMethod.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryMethod.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryMethod.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,105 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of DELIVERY_METHOD.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class DeliveryMethod extends jp.sf.pal.pompei.bsentity.BsDeliveryMethod {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private DeliveryMethodDescription defaultDeliveryMethodDescription;
+
+ private void clearDefaultValues() {
+ defaultDeliveryMethodDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // DeliveryMethodDescription
+
+ private void loadDeliveryMethodDescription() {
+ if (getDeliveryMethodDescriptionList() != null
+ && !getDeliveryMethodDescriptionList().isEmpty()) {
+ for (DeliveryMethodDescription deliveryMethodDescription : getDeliveryMethodDescriptionList()) {
+ if (getLanguage().equals(
+ deliveryMethodDescription.getLanguage())) {
+ defaultDeliveryMethodDescription = deliveryMethodDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(deliveryMethodDescription.getLanguage())) {
+ defaultDeliveryMethodDescription = deliveryMethodDescription;
+ }
+ }
+ }
+ }
+
+ private void createDeliveryMethodDescription() {
+ loadDeliveryMethodDescription();
+ if (getDeliveryMethodDescriptionList() == null) {
+ setDeliveryMethodDescriptionList(new ArrayList());
+ }
+ if (defaultDeliveryMethodDescription == null) {
+ defaultDeliveryMethodDescription = new DeliveryMethodDescription();
+ defaultDeliveryMethodDescription
+ .setDeliveryMethodId(getDeliveryMethodId());
+ defaultDeliveryMethodDescription.setLanguage(getLanguage());
+ getDeliveryMethodDescriptionList().add(
+ defaultDeliveryMethodDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultDeliveryMethodDescription == null) {
+ loadDeliveryMethodDescription();
+ }
+
+ if (defaultDeliveryMethodDescription != null) {
+ return defaultDeliveryMethodDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultDeliveryMethodDescription == null) {
+ createDeliveryMethodDescription();
+ }
+ defaultDeliveryMethodDescription.setName(name);
+ }
+
+ public String getDescription() {
+ if (defaultDeliveryMethodDescription == null) {
+ loadDeliveryMethodDescription();
+ }
+
+ if (defaultDeliveryMethodDescription != null) {
+ return defaultDeliveryMethodDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ if (defaultDeliveryMethodDescription == null) {
+ createDeliveryMethodDescription();
+ }
+ defaultDeliveryMethodDescription.setDescription(description);
+ }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryStatus.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryStatus.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryStatus.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,88 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of DELIVERY_STATUS.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class DeliveryStatus extends jp.sf.pal.pompei.bsentity.BsDeliveryStatus {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private DeliveryStatusDescription defaultDeliveryStatusDescription;
+
+ private void clearDefaultValues() {
+ defaultDeliveryStatusDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // DeliveryStatusDescription
+
+ private void loadDeliveryStatusDescription() {
+ if (getDeliveryStatusDescriptionList() != null
+ && !getDeliveryStatusDescriptionList().isEmpty()) {
+ for (DeliveryStatusDescription deliveryStatusDescription : getDeliveryStatusDescriptionList()) {
+ if (getLanguage().equals(
+ deliveryStatusDescription.getLanguage())) {
+ defaultDeliveryStatusDescription = deliveryStatusDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(deliveryStatusDescription.getLanguage())) {
+ defaultDeliveryStatusDescription = deliveryStatusDescription;
+ }
+ }
+ }
+ }
+
+ private void createDeliveryStatusDescription() {
+ loadDeliveryStatusDescription();
+ if (getDeliveryStatusDescriptionList() == null) {
+ setDeliveryStatusDescriptionList(new ArrayList());
+ }
+ if (defaultDeliveryStatusDescription == null) {
+ defaultDeliveryStatusDescription = new DeliveryStatusDescription();
+ defaultDeliveryStatusDescription
+ .setDeliveryStatusId(getDeliveryStatusId());
+ defaultDeliveryStatusDescription.setLanguage(getLanguage());
+ getDeliveryStatusDescriptionList().add(
+ defaultDeliveryStatusDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultDeliveryStatusDescription == null) {
+ loadDeliveryStatusDescription();
+ }
+
+ if (defaultDeliveryStatusDescription != null) {
+ return defaultDeliveryStatusDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultDeliveryStatusDescription == null) {
+ createDeliveryStatusDescription();
+ }
+ defaultDeliveryStatusDescription.setName(name);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryType.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryType.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryType.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,86 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of DELIVERY_TYPE.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class DeliveryType extends jp.sf.pal.pompei.bsentity.BsDeliveryType {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private DeliveryTypeDescription defaultDeliveryTypeDescription;
+
+ private void clearDefaultValues() {
+ defaultDeliveryTypeDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // DeliveryTypeDescription
+
+ private void loadDeliveryTypeDescription() {
+ if (getDeliveryTypeDescriptionList() != null
+ && !getDeliveryTypeDescriptionList().isEmpty()) {
+ for (DeliveryTypeDescription deliveryTypeDescription : getDeliveryTypeDescriptionList()) {
+ if (getLanguage().equals(deliveryTypeDescription.getLanguage())) {
+ defaultDeliveryTypeDescription = deliveryTypeDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(deliveryTypeDescription.getLanguage())) {
+ defaultDeliveryTypeDescription = deliveryTypeDescription;
+ }
+ }
+ }
+ }
+
+ private void createDeliveryTypeDescription() {
+ loadDeliveryTypeDescription();
+ if (getDeliveryTypeDescriptionList() == null) {
+ setDeliveryTypeDescriptionList(new ArrayList());
+ }
+ if (defaultDeliveryTypeDescription == null) {
+ defaultDeliveryTypeDescription = new DeliveryTypeDescription();
+ defaultDeliveryTypeDescription
+ .setDeliveryTypeId(getDeliveryTypeId());
+ defaultDeliveryTypeDescription.setLanguage(getLanguage());
+ getDeliveryTypeDescriptionList()
+ .add(defaultDeliveryTypeDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultDeliveryTypeDescription == null) {
+ loadDeliveryTypeDescription();
+ }
+
+ if (defaultDeliveryTypeDescription != null) {
+ return defaultDeliveryTypeDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultDeliveryTypeDescription == null) {
+ createDeliveryTypeDescription();
+ }
+ defaultDeliveryTypeDescription.setName(name);
+ }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryZone.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryZone.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/DeliveryZone.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,87 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of DELIVERY_ZONE.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class DeliveryZone extends jp.sf.pal.pompei.bsentity.BsDeliveryZone {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private DeliveryZoneDescription defaultDeliveryZoneDescription;
+
+ private void clearDefaultValues() {
+ defaultDeliveryZoneDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // DeliveryZoneDescription
+
+ private void loadDeliveryZoneDescription() {
+ if (getDeliveryZoneDescriptionList() != null
+ && !getDeliveryZoneDescriptionList().isEmpty()) {
+ for (DeliveryZoneDescription deliveryZoneDescription : getDeliveryZoneDescriptionList()) {
+ if (getLanguage().equals(deliveryZoneDescription.getLanguage())) {
+ defaultDeliveryZoneDescription = deliveryZoneDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(deliveryZoneDescription.getLanguage())) {
+ defaultDeliveryZoneDescription = deliveryZoneDescription;
+ }
+ }
+ }
+ }
+
+ private void createDeliveryZoneDescription() {
+ loadDeliveryZoneDescription();
+ if (getDeliveryZoneDescriptionList() == null) {
+ setDeliveryZoneDescriptionList(new ArrayList());
+ }
+ if (defaultDeliveryZoneDescription == null) {
+ defaultDeliveryZoneDescription = new DeliveryZoneDescription();
+ defaultDeliveryZoneDescription
+ .setDeliveryZoneId(getDeliveryZoneId());
+ defaultDeliveryZoneDescription.setLanguage(getLanguage());
+ getDeliveryZoneDescriptionList()
+ .add(defaultDeliveryZoneDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultDeliveryZoneDescription == null) {
+ loadDeliveryZoneDescription();
+ }
+
+ if (defaultDeliveryZoneDescription != null) {
+ return defaultDeliveryZoneDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultDeliveryZoneDescription == null) {
+ createDeliveryZoneDescription();
+ }
+ defaultDeliveryZoneDescription.setName(name);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Manufacturer.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Manufacturer.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Manufacturer.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,156 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of MANUFACTURER.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class Manufacturer extends jp.sf.pal.pompei.bsentity.BsManufacturer {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private ManufacturerInfo defaultManufacturerInfo;
+
+ private ManufacturerDescription defaultManufacturerDescription;
+
+ private void clearDefaultValues() {
+ defaultManufacturerInfo = null;
+ defaultManufacturerDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ private void loadManufacturerInfo() {
+ if (getManufacturerInfoList() != null
+ && !getManufacturerInfoList().isEmpty()) {
+ for (ManufacturerInfo ManufacturerInfo : getManufacturerInfoList()) {
+ if (getLanguage().equals(ManufacturerInfo.getLanguage())) {
+ defaultManufacturerInfo = ManufacturerInfo;
+ return;
+ }
+ }
+ }
+ }
+
+ private void createManufacturerInfo() {
+ loadManufacturerInfo();
+ if (getManufacturerInfoList() == null) {
+ setManufacturerInfoList(new ArrayList());
+ }
+ if (defaultManufacturerInfo == null) {
+ defaultManufacturerInfo = new ManufacturerInfo();
+ defaultManufacturerInfo.setManufacturerId(getManufacturerId());
+ defaultManufacturerInfo.setLanguage(getLanguage());
+ getManufacturerInfoList().add(defaultManufacturerInfo);
+ }
+ }
+
+ public String getName() {
+ if (defaultManufacturerInfo != null) {
+ return defaultManufacturerInfo.getName();
+ }
+
+ loadManufacturerInfo();
+
+ if (defaultManufacturerInfo != null) {
+ return defaultManufacturerInfo.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultManufacturerInfo == null) {
+ createManufacturerInfo();
+ }
+ defaultManufacturerInfo.setName(name);
+ }
+
+ public String getUrl() {
+ if (defaultManufacturerInfo != null) {
+ return defaultManufacturerInfo.getUrl();
+ }
+
+ loadManufacturerInfo();
+
+ if (defaultManufacturerInfo != null) {
+ return defaultManufacturerInfo.getUrl();
+ }
+ return null;
+ }
+
+ public void setUrl(String url) {
+ if (defaultManufacturerInfo == null) {
+ createManufacturerInfo();
+ }
+ defaultManufacturerInfo.setUrl(url);
+ }
+
+ private void loadManufacturerDescription() {
+ if (getManufacturerDescriptionList() != null
+ && !getManufacturerDescriptionList().isEmpty()) {
+ for (ManufacturerDescription manufacturerDescription : getManufacturerDescriptionList()) {
+ if (getLanguage().equals(manufacturerDescription.getLanguage())) {
+ defaultManufacturerDescription = manufacturerDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(manufacturerDescription.getLanguage())) {
+ defaultManufacturerDescription = manufacturerDescription;
+ }
+ }
+ }
+ }
+
+ private void createManufacturerDescription() {
+ loadManufacturerDescription();
+ if (getManufacturerDescriptionList() == null) {
+ setManufacturerDescriptionList(new ArrayList());
+ }
+ if (defaultManufacturerDescription == null) {
+ defaultManufacturerDescription = new ManufacturerDescription();
+ defaultManufacturerDescription
+ .setManufacturerId(getManufacturerId());
+ defaultManufacturerDescription.setLanguage(getLanguage());
+ getManufacturerDescriptionList()
+ .add(defaultManufacturerDescription);
+ }
+ }
+
+ public String getDescription() {
+ if (defaultManufacturerDescription != null) {
+ return defaultManufacturerDescription.getDescription();
+ }
+
+ loadManufacturerDescription();
+
+ if (defaultManufacturerDescription != null) {
+ return defaultManufacturerDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ if (defaultManufacturerDescription == null) {
+ createManufacturerDescription();
+ }
+ defaultManufacturerDescription.setDescription(description);
+ }
+
+ //TODO file data
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderForm.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderForm.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderForm.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,5 +1,7 @@
package jp.sf.pal.pompei.exentity;
+import java.math.BigDecimal;
+import java.sql.Timestamp;
/**
* The entity of ORDER_FORM.
@@ -7,10 +9,454 @@
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class OrderForm extends jp.sf.pal.pompei.bsentity.BsOrderForm {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ // OrderDelivery
+
+ public String getDeliveryCity() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryCity();
+ }
+ return null;
+ }
+
+ public String getDeliveryCompany() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryCompany();
+ }
+ return null;
+ }
+
+ public String getDeliveryCountryCode() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryCountryCode();
+ }
+ return null;
+ }
+
+ public BigDecimal getDeliveryCountryId() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryCountryId();
+ }
+ return null;
+ }
+
+ public String getDeliveryDepartment() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryDepartment();
+ }
+ return null;
+ }
+
+ public String getDeliveryFirstname() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryFirstname();
+ }
+ return null;
+ }
+
+ public String getDeliveryFirstnameDescription() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryFirstnameDescription();
+ }
+ return null;
+ }
+
+ public String getDeliveryLanguage() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryLanguage();
+ }
+ return null;
+ }
+
+ public String getDeliveryLastname() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryLastname();
+ }
+ return null;
+ }
+
+ public String getDeliveryLastnameDescription() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryLastnameDescription();
+ }
+ return null;
+ }
+
+ public String getDeliveryMethodCode() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryMethodCode();
+ }
+ return null;
+ }
+
+ public BigDecimal getDeliveryMethodId() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryMethodId();
+ }
+ return null;
+ }
+
+ public String getDeliveryPostcode() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryPostcode();
+ }
+ return null;
+ }
+
+ public String getDeliveryState() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryState();
+ }
+ return null;
+ }
+
+ public BigDecimal getDeliveryStatusId() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryStatusId();
+ }
+ return null;
+ }
+
+ public String getDeliveryStreetAddress() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryStreetAddress();
+ }
+ return null;
+ }
+
+ public String getDeliverySuburb() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliverySuburb();
+ }
+ return null;
+ }
+
+ public String getDeliveryTelephone() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryTelephone();
+ }
+ return null;
+ }
+
+ public BigDecimal getDeliveryZoneId() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getDeliveryZoneId();
+ }
+ return null;
+ }
+
+ public String getEnvelopeLabel() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getEnvelopeLabel();
+ }
+ return null;
+ }
+
+ public String getGiftMessage() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getGiftMessage();
+ }
+ return null;
+ }
+
+ public BigDecimal getGiftWrap() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getGiftWrap();
+ }
+ return null;
+ }
+
+ public Timestamp getReceivedDate() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getReceivedDate();
+ }
+ return null;
+ }
+
+ public Timestamp getRequestedDate() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getRequestedDate();
+ }
+ return null;
+ }
+
+ public Timestamp getSentDate() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getSentDate();
+ }
+ return null;
+ }
+
+ public String getSlipNumber() {
+ if (getOrderDeliveryAsOne() != null) {
+ return getOrderDeliveryAsOne().getSlipNumber();
+ }
+ return null;
+ }
+
+ private void createOrderDelivery() {
+ if (getOrderDeliveryAsOne() == null) {
+ OrderDelivery orderDelivery = new OrderDelivery();
+ orderDelivery.setOrderFormId(getOrderFormId());
+ setOrderDeliveryAsOne(orderDelivery);
+ }
+ }
+
+ public void setDeliveryCity(String deliveryCity) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryCity(deliveryCity);
+ }
+
+ public void setDeliveryCompany(String deliveryCompany) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryCompany(deliveryCompany);
+ }
+
+ public void setDeliveryCountryCode(String deliveryCountryCode) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryCountryCode(deliveryCountryCode);
+ }
+
+ public void setDeliveryCountryId(BigDecimal deliveryCountryId) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryCountryId(deliveryCountryId);
+ }
+
+ public void setDeliveryDepartment(String deliveryDepartment) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryDepartment(deliveryDepartment);
+ }
+
+ public void setDeliveryFirstname(String deliveryFirstname) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryFirstname(deliveryFirstname);
+ }
+
+ public void setDeliveryFirstnameDescription(
+ String deliveryFirstnameDescription) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryFirstnameDescription(
+ deliveryFirstnameDescription);
+ }
+
+ public void setDeliveryLanguage(String deliveryLanguage) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryLanguage(deliveryLanguage);
+ }
+
+ public void setDeliveryLastname(String deliveryLastname) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryLastname(deliveryLastname);
+ }
+
+ public void setDeliveryLastnameDescription(
+ String deliveryLastnameDescription) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryLastnameDescription(
+ deliveryLastnameDescription);
+ }
+
+ public void setDeliveryMethodCode(String deliveryMethodCode) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryMethodCode(deliveryMethodCode);
+ }
+
+ public void setDeliveryMethodId(BigDecimal deliveryMethodId) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryMethodId(deliveryMethodId);
+ }
+
+ public void setDeliveryPostcode(String deliveryPostcode) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryPostcode(deliveryPostcode);
+ }
+
+ public void setDeliveryState(String deliveryState) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryState(deliveryState);
+ }
+
+ public void setDeliveryStatusId(BigDecimal deliveryStatusId) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryStatusId(deliveryStatusId);
+ }
+
+ public void setDeliveryStreetAddress(String deliveryStreetAddress) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryStreetAddress(deliveryStreetAddress);
+ }
+
+ public void setDeliverySuburb(String deliverySuburb) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliverySuburb(deliverySuburb);
+ }
+
+ public void setDeliveryTelephone(String deliveryTelephone) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryTelephone(deliveryTelephone);
+ }
+
+ public void setDeliveryZoneId(BigDecimal deliveryZoneId) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setDeliveryZoneId(deliveryZoneId);
+ }
+
+ public void setEnvelopeLabel(String envelopeLabel) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setEnvelopeLabel(envelopeLabel);
+ }
+
+ public void setGiftMessage(String giftMessage) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setGiftMessage(giftMessage);
+ }
+
+ public void setGiftWrap(BigDecimal giftWrap) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setGiftWrap(giftWrap);
+ }
+
+ public void setReceivedDate(Timestamp receivedDate) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setReceivedDate(receivedDate);
+ }
+
+ public void setRequestedDate(Timestamp requestedDate) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setRequestedDate(requestedDate);
+ }
+
+ public void setSentDate(Timestamp sentDate) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setSentDate(sentDate);
+ }
+
+ public void setSlipNumber(String slipNumber) {
+ createOrderDelivery();
+ getOrderDeliveryAsOne().setSlipNumber(slipNumber);
+ }
+
+ // OrderPayment
+ public BigDecimal getDeliveryPrice() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getDeliveryPrice();
+ }
+ return null;
+ }
+
+ public BigDecimal getOrderCardInfoId() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getOrderCardInfoId();
+ }
+ return null;
+ }
+
+ public BigDecimal getPaymentFee() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getPaymentFee();
+ }
+ return null;
+ }
+
+ public String getPaymentMethodCode() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getPaymentMethodCode();
+ }
+ return null;
+ }
+
+ public BigDecimal getPaymentMethodId() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getPaymentMethodId();
+ }
+ return null;
+ }
+
+ public BigDecimal getPaymentStatusId() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getPaymentStatusId();
+ }
+ return null;
+ }
+
+ public BigDecimal getSubTotalPrice() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getSubTotalPrice();
+ }
+ return null;
+ }
+
+ public BigDecimal getTax() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getTax();
+ }
+ return null;
+ }
+
+ public BigDecimal getTotalPrice() {
+ if (getOrderPaymentAsOne() != null) {
+ return getOrderPaymentAsOne().getTotalPrice();
+ }
+ return null;
+ }
+
+ private void createOrderPayment() {
+ if (getOrderPaymentAsOne() == null) {
+ OrderPayment orderPayment = new OrderPayment();
+ orderPayment.setOrderFormId(getOrderFormId());
+ setOrderPaymentAsOne(orderPayment);
+ }
+ }
+
+ public void setDeliveryPrice(BigDecimal deliveryPrice) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setDeliveryPrice(deliveryPrice);
+ }
+
+ public void setOrderCardInfoId(BigDecimal orderCardInfoId) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setOrderCardInfoId(orderCardInfoId);
+ }
+
+ public void setPaymentFee(BigDecimal paymentFee) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setPaymentFee(paymentFee);
+ }
+
+ public void setPaymentMethodCode(String paymentMethodCode) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setPaymentMethodCode(paymentMethodCode);
+ }
+
+ public void setPaymentMethodId(BigDecimal paymentMethodId) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setPaymentMethodId(paymentMethodId);
+ }
+
+ public void setPaymentStatusId(BigDecimal paymentStatusId) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setPaymentStatusId(paymentStatusId);
+ }
+
+ public void setSubTotalPrice(BigDecimal subTotalPrice) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setSubTotalPrice(subTotalPrice);
+ }
+
+ public void setTax(BigDecimal tax) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setTax(tax);
+ }
+
+ public void setTotalPrice(BigDecimal totalPrice) {
+ createOrderPayment();
+ getOrderPaymentAsOne().setTotalPrice(totalPrice);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderStatus.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderStatus.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrderStatus.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,105 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of ORDER_STATUS.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class OrderStatus extends jp.sf.pal.pompei.bsentity.BsOrderStatus {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private OrderStatusDescription defaultOrderStatusDescription;
+
+ private void clearDefaultValues() {
+ defaultOrderStatusDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ private void loadOrderStatusDescription() {
+ if (getOrderStatusDescriptionList() != null
+ && !getOrderStatusDescriptionList().isEmpty()) {
+ for (OrderStatusDescription orderStatusDescription : getOrderStatusDescriptionList()) {
+ if (getLanguage().equals(orderStatusDescription.getLanguage())) {
+ defaultOrderStatusDescription = orderStatusDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(orderStatusDescription.getLanguage())) {
+ defaultOrderStatusDescription = orderStatusDescription;
+ }
+ }
+ }
+ }
+
+ private void createOrderStatusDescription() {
+ loadOrderStatusDescription();
+ if (getOrderStatusDescriptionList() == null) {
+ setOrderStatusDescriptionList(new ArrayList());
+ }
+ if (defaultOrderStatusDescription == null) {
+ defaultOrderStatusDescription = new OrderStatusDescription();
+ defaultOrderStatusDescription.setOrderStatusId(getOrderStatusId());
+ defaultOrderStatusDescription.setLanguage(getLanguage());
+ getOrderStatusDescriptionList().add(defaultOrderStatusDescription);
+ }
+ }
+
+ public String getDescription() {
+ if (defaultOrderStatusDescription != null) {
+ return defaultOrderStatusDescription.getDescription();
+ }
+
+ loadOrderStatusDescription();
+
+ if (defaultOrderStatusDescription != null) {
+ return defaultOrderStatusDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ if (defaultOrderStatusDescription == null) {
+ createOrderStatusDescription();
+ }
+ defaultOrderStatusDescription.setDescription(description);
+ }
+
+ public String getName() {
+ if (defaultOrderStatusDescription != null) {
+ return defaultOrderStatusDescription.getName();
+ }
+
+ loadOrderStatusDescription();
+
+ if (defaultOrderStatusDescription != null) {
+ return defaultOrderStatusDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultOrderStatusDescription == null) {
+ createOrderStatusDescription();
+ }
+ defaultOrderStatusDescription.setName(name);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentMethod.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentMethod.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentMethod.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,105 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of PAYMENT_METHOD.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class PaymentMethod extends jp.sf.pal.pompei.bsentity.BsPaymentMethod {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private PaymentMethodDescription defaultPaymentMethodDescription;
+
+ private void clearDefaultValues() {
+ defaultPaymentMethodDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // PaymentMethodDescription
+
+ private void loadPaymentMethodDescription() {
+ if (getPaymentMethodDescriptionList() != null
+ && !getPaymentMethodDescriptionList().isEmpty()) {
+ for (PaymentMethodDescription paymentMethodDescription : getPaymentMethodDescriptionList()) {
+ if (getLanguage()
+ .equals(paymentMethodDescription.getLanguage())) {
+ defaultPaymentMethodDescription = paymentMethodDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(paymentMethodDescription.getLanguage())) {
+ defaultPaymentMethodDescription = paymentMethodDescription;
+ }
+ }
+ }
+ }
+
+ private void createPaymentMethodDescription() {
+ loadPaymentMethodDescription();
+ if (getPaymentMethodDescriptionList() == null) {
+ setPaymentMethodDescriptionList(new ArrayList());
+ }
+ if (defaultPaymentMethodDescription == null) {
+ defaultPaymentMethodDescription = new PaymentMethodDescription();
+ defaultPaymentMethodDescription
+ .setPaymentMethodId(getPaymentMethodId());
+ defaultPaymentMethodDescription.setLanguage(getLanguage());
+ getPaymentMethodDescriptionList().add(
+ defaultPaymentMethodDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultPaymentMethodDescription == null) {
+ loadPaymentMethodDescription();
+ }
+
+ if (defaultPaymentMethodDescription != null) {
+ return defaultPaymentMethodDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultPaymentMethodDescription == null) {
+ createPaymentMethodDescription();
+ }
+ defaultPaymentMethodDescription.setName(name);
+ }
+
+ public String getDescription() {
+ if (defaultPaymentMethodDescription == null) {
+ loadPaymentMethodDescription();
+ }
+
+ if (defaultPaymentMethodDescription != null) {
+ return defaultPaymentMethodDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ if (defaultPaymentMethodDescription == null) {
+ createPaymentMethodDescription();
+ }
+ defaultPaymentMethodDescription.setDescription(description);
+ }
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentStatus.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentStatus.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/PaymentStatus.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,88 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of PAYMENT_STATUS.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class PaymentStatus extends jp.sf.pal.pompei.bsentity.BsPaymentStatus {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private PaymentStatusDescription defaultPaymentStatusDescription;
+
+ private void clearDefaultValues() {
+ defaultPaymentStatusDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // PaymentStatusDescription
+
+ private void loadPaymentStatusDescription() {
+ if (getPaymentStatusDescriptionList() != null
+ && !getPaymentStatusDescriptionList().isEmpty()) {
+ for (PaymentStatusDescription paymentStatusDescription : getPaymentStatusDescriptionList()) {
+ if (getLanguage()
+ .equals(paymentStatusDescription.getLanguage())) {
+ defaultPaymentStatusDescription = paymentStatusDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(paymentStatusDescription.getLanguage())) {
+ defaultPaymentStatusDescription = paymentStatusDescription;
+ }
+ }
+ }
+ }
+
+ private void createPaymentStatusDescription() {
+ loadPaymentStatusDescription();
+ if (getPaymentStatusDescriptionList() == null) {
+ setPaymentStatusDescriptionList(new ArrayList());
+ }
+ if (defaultPaymentStatusDescription == null) {
+ defaultPaymentStatusDescription = new PaymentStatusDescription();
+ defaultPaymentStatusDescription
+ .setPaymentStatusId(getPaymentStatusId());
+ defaultPaymentStatusDescription.setLanguage(getLanguage());
+ getPaymentStatusDescriptionList().add(
+ defaultPaymentStatusDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultPaymentStatusDescription == null) {
+ loadPaymentStatusDescription();
+ }
+
+ if (defaultPaymentStatusDescription != null) {
+ return defaultPaymentStatusDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultPaymentStatusDescription == null) {
+ createPaymentStatusDescription();
+ }
+ defaultPaymentStatusDescription.setName(name);
+ }
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Product.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Product.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/Product.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,401 @@
package jp.sf.pal.pompei.exentity;
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of PRODUCT.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class Product extends jp.sf.pal.pompei.bsentity.BsProduct {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private ProductInfo defaultProductInfo;
+
+ private ProductPageInfo defaultProductPageInfo;
+
+ private ProductDescription defaultProductDescription;
+
+ private ProductContent defaultProductContent1;
+
+ private ProductContent defaultProductContent2;
+
+ private ProductContent defaultProductContent3;
+
+ private void clearDefaultValues() {
+ defaultProductInfo = null;
+ defaultProductPageInfo = null;
+ defaultProductDescription = null;
+ defaultProductContent1 = null;
+ defaultProductContent2 = null;
+ defaultProductContent3 = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ // ProductInfo
+ private void loadProductInfo() {
+ if (getProductInfoList() != null && !getProductInfoList().isEmpty()) {
+ for (ProductInfo productInfo : getProductInfoList()) {
+ if (getLanguage().equals(productInfo.getLanguage())) {
+ defaultProductInfo = productInfo;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(productInfo.getLanguage())) {
+ defaultProductInfo = productInfo;
+ }
+ }
+ }
+ }
+
+ private void createProductInfo() {
+ loadProductInfo();
+ if (getProductInfoList() == null) {
+ setProductInfoList(new ArrayList());
+ }
+ if (defaultProductInfo == null) {
+ defaultProductInfo = new ProductInfo();
+ defaultProductInfo.setProductId(getProductId());
+ defaultProductInfo.setLanguage(getLanguage());
+ getProductInfoList().add(defaultProductInfo);
+ }
+ }
+
+ public String getName() {
+ if (defaultProductInfo != null) {
+ return defaultProductInfo.getName();
+ }
+
+ loadProductInfo();
+
+ if (defaultProductInfo != null) {
+ return defaultProductInfo.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultProductInfo == null) {
+ createProductInfo();
+ }
+ defaultProductInfo.setName(name);
+ }
+
+ public String getUrl() {
+ if (defaultProductInfo != null) {
+ return defaultProductInfo.getUrl();
+ }
+
+ loadProductInfo();
+
+ if (defaultProductInfo != null) {
+ return defaultProductInfo.getUrl();
+ }
+ return null;
+ }
+
+ public void setUrl(String url) {
+ if (defaultProductInfo == null) {
+ createProductInfo();
+ }
+ defaultProductInfo.setUrl(url);
+ }
+
+ public String getTitle() {
+ if (defaultProductInfo != null) {
+ return defaultProductInfo.getTitle();
+ }
+
+ loadProductInfo();
+
+ if (defaultProductInfo != null) {
+ return defaultProductInfo.getTitle();
+ }
+ return null;
+ }
+
+ public void setTitle(String title) {
+ if (defaultProductInfo == null) {
+ createProductInfo();
+ }
+ defaultProductInfo.setTitle(title);
+ }
+
+ // ProductPageInfo
+ private void createDefaultProductPageInfo() {
+ if (defaultProductPageInfo == null) {
+ defaultProductPageInfo = new ProductPageInfo();
+ defaultProductPageInfo.setProductId(getProductId());
+ setProductPageInfoAsOne(defaultProductPageInfo);
+ }
+ }
+
+ public String getPageId() {
+ if (getProductPageInfoAsOne() != null) {
+ return getProductPageInfoAsOne().getPageId();
+ }
+ return null;
+ }
+
+ public void setPageId(String pageId) {
+ createDefaultProductPageInfo();
+ defaultProductPageInfo.setPageId(pageId);
+ }
+
+ public String getTemplateName() {
+ if (getProductPageInfoAsOne() != null) {
+ return getProductPageInfoAsOne().getTemplateName();
+ }
+ return null;
+ }
+
+ public void setTemplateName(String templateName) {
+ createDefaultProductPageInfo();
+ defaultProductPageInfo.setTemplateName(templateName);
+ }
+
+ public String getKeyword() {
+ if (getProductPageInfoAsOne() != null) {
+ return getProductPageInfoAsOne().getKeyword();
+ }
+ return null;
+ }
+
+ public void setKeyword(String keyword) {
+ createDefaultProductPageInfo();
+ defaultProductPageInfo.setKeyword(keyword);
+ }
+
+ public String getDescription() {
+ if (getProductPageInfoAsOne() != null) {
+ return getProductPageInfoAsOne().getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ createDefaultProductPageInfo();
+ defaultProductPageInfo.setDescription(description);
+ }
+
+ // ProductDescription
+
+ private void loadProductDescription() {
+ if (getProductDescriptionList() != null
+ && !getProductDescriptionList().isEmpty()) {
+ for (ProductDescription productDescription : getProductDescriptionList()) {
+ if (getLanguage().equals(productDescription.getLanguage())) {
+ defaultProductDescription = productDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(productDescription.getLanguage())) {
+ defaultProductDescription = productDescription;
+ }
+ }
+ }
+ }
+
+ private void createProductDescription() {
+ loadProductDescription();
+ if (getProductDescriptionList() == null) {
+ setProductDescriptionList(new ArrayList());
+ }
+ if (defaultProductDescription == null) {
+ defaultProductDescription = new ProductDescription();
+ defaultProductDescription.setProductId(getProductId());
+ defaultProductDescription.setLanguage(getLanguage());
+ getProductDescriptionList().add(defaultProductDescription);
+ }
+ }
+
+ public String getProductDescription() {
+ if (defaultProductDescription != null) {
+ return defaultProductDescription.getDescription();
+ }
+
+ loadProductDescription();
+
+ if (defaultProductDescription != null) {
+ return defaultProductDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setProductDescription(String description) {
+ if (defaultProductDescription == null) {
+ createProductDescription();
+ }
+ defaultProductDescription.setDescription(description);
+ }
+
+ // ProductContent
+
+ private void loadDefaultProductContent() {
+ if (getProductContentList() != null
+ && !getProductContentList().isEmpty()) {
+ ProductContent productContent1 = null;
+ ProductContent productContent2 = null;
+ ProductContent productContent3 = null;
+ for (ProductContent productContent : getProductContentList()) {
+ if (getLanguage().equals(productContent.getLanguage())) {
+ if (BigDecimal.valueOf(1).equals(
+ productContent.getSortOrder())) {
+ defaultProductContent1 = productContent;
+ } else if (BigDecimal.valueOf(2).equals(
+ productContent.getSortOrder())) {
+ defaultProductContent2 = productContent;
+ } else if (BigDecimal.valueOf(3).equals(
+ productContent.getSortOrder())) {
+ defaultProductContent3 = productContent;
+ }
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(productContent.getLanguage())) {
+ if (BigDecimal.valueOf(1).equals(
+ productContent.getSortOrder())) {
+ productContent1 = productContent;
+ } else if (BigDecimal.valueOf(2).equals(
+ productContent.getSortOrder())) {
+ productContent2 = productContent;
+ } else if (BigDecimal.valueOf(3).equals(
+ productContent.getSortOrder())) {
+ productContent3 = productContent;
+ }
+ }
+ }
+ if (defaultProductContent1 == null) {
+ defaultProductContent1 = productContent1;
+ }
+ if (defaultProductContent2 == null) {
+ defaultProductContent2 = productContent2;
+ }
+ if (defaultProductContent3 == null) {
+ defaultProductContent3 = productContent3;
+ }
+ }
+ }
+
+ private void createDefaultProductContent() {
+ if (defaultProductContent1 == null || defaultProductContent2 == null
+ || defaultProductContent3 == null) {
+ loadDefaultProductContent();
+ }
+ if (getProductContentList() == null) {
+ setProductContentList(new ArrayList());
+ }
+ if (defaultProductContent1 == null) {
+ defaultProductContent1 = new ProductContent();
+ defaultProductContent1.setProductId(getProductId());
+ defaultProductContent1.setLanguage(getLanguage());
+ defaultProductContent1.setSortOrder(BigDecimal.valueOf(1));
+ getProductContentList().add(defaultProductContent1);
+ }
+ if (defaultProductContent2 == null) {
+ defaultProductContent2 = new ProductContent();
+ defaultProductContent2.setProductId(getProductId());
+ defaultProductContent2.setLanguage(getLanguage());
+ defaultProductContent2.setSortOrder(BigDecimal.valueOf(2));
+ getProductContentList().add(defaultProductContent2);
+ }
+ if (defaultProductContent3 == null) {
+ defaultProductContent3 = new ProductContent();
+ defaultProductContent3.setProductId(getProductId());
+ defaultProductContent3.setLanguage(getLanguage());
+ defaultProductContent3.setSortOrder(BigDecimal.valueOf(3));
+ getProductContentList().add(defaultProductContent3);
+ }
+ }
+
+ public String getContent1() {
+ if (defaultProductContent1 != null) {
+ return defaultProductContent1.getContent();
+ }
+
+ loadDefaultProductContent();
+
+ if (defaultProductContent1 != null) {
+ return defaultProductContent1.getContent();
+ }
+ return null;
+ }
+
+ public void setContent1(String content) {
+ createDefaultProductContent();
+ defaultProductContent1.setContent(content);
+ }
+
+ public String getContent2() {
+ if (defaultProductContent2 != null) {
+ return defaultProductContent2.getContent();
+ }
+
+ loadDefaultProductContent();
+
+ if (defaultProductContent2 != null) {
+ return defaultProductContent2.getContent();
+ }
+ return null;
+ }
+
+ public void setContent2(String content) {
+ createDefaultProductContent();
+ defaultProductContent2.setContent(content);
+ }
+
+ public String getContent3() {
+ if (defaultProductContent3 != null) {
+ return defaultProductContent3.getContent();
+ }
+
+ loadDefaultProductContent();
+
+ if (defaultProductContent3 != null) {
+ return defaultProductContent3.getContent();
+ }
+ return null;
+ }
+
+ public void setContent3(String content) {
+ createDefaultProductContent();
+ defaultProductContent3.setContent(content);
+ }
+
+ public String getManufacturerName() {
+ if (getManufacturer() != null) {
+ return getManufacturer().getName();
+ }
+ return null;
+ }
+
+ public String getManufacturerDescription() {
+ if (getManufacturer() != null) {
+ return getManufacturer().getDescription();
+ }
+ return null;
+ }
+
+ public String getManufacturerUrl() {
+ if (getManufacturer() != null) {
+ return getManufacturer().getUrl();
+ }
+ return null;
+ }
+ // ProductStats
+
}
Modified: pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/TaxType.java
===================================================================
--- pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/TaxType.java 2008-04-07 01:45:34 UTC (rev 877)
+++ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/pompei/exentity/TaxType.java 2008-04-08 04:39:30 UTC (rev 878)
@@ -1,16 +1,104 @@
package jp.sf.pal.pompei.exentity;
+import java.util.ArrayList;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
/**
* The entity of TAX_TYPE.
* You can implement your original methods here.
* This class is NOT overrided when re-generating.
*
* @author DBFlute(AutoGenerator)
- */
+ */
@SuppressWarnings("unchecked")
public class TaxType extends jp.sf.pal.pompei.bsentity.BsTaxType {
/** Serial version UID. (Default) */
private static final long serialVersionUID = 1L;
+
+ private String language = PompeiDBConstants.DEFAULT_LANGUAGE;
+
+ private TaxTypeDescription defaultTaxTypeDescription;
+
+ private void clearDefaultValues() {
+ defaultTaxTypeDescription = null;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ clearDefaultValues();
+ }
+
+ private void loadTaxTypeDescription() {
+ if (getTaxTypeDescriptionList() != null
+ && !getTaxTypeDescriptionList().isEmpty()) {
+ for (TaxTypeDescription taxTypeDescription : getTaxTypeDescriptionList()) {
+ if (getLanguage().equals(taxTypeDescription.getLanguage())) {
+ defaultTaxTypeDescription = taxTypeDescription;
+ return;
+ } else if (PompeiDBConstants.DEFAULT_LANGUAGE
+ .equals(taxTypeDescription.getLanguage())) {
+ defaultTaxTypeDescription = taxTypeDescription;
+ }
+ }
+ }
+ }
+
+ private void createTaxTypeDescription() {
+ loadTaxTypeDescription();
+ if (getTaxTypeDescriptionList() == null) {
+ setTaxTypeDescriptionList(new ArrayList());
+ }
+ if (defaultTaxTypeDescription == null) {
+ defaultTaxTypeDescription = new TaxTypeDescription();
+ defaultTaxTypeDescription.setTaxTypeId(getTaxTypeId());
+ defaultTaxTypeDescription.setLanguage(getLanguage());
+ getTaxTypeDescriptionList().add(defaultTaxTypeDescription);
+ }
+ }
+
+ public String getName() {
+ if (defaultTaxTypeDescription != null) {
+ return defaultTaxTypeDescription.getName();
+ }
+
+ loadTaxTypeDescription();
+
+ if (defaultTaxTypeDescription != null) {
+ return defaultTaxTypeDescription.getName();
+ }
+ return null;
+ }
+
+ public void setName(String name) {
+ if (defaultTaxTypeDescription == null) {
+ createTaxTypeDescription();
+ }
+ defaultTaxTypeDescription.setName(name);
+ }
+
+ public String getDescription() {
+ if (defaultTaxTypeDescription != null) {
+ return defaultTaxTypeDescription.getDescription();
+ }
+
+ loadTaxTypeDescription();
+
+ if (defaultTaxTypeDescription != null) {
+ return defaultTaxTypeDescription.getDescription();
+ }
+ return null;
+ }
+
+ public void setDescription(String description) {
+ if (defaultTaxTypeDescription == null) {
+ createTaxTypeDescription();
+ }
+ defaultTaxTypeDescription.setDescription(description);
+ }
}
From svnnotify @ sourceforge.jp Tue Apr 8 13:59:55 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Tue, 08 Apr 2008 13:59:55 +0900
Subject: [pal-cvs 3143] [879] updated db schema and implemented service
classes.
Message-ID: <1207630795.910043.20750.nullmailer@users.sourceforge.jp>
Revision: 879
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=879
Author: shinsuke
Date: 2008-04-08 13:59:55 +0900 (Tue, 08 Apr 2008)
Log Message:
-----------
updated db schema and implemented service classes.
Modified Paths:
--------------
pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay
pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/SystemService.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java
pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/SystemServiceImpl.java
pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java
pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/OrderServiceImplTest.java
pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/ProductServiceImplTest.java
pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon
-------------- next part --------------
Modified: pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay 2008-04-08 04:59:55 UTC (rev 879)
@@ -224,6 +224,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -284,6 +297,13 @@
+
+
+
+
+
+
+
@@ -713,7 +733,7 @@
-
+
@@ -974,7 +994,7 @@
-
+
@@ -1444,7 +1464,7 @@
-
+
@@ -1459,14 +1479,27 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1486,6 +1519,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1648,26 +1695,26 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -2772,7 +2819,7 @@
-
+
@@ -3346,7 +3393,7 @@
-
+
@@ -3407,13 +3454,6 @@
-
-
-
-
-
-
-
Modified: pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql 2008-04-08 04:59:55 UTC (rev 879)
@@ -179,6 +179,7 @@
CREATE TABLE CATEGORY (
CATEGORY_ID INTEGER NOT NULL AUTO_INCREMENT
, PARENT_CATEGORY_ID INTEGER NOT NULL DEFAULT 0
+ , FILE_DATA_ID BIGINT
, NUM_OF_PRODUCT INTEGER
, STATUS INTEGER NOT NULL
, SORT_ORDER INTEGER NOT NULL
@@ -228,7 +229,7 @@
, BILLING_POSTCODE VARCHAR(10) NOT NULL
, BILLING_TELEPHONE VARCHAR(40)
, BILLING_COUNTRY_CODE VARCHAR(40) NOT NULL
- , BILLING_LOCALE_NAME VARCHAR(20) NOT NULL
+ , BILLING_LANGUAGE VARCHAR(20) NOT NULL
, ORDER_STATUS_ID INTEGER NOT NULL
, UPDATED_DATE TIMESTAMP NOT NULL
, PURCHASED_DATE TIMESTAMP NOT NULL
@@ -238,9 +239,11 @@
CREATE TABLE PRODUCT (
PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_MODE INTEGER NOT NULL
+ , CODE VARCHAR(40) NOT NULL
, MODEL VARCHAR(80)
- , CODE VARCHAR(40) NOT NULL
, STOCK INTEGER
+ , CATALOG_PRICE DECIMAL(15, 4)
, PRICE DECIMAL(15, 4) NOT NULL
, WEIGHT DECIMAL(5, 2)
, SIZE VARCHAR(40)
@@ -427,7 +430,7 @@
CREATE TABLE MANUFACTURER_DESCRIPTION (
MANUFACTURER_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
, MANUFACTURER_ID INTEGER NOT NULL
- , CONTENT TEXT
+ , DESCRIPTION TEXT
, LANGUAGE VARCHAR(20) NOT NULL
, PRIMARY KEY (MANUFACTURER_DESCRIPTION_ID)
);
@@ -505,7 +508,6 @@
, PAYMENT_METHOD_CODE VARCHAR(40) NOT NULL
, ORDER_CARD_INFO_ID BIGINT
, PAYMENT_STATUS_ID INTEGER
- , UPDATED_DATE TIMESTAMP
, SUB_TOTAL_PRICE DECIMAL(14, 6)
, TAX DECIMAL(14, 6)
, DELIVERY_PRICE DECIMAL(14, 6)
@@ -694,11 +696,17 @@
REFERENCES CATEGORY (CATEGORY_ID)
ON DELETE SET DEFAULT;
+ALTER TABLE CATEGORY
+ ADD CONSTRAINT FK_FROM_CATEGORY_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
ALTER TABLE MANUFACTURER
ADD CONSTRAINT FK_FROM_MANUFACTURER_TO_FILE_DATA
FOREIGN KEY (FILE_DATA_ID)
REFERENCES FILE_DATA (FILE_DATA_ID)
- ON DELETE CASCADE;
+ ON DELETE SET NULL;
ALTER TABLE ORDER_FORM
ADD CONSTRAINT FK_FROM_CUSTOMER_TO_ORDER_FORM
@@ -719,12 +727,6 @@
ON DELETE SET NULL;
ALTER TABLE PRODUCT
- ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA
- FOREIGN KEY (FILE_DATA_ID)
- REFERENCES FILE_DATA (FILE_DATA_ID)
- ON DELETE CASCADE;
-
-ALTER TABLE PRODUCT
ADD CONSTRAINT FK_FROM_PRODUCT_TO_TAX_TYPE
FOREIGN KEY (TAX_TYPE_ID)
REFERENCES TAX_TYPE (TAX_TYPE_ID)
@@ -736,6 +738,12 @@
REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID)
ON DELETE SET NULL;
+ALTER TABLE PRODUCT
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
ALTER TABLE BASKET
ADD CONSTRAINT FK_FROM_BASKET_TO_PRODUCT
FOREIGN KEY (PRODUCT_ID)
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -37,15 +37,22 @@
public static final String LAST_MODIFIED_DESC_ORDER = "lastModifiedDesc";
- public static final BigDecimal DEFAULT_ORDER_STATUS = new BigDecimal(1);
+ public static final BigDecimal DEFAULT_ORDER_STATUS = BigDecimal.valueOf(1);
- public static final BigDecimal PENDING_ORDER_STATUS_TYPE = new BigDecimal(0);
+ public static final BigDecimal PENDING_ORDER_STATUS_TYPE = BigDecimal
+ .valueOf(0);
- public static final BigDecimal NEW_ORDER_STATUS_TYPE = new BigDecimal(1);
+ public static final BigDecimal NEW_ORDER_STATUS_TYPE = BigDecimal
+ .valueOf(1);
- public static final BigDecimal NORMAL_ORDER_STATUS_TYPE = new BigDecimal(2);
+ public static final BigDecimal NORMAL_ORDER_STATUS_TYPE = BigDecimal
+ .valueOf(2);
- public static final BigDecimal FINISHED_ORDER_STATUS_TYPE = new BigDecimal(
- 3);
+ public static final BigDecimal FINISHED_ORDER_STATUS_TYPE = BigDecimal
+ .valueOf(3);
+ public static final BigDecimal EDIT_PRODUCT_MODE = BigDecimal.valueOf(1);
+
+ public static final BigDecimal DEPLOY_PRODUCT_MODE = BigDecimal.valueOf(2);
+
}
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -11,6 +11,11 @@
private int currentPageNumber;
+ public void clear() {
+ pageSize = DEFAULT_PAGE_SIZE;
+ currentPageNumber = DEFAULT_CURRENT_PAGE_NUMBER;
+ }
+
/**
* @return pageSize
*/
@@ -22,7 +27,7 @@
}
/**
- * @param pageSize 設定する pageSize
+ * @param pageSize Sets pageSize
*/
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
@@ -39,7 +44,7 @@
}
/**
- * @param currentPageNumber 設定する currentPageNumber
+ * @param currentPageNumber Sets currentPageNumber
*/
public void setCurrentPageNumber(int currentPageNumber) {
this.currentPageNumber = currentPageNumber;
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -2,6 +2,8 @@
import java.math.BigDecimal;
+import jp.sf.pal.pompei.PompeiDBConstants;
+
public class ProductPager extends DefaultPager {
private static final long serialVersionUID = 5634903690975646435L;
@@ -13,45 +15,45 @@
private BigDecimal categoryId;
- /**
- * @return categoryId
- */
- public BigDecimal getCategoryId() {
- return categoryId;
- }
+ private BigDecimal productMode = PompeiDBConstants.DEPLOY_PRODUCT_MODE;
- /**
- * @param categoryId 設定する categoryId
- */
- public void setCategoryId(BigDecimal categoryId) {
- this.categoryId = categoryId;
+ public void clear() {
+ super.clear();
+ displayMode = null;
+ orderMode = null;
+ categoryId = null;
}
- /**
- * @return displayMode
- */
public String getDisplayMode() {
return displayMode;
}
- /**
- * @param displayMode 設定する displayMode
- */
public void setDisplayMode(String displayMode) {
this.displayMode = displayMode;
}
- /**
- * @return orderMode
- */
public String getOrderMode() {
return orderMode;
}
- /**
- * @param orderMode 設定する orderMode
- */
public void setOrderMode(String orderMode) {
this.orderMode = orderMode;
}
+
+ public BigDecimal getCategoryId() {
+ return categoryId;
+ }
+
+ public void setCategoryId(BigDecimal categoryId) {
+ this.categoryId = categoryId;
+ }
+
+ public BigDecimal getProductMode() {
+ return productMode;
+ }
+
+ public void setProductMode(BigDecimal mode) {
+ this.productMode = mode;
+ }
+
}
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -24,7 +24,8 @@
public abstract void addBasket(Basket basket);
- public abstract void addCustomer(Customer customer, AddressBook addressBook);
+ public abstract void addCustomer(Customer customer)
+ throws PompeiDBException;
// ex.
// Calendar yesterday = Calendar.getInstance();
@@ -48,7 +49,7 @@
boolean appendCustomer);
public abstract List getAddressBookListByCustomerId(
- BigDecimal customerId, String language);
+ BigDecimal customerId);
public abstract List getAddressBookListByCustomerId(
BigDecimal customerId, boolean appendCustomer);
@@ -69,10 +70,18 @@
boolean appendBasketProductOption, boolean appendCustomer,
boolean appendProduct) throws PompeiDBException;
- public abstract List getBasketList(BigDecimal customerId,
+ public abstract List getBasketListByCustomerId(
+ BigDecimal customerId, String language) throws PompeiDBException;
+
+ public abstract List getBasketListByCustomerId(
+ BigDecimal customerId, String language,
+ boolean appendBasketProductOption, boolean appendCustomer,
+ boolean appendProduct) throws PompeiDBException;
+
+ public abstract List getBasketList(List basketIdList,
String language) throws PompeiDBException;
- public abstract List getBasketList(BigDecimal customerId,
+ public abstract List getBasketList(List basketIdList,
String language, boolean appendBasketProductOption,
boolean appendCustomer, boolean appendProduct)
throws PompeiDBException;
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -1,31 +1,18 @@
package jp.sf.pal.pompei.service;
+import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import jp.sf.pal.pompei.PompeiDBException;
import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
-import jp.sf.pal.pompei.exbhv.CategoryBhv;
-import jp.sf.pal.pompei.exbhv.CategoryContentBhv;
-import jp.sf.pal.pompei.exbhv.CategoryInfoBhv;
-import jp.sf.pal.pompei.exbhv.CategoryPageInfoBhv;
-import jp.sf.pal.pompei.exbhv.ManufacturerBhv;
-import jp.sf.pal.pompei.exbhv.ManufacturerDescriptionBhv;
-import jp.sf.pal.pompei.exbhv.ManufacturerInfoBhv;
-import jp.sf.pal.pompei.exbhv.ProductAttributeBhv;
-import jp.sf.pal.pompei.exbhv.ProductBhv;
-import jp.sf.pal.pompei.exbhv.ProductContentBhv;
-import jp.sf.pal.pompei.exbhv.ProductDescriptionBhv;
-import jp.sf.pal.pompei.exbhv.ProductInfoBhv;
-import jp.sf.pal.pompei.exbhv.ProductPageInfoBhv;
-import jp.sf.pal.pompei.exbhv.ProductStatsBhv;
-import jp.sf.pal.pompei.exbhv.ProductToCategoryBhv;
import jp.sf.pal.pompei.exentity.Category;
+import jp.sf.pal.pompei.exentity.FileData;
import jp.sf.pal.pompei.exentity.Manufacturer;
import jp.sf.pal.pompei.exentity.Product;
import jp.sf.pal.pompei.pager.ProductPager;
-public interface ProductService {
+public interface ProductService extends Serializable {
public abstract void addCategory(Category category)
throws PompeiDBException;
@@ -120,73 +107,8 @@
public abstract void updateProduct(Product product)
throws PompeiDBException;
- public abstract ProductBhv getProductBhv();
+ public abstract FileData getFileData(BigDecimal fileDataId);
- public abstract void setProductBhv(ProductBhv productBhv);
-
- public abstract ProductDescriptionBhv getProductDescriptionBhv();
-
- public abstract void setProductDescriptionBhv(
- ProductDescriptionBhv productDescriptionBhv);
-
- public abstract ProductPageInfoBhv getProductPageInfoBhv();
-
- public abstract void setProductPageInfoBhv(
- ProductPageInfoBhv productPageInfoBhv);
-
- public abstract ProductStatsBhv getProductStatsBhv();
-
- public abstract void setProductStatsBhv(ProductStatsBhv productStatsBhv);
-
- public abstract ProductToCategoryBhv getProductToCategoryBhv();
-
- public abstract void setProductToCategoryBhv(
- ProductToCategoryBhv productToCategoryBhv);
-
- public abstract CategoryBhv getCategoryBhv();
-
- public abstract void setCategoryBhv(CategoryBhv categoryBhv);
-
- public abstract CategoryInfoBhv getCategoryInfoBhv();
-
- public abstract void setCategoryInfoBhv(CategoryInfoBhv categoryInfoBhv);
-
- public abstract CategoryContentBhv getCategoryContentBhv();
-
- public abstract void setCategoryContentBhv(
- CategoryContentBhv categoryContentBhv);
-
- public abstract CategoryPageInfoBhv getCategoryPageInfoBhv();
-
- public abstract void setCategoryPageInfoBhv(
- CategoryPageInfoBhv categoryPageInfoBhv);
-
- public abstract ManufacturerBhv getManufacturerBhv();
-
- public abstract void setManufacturerBhv(ManufacturerBhv manufacturerBhv);
-
- public abstract ManufacturerDescriptionBhv getManufacturerDescriptionBhv();
-
- public abstract void setManufacturerDescriptionBhv(
- ManufacturerDescriptionBhv manufacturerDescriptionBhv);
-
- public abstract ProductAttributeBhv getProductAttributeBhv();
-
- public abstract void setProductAttributeBhv(
- ProductAttributeBhv productAttributeBhv);
-
- public abstract ProductContentBhv getProductContentBhv();
-
- public abstract void setProductContentBhv(
- ProductContentBhv productContentBhv);
-
- public abstract ProductInfoBhv getProductInfoBhv();
-
- public abstract void setProductInfoBhv(ProductInfoBhv productInfoBhv);
-
- public abstract ManufacturerInfoBhv getManufacturerInfoBhv();
-
- public abstract void setManufacturerInfoBhv(
- ManufacturerInfoBhv manufacturerInfoBhv);
-
+ public abstract FileData getFileData(BigDecimal fileDataId,
+ boolean appendImageData);
}
\ No newline at end of file
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/SystemService.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/SystemService.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/SystemService.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -11,6 +11,7 @@
import jp.sf.pal.pompei.exentity.DeliveryStatus;
import jp.sf.pal.pompei.exentity.DeliveryType;
import jp.sf.pal.pompei.exentity.DeliveryZone;
+import jp.sf.pal.pompei.exentity.OrderNotification;
import jp.sf.pal.pompei.exentity.OrderStatus;
import jp.sf.pal.pompei.exentity.PaymentMethod;
import jp.sf.pal.pompei.exentity.PaymentStatus;
@@ -207,5 +208,8 @@
public abstract void updateOrderStatus(OrderStatus orderStatus);
- // TODO order notification
+ public List getOrderNotificationListByOrderStatusId(
+ BigDecimal orderStatusId);
+
+ public OrderNotification getOrderNotification(BigDecimal orderNotificationId);
}
\ No newline at end of file
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -83,7 +83,7 @@
}
// inner class
- private class AddressBookConditionBeanSetupper implements
+ private static class AddressBookConditionBeanSetupper implements
ConditionBeanSetupper {
private boolean defaultOnly;
@@ -95,6 +95,7 @@
if (defaultOnly) {
cb.query().setDefaultAddress_Equal(PompeiDBConstants.TRUE);
}
+ cb.query().addOrderBy_DefaultAddress_Desc();
}
}
@@ -121,25 +122,31 @@
}
/* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.CustomerService#addCustomer(jp.sf.pal.pompei.exentity.Customer, jp.sf.pal.pompei.exentity.AddressBook)
+ * @see jp.sf.pal.pompei.service.CustomerService#addCustomer(jp.sf.pal.pompei.exentity.Customer)
*/
- public void addCustomer(Customer customer, AddressBook addressBook) {
+ public void addCustomer(Customer customer) throws PompeiDBException {
// needs to set portalId for customer before calling this method.
// needs to set deliveryZone for addressBook before calling this method.
// needs to set country for addressBook before calling this method.
- if (customer == null || addressBook == null) {
- throw new IllegalArgumentException(
- "customer or addressBook are null.");
+ if (customer == null) {
+ throw new IllegalArgumentException("customer is null.");
}
+ if (customer.getAddressBookList() == null
+ || customer.getAddressBookList().isEmpty()) {
+ throw new PompeiDBException("EPD0404",
+ "Could not find the address book: customer=" + customer);
+ }
+
Timestamp now = new Timestamp(System.currentTimeMillis());
customer.setCreatedDate(now);
customer.setUpdatedDate(now);
customerBhv.insert(customer);
- addressBook.setCustomerId(customer.getCustomerId());
- addressBook.setDefaultAddress(PompeiDBConstants.TRUE);
- addressBookBhv.insert(addressBook);
+ for (AddressBook addressBook : customer.getAddressBookList()) {
+ addressBook.setCustomerId(customer.getCustomerId());
+ addressBookBhv.insert(addressBook);
+ }
}
// ex.
@@ -251,10 +258,10 @@
}
/* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.CustomerService#getAddressBookListByCustomerId(java.math.BigDecimal, java.lang.String)
+ * @see jp.sf.pal.pompei.service.CustomerService#getAddressBookListByCustomerId(java.math.BigDecimal)
*/
public List getAddressBookListByCustomerId(
- BigDecimal customerId, String language) {
+ BigDecimal customerId) {
return getAddressBookListByCustomerId(customerId, false);
}
@@ -376,19 +383,21 @@
}
/* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.CustomerService#getBasketList(java.math.BigDecimal, java.lang.String)
+ * @see jp.sf.pal.pompei.service.CustomerService#getBasketListByCustomerId(java.math.BigDecimal, java.lang.String)
*/
- public List getBasketList(BigDecimal customerId, String language)
- throws PompeiDBException {
- return getBasketList(customerId, language, true, false, true);
+ public List getBasketListByCustomerId(BigDecimal customerId,
+ String language) throws PompeiDBException {
+ return getBasketListByCustomerId(customerId, language, true, false,
+ true);
}
/* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.CustomerService#getBasketList(java.math.BigDecimal, java.lang.String, boolean, boolean, boolean)
+ * @see jp.sf.pal.pompei.service.CustomerService#getBasketListByCustomerId(java.math.BigDecimal, java.lang.String, boolean, boolean, boolean)
*/
- public List getBasketList(BigDecimal customerId, String language,
- boolean appendBasketProductOption, boolean appendCustomer,
- boolean appendProduct) throws PompeiDBException {
+ public List getBasketListByCustomerId(BigDecimal customerId,
+ String language, boolean appendBasketProductOption,
+ boolean appendCustomer, boolean appendProduct)
+ throws PompeiDBException {
if (customerId == null) {
throw new IllegalArgumentException("customerId is null.");
}
@@ -427,6 +436,56 @@
return basketList;
}
+ public List getBasketList(List basketIdList,
+ String language) throws PompeiDBException {
+ return getBasketList(basketIdList, language, true, false, true);
+ }
+
+ public List getBasketList(List basketIdList,
+ String language, boolean appendBasketProductOption,
+ boolean appendCustomer, boolean appendProduct)
+ throws PompeiDBException {
+ if (basketIdList == null) {
+ throw new IllegalArgumentException("basketIdList is null.");
+ }
+
+ List basketList = new ArrayList();
+ for (BigDecimal basketId : basketIdList) {
+ BasketCB cb = new BasketCB();
+ cb.query().setBasketId_Equal(basketId);
+ Basket basket = basketBhv.selectEntity(cb);
+ if (basket == null) {
+ throw new PompeiDBException("EPD0405",
+ "Could not find a customer basket: basketId="
+ + basketId);
+ }
+
+ // customer
+ if (appendCustomer) {
+ basket.setCustomer(getCustomer(basket.getCustomerId(), true,
+ true));
+ }
+
+ // product
+ if (appendProduct) {
+ basket.setProduct(productService.getProduct(basket
+ .getProductId(), language, true, true, false, false,
+ false, false, true, true));
+ }
+
+ // product option
+ if (appendBasketProductOption) {
+ BasketProductOptionCB cb1 = new BasketProductOptionCB();
+ cb1.query().setBasketId_Equal(basket.getBasketId());
+ basket.setBasketProductOptionList(basketProductOptionBhv
+ .selectList(cb1));
+ }
+ basketList.add(basket);
+ }
+
+ return basketList;
+ }
+
/* (non-Javadoc)
* @see jp.sf.pal.pompei.service.CustomerService#getCustomer(java.math.BigDecimal)
*/
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -23,6 +23,7 @@
import jp.sf.pal.pompei.exentity.OrderComment;
import jp.sf.pal.pompei.exentity.OrderDelivery;
import jp.sf.pal.pompei.exentity.OrderForm;
+import jp.sf.pal.pompei.exentity.OrderNotification;
import jp.sf.pal.pompei.exentity.OrderPayment;
import jp.sf.pal.pompei.exentity.OrderProduct;
import jp.sf.pal.pompei.exentity.OrderProductOption;
@@ -443,6 +444,13 @@
// deleted by cascade
+ // delete order card info
+ OrderCardInfoCB cb = new OrderCardInfoCB();
+ cb.query().setOrderFormId_Equal(orderFormId);
+ OrderCardInfo orderCardInfo = orderCardInfoBhv.selectEntity(cb);
+ if (orderCardInfo != null) {
+ orderCardInfoBhv.delete(orderCardInfo);
+ }
}
public OrderCardInfoBhv getOrderCardInfoBhv() {
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -12,6 +12,7 @@
import jp.sf.pal.pompei.cbean.CategoryCB;
import jp.sf.pal.pompei.cbean.CategoryContentCB;
import jp.sf.pal.pompei.cbean.CategoryInfoCB;
+import jp.sf.pal.pompei.cbean.FileDataCB;
import jp.sf.pal.pompei.cbean.ManufacturerCB;
import jp.sf.pal.pompei.cbean.ManufacturerDescriptionCB;
import jp.sf.pal.pompei.cbean.ManufacturerInfoCB;
@@ -25,6 +26,7 @@
import jp.sf.pal.pompei.exbhv.CategoryContentBhv;
import jp.sf.pal.pompei.exbhv.CategoryInfoBhv;
import jp.sf.pal.pompei.exbhv.CategoryPageInfoBhv;
+import jp.sf.pal.pompei.exbhv.FileDataBhv;
import jp.sf.pal.pompei.exbhv.ManufacturerBhv;
import jp.sf.pal.pompei.exbhv.ManufacturerDescriptionBhv;
import jp.sf.pal.pompei.exbhv.ManufacturerInfoBhv;
@@ -40,6 +42,7 @@
import jp.sf.pal.pompei.exentity.CategoryContent;
import jp.sf.pal.pompei.exentity.CategoryInfo;
import jp.sf.pal.pompei.exentity.CategoryPageInfo;
+import jp.sf.pal.pompei.exentity.FileData;
import jp.sf.pal.pompei.exentity.Manufacturer;
import jp.sf.pal.pompei.exentity.ManufacturerDescription;
import jp.sf.pal.pompei.exentity.ManufacturerInfo;
@@ -88,6 +91,8 @@
private transient ProductContentBhv productContentBhv;
+ private transient FileDataBhv fileDataBhv;
+
/* (non-Javadoc)
* @see jp.sf.pal.pompei.service.ProductService#addCategory(jp.sf.pal.pompei.exentity.Category)
*/
@@ -407,10 +412,6 @@
throw new IllegalArgumentException("categoryId is null.");
}
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
-
CategoryCB cb = new CategoryCB();
cb.query().setCategoryId_Equal(categoryId);
if (appendCategoryPageInfo) {
@@ -424,8 +425,10 @@
// append category info
if (appendCategoryInfo) {
CategoryInfoCB cb1 = new CategoryInfoCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
List categoryInfoList = categoryInfoBhv
.selectList(cb1);
@@ -448,8 +451,10 @@
// append category content
if (appendCategoryContent) {
CategoryContentCB cb1 = new CategoryContentCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
cb1.query().addOrderBy_SortOrder_Asc();
List categoryContentList = categoryContentBhv
@@ -483,10 +488,6 @@
throw new IllegalArgumentException("categoryId is null.");
}
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
-
List categoryList = new ArrayList();
while (categoryId != null) {
Category category = getCategory(categoryId, language, true, true,
@@ -526,10 +527,6 @@
throw new IllegalArgumentException("manufacturerId is null.");
}
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
-
ManufacturerCB cb = new ManufacturerCB();
cb.query().setManufacturerId_Equal(manufacturerId);
if (appendFileData) {
@@ -543,8 +540,10 @@
// append manufacturer info
if (appendManufacturerInfo) {
ManufacturerInfoCB cb1 = new ManufacturerInfoCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
List manufacturerInfoList = manufacturerInfoBhv
.selectList(cb1);
@@ -567,8 +566,10 @@
// append manufacturer description
if (appendManufacturerDescription) {
ManufacturerDescriptionCB cb1 = new ManufacturerDescriptionCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
List manufacturerDescriptionList = manufacturerDescriptionBhv
.selectList(cb1);
@@ -608,9 +609,6 @@
boolean appendManufacturerInfo,
boolean appendManufacturerDescription, boolean appendFileData)
throws PompeiDBException {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
ManufacturerCB cb = new ManufacturerCB();
if (appendFileData) {
@@ -643,7 +641,7 @@
}
// inner class
- private class ManufacturerInfoConditionBeanSetupper implements
+ private static class ManufacturerInfoConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -652,16 +650,18 @@
}
public void setup(ManufacturerInfoCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
// inner class
- private class ManufacturerDescriptionConditionBeanSetupper implements
+ private static class ManufacturerDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -670,10 +670,12 @@
}
public void setup(ManufacturerDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -700,10 +702,6 @@
throw new IllegalArgumentException("productId is null.");
}
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
-
ProductCB cb = new ProductCB();
cb.query().setProductId_Equal(productId);
if (appendFileData) {
@@ -723,8 +721,10 @@
// append product info
if (appendProductInfo) {
ProductInfoCB cb1 = new ProductInfoCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
List productInfoList = productInfoBhv.selectList(cb1);
if (productInfoList.isEmpty()
@@ -746,8 +746,10 @@
// append product description
if (appendProductDescription) {
ProductDescriptionCB cb1 = new ProductDescriptionCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
List productDescriptionList = productDescriptionBhv
.selectList(cb1);
@@ -770,8 +772,10 @@
// append product content
if (appendProductContent) {
ProductContentCB cb1 = new ProductContentCB();
- // fall back
- cb1.query().setLanguage_PrefixSearch(language);
+ if (language != null) {
+ // fall back
+ cb1.query().setLanguage_PrefixSearch(language);
+ }
cb1.query().addOrderBy_Language_Desc();
List productContentList = productContentBhv
.selectList(cb1);
@@ -803,7 +807,6 @@
// manufacturer
if (appendManufacturer) {
- cb.setupSelect_Manufacturer();
BigDecimal manufacturerId = product.getManufacturerId();
if (manufacturerId != null) {
product.setManufacturer(getManufacturer(manufacturerId,
@@ -838,10 +841,6 @@
throw new IllegalArgumentException("productPager is null.");
}
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
-
ProductCB cb = new ProductCB();
//pager
@@ -864,6 +863,7 @@
}
// query
+ cb.query().setProductMode_Equal(productPager.getProductMode());
// categoryId
if (productPager.getCategoryId() != null) {
ProductToCategoryCB subCb = new ProductToCategoryCB();
@@ -908,7 +908,7 @@
}
// inner class
- private class ProductInfoConditionBeanSetupper implements
+ private static class ProductInfoConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -917,16 +917,18 @@
}
public void setup(ProductInfoCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
// inner class
- private class ProductDescriptionConditionBeanSetupper implements
+ private static class ProductDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -935,16 +937,18 @@
}
public void setup(ProductDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
// inner class
- private class ProductContentConditionBeanSetupper implements
+ private static class ProductContentConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -953,10 +957,12 @@
}
public void setup(ProductContentCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -980,10 +986,6 @@
throw new IllegalArgumentException("categoryId is null.");
}
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
-
CategoryCB cb = new CategoryCB();
cb.query().setParentCategoryId_Equal(categoryId);
if (appendCategoryPageInfo) {
@@ -1011,7 +1013,7 @@
}
// inner class
- private class CategoryInfoConditionBeanSetupper implements
+ private static class CategoryInfoConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1020,16 +1022,18 @@
}
public void setup(CategoryInfoCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
// inner class
- private class CategoryContentConditionBeanSetupper implements
+ private static class CategoryContentConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1065,12 +1069,12 @@
boolean appendProductStats, boolean appendManufacturer,
boolean appendFileData) {
// TODO test
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
ProductCB cb = new ProductCB();
+ //TODO is it argument?
+ cb.query().setProductMode_Equal(PompeiDBConstants.DEPLOY_PRODUCT_MODE);
+
//pager
cb.fetchFirst(num);
@@ -1275,217 +1279,147 @@
}
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductBhv()
- */
+ public FileData getFileData(BigDecimal fileDataId) {
+ return getFileData(fileDataId, true);
+ }
+
+ public FileData getFileData(BigDecimal fileDataId, boolean appendImageData) {
+ FileDataCB cb = new FileDataCB();
+ if (appendImageData) {
+ cb.setupSelect_ImageDataAsOne();
+ }
+ cb.query().setFileDataId_Equal(fileDataId);
+ return fileDataBhv.selectEntity(cb);
+ }
+
public ProductBhv getProductBhv() {
return productBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductBhv(jp.sf.pal.pompei.exbhv.ProductBhv)
- */
public void setProductBhv(ProductBhv productBhv) {
this.productBhv = productBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductDescriptionBhv()
- */
public ProductDescriptionBhv getProductDescriptionBhv() {
return productDescriptionBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductDescriptionBhv(jp.sf.pal.pompei.exbhv.ProductDescriptionBhv)
- */
public void setProductDescriptionBhv(
ProductDescriptionBhv productDescriptionBhv) {
this.productDescriptionBhv = productDescriptionBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductPageInfoBhv()
- */
+ public ProductInfoBhv getProductInfoBhv() {
+ return productInfoBhv;
+ }
+
+ public void setProductInfoBhv(ProductInfoBhv productInfoBhv) {
+ this.productInfoBhv = productInfoBhv;
+ }
+
public ProductPageInfoBhv getProductPageInfoBhv() {
return productPageInfoBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductPageInfoBhv(jp.sf.pal.pompei.exbhv.ProductPageInfoBhv)
- */
public void setProductPageInfoBhv(ProductPageInfoBhv productPageInfoBhv) {
this.productPageInfoBhv = productPageInfoBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductStatsBhv()
- */
public ProductStatsBhv getProductStatsBhv() {
return productStatsBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductStatsBhv(jp.sf.pal.pompei.exbhv.ProductStatsBhv)
- */
public void setProductStatsBhv(ProductStatsBhv productStatsBhv) {
this.productStatsBhv = productStatsBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductToCategoryBhv()
- */
public ProductToCategoryBhv getProductToCategoryBhv() {
return productToCategoryBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductToCategoryBhv(jp.sf.pal.pompei.exbhv.ProductToCategoryBhv)
- */
public void setProductToCategoryBhv(
ProductToCategoryBhv productToCategoryBhv) {
this.productToCategoryBhv = productToCategoryBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getCategoryBhv()
- */
public CategoryBhv getCategoryBhv() {
return categoryBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setCategoryBhv(jp.sf.pal.pompei.exbhv.CategoryBhv)
- */
public void setCategoryBhv(CategoryBhv categoryBhv) {
this.categoryBhv = categoryBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getCategoryInfoBhv()
- */
public CategoryInfoBhv getCategoryInfoBhv() {
return categoryInfoBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setCategoryInfoBhv(jp.sf.pal.pompei.exbhv.CategoryInfoBhv)
- */
public void setCategoryInfoBhv(CategoryInfoBhv categoryInfoBhv) {
this.categoryInfoBhv = categoryInfoBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getCategoryContentBhv()
- */
public CategoryContentBhv getCategoryContentBhv() {
return categoryContentBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setCategoryContentBhv(jp.sf.pal.pompei.exbhv.CategoryContentBhv)
- */
public void setCategoryContentBhv(CategoryContentBhv categoryContentBhv) {
this.categoryContentBhv = categoryContentBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getCategoryPageInfoBhv()
- */
public CategoryPageInfoBhv getCategoryPageInfoBhv() {
return categoryPageInfoBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setCategoryPageInfoBhv(jp.sf.pal.pompei.exbhv.CategoryPageInfoBhv)
- */
public void setCategoryPageInfoBhv(CategoryPageInfoBhv categoryPageInfoBhv) {
this.categoryPageInfoBhv = categoryPageInfoBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getManufacturerBhv()
- */
public ManufacturerBhv getManufacturerBhv() {
return manufacturerBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setManufacturerBhv(jp.sf.pal.pompei.exbhv.ManufacturerBhv)
- */
public void setManufacturerBhv(ManufacturerBhv manufacturerBhv) {
this.manufacturerBhv = manufacturerBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getManufacturerDescriptionBhv()
- */
+ public ManufacturerInfoBhv getManufacturerInfoBhv() {
+ return manufacturerInfoBhv;
+ }
+
+ public void setManufacturerInfoBhv(ManufacturerInfoBhv manufacturerInfoBhv) {
+ this.manufacturerInfoBhv = manufacturerInfoBhv;
+ }
+
public ManufacturerDescriptionBhv getManufacturerDescriptionBhv() {
return manufacturerDescriptionBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setManufacturerDescriptionBhv(jp.sf.pal.pompei.exbhv.ManufacturerDescriptionBhv)
- */
public void setManufacturerDescriptionBhv(
ManufacturerDescriptionBhv manufacturerDescriptionBhv) {
this.manufacturerDescriptionBhv = manufacturerDescriptionBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductAttributeBhv()
- */
public ProductAttributeBhv getProductAttributeBhv() {
return productAttributeBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductAttributeBhv(jp.sf.pal.pompei.exbhv.ProductAttributeBhv)
- */
public void setProductAttributeBhv(ProductAttributeBhv productAttributeBhv) {
this.productAttributeBhv = productAttributeBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductContentBhv()
- */
public ProductContentBhv getProductContentBhv() {
return productContentBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductContentBhv(jp.sf.pal.pompei.exbhv.ProductContentBhv)
- */
public void setProductContentBhv(ProductContentBhv productContentBhv) {
this.productContentBhv = productContentBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getProductInfoBhv()
- */
- public ProductInfoBhv getProductInfoBhv() {
- return productInfoBhv;
+ public FileDataBhv getFileDataBhv() {
+ return fileDataBhv;
}
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setProductInfoBhv(jp.sf.pal.pompei.exbhv.ProductInfoBhv)
- */
- public void setProductInfoBhv(ProductInfoBhv productInfoBhv) {
- this.productInfoBhv = productInfoBhv;
+ public void setFileDataBhv(FileDataBhv fileDataBhv) {
+ this.fileDataBhv = fileDataBhv;
}
-
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#getManufacturerInfoBhv()
- */
- public ManufacturerInfoBhv getManufacturerInfoBhv() {
- return manufacturerInfoBhv;
- }
-
- /* (non-Javadoc)
- * @see jp.sf.pal.pompei.service.ProductService#setManufacturerInfoBhv(jp.sf.pal.pompei.exbhv.ManufacturerInfoBhv)
- */
- public void setManufacturerInfoBhv(ManufacturerInfoBhv manufacturerInfoBhv) {
- this.manufacturerInfoBhv = manufacturerInfoBhv;
- }
-
}
Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/SystemServiceImpl.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/SystemServiceImpl.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/SystemServiceImpl.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -197,6 +197,20 @@
public DeliveryMethod getDeliveryMethod(BigDecimal deliveryMethodId,
String language, boolean appendDeliveryMethodDescription) {
if (appendDeliveryMethodDescription) {
+ if (language == null) {
+ DeliveryMethodCB cb = new DeliveryMethodCB();
+ cb.query().setDeliveryMethodId_Equal(deliveryMethodId);
+ DeliveryMethod deliveryMethod = deliveryMethodBhv
+ .selectEntity(cb);
+ if (deliveryMethod == null) {
+ return null;
+ }
+ DeliveryMethodDescriptionCB cb1 = new DeliveryMethodDescriptionCB();
+ deliveryMethod
+ .setDeliveryMethodDescriptionList(deliveryMethodDescriptionBhv
+ .selectList(cb1));
+ return deliveryMethod;
+ }
DeliveryMethodDescriptionCB cb = new DeliveryMethodDescriptionCB();
cb.setupSelect_DeliveryMethod();
cb.query().setDeliveryMethodId_Equal(deliveryMethodId);
@@ -238,9 +252,6 @@
*/
public List getDeliveryMethodList(String language,
boolean appendDeliveryMethodDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
DeliveryMethodCB cb = new DeliveryMethodCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -262,8 +273,8 @@
}
// inner class
- private class DeliveryMethodDescriptionConditionBeanSetupper implements
- ConditionBeanSetupper {
+ private static class DeliveryMethodDescriptionConditionBeanSetupper
+ implements ConditionBeanSetupper {
private String language;
public DeliveryMethodDescriptionConditionBeanSetupper(String language) {
@@ -271,10 +282,12 @@
}
public void setup(DeliveryMethodDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -382,6 +395,21 @@
public DeliveryStatus getDeliveryStatus(BigDecimal deliveryStatusId,
String language, boolean appendDeliveryStatusDescription) {
if (appendDeliveryStatusDescription) {
+ if (language == null) {
+ // set all language
+ DeliveryStatusCB cb = new DeliveryStatusCB();
+ cb.query().setDeliveryStatusId_Equal(deliveryStatusId);
+ DeliveryStatus deliveryStatus = deliveryStatusBhv
+ .selectEntity(cb);
+ if (deliveryStatus == null) {
+ return null;
+ }
+ DeliveryStatusDescriptionCB cb1 = new DeliveryStatusDescriptionCB();
+ deliveryStatus
+ .setDeliveryStatusDescriptionList(deliveryStatusDescriptionBhv
+ .selectList(cb1));
+ return deliveryStatus;
+ }
DeliveryStatusDescriptionCB cb = new DeliveryStatusDescriptionCB();
cb.setupSelect_DeliveryStatus();
cb.query().setDeliveryStatusId_Equal(deliveryStatusId);
@@ -423,9 +451,6 @@
*/
public List getDeliveryStatusList(String language,
boolean appendDeliveryStatusDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
DeliveryStatusCB cb = new DeliveryStatusCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -447,8 +472,8 @@
}
// inner class
- private class DeliveryStatusDescriptionConditionBeanSetupper implements
- ConditionBeanSetupper {
+ private static class DeliveryStatusDescriptionConditionBeanSetupper
+ implements ConditionBeanSetupper {
private String language;
public DeliveryStatusDescriptionConditionBeanSetupper(String language) {
@@ -456,10 +481,12 @@
}
public void setup(DeliveryStatusDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -566,6 +593,20 @@
public PaymentMethod getPaymentMethod(BigDecimal paymentMethodId,
String language, boolean appendPaymentMethodDescription) {
if (appendPaymentMethodDescription) {
+ // set all language
+ if (language == null) {
+ PaymentMethodCB cb = new PaymentMethodCB();
+ cb.query().setPaymentMethodId_Equal(paymentMethodId);
+ PaymentMethod paymentMethod = paymentMethodBhv.selectEntity(cb);
+ if (paymentMethod == null) {
+ return null;
+ }
+ PaymentMethodDescriptionCB cb1 = new PaymentMethodDescriptionCB();
+ paymentMethod
+ .setPaymentMethodDescriptionList(paymentMethodDescriptionBhv
+ .selectList(cb1));
+ return paymentMethod;
+ }
PaymentMethodDescriptionCB cb = new PaymentMethodDescriptionCB();
cb.setupSelect_PaymentMethod();
cb.query().setPaymentMethodId_Equal(paymentMethodId);
@@ -607,9 +648,6 @@
*/
public List getPaymentMethodList(String language,
boolean appendPaymentMethodDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
PaymentMethodCB cb = new PaymentMethodCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -630,8 +668,8 @@
}
// inner class
- private class PaymentMethodDescriptionConditionBeanSetupper implements
- ConditionBeanSetupper {
+ private static class PaymentMethodDescriptionConditionBeanSetupper
+ implements ConditionBeanSetupper {
private String language;
public PaymentMethodDescriptionConditionBeanSetupper(String language) {
@@ -639,10 +677,12 @@
}
public void setup(PaymentMethodDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -748,6 +788,20 @@
public PaymentStatus getPaymentStatus(BigDecimal paymentStatusId,
String language, boolean appendPaymentStatusDescription) {
if (appendPaymentStatusDescription) {
+ // set all language
+ if (language == null) {
+ PaymentStatusCB cb = new PaymentStatusCB();
+ cb.query().setPaymentStatusId_Equal(paymentStatusId);
+ PaymentStatus paymentStatus = paymentStatusBhv.selectEntity(cb);
+ if (paymentStatus == null) {
+ return null;
+ }
+ PaymentStatusDescriptionCB cb1 = new PaymentStatusDescriptionCB();
+ paymentStatus
+ .setPaymentStatusDescriptionList(paymentStatusDescriptionBhv
+ .selectList(cb1));
+ return paymentStatus;
+ }
PaymentStatusDescriptionCB cb = new PaymentStatusDescriptionCB();
cb.setupSelect_PaymentStatus();
cb.query().setPaymentStatusId_Equal(paymentStatusId);
@@ -789,9 +843,6 @@
*/
public List getPaymentStatusList(String language,
boolean appendPaymentStatusDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
PaymentStatusCB cb = new PaymentStatusCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -812,8 +863,8 @@
}
// inner class
- private class PaymentStatusDescriptionConditionBeanSetupper implements
- ConditionBeanSetupper {
+ private static class PaymentStatusDescriptionConditionBeanSetupper
+ implements ConditionBeanSetupper {
private String language;
public PaymentStatusDescriptionConditionBeanSetupper(String language) {
@@ -821,10 +872,12 @@
}
public void setup(PaymentStatusDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -926,6 +979,19 @@
public CardType getCardType(BigDecimal cardTypeId, String language,
boolean appendCardTypeDescription) {
if (appendCardTypeDescription) {
+ // set all language
+ if (language == null) {
+ CardTypeCB cb = new CardTypeCB();
+ cb.query().setCardTypeId_Equal(cardTypeId);
+ CardType cardType = cardTypeBhv.selectEntity(cb);
+ if (cardType == null) {
+ return null;
+ }
+ CardTypeDescriptionCB cb1 = new CardTypeDescriptionCB();
+ cardType.setCardTypeDescriptionList(cardTypeDescriptionBhv
+ .selectList(cb1));
+ return cardType;
+ }
CardTypeDescriptionCB cb = new CardTypeDescriptionCB();
cb.setupSelect_CardType();
cb.query().setCardTypeId_Equal(cardTypeId);
@@ -966,9 +1032,6 @@
*/
public List getCardTypeList(String language,
boolean appendCardTypeDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
CardTypeCB cb = new CardTypeCB();
List cardTypeList = cardTypeBhv.selectList(cb);
@@ -987,7 +1050,7 @@
}
// inner class
- private class CardTypeDescriptionConditionBeanSetupper implements
+ private static class CardTypeDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -996,10 +1059,12 @@
}
public void setup(CardTypeDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -1103,6 +1168,20 @@
public DeliveryZone getDeliveryZone(BigDecimal deliveryZoneId,
String language, boolean appendDeliveryZoneDescription) {
if (appendDeliveryZoneDescription) {
+ // set all language
+ if (language == null) {
+ DeliveryZoneCB cb = new DeliveryZoneCB();
+ cb.query().setDeliveryZoneId_Equal(deliveryZoneId);
+ DeliveryZone deliveryZone = deliveryZoneBhv.selectEntity(cb);
+ if (deliveryZone == null) {
+ return null;
+ }
+ DeliveryZoneDescriptionCB cb1 = new DeliveryZoneDescriptionCB();
+ deliveryZone
+ .setDeliveryZoneDescriptionList(deliveryZoneDescriptionBhv
+ .selectList(cb1));
+ return deliveryZone;
+ }
DeliveryZoneDescriptionCB cb = new DeliveryZoneDescriptionCB();
cb.setupSelect_DeliveryZone();
cb.query().setDeliveryZoneId_Equal(deliveryZoneId);
@@ -1144,9 +1223,6 @@
*/
public List getDeliveryZoneList(String language,
boolean appendDeliveryZoneDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
DeliveryZoneCB cb = new DeliveryZoneCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -1167,7 +1243,7 @@
}
// inner class
- private class DeliveryZoneDescriptionConditionBeanSetupper implements
+ private static class DeliveryZoneDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1176,10 +1252,12 @@
}
public void setup(DeliveryZoneDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -1281,6 +1359,19 @@
public Country getCountry(BigDecimal countryId, String language,
boolean appendCountryDescription) {
if (appendCountryDescription) {
+ // set all language
+ if (language == null) {
+ CountryCB cb = new CountryCB();
+ cb.query().setCountryId_Equal(countryId);
+ Country country = countryBhv.selectEntity(cb);
+ if (country == null) {
+ return null;
+ }
+ CountryDescriptionCB cb1 = new CountryDescriptionCB();
+ country.setCountryDescriptionList(countryDescriptionBhv
+ .selectList(cb1));
+ return country;
+ }
CountryDescriptionCB cb = new CountryDescriptionCB();
cb.setupSelect_Country();
cb.query().setCountryId_Equal(countryId);
@@ -1321,9 +1412,6 @@
*/
public List getCountryList(String language,
boolean appendCountryDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
CountryCB cb = new CountryCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -1343,7 +1431,7 @@
}
// inner class
- private class CountryDescriptionConditionBeanSetupper implements
+ private static class CountryDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1352,10 +1440,12 @@
}
public void setup(CountryDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -1454,6 +1544,19 @@
public TaxType getTaxType(BigDecimal taxTypeId, String language,
boolean appendTaxTypeDescription) {
if (appendTaxTypeDescription) {
+ // set all language
+ if (language == null) {
+ TaxTypeCB cb = new TaxTypeCB();
+ cb.query().setTaxTypeId_Equal(taxTypeId);
+ TaxType taxType = taxTypeBhv.selectEntity(cb);
+ if (taxType == null) {
+ return null;
+ }
+ TaxTypeDescriptionCB cb1 = new TaxTypeDescriptionCB();
+ taxType.setTaxTypeDescriptionList(taxTypeDescriptionBhv
+ .selectList(cb1));
+ return taxType;
+ }
TaxTypeDescriptionCB cb = new TaxTypeDescriptionCB();
cb.setupSelect_TaxType();
cb.query().setTaxTypeId_Equal(taxTypeId);
@@ -1494,9 +1597,6 @@
*/
public List getTaxTypeList(String language,
boolean appendTaxTypeDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
TaxTypeCB cb = new TaxTypeCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -1516,7 +1616,7 @@
}
// inner class
- private class TaxTypeDescriptionConditionBeanSetupper implements
+ private static class TaxTypeDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1525,10 +1625,12 @@
}
public void setup(TaxTypeDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -1631,6 +1733,20 @@
public DeliveryType getDeliveryType(BigDecimal deliveryTypeId,
String language, boolean appendDeliveryTypeDescription) {
if (appendDeliveryTypeDescription) {
+ // set all language
+ if (language == null) {
+ DeliveryTypeCB cb = new DeliveryTypeCB();
+ cb.query().setDeliveryTypeId_Equal(deliveryTypeId);
+ DeliveryType deliveryType = deliveryTypeBhv.selectEntity(cb);
+ if (deliveryType == null) {
+ return null;
+ }
+ DeliveryTypeDescriptionCB cb1 = new DeliveryTypeDescriptionCB();
+ deliveryType
+ .setDeliveryTypeDescriptionList(deliveryTypeDescriptionBhv
+ .selectList(cb1));
+ return deliveryType;
+ }
DeliveryTypeDescriptionCB cb = new DeliveryTypeDescriptionCB();
cb.setupSelect_DeliveryType();
cb.query().setDeliveryTypeId_Equal(deliveryTypeId);
@@ -1672,9 +1788,6 @@
*/
public List getDeliveryTypeList(String language,
boolean appendDeliveryTypeDescription) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
DeliveryTypeCB cb = new DeliveryTypeCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -1695,7 +1808,7 @@
}
// inner class
- private class DeliveryTypeDescriptionConditionBeanSetupper implements
+ private static class DeliveryTypeDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1704,10 +1817,12 @@
}
public void setup(DeliveryTypeDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -1824,27 +1939,41 @@
boolean appendOrderNotification) {
OrderStatus orderStatus = null;
if (appendOrderStatusDescription) {
- OrderStatusDescriptionCB cb = new OrderStatusDescriptionCB();
- cb.setupSelect_OrderStatus();
- cb.query().setOrderStatusId_Equal(orderStatusId);
- cb.query().setLanguage_Equal(language);
- OrderStatusDescription d = orderStatusDescriptionBhv
- .selectEntity(cb);
- if (d == null) {
- // fall back
- cb.query()
- .setLanguage_Equal(PompeiDBConstants.DEFAULT_LANGUAGE);
- d = orderStatusDescriptionBhv.selectEntity(cb);
- }
+ // set all language
+ if (language == null) {
+ OrderStatusCB cb = new OrderStatusCB();
+ cb.query().setOrderStatusId_Equal(orderStatusId);
+ orderStatus = orderStatusBhv.selectEntity(cb);
+ if (orderStatus == null) {
+ return null;
+ }
+ OrderStatusDescriptionCB cb1 = new OrderStatusDescriptionCB();
+ orderStatus
+ .setOrderStatusDescriptionList(orderStatusDescriptionBhv
+ .selectList(cb1));
+ } else {
+ OrderStatusDescriptionCB cb = new OrderStatusDescriptionCB();
+ cb.setupSelect_OrderStatus();
+ cb.query().setOrderStatusId_Equal(orderStatusId);
+ cb.query().setLanguage_Equal(language);
+ OrderStatusDescription d = orderStatusDescriptionBhv
+ .selectEntity(cb);
+ if (d == null) {
+ // fall back
+ cb.query().setLanguage_Equal(
+ PompeiDBConstants.DEFAULT_LANGUAGE);
+ d = orderStatusDescriptionBhv.selectEntity(cb);
+ }
- if (d == null) {
- return null;
+ if (d == null) {
+ return null;
+ }
+
+ List list = new ArrayList();
+ list.add(d);
+ d.getOrderStatus().setOrderStatusDescriptionList(list);
+ orderStatus = d.getOrderStatus();
}
-
- List list = new ArrayList();
- list.add(d);
- d.getOrderStatus().setOrderStatusDescriptionList(list);
- orderStatus = d.getOrderStatus();
} else {
OrderStatusCB cb = new OrderStatusCB();
cb.query().setOrderStatusId_Equal(orderStatusId);
@@ -1874,9 +2003,6 @@
public List getOrderStatusList(String language,
boolean appendOrderStatusDescription,
boolean appendOrderNotification) {
- if (language == null) {
- language = PompeiDBConstants.DEFAULT_LANGUAGE;
- }
OrderStatusCB cb = new OrderStatusCB();
cb.query().addOrderBy_SortOrder_Asc();
@@ -1901,7 +2027,7 @@
}
// inner class
- private class OrderStatusDescriptionConditionBeanSetupper implements
+ private static class OrderStatusDescriptionConditionBeanSetupper implements
ConditionBeanSetupper {
private String language;
@@ -1910,10 +2036,12 @@
}
public void setup(OrderStatusDescriptionCB cb) {
- List langs = new ArrayList(2);
- langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
- langs.add(language);
- cb.query().setLanguage_InScope(langs);
+ if (language != null) {
+ List langs = new ArrayList(2);
+ langs.add(PompeiDBConstants.DEFAULT_LANGUAGE);
+ langs.add(language);
+ cb.query().setLanguage_InScope(langs);
+ }
cb.query().addOrderBy_Language_Desc();
}
}
@@ -1954,4 +2082,196 @@
}
}
+ public List getOrderNotificationListByOrderStatusId(
+ BigDecimal orderStatusId) {
+ OrderNotificationCB cb = new OrderNotificationCB();
+ cb.query().setOrderStatusId_Equal(orderStatusId);
+ return orderNotificationBhv.selectList(cb);
+ }
+
+ public OrderNotification getOrderNotification(BigDecimal orderNotificationId) {
+ OrderNotificationCB cb = new OrderNotificationCB();
+ cb.query().setOrderNotificationId_Equal(orderNotificationId);
+ return orderNotificationBhv.selectEntity(cb);
+ }
+
+ public DeliveryMethodBhv getDeliveryMethodBhv() {
+ return deliveryMethodBhv;
+ }
+
+ public void setDeliveryMethodBhv(DeliveryMethodBhv deliveryMethodBhv) {
+ this.deliveryMethodBhv = deliveryMethodBhv;
+ }
+
+ public DeliveryMethodDescriptionBhv getDeliveryMethodDescriptionBhv() {
+ return deliveryMethodDescriptionBhv;
+ }
+
+ public void setDeliveryMethodDescriptionBhv(
+ DeliveryMethodDescriptionBhv deliveryMethodDescriptionBhv) {
+ this.deliveryMethodDescriptionBhv = deliveryMethodDescriptionBhv;
+ }
+
+ public DeliveryStatusBhv getDeliveryStatusBhv() {
+ return deliveryStatusBhv;
+ }
+
+ public void setDeliveryStatusBhv(DeliveryStatusBhv deliveryStatusBhv) {
+ this.deliveryStatusBhv = deliveryStatusBhv;
+ }
+
+ public DeliveryStatusDescriptionBhv getDeliveryStatusDescriptionBhv() {
+ return deliveryStatusDescriptionBhv;
+ }
+
+ public void setDeliveryStatusDescriptionBhv(
+ DeliveryStatusDescriptionBhv deliveryStatusDescriptionBhv) {
+ this.deliveryStatusDescriptionBhv = deliveryStatusDescriptionBhv;
+ }
+
+ public PaymentMethodBhv getPaymentMethodBhv() {
+ return paymentMethodBhv;
+ }
+
+ public void setPaymentMethodBhv(PaymentMethodBhv paymentMethodBhv) {
+ this.paymentMethodBhv = paymentMethodBhv;
+ }
+
+ public PaymentMethodDescriptionBhv getPaymentMethodDescriptionBhv() {
+ return paymentMethodDescriptionBhv;
+ }
+
+ public void setPaymentMethodDescriptionBhv(
+ PaymentMethodDescriptionBhv paymentMethodDescriptionBhv) {
+ this.paymentMethodDescriptionBhv = paymentMethodDescriptionBhv;
+ }
+
+ public PaymentStatusBhv getPaymentStatusBhv() {
+ return paymentStatusBhv;
+ }
+
+ public void setPaymentStatusBhv(PaymentStatusBhv paymentStatusBhv) {
+ this.paymentStatusBhv = paymentStatusBhv;
+ }
+
+ public PaymentStatusDescriptionBhv getPaymentStatusDescriptionBhv() {
+ return paymentStatusDescriptionBhv;
+ }
+
+ public void setPaymentStatusDescriptionBhv(
+ PaymentStatusDescriptionBhv paymentStatusDescriptionBhv) {
+ this.paymentStatusDescriptionBhv = paymentStatusDescriptionBhv;
+ }
+
+ public CardTypeBhv getCardTypeBhv() {
+ return cardTypeBhv;
+ }
+
+ public void setCardTypeBhv(CardTypeBhv cardTypeBhv) {
+ this.cardTypeBhv = cardTypeBhv;
+ }
+
+ public CardTypeDescriptionBhv getCardTypeDescriptionBhv() {
+ return cardTypeDescriptionBhv;
+ }
+
+ public void setCardTypeDescriptionBhv(
+ CardTypeDescriptionBhv cardTypeDescriptionBhv) {
+ this.cardTypeDescriptionBhv = cardTypeDescriptionBhv;
+ }
+
+ public DeliveryZoneBhv getDeliveryZoneBhv() {
+ return deliveryZoneBhv;
+ }
+
+ public void setDeliveryZoneBhv(DeliveryZoneBhv deliveryZoneBhv) {
+ this.deliveryZoneBhv = deliveryZoneBhv;
+ }
+
+ public DeliveryZoneDescriptionBhv getDeliveryZoneDescriptionBhv() {
+ return deliveryZoneDescriptionBhv;
+ }
+
+ public void setDeliveryZoneDescriptionBhv(
+ DeliveryZoneDescriptionBhv deliveryZoneDescriptionBhv) {
+ this.deliveryZoneDescriptionBhv = deliveryZoneDescriptionBhv;
+ }
+
+ public CountryBhv getCountryBhv() {
+ return countryBhv;
+ }
+
+ public void setCountryBhv(CountryBhv countryBhv) {
+ this.countryBhv = countryBhv;
+ }
+
+ public CountryDescriptionBhv getCountryDescriptionBhv() {
+ return countryDescriptionBhv;
+ }
+
+ public void setCountryDescriptionBhv(
+ CountryDescriptionBhv countryDescriptionBhv) {
+ this.countryDescriptionBhv = countryDescriptionBhv;
+ }
+
+ public TaxTypeBhv getTaxTypeBhv() {
+ return taxTypeBhv;
+ }
+
+ public void setTaxTypeBhv(TaxTypeBhv taxTypeBhv) {
+ this.taxTypeBhv = taxTypeBhv;
+ }
+
+ public TaxTypeDescriptionBhv getTaxTypeDescriptionBhv() {
+ return taxTypeDescriptionBhv;
+ }
+
+ public void setTaxTypeDescriptionBhv(
+ TaxTypeDescriptionBhv taxTypeDescriptionBhv) {
+ this.taxTypeDescriptionBhv = taxTypeDescriptionBhv;
+ }
+
+ public DeliveryTypeBhv getDeliveryTypeBhv() {
+ return deliveryTypeBhv;
+ }
+
+ public void setDeliveryTypeBhv(DeliveryTypeBhv deliveryTypeBhv) {
+ this.deliveryTypeBhv = deliveryTypeBhv;
+ }
+
+ public DeliveryTypeDescriptionBhv getDeliveryTypeDescriptionBhv() {
+ return deliveryTypeDescriptionBhv;
+ }
+
+ public void setDeliveryTypeDescriptionBhv(
+ DeliveryTypeDescriptionBhv deliveryTypeDescriptionBhv) {
+ this.deliveryTypeDescriptionBhv = deliveryTypeDescriptionBhv;
+ }
+
+ public OrderStatusBhv getOrderStatusBhv() {
+ return orderStatusBhv;
+ }
+
+ public void setOrderStatusBhv(OrderStatusBhv orderStatusBhv) {
+ this.orderStatusBhv = orderStatusBhv;
+ }
+
+ public OrderStatusDescriptionBhv getOrderStatusDescriptionBhv() {
+ return orderStatusDescriptionBhv;
+ }
+
+ public void setOrderStatusDescriptionBhv(
+ OrderStatusDescriptionBhv orderStatusDescriptionBhv) {
+ this.orderStatusDescriptionBhv = orderStatusDescriptionBhv;
+ }
+
+ public OrderNotificationBhv getOrderNotificationBhv() {
+ return orderNotificationBhv;
+ }
+
+ public void setOrderNotificationBhv(
+ OrderNotificationBhv orderNotificationBhv) {
+ this.orderNotificationBhv = orderNotificationBhv;
+ }
+
}
Modified: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -1,194 +1,194 @@
-package jp.sf.pal.pompei.service.impl;
-
-import static org.junit.Assert.assertEquals;
-
-import java.math.BigDecimal;
-import java.util.List;
-
-import jp.sf.pal.pompei.exentity.Customer;
-import jp.sf.pal.pompei.service.CustomerService;
-
-import org.junit.runner.RunWith;
-import org.seasar.framework.unit.Seasar2;
-import org.seasar.framework.unit.TestContext;
-
- @ RunWith(Seasar2.class)
-public class CustomerServiceImplTest {
- private TestContext ctx;
-
- private CustomerService customerService;
-
- //TODO need to update
- // public void getCustomerList() throws Exception {
- // List customerList = customerService.getCustomerList();
- // assertEquals("1", ctx.getExpected(), customerList);
- // }
-
- public void getCustomer() {
- Customer customer = customerService.getCustomer(BigDecimal.valueOf(2));
- //TODO need to update
- // assertEquals(ctx.getExpected(), customer);
- }
-
- //TODO need to update
- // public void getCustomerByPortalId() {
- // Customer customer = customerService.getCustomerByPortalId("testuser2");
- // assertEquals(ctx.getExpected(), customer);
- // }
-
- //TODO need to update
- // public void getAddressBookList() throws Exception {
- // List addressBookList = customerService
- // .getAddressBookList(BigDecimal.ONE);
- // assertEquals("1", ctx.getExpected(), addressBookList);
- // }
-
- // public void getAddressBook1() {
- // assertEquals(ctx.getExpected(), customerService.getAddressBook(BigDecimal.valueOf(1)));
- // }
- //
- // public void getAddressBook2() {
- // assertEquals(ctx.getExpected(), customerService.getAddressBook(BigDecimal.valueOf(2)));
- // }
-
- //TODO need to update
- // public void getDefaultAddressBook() {
- // AddressBook addressBook = customerService
- // .getDefaultAddressBook(BigDecimal.valueOf(2));
- // assertEquals(ctx.getExpected(), addressBook);
- // }
-
- //TODO need to update
- // public void getBasketList() {
- // assertEquals(ctx.getExpected(), customerService
- // .getBasketList(BigDecimal.valueOf(2)));
- // }
-
- // public void getBasket1() {
- // assertEquals(ctx.getExpected(), customerService.getBasketList(BigDecimal.valueOf(2)));
- // }
- //
- // public void getBasket2() {
- // assertEquals(ctx.getExpected(), customerService.getBasket(BigDecimal.valueOf(2), BigDecimal.valueOf(2)));
- // }
-
- //TODO need to update
- // public void addBasket() {
- // Basket basket = new Basket();
- // basket.setCustomerId(BigDecimal.valueOf(2));
- // basket.setProductId(BigDecimal.valueOf(2));
- // basket.setQuantity(BigDecimal.valueOf(2));
- // basket.setFinalPrice(BigDecimal.valueOf(2000));
- // basket
- // .setUpdatedDate(java.sql.Timestamp
- // .valueOf("2006-05-04 12:34:00"));
- // customerService.addBasket(basket);
- //
- // List basketList = customerService.getBasketList(BigDecimal
- // .valueOf(2));
- // assertEquals("1", ctx.getExpected(), basketList);
- // }
-
- //TODO need to update
- // public void addAddressBook() {
- // AddressBook addressBook = new AddressBook();
- // addressBook.setCustomerId(BigDecimal.valueOf(2));
- // addressBook.setCompany("company4");
- // addressBook.setDepartment("department4");
- // addressBook.setFirstname("Firstname2");
- // addressBook.setLastname("Lastname2");
- // addressBook.setFirstnameDescription("firstname2");
- // addressBook.setLastnameDescription("lastname2");
- // addressBook.setStreetAddress("Street4");
- // addressBook.setSuburb("Suburb4");
- // addressBook.setCity("City4");
- // addressBook.setState("state4");
- // addressBook.setPostcode("333-3333");
- // addressBook.setTelephone("333-333-3333");
- // addressBook.setFax("333-333-3333");
- // addressBook.setCellphone("333-3333-3333");
- // addressBook.setDefaultAddress(BigDecimal.valueOf(1));
- // addressBook.setCountryId(BigDecimal.valueOf(1));
- // addressBook.setDeliveryZoneId(BigDecimal.valueOf(1));
- // customerService.addAddressBook(addressBook);
- // assertEquals(ctx.getExpected(), customerService
- // .getAddressBookList(BigDecimal.valueOf(2)));
- // }
-
- //TODO need to update
- // public void addCustomer() {
- // Customer customer = new Customer();
- // AddressBook addressBook = new AddressBook();
- // customer.setPortalId("portalId2");
- // customer.setGender("M");
- // customer.setFirstname("");
- // customer.setLastname("");
- // customer.setFirstnameDescription("");
- // customer.setLastnameDescription("");
- // customer.setNickname("");
- // customer.setDayOfBirth(java.sql.Timestamp
- // .valueOf("1985-04-06 12:34:56"));
- // customer.setEmailAddress("");
- // customer.setCreatedDate(java.sql.Timestamp
- // .valueOf("2007-06-05 12:34:00"));
- // customer.setUpdatedTime(java.sql.Timestamp
- // .valueOf("2007-08-09 12:34:00"));
- // addressBook.setCustomerId(BigDecimal.valueOf(2));
- // addressBook.setCompany("company2");
- // addressBook.setDepartment("department2");
- // addressBook.setFirstname("hoge");
- // addressBook.setLastname("hoge");
- // addressBook.setFirstnameDescription("");
- // addressBook.setLastnameDescription("");
- // addressBook.setStreetAddress("");
- // addressBook.setSuburb("");
- // addressBook.setCity("");
- // addressBook.setState("");
- // addressBook.setPostcode("");
- // addressBook.setTelephone("");
- // addressBook.setFax("");
- // addressBook.setCellphone("");
- // addressBook.setDefaultAddress(BigDecimal.valueOf(1));
- // addressBook.setCountryId(BigDecimal.valueOf(1));
- // addressBook.setDeliveryZoneId(BigDecimal.valueOf(1));
- // customerService.addCustomer(customer, addressBook);
- // assertEquals("1", ctx.getExpected(), customerService.getCustomerList());
- // }
-
- //TODO need to update
- // public void deleteCustomer() {
- // customerService.deleteCustomer(BigDecimal.valueOf(1));
- // assertEquals(ctx.getExpected(), customerService.getCustomerList());
- // }
-
- //TODO need to update
- // public void deleteAddressBook() {
- // AddressBook addressBook = customerService.getAddressBook(BigDecimal
- // .valueOf(2));
- // customerService.deleteAddressBook(addressBook);
- // assertEquals(ctx.getExpected(), customerService
- // .getAddressBookList(BigDecimal.valueOf(2)));
- // }
-
- // public void deleteBasket1() {
- // Basket basket = customerService.getBasket(BigDecimal.valueOf(2), BigDecimal.valueOf(1));
- // customerService.deleteBasket(basket);
- // assertEquals(ctx.getExpected(), customerService.getBasketList(BigDecimal.valueOf(2)));
- // }
-
- //TODO need to update
- // public void deleteBasket() {
- // customerService.deleteBasket(BigDecimal.valueOf(2));
- // assertEquals(ctx.getExpected(), customerService
- // .getBasketList(BigDecimal.valueOf(2)));
- // }
-
- //TODO need to update
- // public void cleanupBasket() {
- // customerService.cleanupBasket(BigDecimal.valueOf(2));
- // List basketList = customerService.getBasketList(BigDecimal
- // .valueOf(2));
- //
- // Assert.assertTrue(basketList.isEmpty());
- // }
-}
+//package jp.sf.pal.pompei.service.impl;
+//
+//import static org.junit.Assert.assertEquals;
+//
+//import java.math.BigDecimal;
+//import java.util.List;
+//
+//import jp.sf.pal.pompei.exentity.Customer;
+//import jp.sf.pal.pompei.service.CustomerService;
+//
+//import org.junit.runner.RunWith;
+//import org.seasar.framework.unit.Seasar2;
+//import org.seasar.framework.unit.TestContext;
+//
+//@RunWith(Seasar2.class)
+//public class CustomerServiceImplTest {
+// private TestContext ctx;
+//
+// private CustomerService customerService;
+//
+// //TODO need to update
+// // public void getCustomerList() throws Exception {
+// // List customerList = customerService.getCustomerList();
+// // assertEquals("1", ctx.getExpected(), customerList);
+// // }
+//
+// public void getCustomer() {
+// Customer customer = customerService.getCustomer(BigDecimal.valueOf(2));
+// //TODO need to update
+// // assertEquals(ctx.getExpected(), customer);
+// }
+//
+// //TODO need to update
+// // public void getCustomerByPortalId() {
+// // Customer customer = customerService.getCustomerByPortalId("testuser2");
+// // assertEquals(ctx.getExpected(), customer);
+// // }
+//
+// //TODO need to update
+// // public void getAddressBookList() throws Exception {
+// // List addressBookList = customerService
+// // .getAddressBookList(BigDecimal.ONE);
+// // assertEquals("1", ctx.getExpected(), addressBookList);
+// // }
+//
+// // public void getAddressBook1() {
+// // assertEquals(ctx.getExpected(), customerService.getAddressBook(BigDecimal.valueOf(1)));
+// // }
+// //
+// // public void getAddressBook2() {
+// // assertEquals(ctx.getExpected(), customerService.getAddressBook(BigDecimal.valueOf(2)));
+// // }
+//
+// //TODO need to update
+// // public void getDefaultAddressBook() {
+// // AddressBook addressBook = customerService
+// // .getDefaultAddressBook(BigDecimal.valueOf(2));
+// // assertEquals(ctx.getExpected(), addressBook);
+// // }
+//
+// //TODO need to update
+// // public void getBasketList() {
+// // assertEquals(ctx.getExpected(), customerService
+// // .getBasketList(BigDecimal.valueOf(2)));
+// // }
+//
+// // public void getBasket1() {
+// // assertEquals(ctx.getExpected(), customerService.getBasketList(BigDecimal.valueOf(2)));
+// // }
+// //
+// // public void getBasket2() {
+// // assertEquals(ctx.getExpected(), customerService.getBasket(BigDecimal.valueOf(2), BigDecimal.valueOf(2)));
+// // }
+//
+// //TODO need to update
+// // public void addBasket() {
+// // Basket basket = new Basket();
+// // basket.setCustomerId(BigDecimal.valueOf(2));
+// // basket.setProductId(BigDecimal.valueOf(2));
+// // basket.setQuantity(BigDecimal.valueOf(2));
+// // basket.setFinalPrice(BigDecimal.valueOf(2000));
+// // basket
+// // .setUpdatedDate(java.sql.Timestamp
+// // .valueOf("2006-05-04 12:34:00"));
+// // customerService.addBasket(basket);
+// //
+// // List basketList = customerService.getBasketList(BigDecimal
+// // .valueOf(2));
+// // assertEquals("1", ctx.getExpected(), basketList);
+// // }
+//
+// //TODO need to update
+// // public void addAddressBook() {
+// // AddressBook addressBook = new AddressBook();
+// // addressBook.setCustomerId(BigDecimal.valueOf(2));
+// // addressBook.setCompany("company4");
+// // addressBook.setDepartment("department4");
+// // addressBook.setFirstname("Firstname2");
+// // addressBook.setLastname("Lastname2");
+// // addressBook.setFirstnameDescription("firstname2");
+// // addressBook.setLastnameDescription("lastname2");
+// // addressBook.setStreetAddress("Street4");
+// // addressBook.setSuburb("Suburb4");
+// // addressBook.setCity("City4");
+// // addressBook.setState("state4");
+// // addressBook.setPostcode("333-3333");
+// // addressBook.setTelephone("333-333-3333");
+// // addressBook.setFax("333-333-3333");
+// // addressBook.setCellphone("333-3333-3333");
+// // addressBook.setDefaultAddress(BigDecimal.valueOf(1));
+// // addressBook.setCountryId(BigDecimal.valueOf(1));
+// // addressBook.setDeliveryZoneId(BigDecimal.valueOf(1));
+// // customerService.addAddressBook(addressBook);
+// // assertEquals(ctx.getExpected(), customerService
+// // .getAddressBookList(BigDecimal.valueOf(2)));
+// // }
+//
+// //TODO need to update
+// // public void addCustomer() {
+// // Customer customer = new Customer();
+// // AddressBook addressBook = new AddressBook();
+// // customer.setPortalId("portalId2");
+// // customer.setGender("M");
+// // customer.setFirstname("");
+// // customer.setLastname("");
+// // customer.setFirstnameDescription("");
+// // customer.setLastnameDescription("");
+// // customer.setNickname("");
+// // customer.setDayOfBirth(java.sql.Timestamp
+// // .valueOf("1985-04-06 12:34:56"));
+// // customer.setEmailAddress("");
+// // customer.setCreatedDate(java.sql.Timestamp
+// // .valueOf("2007-06-05 12:34:00"));
+// // customer.setUpdatedTime(java.sql.Timestamp
+// // .valueOf("2007-08-09 12:34:00"));
+// // addressBook.setCustomerId(BigDecimal.valueOf(2));
+// // addressBook.setCompany("company2");
+// // addressBook.setDepartment("department2");
+// // addressBook.setFirstname("hoge");
+// // addressBook.setLastname("hoge");
+// // addressBook.setFirstnameDescription("");
+// // addressBook.setLastnameDescription("");
+// // addressBook.setStreetAddress("");
+// // addressBook.setSuburb("");
+// // addressBook.setCity("");
+// // addressBook.setState("");
+// // addressBook.setPostcode("");
+// // addressBook.setTelephone("");
+// // addressBook.setFax("");
+// // addressBook.setCellphone("");
+// // addressBook.setDefaultAddress(BigDecimal.valueOf(1));
+// // addressBook.setCountryId(BigDecimal.valueOf(1));
+// // addressBook.setDeliveryZoneId(BigDecimal.valueOf(1));
+// // customerService.addCustomer(customer, addressBook);
+// // assertEquals("1", ctx.getExpected(), customerService.getCustomerList());
+// // }
+//
+// //TODO need to update
+// // public void deleteCustomer() {
+// // customerService.deleteCustomer(BigDecimal.valueOf(1));
+// // assertEquals(ctx.getExpected(), customerService.getCustomerList());
+// // }
+//
+// //TODO need to update
+// // public void deleteAddressBook() {
+// // AddressBook addressBook = customerService.getAddressBook(BigDecimal
+// // .valueOf(2));
+// // customerService.deleteAddressBook(addressBook);
+// // assertEquals(ctx.getExpected(), customerService
+// // .getAddressBookList(BigDecimal.valueOf(2)));
+// // }
+//
+// // public void deleteBasket1() {
+// // Basket basket = customerService.getBasket(BigDecimal.valueOf(2), BigDecimal.valueOf(1));
+// // customerService.deleteBasket(basket);
+// // assertEquals(ctx.getExpected(), customerService.getBasketList(BigDecimal.valueOf(2)));
+// // }
+//
+// //TODO need to update
+// // public void deleteBasket() {
+// // customerService.deleteBasket(BigDecimal.valueOf(2));
+// // assertEquals(ctx.getExpected(), customerService
+// // .getBasketList(BigDecimal.valueOf(2)));
+// // }
+//
+// //TODO need to update
+// // public void cleanupBasket() {
+// // customerService.cleanupBasket(BigDecimal.valueOf(2));
+// // List basketList = customerService.getBasketList(BigDecimal
+// // .valueOf(2));
+// //
+// // Assert.assertTrue(basketList.isEmpty());
+// // }
+//}
Modified: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/OrderServiceImplTest.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/OrderServiceImplTest.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/OrderServiceImplTest.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -1,223 +1,223 @@
-package jp.sf.pal.pompei.service.impl;
-
-import static org.junit.Assert.assertEquals;
-
-import java.math.BigDecimal;
-import java.util.List;
-
-import jp.sf.pal.pompei.exbhv.DeliveryMethodBhv;
-import jp.sf.pal.pompei.exbhv.PaymentMethodBhv;
-import jp.sf.pal.pompei.exentity.OrderForm;
-import jp.sf.pal.pompei.pager.OrderFormPager;
-import jp.sf.pal.pompei.service.CustomerService;
-import jp.sf.pal.pompei.service.OrderService;
-
-import org.junit.runner.RunWith;
-import org.seasar.framework.unit.Seasar2;
-import org.seasar.framework.unit.TestContext;
-
- @ RunWith(Seasar2.class)
-public class OrderServiceImplTest {
- private TestContext ctx;
-
- private OrderService orderService;
-
- private CustomerService customerService;
-
- private transient PaymentMethodBhv paymentMethodBhv;
-
- private transient DeliveryMethodBhv deliveryMethodBhv;
-
- //TODO need to update
- // public void addOrderForm() {
- // Customer customer = customerService.getCustomer(BigDecimal.valueOf(1));
- // List customerBasketIdList = new ArrayList();
- // customerBasketIdList.add(BigDecimal.valueOf(1));
- // customerBasketIdList.add(BigDecimal.valueOf(2));
- // AddressBook customerAddressBook = customerService
- // .getAddressBook(BigDecimal.valueOf(1));
- // AddressBook deliveryAddressBook = customerService
- // .getAddressBook(BigDecimal.valueOf(1));
- // AddressBook billingAddressBook = customerService
- // .getAddressBook(BigDecimal.valueOf(1));
- // // set payment method
- // PaymentMethodCB paymentMethodCB = new PaymentMethodCB();
- // paymentMethodCB.query().setPaymentMethodId_Equal(BigDecimal.valueOf(1));
- // PaymentMethod paymentMethod = paymentMethodBhv
- // .selectEntity(paymentMethodCB);
- // // set delivery method
- // DeliveryMethodCB deliveryMethodCB = new DeliveryMethodCB();
- // deliveryMethodCB.query().setDeliveryMethodId_Equal(
- // BigDecimal.valueOf(1));
- // DeliveryMethod deliveryMethod = deliveryMethodBhv
- // .selectEntity(deliveryMethodCB);
- // // set order card info
- // // TODO
- // OrderCardInfo orderCardInfo = new OrderCardInfo();
- // // orderCardInfo.setCardTypeId(BigDecimal.valueOf(1));
- // // orderCardInfo.setCardTypeCode()
- // // set sub total price
- // BigDecimal subTotalPrice = null;
- // // set tax
- // BigDecimal tax = null;
- // // set delivery price
- // BigDecimal deliveryPrice = null;
- // // set payment fee
- // BigDecimal paymentFee = null;
- // // set total price
- // BigDecimal totalPrice = null;
- //
- // try {
- //
- // orderService.addOrderForm(customer, customerBasketIdList,
- // customerAddressBook, deliveryAddressBook,
- // billingAddressBook, paymentMethod, deliveryMethod,
- // orderCardInfo, subTotalPrice, tax, deliveryPrice,
- // paymentFee, totalPrice);
- // List list = orderService
- // .getOrderFormListByPager(new OrderFormPager());
- // assertEquals("addOrderForm", ctx.getExpected(), list);
- // } catch (Exception e) {
- // // TODO: handle exception
- // }
- // }
-
- public void deleteOrderForm() {
- orderService.deleteOrderForm(BigDecimal.valueOf(2));
- List list = orderService
- .getOrderFormListByPager(new OrderFormPager());
- // assertEquals("deleteOrderForm", ctx.getExpected(), list);
- }
-
- //TODO need to update
- // public void getCardTypeDescriptionList() {
- // List list =
- // orderService.getCardTypeDescriptionList("en_US");
- // assertEquals("getCardTypeDescriptionList", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getDeliveryMethodDescription() {
- // DeliveryMethodDescription d =
- // orderService.getDeliveryMethodDescription(BigDecimal.valueOf(2), "ja_JP");
- // assertEquals("getDeliveryMethodDescription", ctx.getExpected(), d);
- // }
-
- //TODO need to update
- // public void getDeliveryMethodDescriptionList() {
- // List list =
- // orderService.getDeliveryMethodDescriptionList("en_US");
- // assertEquals("getDeliveryMethodDescriptionList", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getOrderCardInfo() {
- // OrderCardInfo info =
- // orderService.getOrderCardInfo(BigDecimal.valueOf(2));
- // assertEquals("getOrderCardInfo", ctx.getExpected(), info);
- // }
-
- //TODO need to update
- // public void getOrderForm() {
- // OrderForm orderForm =
- // orderService.getOrderForm(BigDecimal.valueOf(3));
- // assertEquals("getOrderForm", ctx.getExpected(), orderForm);
- // }
-
- //TODO need to update
- // public void getOrderFormCountByOrderStatus() {
- // assertEquals("getOrderFormCountByOrderStatus", 5,
- // orderService.getOrderFormCountByOrderStatus(BigDecimal.valueOf(1)));
- // }
-
- //TODO need to update
- // public void getOrderFormList() {
- // List list = orderService.getOrderFormList();
- // assertEquals("getOrderFormList", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getOrderFormListByPager() {
- // OrderFormPager orderFormPager = new OrderFormPager();
- // orderFormPager.setPageSize(2);
- // orderFormPager.setCurrentPageNumber(2);
- // orderFormPager.setOrderStatusId(BigDecimal.valueOf(1));
- // // TODO setSortOrder
- //// orderFormPager.setSortOrder("sortOrder");
- //
- // List list =
- // orderService.getOrderFormListByPager(orderFormPager);
- // assertEquals("getOrderFormListByPager", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getOrderNotification() {
- // OrderNotification orderNotification =
- // orderService.getOrderNotification(BigDecimal.valueOf(4));
- // assertEquals("getOrderNotification", ctx.getExpected(), orderNotification);
- // }
-
- // // TODO
- // public void getOrderNotificationListByOrderFormId() {
- // List list =
- // orderService.getOrderNotificationListByOrderFormId(
- // BigDecimal.valueOf(3));
- // assertEquals("getOrderNotificationListByOrderFormId", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getOrderProductListByOrderFormId() {
- // List list =
- // orderService.getOrderProductListByOrderFormId(BigDecimal.valueOf(4));
- // assertEquals("getOrderProductListByOrderFormId", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getOrderStatus() {
- // OrderStatus os = orderService.getOrderStatus(
- // BigDecimal.valueOf(2));
- // assertEquals("getOrderStatus", ctx.getExpected(), os);
- // }
-
- //TODO need to update
- // public void getOrderStatusDescriptionList() {
- // List list =
- // orderService.getOrderStatusDescriptionList("ja_JP");
- // assertEquals("getOrderStatusDescriptionList", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getPaymentMethodDescription() {
- // PaymentMethodDescription d =
- // orderService.getPaymentMethodDescription(
- // BigDecimal.valueOf(3), "ja_JP");
- // assertEquals("getPaymentMethodDescription", ctx.getExpected(), d);
- // }
-
- // public void getPaymentMethodDescriptionList() {
- //
- // assertEquals("getPaymentMethodDescriptionList", ctx.getExpected(), actual);
- // }
-
- // public void sendOrderNotifications() {
- //
- // assertEquals("sendOrderNotifications", ctx.getExpected(), actual);
- // }
-
- //TODO need to update
- // public void updateDeliveryMethodDescription() {
- // DeliveryMethodDescription d = orderService.getDeliveryMethodDescription(BigDecimal.valueOf(1), "ja_JP");
- // d.setDescription("updated description");
- // d.setName("updated name");
- // orderService.updateDeliveryMethodDescription(d);
- // assertEquals("updateDeliveryMethodDescription", ctx.getExpected(),
- // orderService.getDeliveryMethodDescriptionList("ja_JP"));
- // }
-
- // public void updateOrderForm() {
- // orderService.getOrderForm(BigDecimal.valueOf(1));
- //
- //
- // assertEquals("updateOrderForm", ctx.getExpected(), actual);
- // }
-}
+//package jp.sf.pal.pompei.service.impl;
+//
+//import static org.junit.Assert.assertEquals;
+//
+//import java.math.BigDecimal;
+//import java.util.List;
+//
+//import jp.sf.pal.pompei.exbhv.DeliveryMethodBhv;
+//import jp.sf.pal.pompei.exbhv.PaymentMethodBhv;
+//import jp.sf.pal.pompei.exentity.OrderForm;
+//import jp.sf.pal.pompei.pager.OrderFormPager;
+//import jp.sf.pal.pompei.service.CustomerService;
+//import jp.sf.pal.pompei.service.OrderService;
+//
+//import org.junit.runner.RunWith;
+//import org.seasar.framework.unit.Seasar2;
+//import org.seasar.framework.unit.TestContext;
+//
+//@RunWith(Seasar2.class)
+//public class OrderServiceImplTest {
+// private TestContext ctx;
+//
+// private OrderService orderService;
+//
+// private CustomerService customerService;
+//
+// private transient PaymentMethodBhv paymentMethodBhv;
+//
+// private transient DeliveryMethodBhv deliveryMethodBhv;
+//
+// //TODO need to update
+// // public void addOrderForm() {
+// // Customer customer = customerService.getCustomer(BigDecimal.valueOf(1));
+// // List customerBasketIdList = new ArrayList();
+// // customerBasketIdList.add(BigDecimal.valueOf(1));
+// // customerBasketIdList.add(BigDecimal.valueOf(2));
+// // AddressBook customerAddressBook = customerService
+// // .getAddressBook(BigDecimal.valueOf(1));
+// // AddressBook deliveryAddressBook = customerService
+// // .getAddressBook(BigDecimal.valueOf(1));
+// // AddressBook billingAddressBook = customerService
+// // .getAddressBook(BigDecimal.valueOf(1));
+// // // set payment method
+// // PaymentMethodCB paymentMethodCB = new PaymentMethodCB();
+// // paymentMethodCB.query().setPaymentMethodId_Equal(BigDecimal.valueOf(1));
+// // PaymentMethod paymentMethod = paymentMethodBhv
+// // .selectEntity(paymentMethodCB);
+// // // set delivery method
+// // DeliveryMethodCB deliveryMethodCB = new DeliveryMethodCB();
+// // deliveryMethodCB.query().setDeliveryMethodId_Equal(
+// // BigDecimal.valueOf(1));
+// // DeliveryMethod deliveryMethod = deliveryMethodBhv
+// // .selectEntity(deliveryMethodCB);
+// // // set order card info
+// // // TODO
+// // OrderCardInfo orderCardInfo = new OrderCardInfo();
+// // // orderCardInfo.setCardTypeId(BigDecimal.valueOf(1));
+// // // orderCardInfo.setCardTypeCode()
+// // // set sub total price
+// // BigDecimal subTotalPrice = null;
+// // // set tax
+// // BigDecimal tax = null;
+// // // set delivery price
+// // BigDecimal deliveryPrice = null;
+// // // set payment fee
+// // BigDecimal paymentFee = null;
+// // // set total price
+// // BigDecimal totalPrice = null;
+// //
+// // try {
+// //
+// // orderService.addOrderForm(customer, customerBasketIdList,
+// // customerAddressBook, deliveryAddressBook,
+// // billingAddressBook, paymentMethod, deliveryMethod,
+// // orderCardInfo, subTotalPrice, tax, deliveryPrice,
+// // paymentFee, totalPrice);
+// // List list = orderService
+// // .getOrderFormListByPager(new OrderFormPager());
+// // assertEquals("addOrderForm", ctx.getExpected(), list);
+// // } catch (Exception e) {
+// // // TODO: handle exception
+// // }
+// // }
+//
+// public void deleteOrderForm() {
+// orderService.deleteOrderForm(BigDecimal.valueOf(2));
+// List list = orderService
+// .getOrderFormListByPager(new OrderFormPager());
+// // assertEquals("deleteOrderForm", ctx.getExpected(), list);
+// }
+//
+// //TODO need to update
+// // public void getCardTypeDescriptionList() {
+// // List list =
+// // orderService.getCardTypeDescriptionList("en_US");
+// // assertEquals("getCardTypeDescriptionList", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getDeliveryMethodDescription() {
+// // DeliveryMethodDescription d =
+// // orderService.getDeliveryMethodDescription(BigDecimal.valueOf(2), "ja_JP");
+// // assertEquals("getDeliveryMethodDescription", ctx.getExpected(), d);
+// // }
+//
+// //TODO need to update
+// // public void getDeliveryMethodDescriptionList() {
+// // List list =
+// // orderService.getDeliveryMethodDescriptionList("en_US");
+// // assertEquals("getDeliveryMethodDescriptionList", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getOrderCardInfo() {
+// // OrderCardInfo info =
+// // orderService.getOrderCardInfo(BigDecimal.valueOf(2));
+// // assertEquals("getOrderCardInfo", ctx.getExpected(), info);
+// // }
+//
+// //TODO need to update
+// // public void getOrderForm() {
+// // OrderForm orderForm =
+// // orderService.getOrderForm(BigDecimal.valueOf(3));
+// // assertEquals("getOrderForm", ctx.getExpected(), orderForm);
+// // }
+//
+// //TODO need to update
+// // public void getOrderFormCountByOrderStatus() {
+// // assertEquals("getOrderFormCountByOrderStatus", 5,
+// // orderService.getOrderFormCountByOrderStatus(BigDecimal.valueOf(1)));
+// // }
+//
+// //TODO need to update
+// // public void getOrderFormList() {
+// // List list = orderService.getOrderFormList();
+// // assertEquals("getOrderFormList", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getOrderFormListByPager() {
+// // OrderFormPager orderFormPager = new OrderFormPager();
+// // orderFormPager.setPageSize(2);
+// // orderFormPager.setCurrentPageNumber(2);
+// // orderFormPager.setOrderStatusId(BigDecimal.valueOf(1));
+// // // TODO setSortOrder
+// //// orderFormPager.setSortOrder("sortOrder");
+// //
+// // List list =
+// // orderService.getOrderFormListByPager(orderFormPager);
+// // assertEquals("getOrderFormListByPager", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getOrderNotification() {
+// // OrderNotification orderNotification =
+// // orderService.getOrderNotification(BigDecimal.valueOf(4));
+// // assertEquals("getOrderNotification", ctx.getExpected(), orderNotification);
+// // }
+//
+// // // TODO
+// // public void getOrderNotificationListByOrderFormId() {
+// // List list =
+// // orderService.getOrderNotificationListByOrderFormId(
+// // BigDecimal.valueOf(3));
+// // assertEquals("getOrderNotificationListByOrderFormId", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getOrderProductListByOrderFormId() {
+// // List list =
+// // orderService.getOrderProductListByOrderFormId(BigDecimal.valueOf(4));
+// // assertEquals("getOrderProductListByOrderFormId", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getOrderStatus() {
+// // OrderStatus os = orderService.getOrderStatus(
+// // BigDecimal.valueOf(2));
+// // assertEquals("getOrderStatus", ctx.getExpected(), os);
+// // }
+//
+// //TODO need to update
+// // public void getOrderStatusDescriptionList() {
+// // List list =
+// // orderService.getOrderStatusDescriptionList("ja_JP");
+// // assertEquals("getOrderStatusDescriptionList", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getPaymentMethodDescription() {
+// // PaymentMethodDescription d =
+// // orderService.getPaymentMethodDescription(
+// // BigDecimal.valueOf(3), "ja_JP");
+// // assertEquals("getPaymentMethodDescription", ctx.getExpected(), d);
+// // }
+//
+// // public void getPaymentMethodDescriptionList() {
+// //
+// // assertEquals("getPaymentMethodDescriptionList", ctx.getExpected(), actual);
+// // }
+//
+// // public void sendOrderNotifications() {
+// //
+// // assertEquals("sendOrderNotifications", ctx.getExpected(), actual);
+// // }
+//
+// //TODO need to update
+// // public void updateDeliveryMethodDescription() {
+// // DeliveryMethodDescription d = orderService.getDeliveryMethodDescription(BigDecimal.valueOf(1), "ja_JP");
+// // d.setDescription("updated description");
+// // d.setName("updated name");
+// // orderService.updateDeliveryMethodDescription(d);
+// // assertEquals("updateDeliveryMethodDescription", ctx.getExpected(),
+// // orderService.getDeliveryMethodDescriptionList("ja_JP"));
+// // }
+//
+// // public void updateOrderForm() {
+// // orderService.getOrderForm(BigDecimal.valueOf(1));
+// //
+// //
+// // assertEquals("updateOrderForm", ctx.getExpected(), actual);
+// // }
+//}
Modified: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/ProductServiceImplTest.java
===================================================================
--- pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/ProductServiceImplTest.java 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/ProductServiceImplTest.java 2008-04-08 04:59:55 UTC (rev 879)
@@ -1,263 +1,263 @@
-package jp.sf.pal.pompei.service.impl;
-
-import static org.junit.Assert.assertEquals;
-
-import java.math.BigDecimal;
-
-import jp.sf.pal.pompei.service.ProductService;
-
-import org.junit.runner.RunWith;
-import org.seasar.framework.unit.Seasar2;
-import org.seasar.framework.unit.TestContext;
-
- @ RunWith(Seasar2.class)
-public class ProductServiceImplTest {
- private TestContext ctx;
-
- private ProductService productService;
-
- //TODO need to update
- // public void addCategoryDescription() {
- // // test passed
- // Category category = new Category();
- //
- // category.setParentCategoryId(BigDecimal.valueOf(1));
- // category.setNumOfProduct(BigDecimal.valueOf(10));
- // category.setStatus(BigDecimal.valueOf(1));
- // category.setSortOrder(BigDecimal.valueOf(1));
- //
- // CategoryDescription categoryDescription = new CategoryDescription();
- //
- // categoryDescription.setCategory(category);
- // categoryDescription.setLanguage("ja_JP");
- // categoryDescription.setName("d6");
- //
- // productService.addCategoryDescription(categoryDescription);
- //
- // assertEquals("addCategoryDescription(CategoryDescription)", ctx.getExpected()
- // , productService.getCategoryDescription(BigDecimal.valueOf(6), "ja_JP"));
- // }
-
- // public void addManufactureDescription() {
- // Manufacturer manufacturer = new Manufacturer();
- //
- // manufacturer.setFileDataId(BigDecimal.valueOf(4));
- //
- // ManufacturerDescription manufacturerDescription = new ManufacturerDescription();
- //
- // manufacturerDescription.setManufacturer(manufacturer);
- // manufacturerDescription.setContent("content5");
- // manufacturerDescription.setLanguage("ja_JP");
- // manufacturerDescription.setName("test5");
- // manufacturerDescription.setUrl("http://");
- //
- // productService.addManufactureDescription(manufacturerDescription);
- //
- // assertEquals("addManufactureDescription(ManufacturerDescription)", ctx.getExpected()
- // , productService.getManufactureDescription(BigDecimal.valueOf(5), "ja_JP"));
- // }
-
- //TODO need to update
- // public void addProductDescription() throws PompeiDBException {
- // Product product = new Product();
- //
- // product.setModel("A");
- // product.setCode("abc8");
- // product.setStock(BigDecimal.valueOf(99));
- // product.setPrice(BigDecimal.valueOf(5000));
- // product.setWeight(BigDecimal.valueOf(500));
- // product.setSize("M");
- // product.setStatus(BigDecimal.valueOf(1));
- // product.setLimitPurchase(BigDecimal.valueOf(2));
- // product.setReleaseDate(Timestamp.valueOf("2000-01-01 00:00:00"));
- // product.setStartDate(Timestamp.valueOf("2000-01-01 00:00:00"));
- // product.setEndDate(Timestamp.valueOf("2010-12-31 23:59:59"));
- // product.setFileDataId(BigDecimal.valueOf(4));
- // product.setManufacturerId(BigDecimal.valueOf(3));
- // product.setTaxTypeId(BigDecimal.valueOf(1));
- // product.setDeliveryTypeId(BigDecimal.valueOf(1));
- //
- // ProductDescription productDescription = new ProductDescription();
- //
- // productDescription.setProduct(product);
- // productDescription.setName("product8");
- // productDescription.setTitle("title8");
- // productDescription.setDescription("test8");
- // productDescription.setUrl("http://");
- // productDescription.setLanguage("ja_JP");
- //
- // productService.addProductDescription(productDescription, BigDecimal.valueOf(1));
- //
- // assertEquals("addProductDescription(ProductDescription, BigDecimal)", ctx.getExpected()
- // , productService.getProductDescription(BigDecimal.valueOf(8), "ja_JP"));
- // }
-
- // public void deleteCategory() {
- // productService.deleteCategory(BigDecimal.valueOf(4));
- // List list = productService.getSubCategoryDescriptionList(BigDecimal.valueOf(1), "ja_JP");
- //
- // assertEquals("deleteCategory(BigDecimal)", ctx.getExpected(), list);
- // }
- //
- // public void deleteManufacture() {
- // productService.deleteManufacture(BigDecimal.valueOf(2));
- // List list = productService.getManufacturerList();
- //
- // assertEquals("deleteManufacture", ctx.getExpected(), list);
- // }
- //
- // public void deleteProduct() {
- // productService.deleteProduct(BigDecimal.valueOf(4));
- // List list = productService.getProductList(BigDecimal.valueOf(2));
- //
- // assertEquals("deleteProduct", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getCategoryDescription() {
- // // test passed
- // CategoryDescription categoryDescription = productService
- // .getCategoryDescription(BigDecimal.valueOf(2), "en_US");
- // assertEquals("getCategoryDescription(categoryId, language)", ctx.getExpected(),
- // categoryDescription);
- // }
-
- //TODO need to update
- // public void getCategoryDescriptionBreadcrumb() {
- // // test passed
- // List cdList = productService
- // .getCategoryDescriptionBreadcrumb(BigDecimal.valueOf(5), "ja_JP");
- // assertEquals("getCategoryDescriptionBreadcrumb(categoryId)", ctx.getExpected(),
- // cdList);
- // }
-
- //TODO need to update
- // public void getManufacturerDescription() {
- // // test passed
- // ManufacturerDescription manufacturerDescription = productService
- // .getManufactureDescription(BigDecimal.valueOf(3), "en_US");
- // assertEquals("getManufacturerDescription", ctx.getExpected(), manufacturerDescription);
- // }
-
- //TODO need to update
- // public void getManufactureDescriptionList1() {
- // // test passed
- // List list = productService
- // .getManufactureDescriptionList();
- // assertEquals("getManufactureDescriptionList1", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getManufactureDescriptionList2() {
- // // test passed
- // List list = productService
- // .getManufactureDescriptionList("ja_JP");
- // assertEquals("getManufactureDescriptionList2", ctx.getExpected(), list);
- // }
-
- // public void getManufacturer() {
- // Manufacturer manufacturer = productService
- // .getManufacturer(BigDecimal.valueOf(3));
- // assertEquals("getManufacturer", ctx.getExpected(), manufacturer);
- // }
- //
- // public void getManufacturerList() {
- // List list = productService.getManufacturerList();
- // assertEquals("getManufacturerList", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getProduct() {
- // // test Passed
- // Product product = productService
- // .getProduct(BigDecimal.valueOf(5));
- // assertEquals("getProdcut", ctx.getExpected(), product);
- // }
-
- //TODO need to update
- // public void getProductDescription() {
- // // test Passed
- // ProductDescription productDescription = productService
- // .getProductDescription(BigDecimal.valueOf(7), "en_US");
- // assertEquals("getProdcutDescription", ctx.getExpected(), productDescription);
- // }
-
- //TODO need to update
- // public void getProductList() {
- // // test Passed
- // List list = productService
- // .getProductList(BigDecimal.valueOf(2));
- // assertEquals("getProductList", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getProductListByPager() {
- // ProductPager productPager = new ProductPager();
- // productPager.setCategoryId(BigDecimal.valueOf(5));
- // productPager.setPageSize(3);
- // productPager.setCurrentPageNumber(2);
- //// productPager.setOrderMode("orderMode");
- //
- // List list = productService
- // .getProductListByPager(productPager);
- // assertEquals("getProductListByPager", ctx.getExpected(), list);
- // }
-
- //TODO need to update
- // public void getSubCategoryDescriptionList() {
- // // test passed
- // List list = productService
- // .getSubCategoryDescriptionList(BigDecimal.valueOf(1), "ja_JP");
- // assertEquals("getSubCategoryDescriptionList", ctx.getExpected(), list);
- // }
-
- // public void getTopProductList() {
- // List list = productService.getTopProductList(type, num);
- // assertEquals("getTopProductList", ctx.getExpected(), list);
- // }
-
- public void hasChildCategory() {
- // test passed
- boolean hasChildCategory = productService.hasChildCategory(BigDecimal
- .valueOf(1));
- assertEquals("hasChildCategory", true, hasChildCategory);
- }
-
- //TODO need to update
- // public void updateCategoryDescription() {
- // CategoryDescription d =
- // productService.getCategoryDescription(BigDecimal.valueOf(3), "ja_JP");
- // d.setName("d3 updated");
- // d.setLanguage("en_US");
- // productService.updateCategoryDescription(d);
- // d = productService.getCategoryDescription(BigDecimal.valueOf(3), "en_US");
- // assertEquals("updateCategoryDescription", ctx.getExpected(), d);
- // }
-
- //TODO need to update
- // public void updateManufactureDescription() {
- // ManufacturerDescription d =
- // productService.getManufactureDescription(BigDecimal.valueOf(3), "ja_JP");
- // d.setName("test3 updated");
- // d.setUrl("http://updated");
- // d.setContent("content3 updated");
- // d.setLanguage("en_US");
- // productService.updateManufactureDescription(d);
- // d = productService.getManufactureDescription(BigDecimal.valueOf(3), "ja_JP");
- // assertEquals("updateManufactureDescription", ctx.getExpected(), d);
- // }
-
- //TODO need to update
- // public void updateProductDescription() throws PompeiDBException {
- // ProductDescription d =
- // productService.getProductDescription(BigDecimal.valueOf(3), "ja_JP");
- // d.setName("product3 updated");
- // d.setTitle("title3 updated");
- // d.setDescription("test3 updated");
- // d.setUrl("http://updated");
- // d.setLanguage("en_US");
- // productService.updateProductDescription(d);
- // d = productService.getProductDescription(BigDecimal.valueOf(3), "en_US");
- // assertEquals("updateProductDescription", ctx.getExpected(), d);
- // }
-}
+//package jp.sf.pal.pompei.service.impl;
+//
+//import static org.junit.Assert.assertEquals;
+//
+//import java.math.BigDecimal;
+//
+//import jp.sf.pal.pompei.service.ProductService;
+//
+//import org.junit.runner.RunWith;
+//import org.seasar.framework.unit.Seasar2;
+//import org.seasar.framework.unit.TestContext;
+//
+//@RunWith(Seasar2.class)
+//public class ProductServiceImplTest {
+// private TestContext ctx;
+//
+// private ProductService productService;
+//
+// //TODO need to update
+// // public void addCategoryDescription() {
+// // // test passed
+// // Category category = new Category();
+// //
+// // category.setParentCategoryId(BigDecimal.valueOf(1));
+// // category.setNumOfProduct(BigDecimal.valueOf(10));
+// // category.setStatus(BigDecimal.valueOf(1));
+// // category.setSortOrder(BigDecimal.valueOf(1));
+// //
+// // CategoryDescription categoryDescription = new CategoryDescription();
+// //
+// // categoryDescription.setCategory(category);
+// // categoryDescription.setLanguage("ja_JP");
+// // categoryDescription.setName("d6");
+// //
+// // productService.addCategoryDescription(categoryDescription);
+// //
+// // assertEquals("addCategoryDescription(CategoryDescription)", ctx.getExpected()
+// // , productService.getCategoryDescription(BigDecimal.valueOf(6), "ja_JP"));
+// // }
+//
+// // public void addManufactureDescription() {
+// // Manufacturer manufacturer = new Manufacturer();
+// //
+// // manufacturer.setFileDataId(BigDecimal.valueOf(4));
+// //
+// // ManufacturerDescription manufacturerDescription = new ManufacturerDescription();
+// //
+// // manufacturerDescription.setManufacturer(manufacturer);
+// // manufacturerDescription.setContent("content5");
+// // manufacturerDescription.setLanguage("ja_JP");
+// // manufacturerDescription.setName("test5");
+// // manufacturerDescription.setUrl("http://");
+// //
+// // productService.addManufactureDescription(manufacturerDescription);
+// //
+// // assertEquals("addManufactureDescription(ManufacturerDescription)", ctx.getExpected()
+// // , productService.getManufactureDescription(BigDecimal.valueOf(5), "ja_JP"));
+// // }
+//
+// //TODO need to update
+// // public void addProductDescription() throws PompeiDBException {
+// // Product product = new Product();
+// //
+// // product.setModel("A");
+// // product.setCode("abc8");
+// // product.setStock(BigDecimal.valueOf(99));
+// // product.setPrice(BigDecimal.valueOf(5000));
+// // product.setWeight(BigDecimal.valueOf(500));
+// // product.setSize("M");
+// // product.setStatus(BigDecimal.valueOf(1));
+// // product.setLimitPurchase(BigDecimal.valueOf(2));
+// // product.setReleaseDate(Timestamp.valueOf("2000-01-01 00:00:00"));
+// // product.setStartDate(Timestamp.valueOf("2000-01-01 00:00:00"));
+// // product.setEndDate(Timestamp.valueOf("2010-12-31 23:59:59"));
+// // product.setFileDataId(BigDecimal.valueOf(4));
+// // product.setManufacturerId(BigDecimal.valueOf(3));
+// // product.setTaxTypeId(BigDecimal.valueOf(1));
+// // product.setDeliveryTypeId(BigDecimal.valueOf(1));
+// //
+// // ProductDescription productDescription = new ProductDescription();
+// //
+// // productDescription.setProduct(product);
+// // productDescription.setName("product8");
+// // productDescription.setTitle("title8");
+// // productDescription.setDescription("test8");
+// // productDescription.setUrl("http://");
+// // productDescription.setLanguage("ja_JP");
+// //
+// // productService.addProductDescription(productDescription, BigDecimal.valueOf(1));
+// //
+// // assertEquals("addProductDescription(ProductDescription, BigDecimal)", ctx.getExpected()
+// // , productService.getProductDescription(BigDecimal.valueOf(8), "ja_JP"));
+// // }
+//
+// // public void deleteCategory() {
+// // productService.deleteCategory(BigDecimal.valueOf(4));
+// // List list = productService.getSubCategoryDescriptionList(BigDecimal.valueOf(1), "ja_JP");
+// //
+// // assertEquals("deleteCategory(BigDecimal)", ctx.getExpected(), list);
+// // }
+// //
+// // public void deleteManufacture() {
+// // productService.deleteManufacture(BigDecimal.valueOf(2));
+// // List list = productService.getManufacturerList();
+// //
+// // assertEquals("deleteManufacture", ctx.getExpected(), list);
+// // }
+// //
+// // public void deleteProduct() {
+// // productService.deleteProduct(BigDecimal.valueOf(4));
+// // List list = productService.getProductList(BigDecimal.valueOf(2));
+// //
+// // assertEquals("deleteProduct", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getCategoryDescription() {
+// // // test passed
+// // CategoryDescription categoryDescription = productService
+// // .getCategoryDescription(BigDecimal.valueOf(2), "en_US");
+// // assertEquals("getCategoryDescription(categoryId, language)", ctx.getExpected(),
+// // categoryDescription);
+// // }
+//
+// //TODO need to update
+// // public void getCategoryDescriptionBreadcrumb() {
+// // // test passed
+// // List cdList = productService
+// // .getCategoryDescriptionBreadcrumb(BigDecimal.valueOf(5), "ja_JP");
+// // assertEquals("getCategoryDescriptionBreadcrumb(categoryId)", ctx.getExpected(),
+// // cdList);
+// // }
+//
+// //TODO need to update
+// // public void getManufacturerDescription() {
+// // // test passed
+// // ManufacturerDescription manufacturerDescription = productService
+// // .getManufactureDescription(BigDecimal.valueOf(3), "en_US");
+// // assertEquals("getManufacturerDescription", ctx.getExpected(), manufacturerDescription);
+// // }
+//
+// //TODO need to update
+// // public void getManufactureDescriptionList1() {
+// // // test passed
+// // List list = productService
+// // .getManufactureDescriptionList();
+// // assertEquals("getManufactureDescriptionList1", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getManufactureDescriptionList2() {
+// // // test passed
+// // List list = productService
+// // .getManufactureDescriptionList("ja_JP");
+// // assertEquals("getManufactureDescriptionList2", ctx.getExpected(), list);
+// // }
+//
+// // public void getManufacturer() {
+// // Manufacturer manufacturer = productService
+// // .getManufacturer(BigDecimal.valueOf(3));
+// // assertEquals("getManufacturer", ctx.getExpected(), manufacturer);
+// // }
+// //
+// // public void getManufacturerList() {
+// // List list = productService.getManufacturerList();
+// // assertEquals("getManufacturerList", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getProduct() {
+// // // test Passed
+// // Product product = productService
+// // .getProduct(BigDecimal.valueOf(5));
+// // assertEquals("getProdcut", ctx.getExpected(), product);
+// // }
+//
+// //TODO need to update
+// // public void getProductDescription() {
+// // // test Passed
+// // ProductDescription productDescription = productService
+// // .getProductDescription(BigDecimal.valueOf(7), "en_US");
+// // assertEquals("getProdcutDescription", ctx.getExpected(), productDescription);
+// // }
+//
+// //TODO need to update
+// // public void getProductList() {
+// // // test Passed
+// // List list = productService
+// // .getProductList(BigDecimal.valueOf(2));
+// // assertEquals("getProductList", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getProductListByPager() {
+// // ProductPager productPager = new ProductPager();
+// // productPager.setCategoryId(BigDecimal.valueOf(5));
+// // productPager.setPageSize(3);
+// // productPager.setCurrentPageNumber(2);
+// //// productPager.setOrderMode("orderMode");
+// //
+// // List list = productService
+// // .getProductListByPager(productPager);
+// // assertEquals("getProductListByPager", ctx.getExpected(), list);
+// // }
+//
+// //TODO need to update
+// // public void getSubCategoryDescriptionList() {
+// // // test passed
+// // List list = productService
+// // .getSubCategoryDescriptionList(BigDecimal.valueOf(1), "ja_JP");
+// // assertEquals("getSubCategoryDescriptionList", ctx.getExpected(), list);
+// // }
+//
+// // public void getTopProductList() {
+// // List list = productService.getTopProductList(type, num);
+// // assertEquals("getTopProductList", ctx.getExpected(), list);
+// // }
+//
+// public void hasChildCategory() {
+// // test passed
+// boolean hasChildCategory = productService.hasChildCategory(BigDecimal
+// .valueOf(1));
+// assertEquals("hasChildCategory", true, hasChildCategory);
+// }
+//
+// //TODO need to update
+// // public void updateCategoryDescription() {
+// // CategoryDescription d =
+// // productService.getCategoryDescription(BigDecimal.valueOf(3), "ja_JP");
+// // d.setName("d3 updated");
+// // d.setLanguage("en_US");
+// // productService.updateCategoryDescription(d);
+// // d = productService.getCategoryDescription(BigDecimal.valueOf(3), "en_US");
+// // assertEquals("updateCategoryDescription", ctx.getExpected(), d);
+// // }
+//
+// //TODO need to update
+// // public void updateManufactureDescription() {
+// // ManufacturerDescription d =
+// // productService.getManufactureDescription(BigDecimal.valueOf(3), "ja_JP");
+// // d.setName("test3 updated");
+// // d.setUrl("http://updated");
+// // d.setContent("content3 updated");
+// // d.setLanguage("en_US");
+// // productService.updateManufactureDescription(d);
+// // d = productService.getManufactureDescription(BigDecimal.valueOf(3), "ja_JP");
+// // assertEquals("updateManufactureDescription", ctx.getExpected(), d);
+// // }
+//
+// //TODO need to update
+// // public void updateProductDescription() throws PompeiDBException {
+// // ProductDescription d =
+// // productService.getProductDescription(BigDecimal.valueOf(3), "ja_JP");
+// // d.setName("product3 updated");
+// // d.setTitle("title3 updated");
+// // d.setDescription("test3 updated");
+// // d.setUrl("http://updated");
+// // d.setLanguage("en_US");
+// // productService.updateProductDescription(d);
+// // d = productService.getProductDescription(BigDecimal.valueOf(3), "en_US");
+// // assertEquals("updateProductDescription", ctx.getExpected(), d);
+// // }
+//}
Modified: pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon
===================================================================
--- pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon 2008-04-08 04:39:30 UTC (rev 878)
+++ pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon 2008-04-08 04:59:55 UTC (rev 879)
@@ -28,7 +28,7 @@
"jdbc:h2:file:"
- + @org.seasar.framework.util.ResourceUtil @ getBuildDir(@jp.sf.pal.pompei.PompeiTestConstants @ class).getCanonicalPath()
+ + @org.seasar.framework.util.ResourceUtil @ getBuildDir(@jp.sf.pal.pompei.PompeiConstants @ class).getCanonicalPath()
+ "/db/pompei"
"sa"
From svnnotify @ sourceforge.jp Tue Apr 8 14:03:45 2008
From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp)
Date: Tue, 08 Apr 2008 14:03:45 +0900
Subject: [pal-cvs 3144] [880] replaced with pompei-db.
Message-ID: <1207631025.068782.25043.nullmailer@users.sourceforge.jp>
Revision: 880
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=880
Author: shinsuke
Date: 2008-04-08 14:03:44 +0900 (Tue, 08 Apr 2008)
Log Message:
-----------
replaced with pompei-db.
Modified Paths:
--------------
pompei/portlets/pompei-core/trunk/.classpath
pompei/portlets/pompei-core/trunk/.settings/org.eclipse.jdt.ui.prefs
pompei/portlets/pompei-core/trunk/.settings/org.seasar.dolteng.eclipse.prefs
pompei/portlets/pompei-core/trunk/pom.xml
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/CustomerDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/ProductDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/entity/notification/order/Product.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/fee/FeeCalculator.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/fee/impl/BankPaymentCalculator.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/fee/impl/CashOnDeliveryPaymentCalculator.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/fee/impl/DefaultDeliveryMethodCalculator.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/fee/impl/ECollectPaymentCalculator.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/util/SystemUtil.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/util/UploadedFileUtil.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/AbstractCustomerEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/CustomerConfirmAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/CustomerConfirmPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/CustomerEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/CustomerEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/CustomerListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/customer/CustomerListPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/AbstractOrderEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/OrderConfirmAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/OrderConfirmPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/OrderEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/OrderEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/OrderListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/OrderNotificationSelectAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/CategoryEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/CategoryEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/CategoryListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/CategoryListPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ManufacturerEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ManufacturerEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ManufacturerListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ProductEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ProductEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ProductListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/product/ProductListPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/cart/ProductListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/cart/ProductListPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/CheckoutCompleteAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/CheckoutConfirmAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/CheckoutConfirmPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/PaymentSelectAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/PaymentSelectPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/UserAddressSelectAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/checkout/UserInfoEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/CategoryListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductDetailsAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/ProductListPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/TopProductListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/product/TopProductListPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/signup/SignupCompleteAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/signup/SignupConfirmAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/user/signup/SignupEditAction.java
pompei/portlets/pompei-core/trunk/src/main/resources/PCMessages.properties
pompei/portlets/pompei-core/trunk/src/main/resources/appMessages.properties
pompei/portlets/pompei-core/trunk/src/main/resources/jdbc.dicon
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/order/orderConfirm.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/order/orderEdit.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/product/categoryEdit.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/product/categoryList.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/product/manufacturerList.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/product/productEdit.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/product/productList.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/cart/productList.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/checkout/checkoutComplete.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/checkout/checkoutConfirm.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/checkout/paymentSelect.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/checkout/userAddressSelect.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/checkout/userInfoEdit.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/product/productDetails.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/signup/signupComplete.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/signup/signupConfirm.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/user/signup/signupEdit.html
Added Paths:
-----------
pompei/portlets/pompei-core/trunk/src/main/config/sql/
pompei/portlets/pompei-core/trunk/src/main/config/sql/create_table.sql
pompei/portlets/pompei-core/trunk/src/main/config/sql/insert_data.sql
pompei/portlets/pompei-core/trunk/src/main/config/sql/insert_sample_data.sql
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/OrderDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/SystemDxo.java
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/addcart.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/addcart_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/addcart_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/adduserinfo.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/adduserinfo_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/adduserinfo_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/backtolist.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/backtolist_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/backtolist_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/backtoshopping.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/backtoshopping_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/backtoshopping_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/cancelco.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/cancelco_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/cancelco_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/cancelupdate.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/cancelupdate_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/cancelupdate_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/coconfirm.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/coconfirm_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/coconfirm_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/continueshopping.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/continueshopping_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/continueshopping_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/create.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/create_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/create_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/createuserinfo.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/createuserinfo_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/createuserinfo_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/delete.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/delete_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/delete_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/deleteaddress.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/deleteaddress_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/deleteaddress_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goaddressselect.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goaddressselect_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goaddressselect_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gocheckout.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gocheckout_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gocheckout_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gococonfirm.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gococonfirm_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gococonfirm_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gologin.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gologin_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gologin_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gopaymentselect.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gopaymentselect_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/gopaymentselect_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goregister.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goregister2.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goregister2_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goregister2_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goregister_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/goregister_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/modifyuserinfo.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/modifyuserinfo_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/modifyuserinfo_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/reedit.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/reedit_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/reedit_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/search.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/search_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/search_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/signupcomplete.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/signupcomplete_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/signupcomplete_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/signupedit.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/signupedit_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/signupedit_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/updateCart.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/updateCart_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/updateCart_over.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/updateuserinfo.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/updateuserinfo_down.png
pompei/portlets/pompei-core/trunk/src/main/webapp/images/buttons/updateuserinfo_over.png
Removed Paths:
-------------
pompei/portlets/pompei-core/trunk/src/main/config/pompei.clay
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/converter/
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/CardTypeDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/CategoryDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/DeliveryMethodDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/ManufacturerDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/OrderFormDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/PaymentMethodDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/TaxDxo.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/pager/
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/DeliveryMethodEditAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/DeliveryMethodEditPage.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/DeliveryMethodListAction.java
pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/DeliveryMethodListPage.java
pompei/portlets/pompei-core/trunk/src/main/resources/dbflute.dicon
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/order/deliveryMethodEdit.html
pompei/portlets/pompei-core/trunk/src/main/webapp/view/admin/order/deliveryMethodList.html
-------------- next part --------------
Modified: pompei/portlets/pompei-core/trunk/.classpath
===================================================================
--- pompei/portlets/pompei-core/trunk/.classpath 2008-04-08 04:59:55 UTC (rev 879)
+++ pompei/portlets/pompei-core/trunk/.classpath 2008-04-08 05:03:44 UTC (rev 880)
@@ -8,49 +8,48 @@
-
-
+
+
+
+
-
-
+
+
+
-
-
-
-
+
+
-
-
-
+
+
-
+
+
+
-
-
-
+
+
-
-
Modified: pompei/portlets/pompei-core/trunk/.settings/org.eclipse.jdt.ui.prefs
===================================================================
--- pompei/portlets/pompei-core/trunk/.settings/org.eclipse.jdt.ui.prefs 2008-04-08 04:59:55 UTC (rev 879)
+++ pompei/portlets/pompei-core/trunk/.settings/org.eclipse.jdt.ui.prefs 2008-04-08 05:03:44 UTC (rev 880)
@@ -1,6 +1,6 @@
-#Tue Jul 24 13:39:37 JST 2007
+#Thu Oct 11 09:30:41 JST 2007
eclipse.preferences.version=1
formatter_profile=_Seasar
formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
-org.eclipse.jdt.ui.text.custom_code_templates=/**\n * @return ${bare_field_name}\n *//**\n * @param ${param} \u8A2D\u5B9A\u3059\u308B ${bare_field_name}\n *//**\n * ${tags}\n *//**\n * \n *//**\n * @author ${user}\n *\n * ${tags}\n *//**\n * \n *//**\n * ${tags}\n *//* (non-Javadoc)\n * ${see_to_overridden}\n *//**\n * ${tags}\n * ${see_to_target}\n */${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}\n\n\n\n// ${todo} \u81EA\u52D5\u751F\u6210\u3055\u308C\u305F catch \u30D6\u30ED\u30C3\u30AF\n${exception_var}.printStackTrace();// ${todo} \u81EA\u52D5\u751F\u6210\u3055\u308C\u305F\u30E1\u30BD\u30C3\u30C9\u30FB\u30B9\u30BF\u30D6\n${body_statement}${body_statement}\n// ${todo} \u81EA\u52D5\u751F\u6210\u3055\u308C\u305F\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FC\u30FB\u30B9\u30BF\u30D6return ${field};${field} \= ${param};
+org.eclipse.jdt.ui.text.custom_code_templates=
Modified: pompei/portlets/pompei-core/trunk/.settings/org.seasar.dolteng.eclipse.prefs
===================================================================
--- pompei/portlets/pompei-core/trunk/.settings/org.seasar.dolteng.eclipse.prefs 2008-04-08 04:59:55 UTC (rev 879)
+++ pompei/portlets/pompei-core/trunk/.settings/org.seasar.dolteng.eclipse.prefs 2008-04-08 05:03:44 UTC (rev 880)
@@ -1,4 +1,4 @@
-#Sun Aug 26 07:25:31 JST 2007
+#Mon Nov 12 14:26:07 JST 2007
DaoType=S2Dao
DefaultResourcePath=/pompei-core/src/main/resources
DefaultRootPackage=jp.sf.pal.pompei
Modified: pompei/portlets/pompei-core/trunk/pom.xml
===================================================================
--- pompei/portlets/pompei-core/trunk/pom.xml 2008-04-08 04:59:55 UTC (rev 879)
+++ pompei/portlets/pompei-core/trunk/pom.xml 2008-04-08 05:03:44 UTC (rev 880)
@@ -5,7 +5,7 @@
pompei-core
war
Pompei
- 0.0.2-SNAPSHOT
+ 0.1.0-SNAPSHOT
Portalet for constructing EC site
http://pal.sourceforge.jp/
2005
@@ -22,8 +22,6 @@
takeharu
Takeharu Yamaguchi
- TBD
- TBD
+9
@@ -72,9 +70,9 @@
maven-antrun-plugin
- org.apache.derby
- derby
- 10.2.2.0
+ com.h2database
+ h2
+ 1.0.65
@@ -83,11 +81,10 @@
clean
-
-
-
-
-
+
+
+
+
@@ -112,6 +109,12 @@
http://maven.seasar.org/maven2
+ maven.marevol.com
+ Maven2 Repository on marevol.com
+ http://maven.marevol.com/
+ legacy
+
+
maven2.marevol.com
Maven2 Repository on marevol.com
http://maven2.marevol.com/
@@ -130,7 +133,7 @@
1.4
test
-
+
xerces
xercesImpl
@@ -194,12 +198,12 @@
org.seasar.container
s2-framework
- 2.4.17
+ 2.4.24
org.seasar.container
s2-extension
- 2.4.17
+ 2.4.24
log4j
@@ -210,7 +214,7 @@
org.seasar.container
s2-tiger
- 2.4.17
+ 2.4.24
org.easymock
@@ -221,9 +225,9 @@
org.seasar.teeda
teeda-extension
- 1.0.12-SNAPSHOT
+ 1.0.13-rc6
-
org.seasar.dao
s2-dao
- 1.0.46
+ 1.0.47
org.seasar.dao
s2-dao-tiger
- 1.0.46
+ 1.0.47
- org.apache.derby
- derby
- 10.2.2.0
+ com.h2database
+ h2
+ 1.0.65
+ provided
-
-
-
+
org.apache.portals.jetspeed-2
jetspeed-api
- 2.1.2_pal-1.0-beta6
-
+ 2.1.3_pal-1.0.3
+
provided
-
+
org.apache.portals.jetspeed-2
jetspeed-locator
- 2.1.2_pal-1.0-beta6
+ 2.1.3_pal-1.0.3
Deleted: pompei/portlets/pompei-core/trunk/src/main/config/pompei.clay
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/config/pompei.clay 2008-04-08 04:59:55 UTC (rev 879)
+++ pompei/portlets/pompei-core/trunk/src/main/config/pompei.clay 2008-04-08 05:03:44 UTC (rev 880)
@@ -1,4481 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Copied: pompei/portlets/pompei-core/trunk/src/main/config/sql/create_table.sql (from rev 867, pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/db/create_table.sql)
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/config/sql/create_table.sql (rev 0)
+++ pompei/portlets/pompei-core/trunk/src/main/config/sql/create_table.sql 2008-04-08 05:03:44 UTC (rev 880)
@@ -0,0 +1,1117 @@
+DROP TABLE IF EXISTS ADDRESS_BOOK;
+DROP TABLE IF EXISTS MANUFACTURER_INFO;
+DROP TABLE IF EXISTS PRODUCT_INFO;
+DROP TABLE IF EXISTS DELIVERY_ZONE_DESCRIPTION;
+DROP TABLE IF EXISTS TAX_TYPE_DESCRIPTION;
+DROP TABLE IF EXISTS COUNTRY_DESCRIPTION;
+DROP TABLE IF EXISTS DELIVERY_TYPE_DESCRIPTION;
+DROP TABLE IF EXISTS PAYMENT_STATUS_DESCRIPTION;
+DROP TABLE IF EXISTS DELIVERY_STATUS_DESCRIPTION;
+DROP TABLE IF EXISTS PRODUCT_ATTRIBUTE;
+DROP TABLE IF EXISTS ORDER_PRODUCT_OPTION;
+DROP TABLE IF EXISTS FAVORITE_PRODUCT;
+DROP TABLE IF EXISTS PRODUCT_STATS;
+DROP TABLE IF EXISTS BASKET_PRODUCT_OPTION;
+DROP TABLE IF EXISTS PRODUCT_OPTION_VALUE_DESCRIPTION;
+DROP TABLE IF EXISTS PRODUCT_OPTION_DESCRIPTION;
+DROP TABLE IF EXISTS CATEGORY_INFO;
+DROP TABLE IF EXISTS IMAGE_DATA;
+DROP TABLE IF EXISTS FILE_TAG_TO_FILE_DATA;
+DROP TABLE IF EXISTS ORDER_PAYMENT;
+DROP TABLE IF EXISTS ORDER_DELIVERY;
+DROP TABLE IF EXISTS PRODUCT_CONTENT;
+DROP TABLE IF EXISTS PRODUCT_PAGE_INFO;
+DROP TABLE IF EXISTS CATEGORY_CONTENT;
+DROP TABLE IF EXISTS CATEGORY_PAGE_INFO;
+DROP TABLE IF EXISTS MANUFACTURER_DESCRIPTION;
+DROP TABLE IF EXISTS ORDER_NOTIFICATION;
+DROP TABLE IF EXISTS ORDER_CARD_INFO;
+DROP TABLE IF EXISTS CARD_TYPE_DESCRIPTION;
+DROP TABLE IF EXISTS PAYMENT_METHOD_DESCRIPTION;
+DROP TABLE IF EXISTS ORDER_STATUS_DESCRIPTION;
+DROP TABLE IF EXISTS BARGAIN;
+DROP TABLE IF EXISTS REVIEW_DESCRIPTION;
+DROP TABLE IF EXISTS PRODUCT_TO_CATEGORY;
+DROP TABLE IF EXISTS PRODUCT_NOTIFICATION;
+DROP TABLE IF EXISTS PRODUCT_DESCRIPTION;
+DROP TABLE IF EXISTS ORDER_COMMENT;
+DROP TABLE IF EXISTS ORDER_STATUS_HISTORY;
+DROP TABLE IF EXISTS DELIVERY_METHOD_DESCRIPTION;
+DROP TABLE IF EXISTS PRODUCT_OPTION_VALUE;
+DROP TABLE IF EXISTS ORDER_PRODUCT;
+DROP TABLE IF EXISTS PRODUCT_OPTION;
+DROP TABLE IF EXISTS REVIEW;
+DROP TABLE IF EXISTS BASKET;
+DROP TABLE IF EXISTS PRODUCT;
+DROP TABLE IF EXISTS ORDER_FORM;
+DROP TABLE IF EXISTS MANUFACTURER;
+DROP TABLE IF EXISTS CATEGORY;
+DROP TABLE IF EXISTS CUSTOMER;
+DROP TABLE IF EXISTS DELIVERY_ZONE;
+DROP TABLE IF EXISTS COUNTRY;
+DROP TABLE IF EXISTS DELIVERY_TYPE;
+DROP TABLE IF EXISTS FILE_TAG;
+DROP TABLE IF EXISTS DELIVERY_STATUS;
+DROP TABLE IF EXISTS PAYMENT_STATUS;
+DROP TABLE IF EXISTS FILE_DATA;
+DROP TABLE IF EXISTS CARD_TYPE;
+DROP TABLE IF EXISTS PAYMENT_METHOD;
+DROP TABLE IF EXISTS TAX_TYPE;
+DROP TABLE IF EXISTS ORDER_STATUS;
+DROP TABLE IF EXISTS DELIVERY_METHOD;
+
+CREATE TABLE DELIVERY_METHOD (
+ DELIVERY_METHOD_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , OBJECT_NAME VARCHAR(128) NOT NULL
+ , STATUS INTEGER NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (DELIVERY_METHOD_ID)
+);
+
+CREATE TABLE ORDER_STATUS (
+ ORDER_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT
+ , TYPE INTEGER NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (ORDER_STATUS_ID)
+);
+
+CREATE TABLE TAX_TYPE (
+ TAX_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , RATE DECIMAL(7, 4) NOT NULL
+ , SORT_ORDER INTEGER
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (TAX_TYPE_ID)
+);
+
+CREATE TABLE PAYMENT_METHOD (
+ PAYMENT_METHOD_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , OBJECT_NAME VARCHAR(128) NOT NULL
+ , STATUS INTEGER NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (PAYMENT_METHOD_ID)
+);
+
+CREATE TABLE CARD_TYPE (
+ CARD_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (CARD_TYPE_ID)
+);
+
+CREATE TABLE FILE_DATA (
+ FILE_DATA_ID BIGINT NOT NULL AUTO_INCREMENT
+ , NAME VARCHAR(100) NOT NULL
+ , FILE_TYPE VARCHAR(10) NOT NULL
+ , STATUS INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (FILE_DATA_ID)
+);
+
+CREATE TABLE PAYMENT_STATUS (
+ PAYMENT_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , SORT_ORDER INTEGER
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (PAYMENT_STATUS_ID)
+);
+
+CREATE TABLE DELIVERY_STATUS (
+ DELIVERY_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , SORT_ORDER INTEGER
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (DELIVERY_STATUS_ID)
+);
+
+CREATE TABLE FILE_TAG (
+ FILE_TAG_ID BIGINT NOT NULL AUTO_INCREMENT
+ , NAME VARCHAR(100) NOT NULL
+ , PRIMARY KEY (FILE_TAG_ID)
+);
+
+CREATE TABLE DELIVERY_TYPE (
+ DELIVERY_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (DELIVERY_TYPE_ID)
+);
+
+CREATE TABLE COUNTRY (
+ COUNTRY_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (COUNTRY_ID)
+);
+
+CREATE TABLE DELIVERY_ZONE (
+ DELIVERY_ZONE_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CODE VARCHAR(40) NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (DELIVERY_ZONE_ID)
+);
+
+CREATE TABLE CUSTOMER (
+ CUSTOMER_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PORTAL_ID VARCHAR(255) NOT NULL
+ , GENDER CHAR(1) NOT NULL
+ , FIRSTNAME VARCHAR(40) NOT NULL
+ , LASTNAME VARCHAR(40) NOT NULL
+ , FIRSTNAME_DESCRIPTION VARCHAR(40)
+ , LASTNAME_DESCRIPTION VARCHAR(40)
+ , NICKNAME VARCHAR(64)
+ , DAY_OF_BIRTH DATE NOT NULL DEFAULT '0000-00-00 00:00:00'
+ , EMAIL_ADDRESS VARCHAR(128) NOT NULL
+ , CREATED_DATE TIMESTAMP NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (CUSTOMER_ID)
+);
+
+CREATE TABLE CATEGORY (
+ CATEGORY_ID INTEGER NOT NULL AUTO_INCREMENT
+ , PARENT_CATEGORY_ID INTEGER NOT NULL DEFAULT 0
+ , FILE_DATA_ID BIGINT
+ , NUM_OF_PRODUCT INTEGER
+ , STATUS INTEGER NOT NULL
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (CATEGORY_ID)
+);
+
+CREATE TABLE MANUFACTURER (
+ MANUFACTURER_ID INTEGER NOT NULL AUTO_INCREMENT
+ , FILE_DATA_ID BIGINT
+ , SORT_ORDER INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (MANUFACTURER_ID)
+);
+
+CREATE TABLE ORDER_FORM (
+ ORDER_FORM_ID BIGINT NOT NULL AUTO_INCREMENT
+ , ORDER_FORM_NUMBER VARCHAR(40) NOT NULL
+ , CUSTOMER_ID BIGINT
+ , CUSTOMER_GENDER CHAR(1) NOT NULL
+ , CUSTOMER_FIRSTNAME VARCHAR(40) NOT NULL
+ , CUSTOMER_LASTNAME VARCHAR(40) NOT NULL
+ , CUSTOMER_FIRSTNAME_DESCRIPTION VARCHAR(40)
+ , CUSTOMER_LASTNAME_DESCRIPTION VARCHAR(40)
+ , CUSTOMER_DAY_OF_BIRTH DATE NOT NULL
+ , CUSTOMER_EMAIL_ADDRESS VARCHAR(200) NOT NULL
+ , CUSTOMER_COMPANY VARCHAR(120)
+ , CUSTOMER_DEPARTMENT VARCHAR(100)
+ , CUSTOMER_STREET_ADDRESS VARCHAR(240) NOT NULL
+ , CUSTOMER_SUBURB VARCHAR(40)
+ , CUSTOMER_CITY VARCHAR(80) NOT NULL
+ , CUSTOMER_STATE VARCHAR(40)
+ , CUSTOMER_POSTCODE VARCHAR(10) NOT NULL
+ , CUSTOMER_TELEPHONE VARCHAR(40)
+ , CUSTOMER_COUNTRY_CODE VARCHAR(40) NOT NULL
+ , CUSTOMER_LANGUAGE VARCHAR(20) NOT NULL
+ , BILLING_COMPANY VARCHAR(120)
+ , BILLING_DEPARTMENT VARCHAR(100)
+ , BILLING_FIRSTNAME VARCHAR(40) NOT NULL
+ , BILLING_LASTNAME VARCHAR(40) NOT NULL
+ , BILLING_FIRSTNAME_DESCRIPTION VARCHAR(40)
+ , BILLING_LASTNAME_DESCRIPTION VARCHAR(40)
+ , BILLING_STREET_ADDRESS VARCHAR(240) NOT NULL
+ , BILLING_SUBURB VARCHAR(40)
+ , BILLING_CITY VARCHAR(80) NOT NULL
+ , BILLING_STATE VARCHAR(40)
+ , BILLING_POSTCODE VARCHAR(10) NOT NULL
+ , BILLING_TELEPHONE VARCHAR(40)
+ , BILLING_COUNTRY_CODE VARCHAR(40) NOT NULL
+ , BILLING_LANGUAGE VARCHAR(20) NOT NULL
+ , ORDER_STATUS_ID INTEGER NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PURCHASED_DATE TIMESTAMP NOT NULL
+ , FINISHED_DATE TIMESTAMP
+ , PRIMARY KEY (ORDER_FORM_ID)
+);
+
+CREATE TABLE PRODUCT (
+ PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_MODE INTEGER NOT NULL
+ , CODE VARCHAR(40) NOT NULL
+ , MODEL VARCHAR(80)
+ , STOCK INTEGER
+ , CATALOG_PRICE DECIMAL(15, 4)
+ , PRICE DECIMAL(15, 4) NOT NULL
+ , WEIGHT DECIMAL(5, 2)
+ , SIZE VARCHAR(40)
+ , STATUS INTEGER NOT NULL
+ , LIMIT_PURCHASE INTEGER
+ , RELEASE_DATE TIMESTAMP
+ , START_DATE TIMESTAMP
+ , END_DATE TIMESTAMP
+ , FILE_DATA_ID BIGINT
+ , MANUFACTURER_ID INTEGER
+ , TAX_TYPE_ID INTEGER NOT NULL
+ , DELIVERY_TYPE_ID INTEGER NOT NULL
+ , CREATED_DATE TIMESTAMP NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (PRODUCT_ID)
+);
+
+CREATE TABLE BASKET (
+ BASKET_ID BIGINT NOT NULL AUTO_INCREMENT
+ , CUSTOMER_ID BIGINT NOT NULL
+ , PRODUCT_ID BIGINT NOT NULL
+ , QUANTITY INTEGER NOT NULL
+ , FINAL_PRICE DECIMAL(15, 4)
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (BASKET_ID)
+);
+
+CREATE TABLE REVIEW (
+ REVIEW_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , CUSTOMER_ID BIGINT
+ , CUSTOMER_NICKNAME VARCHAR(80) NOT NULL
+ , RATING INTEGER
+ , CREATED_DATE TIMESTAMP NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (REVIEW_ID)
+);
+
+CREATE TABLE PRODUCT_OPTION (
+ PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , CODE VARCHAR(40) NOT NULL
+ , PRIMARY KEY (PRODUCT_OPTION_ID)
+);
+
+CREATE TABLE ORDER_PRODUCT (
+ ORDER_PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT
+ , ORDER_FORM_ID BIGINT NOT NULL
+ , PRODUCT_ID BIGINT NOT NULL
+ , MODEL VARCHAR(80)
+ , CODE VARCHAR(40) NOT NULL
+ , PRICE DECIMAL(15, 4) NOT NULL
+ , FINAL_PRICE DECIMAL(15, 4) NOT NULL
+ , TAX DECIMAL(7, 4) NOT NULL
+ , QUANTITY INTEGER NOT NULL
+ , PRODUCT_NAME VARCHAR(150)
+ , DISPLAY_PRODUCT_NAME VARCHAR(150)
+ , MANUFACTURER_NAME VARCHAR(80)
+ , DISPLAY_MANUFACTURER_NAME VARCHAR(80)
+ , PRIMARY KEY (ORDER_PRODUCT_ID)
+);
+
+CREATE TABLE PRODUCT_OPTION_VALUE (
+ PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_OPTION_ID BIGINT NOT NULL
+ , CODE VARCHAR(40) NOT NULL
+ , STOCK INTEGER
+ , PRIMARY KEY (PRODUCT_OPTION_VALUE_ID)
+);
+
+CREATE TABLE DELIVERY_METHOD_DESCRIPTION (
+ DELIVERY_METHOD_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , DELIVERY_METHOD_ID INTEGER NOT NULL DEFAULT 0
+ , NAME VARCHAR(80) NOT NULL
+ , DESCRIPTION TEXT
+ , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1'
+ , PRIMARY KEY (DELIVERY_METHOD_DESCRIPTION_ID)
+);
+
+CREATE TABLE ORDER_STATUS_HISTORY (
+ ORDER_STATUS_HISTORY_ID INTEGER NOT NULL AUTO_INCREMENT
+ , ORDER_FORM_ID BIGINT NOT NULL
+ , ORDER_STATUS_ID INTEGER NOT NULL
+ , CUSTOMER_NOTIFIED INTEGER DEFAULT 0
+ , REMARK VARCHAR(200)
+ , CREATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (ORDER_STATUS_HISTORY_ID)
+);
+
+CREATE TABLE ORDER_COMMENT (
+ ORDER_COMMENT_ID BIGINT NOT NULL AUTO_INCREMENT
+ , ORDER_FORM_ID BIGINT NOT NULL
+ , TYPE INTEGER NOT NULL
+ , COMMENT TEXT
+ , PRIMARY KEY (ORDER_COMMENT_ID)
+);
+
+CREATE TABLE PRODUCT_DESCRIPTION (
+ PRODUCT_DESCRIPTION_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , DESCRIPTION TEXT
+ , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1'
+ , PRIMARY KEY (PRODUCT_DESCRIPTION_ID)
+);
+
+CREATE TABLE PRODUCT_NOTIFICATION (
+ PRODUCT_ID BIGINT NOT NULL
+ , CUSTOMER_ID BIGINT NOT NULL
+ , CREATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (CUSTOMER_ID, PRODUCT_ID)
+);
+
+CREATE TABLE PRODUCT_TO_CATEGORY (
+ PRODUCT_ID BIGINT NOT NULL
+ , CATEGORY_ID INTEGER NOT NULL
+ , PRIMARY KEY (CATEGORY_ID, PRODUCT_ID)
+);
+
+CREATE TABLE REVIEW_DESCRIPTION (
+ REVIEW_ID BIGINT NOT NULL
+ , COMMENT TEXT NOT NULL
+ , PRIMARY KEY (REVIEW_ID)
+);
+
+CREATE TABLE BARGAIN (
+ BARGAIN_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , BARGAIN_PRICE DECIMAL(15, 4) NOT NULL
+ , BARGAIN_CODE VARCHAR(40)
+ , START_DATE TIMESTAMP
+ , END_DATE TIMESTAMP
+ , STATUS INTEGER NOT NULL DEFAULT 1
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (BARGAIN_ID)
+);
+
+CREATE TABLE ORDER_STATUS_DESCRIPTION (
+ ORDER_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , ORDER_STATUS_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , DESCRIPTION VARCHAR(255)
+ , LANGUAGE VARCHAR(20)
+ , PRIMARY KEY (ORDER_STATUS_DESCRIPTION_ID)
+);
+
+CREATE TABLE PAYMENT_METHOD_DESCRIPTION (
+ PAYMENT_METHOD_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , PAYMENT_METHOD_ID INTEGER NOT NULL
+ , NAME VARCHAR(80) NOT NULL
+ , DESCRIPTION TEXT
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (PAYMENT_METHOD_DESCRIPTION_ID)
+);
+
+CREATE TABLE CARD_TYPE_DESCRIPTION (
+ CARD_TYPE_DESCRIPTION_ID INTEGER NOT NULL
+ , CARD_TYPE_ID INTEGER NOT NULL
+ , NAME VARCHAR(80) NOT NULL
+ , DESCRIPTION TEXT
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (CARD_TYPE_DESCRIPTION_ID)
+);
+
+CREATE TABLE ORDER_CARD_INFO (
+ ORDER_FORM_ID BIGINT NOT NULL AUTO_INCREMENT
+ , CARD_TYPE_ID INTEGER
+ , CARD_TYPE_CODE VARCHAR(40) NOT NULL
+ , CARD_OWNER VARCHAR(255) NOT NULL
+ , CARD_NUMBER VARCHAR(255) NOT NULL
+ , CARD_EXPIRES VARCHAR(255) NOT NULL
+ , CARD_PAYMENT_TYPE VARCHAR(80)
+ , PRIMARY KEY (ORDER_FORM_ID)
+);
+
+CREATE TABLE ORDER_NOTIFICATION (
+ ORDER_NOTIFICATION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , ORDER_STATUS_ID INTEGER NOT NULL
+ , EMAIL_ADDRESS VARCHAR(200)
+ , TEMPLATE_NAME VARCHAR(40) NOT NULL
+ , STATUS INTEGER NOT NULL
+ , PRIMARY KEY (ORDER_NOTIFICATION_ID)
+);
+
+CREATE TABLE MANUFACTURER_DESCRIPTION (
+ MANUFACTURER_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , MANUFACTURER_ID INTEGER NOT NULL
+ , DESCRIPTION TEXT
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (MANUFACTURER_DESCRIPTION_ID)
+);
+
+CREATE TABLE CATEGORY_PAGE_INFO (
+ CATEGORY_ID INTEGER NOT NULL
+ , PAGE_ID VARCHAR(80) NOT NULL
+ , TEMPLATE_NAME VARCHAR(80) NOT NULL
+ , KEYWORD VARCHAR(160)
+ , DESCRIPTION VARCHAR(160)
+ , PRIMARY KEY (CATEGORY_ID)
+);
+
+CREATE TABLE CATEGORY_CONTENT (
+ CATEGORY_CONTENT_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CATEGORY_ID INTEGER NOT NULL
+ , CONTENT TEXT
+ , SORT_ORDER INTEGER NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (CATEGORY_CONTENT_ID)
+);
+
+CREATE TABLE PRODUCT_PAGE_INFO (
+ PRODUCT_ID BIGINT NOT NULL
+ , PAGE_ID VARCHAR(80) NOT NULL
+ , TEMPLATE_NAME VARCHAR(80) NOT NULL
+ , KEYWORD VARCHAR(160)
+ , DESCRIPTION VARCHAR(160)
+ , PRIMARY KEY (PRODUCT_ID)
+);
+
+CREATE TABLE PRODUCT_CONTENT (
+ PRODUCT_CONTENT_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , CONTENT TEXT
+ , SORT_ORDER INTEGER NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (PRODUCT_CONTENT_ID)
+);
+
+CREATE TABLE ORDER_DELIVERY (
+ ORDER_FORM_ID BIGINT NOT NULL
+ , DELIVERY_COMPANY VARCHAR(120)
+ , DELIVERY_DEPARTMENT VARCHAR(100)
+ , DELIVERY_FIRSTNAME VARCHAR(40) NOT NULL
+ , DELIVERY_LASTNAME VARCHAR(40) NOT NULL
+ , DELIVERY_FIRSTNAME_DESCRIPTION VARCHAR(40)
+ , DELIVERY_LASTNAME_DESCRIPTION VARCHAR(40)
+ , DELIVERY_STREET_ADDRESS VARCHAR(240) NOT NULL
+ , DELIVERY_SUBURB VARCHAR(40)
+ , DELIVERY_CITY VARCHAR(80) NOT NULL
+ , DELIVERY_STATE VARCHAR(40)
+ , DELIVERY_POSTCODE VARCHAR(10) NOT NULL
+ , DELIVERY_TELEPHONE VARCHAR(40)
+ , DELIVERY_STATUS_ID INTEGER
+ , DELIVERY_METHOD_ID INTEGER
+ , DELIVERY_METHOD_CODE VARCHAR(40) NOT NULL
+ , DELIVERY_COUNTRY_CODE VARCHAR(40) NOT NULL
+ , DELIVERY_LANGUAGE VARCHAR(20) NOT NULL
+ , DELIVERY_COUNTRY_ID INTEGER NOT NULL
+ , DELIVERY_ZONE_ID INTEGER NOT NULL
+ , REQUESTED_DATE TIMESTAMP
+ , SENT_DATE TIMESTAMP
+ , RECEIVED_DATE TIMESTAMP
+ , SLIP_NUMBER VARCHAR(40)
+ , GIFT_WRAP INTEGER
+ , GIFT_MESSAGE VARCHAR(200)
+ , ENVELOPE_LABEL VARCHAR(100)
+ , PRIMARY KEY (ORDER_FORM_ID)
+);
+
+CREATE TABLE ORDER_PAYMENT (
+ ORDER_FORM_ID BIGINT NOT NULL
+ , PAYMENT_METHOD_ID INTEGER
+ , PAYMENT_METHOD_CODE VARCHAR(40) NOT NULL
+ , ORDER_CARD_INFO_ID BIGINT
+ , PAYMENT_STATUS_ID INTEGER
+ , SUB_TOTAL_PRICE DECIMAL(14, 6)
+ , TAX DECIMAL(14, 6)
+ , DELIVERY_PRICE DECIMAL(14, 6)
+ , PAYMENT_FEE DECIMAL(14, 6)
+ , TOTAL_PRICE DECIMAL(14, 6) NOT NULL
+ , PRIMARY KEY (ORDER_FORM_ID)
+);
+
+CREATE TABLE FILE_TAG_TO_FILE_DATA (
+ FILE_TAG_ID BIGINT NOT NULL
+ , FILE_DATA_ID BIGINT NOT NULL
+ , PRIMARY KEY (FILE_DATA_ID, FILE_TAG_ID)
+);
+
+CREATE TABLE IMAGE_DATA (
+ FILE_DATA_ID BIGINT NOT NULL AUTO_INCREMENT
+ , SIZE INTEGER
+ , HEIGHT INTEGER
+ , WIDTH INTEGER
+ , PRIMARY KEY (FILE_DATA_ID)
+);
+
+CREATE TABLE CATEGORY_INFO (
+ CATEGORY_INFO_ID INTEGER NOT NULL AUTO_INCREMENT
+ , CATEGORY_ID INTEGER NOT NULL
+ , NAME VARCHAR(80) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (CATEGORY_INFO_ID)
+);
+
+CREATE TABLE PRODUCT_OPTION_DESCRIPTION (
+ PRODUCT_OPTION_DESCRIPTION_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_OPTION_ID BIGINT NOT NULL
+ , NAME VARCHAR(80) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (PRODUCT_OPTION_DESCRIPTION_ID)
+);
+
+CREATE TABLE PRODUCT_OPTION_VALUE_DESCRIPTION (
+ PRODUCT_OPTION_VALUE_DESCRIPTION_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL
+ , NAME VARCHAR(80) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (PRODUCT_OPTION_VALUE_DESCRIPTION_ID)
+);
+
+CREATE TABLE BASKET_PRODUCT_OPTION (
+ BASKET_PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT
+ , BASKET_ID BIGINT NOT NULL
+ , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL
+ , PRIMARY KEY (BASKET_PRODUCT_OPTION_ID)
+);
+
+CREATE TABLE PRODUCT_STATS (
+ PRODUCT_ID BIGINT NOT NULL
+ , ORDERED INTEGER
+ , REVIEWED INTEGER
+ , RATING INTEGER
+ , FAVORITE INTEGER
+ , NOTIFICATION INTEGER
+ , PRIMARY KEY (PRODUCT_ID)
+);
+
+CREATE TABLE FAVORITE_PRODUCT (
+ PRODUCT_ID BIGINT NOT NULL
+ , CUSTOMER_ID BIGINT NOT NULL
+ , UPDATED_DATE TIMESTAMP NOT NULL
+ , PRIMARY KEY (CUSTOMER_ID, PRODUCT_ID)
+);
+
+CREATE TABLE ORDER_PRODUCT_OPTION (
+ ORDER_PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT
+ , ORDER_PRODUCT_ID BIGINT NOT NULL
+ , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL
+ , PRODUCT_OPTION_CODE VARCHAR(40) NOT NULL
+ , PRODUCT_OPTION_VALUE_CODE VARCHAR(40) NOT NULL
+ , PRODUCT_OPTION_NAME VARCHAR(80)
+ , DISPLAY_PRODUCT_OPTION_NAME VARCHAR(80)
+ , PRODUCT_OPTION_VALUE_NAME VARCHAR(80)
+ , DISPLAY_PRODUCT_OPTION_VALUE_NAME VARCHAR(80)
+ , PRIMARY KEY (ORDER_PRODUCT_OPTION_ID)
+);
+
+CREATE TABLE PRODUCT_ATTRIBUTE (
+ PRODUCT_ATTRIBUTE_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , NAME VARCHAR(100) NOT NULL
+ , VALUE VARCHAR(100)
+ , PRIMARY KEY (PRODUCT_ATTRIBUTE_ID)
+);
+
+CREATE TABLE DELIVERY_STATUS_DESCRIPTION (
+ DELIVERY_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , DELIVERY_STATUS_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (DELIVERY_STATUS_DESCRIPTION_ID)
+);
+
+CREATE TABLE PAYMENT_STATUS_DESCRIPTION (
+ PAYMENT_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , PAYMENT_STATUS_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (PAYMENT_STATUS_DESCRIPTION_ID)
+);
+
+CREATE TABLE DELIVERY_TYPE_DESCRIPTION (
+ DELIVERY_TYPE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , DELIVERY_TYPE_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (DELIVERY_TYPE_DESCRIPTION_ID)
+);
+
+CREATE TABLE COUNTRY_DESCRIPTION (
+ COUNTRY_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , COUNTRY_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (COUNTRY_DESCRIPTION_ID)
+);
+
+CREATE TABLE TAX_TYPE_DESCRIPTION (
+ TAX_TYPE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , TAX_TYPE_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , DESCRIPTION VARCHAR(200)
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (TAX_TYPE_DESCRIPTION_ID)
+);
+
+CREATE TABLE DELIVERY_ZONE_DESCRIPTION (
+ DELIVERY_ZONE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT
+ , DELIVERY_ZONE_ID INTEGER NOT NULL
+ , NAME VARCHAR(40) NOT NULL
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (DELIVERY_ZONE_DESCRIPTION_ID)
+);
+
+CREATE TABLE PRODUCT_INFO (
+ PRODUCT_INFO_ID BIGINT NOT NULL AUTO_INCREMENT
+ , PRODUCT_ID BIGINT NOT NULL
+ , NAME VARCHAR(150) NOT NULL DEFAULT ''
+ , TITLE VARCHAR(80)
+ , URL VARCHAR(255)
+ , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1'
+ , PRIMARY KEY (PRODUCT_INFO_ID)
+);
+
+CREATE TABLE MANUFACTURER_INFO (
+ MANUFACTURER_INFO_ID INTEGER NOT NULL AUTO_INCREMENT
+ , MANUFACTURER_ID INTEGER NOT NULL
+ , NAME VARCHAR(80) NOT NULL
+ , URL VARCHAR(255)
+ , LANGUAGE VARCHAR(20) NOT NULL
+ , PRIMARY KEY (MANUFACTURER_INFO_ID)
+);
+
+CREATE TABLE ADDRESS_BOOK (
+ ADDRESS_BOOK_ID BIGINT NOT NULL AUTO_INCREMENT
+ , CUSTOMER_ID BIGINT NOT NULL
+ , COMPANY VARCHAR(128)
+ , DEPARTMENT VARCHAR(64)
+ , FIRSTNAME VARCHAR(40) NOT NULL
+ , LASTNAME VARCHAR(40) NOT NULL
+ , FIRSTNAME_DESCRIPTION VARCHAR(40)
+ , LASTNAME_DESCRIPTION VARCHAR(40)
+ , STREET_ADDRESS VARCHAR(255) NOT NULL
+ , SUBURB VARCHAR(32)
+ , CITY VARCHAR(64) NOT NULL
+ , STATE VARCHAR(32)
+ , POSTCODE VARCHAR(10) NOT NULL
+ , TELEPHONE VARCHAR(32)
+ , FAX VARCHAR(32)
+ , CELLPHONE VARCHAR(32)
+ , DEFAULT_ADDRESS INTEGER NOT NULL
+ , COUNTRY_ID INTEGER NOT NULL DEFAULT 0
+ , DELIVERY_ZONE_ID INTEGER NOT NULL
+ , PRIMARY KEY (ADDRESS_BOOK_ID)
+);
+
+ALTER TABLE CATEGORY
+ ADD CONSTRAINT FK_FROM_CATEGORY_TO_CATEGORY
+ FOREIGN KEY (PARENT_CATEGORY_ID)
+ REFERENCES CATEGORY (CATEGORY_ID)
+ ON DELETE SET DEFAULT;
+
+ALTER TABLE CATEGORY
+ ADD CONSTRAINT FK_FROM_CATEGORY_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE MANUFACTURER
+ ADD CONSTRAINT FK_FROM_MANUFACTURER_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_FORM
+ ADD CONSTRAINT FK_FROM_CUSTOMER_TO_ORDER_FORM
+ FOREIGN KEY (CUSTOMER_ID)
+ REFERENCES CUSTOMER (CUSTOMER_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_FORM
+ ADD CONSTRAINT FK_FROM_ORDER_FORM_TO_ORDER_STATUS
+ FOREIGN KEY (ORDER_STATUS_ID)
+ REFERENCES ORDER_STATUS (ORDER_STATUS_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE PRODUCT
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_MANUFACTURER
+ FOREIGN KEY (MANUFACTURER_ID)
+ REFERENCES MANUFACTURER (MANUFACTURER_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE PRODUCT
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_TAX_TYPE
+ FOREIGN KEY (TAX_TYPE_ID)
+ REFERENCES TAX_TYPE (TAX_TYPE_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE PRODUCT
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_DELIVERY_TYPE
+ FOREIGN KEY (DELIVERY_TYPE_ID)
+ REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE PRODUCT
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE BASKET
+ ADD CONSTRAINT FK_FROM_BASKET_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE BASKET
+ ADD CONSTRAINT FK_FROM_BASKET_TO_CUSTOMER
+ FOREIGN KEY (CUSTOMER_ID)
+ REFERENCES CUSTOMER (CUSTOMER_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE REVIEW
+ ADD CONSTRAINT FK_FROM_REVIEW_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE REVIEW
+ ADD CONSTRAINT FK_FROM_REVIEW_TO_CUSTOMER
+ FOREIGN KEY (CUSTOMER_ID)
+ REFERENCES CUSTOMER (CUSTOMER_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE PRODUCT_OPTION
+ ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_PRODUCT
+ ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_PRODUCT
+ ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_TO_ORDER_FORM
+ FOREIGN KEY (ORDER_FORM_ID)
+ REFERENCES ORDER_FORM (ORDER_FORM_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_OPTION_VALUE
+ ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_VALUE_TO_PRODUCT_OPTION
+ FOREIGN KEY (PRODUCT_OPTION_ID)
+ REFERENCES PRODUCT_OPTION (PRODUCT_OPTION_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE DELIVERY_METHOD_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_DELIVERY_METHOD_DESCRIPTION_TO_DELIVERY_METHOD
+ FOREIGN KEY (DELIVERY_METHOD_ID)
+ REFERENCES DELIVERY_METHOD (DELIVERY_METHOD_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_STATUS_HISTORY
+ ADD CONSTRAINT FK_FROM_ORDERS_STATUS_HISTORY_TO_ORDER_FORM
+ FOREIGN KEY (ORDER_FORM_ID)
+ REFERENCES ORDER_FORM (ORDER_FORM_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_STATUS_HISTORY
+ ADD CONSTRAINT FK_FROM_ORDER_STATUS_HISTORY_TO_ORDER_FORM
+ FOREIGN KEY (ORDER_STATUS_ID)
+ REFERENCES ORDER_STATUS (ORDER_STATUS_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_COMMENT
+ ADD CONSTRAINT FK_FROM_ORDER_COMMENT_TO_ORDER_FORM
+ FOREIGN KEY (ORDER_FORM_ID)
+ REFERENCES ORDER_FORM (ORDER_FORM_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_PRODUCT_DESCRIPTION_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_NOTIFICATION
+ ADD CONSTRAINT FK_FROM_PRODUCT_NOTIFICATION_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_NOTIFICATION
+ ADD CONSTRAINT FK_FROM_PRODUCT_NOTIFICATION_TO_CUSTOMER
+ FOREIGN KEY (CUSTOMER_ID)
+ REFERENCES CUSTOMER (CUSTOMER_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_TO_CATEGORY
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_CATEGORY_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_TO_CATEGORY
+ ADD CONSTRAINT FK_FROM_PRODUCT_TO_CATEGORY_TO_CATEGORY
+ FOREIGN KEY (CATEGORY_ID)
+ REFERENCES CATEGORY (CATEGORY_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE REVIEW_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_REVIEW_DESCRIPTION_TO_REVIEW
+ FOREIGN KEY (REVIEW_ID)
+ REFERENCES REVIEW (REVIEW_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE BARGAIN
+ ADD CONSTRAINT FK_FROM_BARGAIN_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_STATUS_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_ORDER_STATUS_DESCRIPTION_TO_ORDER_STATUS
+ FOREIGN KEY (ORDER_STATUS_ID)
+ REFERENCES ORDER_STATUS (ORDER_STATUS_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PAYMENT_METHOD_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_PAYMENT_METHOD_DESCRIPTION_TO_PAYMENT_METHOD
+ FOREIGN KEY (PAYMENT_METHOD_ID)
+ REFERENCES PAYMENT_METHOD (PAYMENT_METHOD_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE CARD_TYPE_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_CARD_TYPES_DESCRIPTION_TO_CARD_TYPE
+ FOREIGN KEY (CARD_TYPE_ID)
+ REFERENCES CARD_TYPE (CARD_TYPE_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_CARD_INFO
+ ADD CONSTRAINT FK_FROM_ORDER_CARD_INFO_TO_CARD_TYPE
+ FOREIGN KEY (CARD_TYPE_ID)
+ REFERENCES CARD_TYPE (CARD_TYPE_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_NOTIFICATION
+ ADD CONSTRAINT FK_FROM_ORDER_NOTIFICATION_TO_ORDER_STATUS
+ FOREIGN KEY (ORDER_STATUS_ID)
+ REFERENCES ORDER_STATUS (ORDER_STATUS_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE MANUFACTURER_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_MANUFACTURER_DESCRIPTION_TO_MANUFACTURER
+ FOREIGN KEY (MANUFACTURER_ID)
+ REFERENCES MANUFACTURER (MANUFACTURER_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE CATEGORY_PAGE_INFO
+ ADD CONSTRAINT FK_FROM_CATEGORY_PAGE_INFO_TO_CATEGORY
+ FOREIGN KEY (CATEGORY_ID)
+ REFERENCES CATEGORY (CATEGORY_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE CATEGORY_CONTENT
+ ADD CONSTRAINT FK_FROM_CATEGORY_CONTENT_TO_CATEGORY
+ FOREIGN KEY (CATEGORY_ID)
+ REFERENCES CATEGORY (CATEGORY_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_PAGE_INFO
+ ADD CONSTRAINT FK_FROM_PRODUCT_PAGE_INFO_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_CONTENT
+ ADD CONSTRAINT FK_FROM_PRODUCT_CONTENT_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_DELIVERY
+ ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_ZONE
+ FOREIGN KEY (DELIVERY_ZONE_ID)
+ REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_DELIVERY
+ ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_COUNTRY
+ FOREIGN KEY (DELIVERY_COUNTRY_ID)
+ REFERENCES COUNTRY (COUNTRY_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_DELIVERY
+ ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_METHOD
+ FOREIGN KEY (DELIVERY_METHOD_ID)
+ REFERENCES DELIVERY_METHOD (DELIVERY_METHOD_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_DELIVERY
+ ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_STATUS
+ FOREIGN KEY (DELIVERY_STATUS_ID)
+ REFERENCES DELIVERY_STATUS (DELIVERY_STATUS_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_DELIVERY
+ ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_ORDER_FORM
+ FOREIGN KEY (ORDER_FORM_ID)
+ REFERENCES ORDER_FORM (ORDER_FORM_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_PAYMENT
+ ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_ORDER_FORM
+ FOREIGN KEY (ORDER_FORM_ID)
+ REFERENCES ORDER_FORM (ORDER_FORM_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_PAYMENT
+ ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_PAYMENT_STATUS
+ FOREIGN KEY (PAYMENT_STATUS_ID)
+ REFERENCES PAYMENT_STATUS (PAYMENT_STATUS_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ORDER_PAYMENT
+ ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_PAYMENT_METHOD
+ FOREIGN KEY (PAYMENT_METHOD_ID)
+ REFERENCES PAYMENT_METHOD (PAYMENT_METHOD_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE FILE_TAG_TO_FILE_DATA
+ ADD CONSTRAINT FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE FILE_TAG_TO_FILE_DATA
+ ADD CONSTRAINT FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_TAG
+ FOREIGN KEY (FILE_TAG_ID)
+ REFERENCES FILE_TAG (FILE_TAG_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE IMAGE_DATA
+ ADD CONSTRAINT FK_FROM_IMAGE_DATA_TO_FILE_DATA
+ FOREIGN KEY (FILE_DATA_ID)
+ REFERENCES FILE_DATA (FILE_DATA_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE CATEGORY_INFO
+ ADD CONSTRAINT FK_FROM_CATEGORY_INFO_TO_CATEGORY
+ FOREIGN KEY (CATEGORY_ID)
+ REFERENCES CATEGORY (CATEGORY_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_OPTION_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_DESCRIPTION_TO_PRODUCT_OPTION
+ FOREIGN KEY (PRODUCT_OPTION_ID)
+ REFERENCES PRODUCT_OPTION (PRODUCT_OPTION_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_OPTION_VALUE_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_VALUE_DESCRIPTION_TO_PRODUCT_OPTION_VALUE
+ FOREIGN KEY (PRODUCT_OPTION_VALUE_ID)
+ REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE BASKET_PRODUCT_OPTION
+ ADD CONSTRAINT FK_FROM_BASKET_PRODUCT_OPTION_TO_BASKET
+ FOREIGN KEY (BASKET_ID)
+ REFERENCES BASKET (BASKET_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE BASKET_PRODUCT_OPTION
+ ADD CONSTRAINT FK_FROM_BASKET_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE
+ FOREIGN KEY (PRODUCT_OPTION_VALUE_ID)
+ REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_STATS
+ ADD CONSTRAINT FK_FROM_PRODUCT_STATS_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE FAVORITE_PRODUCT
+ ADD CONSTRAINT FK_FROM_FAVORITE_PRODUCT_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE FAVORITE_PRODUCT
+ ADD CONSTRAINT FK_FROM_FAVORITE_PRODUCT_TO_CUSTOMER
+ FOREIGN KEY (CUSTOMER_ID)
+ REFERENCES CUSTOMER (CUSTOMER_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_PRODUCT_OPTION
+ ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_OPTION_TO_ORDER_PRODUCT
+ FOREIGN KEY (ORDER_PRODUCT_ID)
+ REFERENCES ORDER_PRODUCT (ORDER_PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ORDER_PRODUCT_OPTION
+ ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE
+ FOREIGN KEY (PRODUCT_OPTION_VALUE_ID)
+ REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE PRODUCT_ATTRIBUTE
+ ADD CONSTRAINT FK_FROM_PRODUCT_ATTRIBUTE_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE DELIVERY_STATUS_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_DELIVERY_STATUS_DESCRIPTION_TO_DELIVERY_STATUS
+ FOREIGN KEY (DELIVERY_STATUS_ID)
+ REFERENCES DELIVERY_STATUS (DELIVERY_STATUS_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PAYMENT_STATUS_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_PAYMENT_STATUS_DESCRIPTION_PAYMENT_STATUS
+ FOREIGN KEY (PAYMENT_STATUS_ID)
+ REFERENCES PAYMENT_STATUS (PAYMENT_STATUS_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE DELIVERY_TYPE_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_DELIVERY_TYPE_DESCRIPTION_TO_DELIVERY_TYPE
+ FOREIGN KEY (DELIVERY_TYPE_ID)
+ REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID);
+
+ALTER TABLE COUNTRY_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_COUNTRY_DESCRIPTION_TO_COUNTRY
+ FOREIGN KEY (COUNTRY_ID)
+ REFERENCES COUNTRY (COUNTRY_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE TAX_TYPE_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_TAX_TYPE_DESCRIPTION_TO_TAX_TYPE
+ FOREIGN KEY (TAX_TYPE_ID)
+ REFERENCES TAX_TYPE (TAX_TYPE_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE DELIVERY_ZONE_DESCRIPTION
+ ADD CONSTRAINT FK_FROM_DELIVERY_ZONE_DESCRIPTION_TO_DELIVERY_ZONE
+ FOREIGN KEY (DELIVERY_ZONE_ID)
+ REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE PRODUCT_INFO
+ ADD CONSTRAINT FK_FROM_PRODUCT_INFO_TO_PRODUCT
+ FOREIGN KEY (PRODUCT_ID)
+ REFERENCES PRODUCT (PRODUCT_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE MANUFACTURER_INFO
+ ADD CONSTRAINT FK_FROM_MANUFACTURER_INFO_TO_MANUFACTURER
+ FOREIGN KEY (MANUFACTURER_ID)
+ REFERENCES MANUFACTURER (MANUFACTURER_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ADDRESS_BOOK
+ ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_CUSTOMER
+ FOREIGN KEY (CUSTOMER_ID)
+ REFERENCES CUSTOMER (CUSTOMER_ID)
+ ON DELETE CASCADE;
+
+ALTER TABLE ADDRESS_BOOK
+ ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_COUNTRY
+ FOREIGN KEY (COUNTRY_ID)
+ REFERENCES COUNTRY (COUNTRY_ID)
+ ON DELETE SET NULL;
+
+ALTER TABLE ADDRESS_BOOK
+ ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_DELIVERY_ZONE
+ FOREIGN KEY (DELIVERY_ZONE_ID)
+ REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID)
+ ON DELETE SET NULL;
+
Copied: pompei/portlets/pompei-core/trunk/src/main/config/sql/insert_data.sql (from rev 867, pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/db/insert_data.sql)
===================================================================
Copied: pompei/portlets/pompei-core/trunk/src/main/config/sql/insert_sample_data.sql (from rev 867, pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/db/insert_sample_data.sql)
===================================================================
Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java (rev 0)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java 2008-04-08 05:03:44 UTC (rev 880)
@@ -0,0 +1,93 @@
+package jp.sf.pal.pompei;
+
+/**
+ * @author shinsuke
+ *
+ */
+public class PompeiException extends Exception {
+
+ /**
+ * Serial Version UID
+ */
+ private static final long serialVersionUID = -2222811573245110791L;
+
+ private String messageId;
+
+ private Object[] args;
+
+ /**
+ * @return Returns the messageId.
+ */
+ public String getMessageId() {
+ return messageId;
+ }
+
+ /**
+ * @param messageId
+ * The messageId to set.
+ */
+ public void setMessageId(String messageId) {
+ this.messageId = messageId;
+ }
+
+ /**
+ * @return Returns the args.
+ */
+ public Object[] getArgs() {
+ return args;
+ }
+
+ /**
+ * @param args
+ * The args to set.
+ */
+ public void setArgs(Object[] args) {
+ this.args = args;
+ }
+
+ public PompeiException(String messageId) {
+ super(messageId);
+ this.messageId = messageId;
+ }
+
+ public PompeiException(String messageId, Object[] args) {
+ super(messageId);
+ this.messageId = messageId;
+ this.args = args;
+ }
+
+ public PompeiException(String messageId, String message, Throwable cause) {
+ super(message, cause);
+ this.messageId = messageId;
+ }
+
+ public PompeiException(String messageId, Object[] args, String message,
+ Throwable cause) {
+ super(message, cause);
+ this.messageId = messageId;
+ this.args = args;
+ }
+
+ public PompeiException(String messageId, String message) {
+ super(message);
+ this.messageId = messageId;
+ }
+
+ public PompeiException(String messageId, Object[] args, String message) {
+ super(message);
+ this.messageId = messageId;
+ this.args = args;
+ }
+
+ public PompeiException(String messageId, Throwable cause) {
+ super(cause);
+ this.messageId = messageId;
+ }
+
+ public PompeiException(String messageId, Object[] args, Throwable cause) {
+ super(cause);
+ this.messageId = messageId;
+ this.args = args;
+ }
+
+}
Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java
___________________________________________________________________
Name: svn:eol-style
+ native
Deleted: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/CardTypeDxo.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/CardTypeDxo.java 2008-04-08 04:59:55 UTC (rev 879)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/dxo/CardTypeDxo.java 2008-04-08 05:03:44 UTC (rev 880)
@@ -1,15 +0,0 @@
-package jp.sf.pal.pompei.dxo;
-
-import java.io.Serializable;
-import java.util.List;
-import java.util.Map;
-
-import jp.sf.pal.pompei.exentity.CardTypeDescription;
-
-import org.seasar.extension.dxo.annotation.ConversionRule;
-
-public interface CardTypeDxo extends Serializable {
-
- @ConversionRule("label : name" + ", value : cardType.code")
- public List