[pal-cvs 2793] [532] sync up with the latest db

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 9月 4日 (火) 17:24:44 JST


Revision: 532
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=532
Author:   shinsuke
Date:     2007-09-04 17:24:39 +0900 (Tue, 04 Sep 2007)

Log Message:
-----------
sync up with the latest db

Modified Paths:
--------------
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/allcommon/dbmeta/DBMetaInstanceHandler.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressFormatBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersHistoryBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationGroupBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCountriesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCurrenciesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketAttributesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersInfoBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsDeliveryMethodDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsGeoZonesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsLanguagesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsNewslettersBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsAttributesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsDownloadBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusHistoryBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersTotalBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesToProductsOptionsBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsSpecialsBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxClassBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxRatesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesToGeoZonesBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressFormatDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersHistoryDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationGroupDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCountriesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCurrenciesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketAttributesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersInfoDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsDeliveryMethodDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsGeoZonesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsLanguagesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsNewslettersDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsAttributesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsDownloadDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusHistoryDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersTotalDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesToProductsOptionsDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsSpecialsDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxClassDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxRatesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesToGeoZonesDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressFormat.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBanners.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBannersHistory.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategories.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfiguration.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfigurationGroup.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountries.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCurrencies.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomers.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasket.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasketAttributes.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersInfo.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsGeoZones.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsLanguages.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturers.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsNewsletters.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrders.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProducts.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsAttributes.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsDownload.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatus.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusHistory.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersTotal.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProducts.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributes.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptions.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValues.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesToProductsOptions.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviews.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviewsDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsSpecials.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxClass.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxRates.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZones.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZonesToGeoZones.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressFormatDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersHistoryDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationGroupDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountriesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CurrenciesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketAttributesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersInfoDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/GeoZonesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/LanguagesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/NewslettersDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsAttributesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDownloadDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusHistoryDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersTotalDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesToProductsOptionsDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDescriptionDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/SpecialsDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxClassDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxRatesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesToGeoZonesDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoriesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusHistoryCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsAttributesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoriesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsDeliveryMethodDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsLanguagesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusHistoryCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsAttributesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoriesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsDeliveryMethodDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsLanguagesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusHistoryCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsAttributesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoriesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/DeliveryMethodDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/LanguagesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusHistoryCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsAttributesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoriesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusHistoryNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsAttributesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/DeliveryMethodEditAction.java

Added Paths:
-----------
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDescriptionDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDescriptionDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDescriptionDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/OrdersStatusDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsValuesDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/OrdersStatusDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsValuesDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusDescriptionNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsDescriptionNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesDescriptionNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/OrdersStatusDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsValuesDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/OrdersStatusDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsValuesDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrdersStatusDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsValuesDescription.java


-------------- next part --------------
Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/allcommon/dbmeta/DBMetaInstanceHandler.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/allcommon/dbmeta/DBMetaInstanceHandler.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/allcommon/dbmeta/DBMetaInstanceHandler.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -44,6 +44,7 @@
         tmpMap.put("ORDERS_PRODUCTS_ATTRIBUTES".toLowerCase(), "ordersProductsAttributes");
         tmpMap.put("ORDERS_PRODUCTS_DOWNLOAD".toLowerCase(), "ordersProductsDownload");
         tmpMap.put("ORDERS_STATUS".toLowerCase(), "ordersStatus");
+        tmpMap.put("ORDERS_STATUS_DESCRIPTION".toLowerCase(), "ordersStatusDescription");
         tmpMap.put("ORDERS_STATUS_HISTORY".toLowerCase(), "ordersStatusHistory");
         tmpMap.put("ORDERS_TOTAL".toLowerCase(), "ordersTotal");
         tmpMap.put("PRODUCTS".toLowerCase(), "products");
@@ -52,7 +53,9 @@
         tmpMap.put("PRODUCTS_DESCRIPTION".toLowerCase(), "productsDescription");
         tmpMap.put("PRODUCTS_NOTIFICATIONS".toLowerCase(), "productsNotifications");
         tmpMap.put("PRODUCTS_OPTIONS".toLowerCase(), "productsOptions");
+        tmpMap.put("PRODUCTS_OPTIONS_DESCRIPTION".toLowerCase(), "productsOptionsDescription");
         tmpMap.put("PRODUCTS_OPTIONS_VALUES".toLowerCase(), "productsOptionsValues");
+        tmpMap.put("PRODUCTS_OPTIONS_VALUES_DESCRIPTION".toLowerCase(), "productsOptionsValuesDescription");
         tmpMap.put("PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS".toLowerCase(), "productsOptionsValuesToProductsOptions");
         tmpMap.put("PRODUCTS_TO_CATEGORIES".toLowerCase(), "productsToCategories");
         tmpMap.put("REVIEWS".toLowerCase(), "reviews");
@@ -101,6 +104,7 @@
         tmpMap.put("ordersProductsAttributes".toLowerCase(), "ORDERS_PRODUCTS_ATTRIBUTES");
         tmpMap.put("ordersProductsDownload".toLowerCase(), "ORDERS_PRODUCTS_DOWNLOAD");
         tmpMap.put("ordersStatus".toLowerCase(), "ORDERS_STATUS");
+        tmpMap.put("ordersStatusDescription".toLowerCase(), "ORDERS_STATUS_DESCRIPTION");
         tmpMap.put("ordersStatusHistory".toLowerCase(), "ORDERS_STATUS_HISTORY");
         tmpMap.put("ordersTotal".toLowerCase(), "ORDERS_TOTAL");
         tmpMap.put("products".toLowerCase(), "PRODUCTS");
@@ -109,7 +113,9 @@
         tmpMap.put("productsDescription".toLowerCase(), "PRODUCTS_DESCRIPTION");
         tmpMap.put("productsNotifications".toLowerCase(), "PRODUCTS_NOTIFICATIONS");
         tmpMap.put("productsOptions".toLowerCase(), "PRODUCTS_OPTIONS");
+        tmpMap.put("productsOptionsDescription".toLowerCase(), "PRODUCTS_OPTIONS_DESCRIPTION");
         tmpMap.put("productsOptionsValues".toLowerCase(), "PRODUCTS_OPTIONS_VALUES");
+        tmpMap.put("productsOptionsValuesDescription".toLowerCase(), "PRODUCTS_OPTIONS_VALUES_DESCRIPTION");
         tmpMap.put("productsOptionsValuesToProductsOptions".toLowerCase(), "PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS");
         tmpMap.put("productsToCategories".toLowerCase(), "PRODUCTS_TO_CATEGORIES");
         tmpMap.put("reviews".toLowerCase(), "REVIEWS");
@@ -158,6 +164,7 @@
         tmpMap.put("ORDERS_PRODUCTS_ATTRIBUTES", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersProductsAttributesDbm"));
         tmpMap.put("ORDERS_PRODUCTS_DOWNLOAD", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersProductsDownloadDbm"));
         tmpMap.put("ORDERS_STATUS", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusDbm"));
+        tmpMap.put("ORDERS_STATUS_DESCRIPTION", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusDescriptionDbm"));
         tmpMap.put("ORDERS_STATUS_HISTORY", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusHistoryDbm"));
         tmpMap.put("ORDERS_TOTAL", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersTotalDbm"));
         tmpMap.put("PRODUCTS", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsDbm"));
@@ -166,7 +173,9 @@
         tmpMap.put("PRODUCTS_DESCRIPTION", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsDescriptionDbm"));
         tmpMap.put("PRODUCTS_NOTIFICATIONS", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsNotificationsDbm"));
         tmpMap.put("PRODUCTS_OPTIONS", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsDbm"));
+        tmpMap.put("PRODUCTS_OPTIONS_DESCRIPTION", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsDescriptionDbm"));
         tmpMap.put("PRODUCTS_OPTIONS_VALUES", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesDbm"));
+        tmpMap.put("PRODUCTS_OPTIONS_VALUES_DESCRIPTION", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesDescriptionDbm"));
         tmpMap.put("PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesToProductsOptionsDbm"));
         tmpMap.put("PRODUCTS_TO_CATEGORIES", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsToCategoriesDbm"));
         tmpMap.put("REVIEWS", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ReviewsDbm"));
@@ -217,6 +226,7 @@
         tmpMap.put("OrdersProductsAttributes", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersProductsAttributesDbm"));
         tmpMap.put("OrdersProductsDownload", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersProductsDownloadDbm"));
         tmpMap.put("OrdersStatus", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusDbm"));
+        tmpMap.put("OrdersStatusDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusDescriptionDbm"));
         tmpMap.put("OrdersStatusHistory", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusHistoryDbm"));
         tmpMap.put("OrdersTotal", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersTotalDbm"));
         tmpMap.put("Products", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsDbm"));
@@ -225,7 +235,9 @@
         tmpMap.put("ProductsDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsDescriptionDbm"));
         tmpMap.put("ProductsNotifications", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsNotificationsDbm"));
         tmpMap.put("ProductsOptions", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsDbm"));
+        tmpMap.put("ProductsOptionsDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsDescriptionDbm"));
         tmpMap.put("ProductsOptionsValues", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesDbm"));
+        tmpMap.put("ProductsOptionsValuesDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesDescriptionDbm"));
         tmpMap.put("ProductsOptionsValuesToProductsOptions", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesToProductsOptionsDbm"));
         tmpMap.put("ProductsToCategories", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsToCategoriesDbm"));
         tmpMap.put("Reviews", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ReviewsDbm"));
@@ -276,6 +288,7 @@
         tmpMap.put("ordersProductsAttributes", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersProductsAttributesDbm"));
         tmpMap.put("ordersProductsDownload", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersProductsDownloadDbm"));
         tmpMap.put("ordersStatus", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusDbm"));
+        tmpMap.put("ordersStatusDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusDescriptionDbm"));
         tmpMap.put("ordersStatusHistory", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersStatusHistoryDbm"));
         tmpMap.put("ordersTotal", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.OrdersTotalDbm"));
         tmpMap.put("products", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsDbm"));
@@ -284,7 +297,9 @@
         tmpMap.put("productsDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsDescriptionDbm"));
         tmpMap.put("productsNotifications", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsNotificationsDbm"));
         tmpMap.put("productsOptions", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsDbm"));
+        tmpMap.put("productsOptionsDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsDescriptionDbm"));
         tmpMap.put("productsOptionsValues", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesDbm"));
+        tmpMap.put("productsOptionsValuesDescription", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesDescriptionDbm"));
         tmpMap.put("productsOptionsValuesToProductsOptions", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsOptionsValuesToProductsOptionsDbm"));
         tmpMap.put("productsToCategories", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ProductsToCategoriesDbm"));
         tmpMap.put("reviews", getDBMeta("jp.sf.pal.pompei.bsentity.dbmeta.ReviewsDbm"));

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressFormatBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressFormatBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressFormatBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     addressFormatId
  * 
  * [update-date]
  *     
@@ -1169,6 +1169,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal addressFormatId) {
+        AddressFormat entity = new AddressFormat();
+        entity.setAddressFormatId(addressFormatId);
+        final AddressFormatCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final AddressFormat currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param addressFormat Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(AddressFormat addressFormat) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersId
  * 
  * [update-date]
  *     
@@ -886,6 +886,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal bannersId) {
+        Banners entity = new Banners();
+        entity.setBannersId(bannersId);
+        final BannersCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Banners currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param banners Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Banners banners) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersHistoryBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersHistoryBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersHistoryBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersHistoryId
  * 
  * [update-date]
  *     
@@ -751,6 +751,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal bannersHistoryId) {
+        BannersHistory entity = new BannersHistory();
+        entity.setBannersHistoryId(bannersHistoryId);
+        final BannersHistoryCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final BannersHistory currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param bannersHistory Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(BannersHistory bannersHistory) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -33,10 +33,10 @@
  *     CATEGORIES_ID, CATEGORIES_IMAGE, PARENT_ID, SORT_ORDER, DATE_ADDED, LAST_MODIFIED
  * 
  * [foreign-property]
- *     
+ *     categoriesSelf
  * 
  * [refferer-property]
- *     categoriesDescriptionList, productsToCategoriesList
+ *     categoriesSelfList, categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     
@@ -473,6 +473,152 @@
     //                                                                        ============
   
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CATEGORIES]
+    //   RefererProperty = [categoriesSelfList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of categoriesSelfList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CategoriesCB cb = new CategoriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Categories&gt; categoriesList = categoriesBhv.selectList(cb);
+     *     categoriesBhv.loadCategoriesSelfList(categoriesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param categoriesList Entity list of categories. (NotNull)
+     */
+    public void loadCategoriesSelfList(java.util.List<Categories> categoriesList) {
+        final ConditionBeanSetupper<CategoriesCB> conditionBeanSetupper = new ConditionBeanSetupper<CategoriesCB>() {
+            public void setup(CategoriesCB cb) {
+            }
+        };
+        loadCategoriesSelfList(categoriesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of categoriesSelfList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final CategoriesCB cb = new CategoriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Categories&gt; categoriesList = categoriesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CategoriesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CategoriesCB&gt;() {
+     *         public void setup(CategoriesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     categoriesBhv.loadCategoriesSelfList(categoriesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setParentId_InScope(pkList);
+     *     cb.query().addOrderBy_ParentId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param categoriesList Entity list of categories. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCategoriesSelfList(java.util.List<Categories> categoriesList, ConditionBeanSetupper<CategoriesCB> conditionBeanSetupper) {
+        assertObjectNotNull("categoriesList<Categories>", categoriesList);
+        assertObjectNotNull("conditionBeanSetupper<CategoriesCB>", conditionBeanSetupper);
+        if (categoriesList.isEmpty()) {
+            return;
+        }
+        loadCategoriesSelfList(categoriesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CategoriesCB, Categories>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of categoriesSelfList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final CategoriesCB cb = new CategoriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Categories&gt; categoriesList = categoriesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CategoriesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CategoriesCB&gt;() {
+     *         public void setup(CategoriesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     categoriesBhv.loadCategoriesSelfList(categoriesList, new LoadRefererOption<CategoriesCB, Categories>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setParentId_InScope(pkList);
+     *     cb.query().addOrderBy_ParentId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param categoriesList Entity list of categories. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCategoriesSelfList(java.util.List<Categories> categoriesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CategoriesCB, Categories> loadRefererOption) {
+        assertObjectNotNull("categoriesList<Categories>", categoriesList);
+        assertObjectNotNull("loadRefererOption<Categories, CategoriesCB>", loadRefererOption);
+        if (categoriesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Categories> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Categories>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Categories categories : categoriesList) {
+            pkList.add(categories.getCategoriesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(categories.getCategoriesId()), categories);
+        }
+        final CategoriesBhv refererBhv = getDaoSelector().getBehavior(CategoriesBhv.class);
+        final CategoriesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setParentId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ParentId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Categories> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Categories>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Categories>>();
+        for (Categories reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getParentId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getParentId()), new java.util.ArrayList<Categories>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getParentId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Categories myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getParentId()));
+            reffererEntity.setCategoriesSelf(myEntity);
+        }
+
+        for (Categories categories : categoriesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(categories.getCategoriesId()))) {
+                categories.setCategoriesSelfList((java.util.List<Categories>)pkReffererListMap.get(toLowerCaseIfString(categories.getCategoriesId())));
+            } else {
+                categories.setCategoriesSelfList(new java.util.ArrayList<Categories>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [CATEGORIES_DESCRIPTION]
     //   RefererProperty = [categoriesDescriptionList]
     // * * * * * * * * */
@@ -767,7 +913,27 @@
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-    
+
+    /**
+     * Pull out the list of foreign table 'Categories'.
+     * 
+     * @param categoriesList The list of categories. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Categories> pulloutCategoriesSelf(java.util.List<Categories> categoriesList) {
+        assertObjectNotNull("categoriesList", categoriesList);
+        final java.util.Set<Categories> foreignSet = new java.util.LinkedHashSet<Categories>();
+        for (java.util.Iterator ite = categoriesList.iterator(); ite.hasNext(); ) {
+            final Categories categories = (Categories)ite.next();
+            final Categories foreignEntity = categories.getCategoriesSelf();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Categories>(foreignSet);
+    }
+      
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationId
  * 
  * [update-date]
  *     
@@ -757,6 +757,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal configurationId) {
+        Configuration entity = new Configuration();
+        entity.setConfigurationId(configurationId);
+        final ConfigurationCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Configuration currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param configuration Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Configuration configuration) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationGroupBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationGroupBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationGroupBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationGroupId
  * 
  * [update-date]
  *     
@@ -879,6 +879,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal configurationGroupId) {
+        ConfigurationGroup entity = new ConfigurationGroup();
+        entity.setConfigurationGroupId(configurationGroupId);
+        final ConfigurationGroupCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final ConfigurationGroup currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param configurationGroup Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(ConfigurationGroup configurationGroup) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCountriesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCountriesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCountriesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     countriesId
  * 
  * [update-date]
  *     
@@ -1025,6 +1025,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal countriesId) {
+        Countries entity = new Countries();
+        entity.setCountriesId(countriesId);
+        final CountriesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Countries currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param countries Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Countries countries) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCurrenciesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCurrenciesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCurrenciesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     currenciesId
  * 
  * [update-date]
  *     
@@ -736,6 +736,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal currenciesId) {
+        Currencies entity = new Currencies();
+        entity.setCurrenciesId(currenciesId);
+        final CurrenciesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Currencies currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param currencies Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Currencies currencies) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketAttributesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketAttributesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketAttributesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketAttributesId
  * 
  * [update-date]
  *     
@@ -811,6 +811,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal customersBasketAttributesId) {
+        CustomersBasketAttributes entity = new CustomersBasketAttributes();
+        entity.setCustomersBasketAttributesId(customersBasketAttributesId);
+        final CustomersBasketAttributesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final CustomersBasketAttributes currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param customersBasketAttributes Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(CustomersBasketAttributes customersBasketAttributes) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketId
  * 
  * [update-date]
  *     
@@ -772,6 +772,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal customersBasketId) {
+        CustomersBasket entity = new CustomersBasket();
+        entity.setCustomersBasketId(customersBasketId);
+        final CustomersBasketCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final CustomersBasket currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param customersBasket Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(CustomersBasket customersBasket) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersInfoBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersInfoBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersInfoBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersInfoId
  * 
  * [update-date]
  *     
@@ -752,6 +752,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal customersInfoId) {
+        CustomersInfo entity = new CustomersInfo();
+        entity.setCustomersInfoId(customersInfoId);
+        final CustomersInfoCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final CustomersInfo currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param customersInfo Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(CustomersInfo customersInfo) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsDeliveryMethodDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsDeliveryMethodDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsDeliveryMethodDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
  * 
  * [foreign-property]
  *     deliveryMethod, languages
@@ -677,7 +677,6 @@
         if (names.contains("deliveryMethodId")) { destinationMyEntity.setDeliveryMethodId(sourceMyEntity.getDeliveryMethodId()); }
         if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
         if (names.contains("deliveryMethodName")) { destinationMyEntity.setDeliveryMethodName(sourceMyEntity.getDeliveryMethodName()); }
-        if (names.contains("languagesId")) { destinationMyEntity.setLanguagesId(sourceMyEntity.getLanguagesId()); }
 
     }
 

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsGeoZonesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsGeoZonesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsGeoZonesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     geoZoneId
  * 
  * [update-date]
  *     
@@ -879,6 +879,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal geoZoneId) {
+        GeoZones entity = new GeoZones();
+        entity.setGeoZoneId(geoZoneId);
+        final GeoZonesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final GeoZones currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param geoZones Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(GeoZones geoZones) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsLanguagesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsLanguagesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsLanguagesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -36,13 +36,13 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusDescriptionList, productsDescriptionList, productsOptionsDescriptionList, productsOptionsValuesDescriptionList, reviewsDescriptionList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     languagesId
  * 
  * [update-date]
  *     
@@ -668,8 +668,8 @@
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
      *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-     *     cb.query().setLanguagesId_InScope(pkList);
-     *     cb.query().addOrderBy_LanguagesId_Asc();
+     *     cb.query().setLanguageId_InScope(pkList);
+     *     cb.query().addOrderBy_LanguageId_Asc();
      *     - - - - - - - - - -/
      * 
      *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
@@ -708,8 +708,8 @@
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
      *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-     *     cb.query().setLanguagesId_InScope(pkList);
-     *     cb.query().addOrderBy_LanguagesId_Asc();
+     *     cb.query().setLanguageId_InScope(pkList);
+     *     cb.query().addOrderBy_LanguageId_Asc();
      *     - - - - - - - - - -/
      * 
      *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
@@ -733,10 +733,10 @@
         }
         final DeliveryMethodDescriptionBhv refererBhv = getDaoSelector().getBehavior(DeliveryMethodDescriptionBhv.class);
         final DeliveryMethodDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
-        cb.query().setLanguagesId_InScope(pkList);
+        cb.query().setLanguageId_InScope(pkList);
         loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
         if (!loadRefererOption.isStopOrderByKey()) {
-            cb.query().addOrderBy_LanguagesId_Asc();
+            cb.query().addOrderBy_LanguageId_Asc();
             cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
         }
         loadRefererOption.delegateConditionBeanSettingUp(cb);
@@ -745,13 +745,13 @@
 
         final java.util.Map<java.math.BigDecimal, java.util.List<DeliveryMethodDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<DeliveryMethodDescription>>();
         for (DeliveryMethodDescription reffererEntity : reffererList) {
-            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguagesId()))) {
-                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguagesId()), new java.util.ArrayList<DeliveryMethodDescription>());
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<DeliveryMethodDescription>());
             }
-            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()))).add(reffererEntity);
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
 
             // for Reverse Reference.
-            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()));
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()));
             reffererEntity.setLanguages(myEntity);
         }
 
@@ -911,12 +911,12 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [ORDERS_STATUS]
-    //   RefererProperty = [ordersStatusList]
+    //   RefererTable    = [ORDERS_STATUS_DESCRIPTION]
+    //   RefererProperty = [ordersStatusDescriptionList]
     // * * * * * * * * */
     
     /**
-     * Load referer of ordersStatusList.
+     * Load referer of ordersStatusDescriptionList.
      * <pre>
      *   You can load referer.
      * 
@@ -924,23 +924,23 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     languagesBhv.loadOrdersStatusList(languagesList);
+     *     languagesBhv.loadOrdersStatusDescriptionList(languagesList);
      * 
      *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
      * </pre>
      * 
      * @param languagesList Entity list of languages. (NotNull)
      */
-    public void loadOrdersStatusList(java.util.List<Languages> languagesList) {
-        final ConditionBeanSetupper<OrdersStatusCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersStatusCB>() {
-            public void setup(OrdersStatusCB cb) {
+    public void loadOrdersStatusDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<OrdersStatusDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersStatusDescriptionCB>() {
+            public void setup(OrdersStatusDescriptionCB cb) {
             }
         };
-        loadOrdersStatusList(languagesList, conditionBeanSetupper);
+        loadOrdersStatusDescriptionList(languagesList, conditionBeanSetupper);
     }
 
     /**
-     * Load referer of ordersStatusList.
+     * Load referer of ordersStatusDescriptionList.
      * <pre>
      *   You can load referer with your original condition.
      * 
@@ -949,13 +949,13 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;OrdersStatusCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersStatusCB&gt;() {
-     *         public void setup(OrdersStatusCB cb) {
+     *     final ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt;() {
+     *         public void setup(OrdersStatusDescriptionCB cb) {
      *             cb.query().setXxx_IsNotNull();
      *             cb.query().addOrderBy_Yyy_Desc();
      *         }
      *     };
-     *     languagesBhv.loadOrdersStatusList(languagesList, conditionBeanSetupper);
+     *     languagesBhv.loadOrdersStatusDescriptionList(languagesList, conditionBeanSetupper);
      *     - - - - - - - - - -/
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
@@ -970,17 +970,17 @@
      * @param languagesList Entity list of languages. (NotNull)
      * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
      */
-    public void loadOrdersStatusList(java.util.List<Languages> languagesList, ConditionBeanSetupper<OrdersStatusCB> conditionBeanSetupper) {
+    public void loadOrdersStatusDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<OrdersStatusDescriptionCB> conditionBeanSetupper) {
         assertObjectNotNull("languagesList<Languages>", languagesList);
-        assertObjectNotNull("conditionBeanSetupper<OrdersStatusCB>", conditionBeanSetupper);
+        assertObjectNotNull("conditionBeanSetupper<OrdersStatusDescriptionCB>", conditionBeanSetupper);
         if (languagesList.isEmpty()) {
             return;
         }
-        loadOrdersStatusList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusCB, OrdersStatus>(conditionBeanSetupper));
+        loadOrdersStatusDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusDescriptionCB, OrdersStatusDescription>(conditionBeanSetupper));
     }
 
     /**
-     * Load referer of ordersStatusList.
+     * Load referer of ordersStatusDescriptionList.
      * <pre>
      *   You can load referer with your original condition.
      * 
@@ -989,13 +989,13 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;OrdersStatusCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersStatusCB&gt;() {
-     *         public void setup(OrdersStatusCB cb) {
+     *     final ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt;() {
+     *         public void setup(OrdersStatusDescriptionCB cb) {
      *             cb.query().setXxx_IsNotNull();
      *             cb.query().addOrderBy_Yyy_Desc();
      *         }
      *     };
-     *     languagesBhv.loadOrdersStatusList(languagesList, new LoadRefererOption<OrdersStatusCB, OrdersStatus>(cbSetupper));
+     *     languagesBhv.loadOrdersStatusDescriptionList(languagesList, new LoadRefererOption<OrdersStatusDescriptionCB, OrdersStatusDescription>(cbSetupper));
      *     - - - - - - - - - -/
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
@@ -1010,9 +1010,9 @@
      * @param languagesList Entity list of languages. (NotNull)
      * @param loadRefererOption Load-referer option. (NotNull)
      */
-    public void loadOrdersStatusList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusCB, OrdersStatus> loadRefererOption) {
+    public void loadOrdersStatusDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusDescriptionCB, OrdersStatusDescription> loadRefererOption) {
         assertObjectNotNull("languagesList<Languages>", languagesList);
-        assertObjectNotNull("loadRefererOption<OrdersStatus, OrdersStatusCB>", loadRefererOption);
+        assertObjectNotNull("loadRefererOption<OrdersStatusDescription, OrdersStatusDescriptionCB>", loadRefererOption);
         if (languagesList.isEmpty()) {
             return;
         }
@@ -1023,8 +1023,8 @@
             pkList.add(languages.getLanguagesId());
             pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
         }
-        final OrdersStatusBhv refererBhv = getDaoSelector().getBehavior(OrdersStatusBhv.class);
-        final OrdersStatusCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        final OrdersStatusDescriptionBhv refererBhv = getDaoSelector().getBehavior(OrdersStatusDescriptionBhv.class);
+        final OrdersStatusDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
         cb.query().setLanguageId_InScope(pkList);
         loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
         if (!loadRefererOption.isStopOrderByKey()) {
@@ -1032,13 +1032,13 @@
             cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
         }
         loadRefererOption.delegateConditionBeanSettingUp(cb);
-        final java.util.List<OrdersStatus> reffererList = refererBhv.selectList(cb);
+        final java.util.List<OrdersStatusDescription> reffererList = refererBhv.selectList(cb);
         loadRefererOption.delegateEntitySettingUp(reffererList);
 
-        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersStatus>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersStatus>>();
-        for (OrdersStatus reffererEntity : reffererList) {
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersStatusDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersStatusDescription>>();
+        for (OrdersStatusDescription reffererEntity : reffererList) {
             if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
-                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<OrdersStatus>());
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<OrdersStatusDescription>());
             }
             (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
 
@@ -1049,9 +1049,9 @@
 
         for (Languages languages : languagesList) {
             if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
-                languages.setOrdersStatusList((java.util.List<OrdersStatus>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+                languages.setOrdersStatusDescriptionList((java.util.List<OrdersStatusDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
             } else {
-                languages.setOrdersStatusList(new java.util.ArrayList<OrdersStatus>());
+                languages.setOrdersStatusDescriptionList(new java.util.ArrayList<OrdersStatusDescription>());
             }
         }
     }
@@ -1203,12 +1203,12 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [PRODUCTS_OPTIONS]
-    //   RefererProperty = [productsOptionsList]
+    //   RefererTable    = [PRODUCTS_OPTIONS_DESCRIPTION]
+    //   RefererProperty = [productsOptionsDescriptionList]
     // * * * * * * * * */
     
     /**
-     * Load referer of productsOptionsList.
+     * Load referer of productsOptionsDescriptionList.
      * <pre>
      *   You can load referer.
      * 
@@ -1216,23 +1216,23 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     languagesBhv.loadProductsOptionsList(languagesList);
+     *     languagesBhv.loadProductsOptionsDescriptionList(languagesList);
      * 
      *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
      * </pre>
      * 
      * @param languagesList Entity list of languages. (NotNull)
      */
-    public void loadProductsOptionsList(java.util.List<Languages> languagesList) {
-        final ConditionBeanSetupper<ProductsOptionsCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsCB>() {
-            public void setup(ProductsOptionsCB cb) {
+    public void loadProductsOptionsDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<ProductsOptionsDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsDescriptionCB>() {
+            public void setup(ProductsOptionsDescriptionCB cb) {
             }
         };
-        loadProductsOptionsList(languagesList, conditionBeanSetupper);
+        loadProductsOptionsDescriptionList(languagesList, conditionBeanSetupper);
     }
 
     /**
-     * Load referer of productsOptionsList.
+     * Load referer of productsOptionsDescriptionList.
      * <pre>
      *   You can load referer with your original condition.
      * 
@@ -1241,13 +1241,13 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;ProductsOptionsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsCB&gt;() {
-     *         public void setup(ProductsOptionsCB cb) {
+     *     final ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsDescriptionCB cb) {
      *             cb.query().setXxx_IsNotNull();
      *             cb.query().addOrderBy_Yyy_Desc();
      *         }
      *     };
-     *     languagesBhv.loadProductsOptionsList(languagesList, conditionBeanSetupper);
+     *     languagesBhv.loadProductsOptionsDescriptionList(languagesList, conditionBeanSetupper);
      *     - - - - - - - - - -/
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
@@ -1262,17 +1262,17 @@
      * @param languagesList Entity list of languages. (NotNull)
      * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
      */
-    public void loadProductsOptionsList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ProductsOptionsCB> conditionBeanSetupper) {
+    public void loadProductsOptionsDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ProductsOptionsDescriptionCB> conditionBeanSetupper) {
         assertObjectNotNull("languagesList<Languages>", languagesList);
-        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsCB>", conditionBeanSetupper);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsDescriptionCB>", conditionBeanSetupper);
         if (languagesList.isEmpty()) {
             return;
         }
-        loadProductsOptionsList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsCB, ProductsOptions>(conditionBeanSetupper));
+        loadProductsOptionsDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsDescriptionCB, ProductsOptionsDescription>(conditionBeanSetupper));
     }
 
     /**
-     * Load referer of productsOptionsList.
+     * Load referer of productsOptionsDescriptionList.
      * <pre>
      *   You can load referer with your original condition.
      * 
@@ -1281,13 +1281,13 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;ProductsOptionsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsCB&gt;() {
-     *         public void setup(ProductsOptionsCB cb) {
+     *     final ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsDescriptionCB cb) {
      *             cb.query().setXxx_IsNotNull();
      *             cb.query().addOrderBy_Yyy_Desc();
      *         }
      *     };
-     *     languagesBhv.loadProductsOptionsList(languagesList, new LoadRefererOption<ProductsOptionsCB, ProductsOptions>(cbSetupper));
+     *     languagesBhv.loadProductsOptionsDescriptionList(languagesList, new LoadRefererOption<ProductsOptionsDescriptionCB, ProductsOptionsDescription>(cbSetupper));
      *     - - - - - - - - - -/
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
@@ -1302,9 +1302,9 @@
      * @param languagesList Entity list of languages. (NotNull)
      * @param loadRefererOption Load-referer option. (NotNull)
      */
-    public void loadProductsOptionsList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsCB, ProductsOptions> loadRefererOption) {
+    public void loadProductsOptionsDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsDescriptionCB, ProductsOptionsDescription> loadRefererOption) {
         assertObjectNotNull("languagesList<Languages>", languagesList);
-        assertObjectNotNull("loadRefererOption<ProductsOptions, ProductsOptionsCB>", loadRefererOption);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsDescription, ProductsOptionsDescriptionCB>", loadRefererOption);
         if (languagesList.isEmpty()) {
             return;
         }
@@ -1315,8 +1315,8 @@
             pkList.add(languages.getLanguagesId());
             pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
         }
-        final ProductsOptionsBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsBhv.class);
-        final ProductsOptionsCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        final ProductsOptionsDescriptionBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsDescriptionBhv.class);
+        final ProductsOptionsDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
         cb.query().setLanguageId_InScope(pkList);
         loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
         if (!loadRefererOption.isStopOrderByKey()) {
@@ -1324,13 +1324,13 @@
             cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
         }
         loadRefererOption.delegateConditionBeanSettingUp(cb);
-        final java.util.List<ProductsOptions> reffererList = refererBhv.selectList(cb);
+        final java.util.List<ProductsOptionsDescription> reffererList = refererBhv.selectList(cb);
         loadRefererOption.delegateEntitySettingUp(reffererList);
 
-        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptions>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptions>>();
-        for (ProductsOptions reffererEntity : reffererList) {
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsDescription>>();
+        for (ProductsOptionsDescription reffererEntity : reffererList) {
             if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
-                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsOptions>());
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsOptionsDescription>());
             }
             (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
 
@@ -1341,20 +1341,20 @@
 
         for (Languages languages : languagesList) {
             if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
-                languages.setProductsOptionsList((java.util.List<ProductsOptions>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+                languages.setProductsOptionsDescriptionList((java.util.List<ProductsOptionsDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
             } else {
-                languages.setProductsOptionsList(new java.util.ArrayList<ProductsOptions>());
+                languages.setProductsOptionsDescriptionList(new java.util.ArrayList<ProductsOptionsDescription>());
             }
         }
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES]
-    //   RefererProperty = [productsOptionsValuesList]
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION]
+    //   RefererProperty = [productsOptionsValuesDescriptionList]
     // * * * * * * * * */
     
     /**
-     * Load referer of productsOptionsValuesList.
+     * Load referer of productsOptionsValuesDescriptionList.
      * <pre>
      *   You can load referer.
      * 
@@ -1362,23 +1362,23 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     languagesBhv.loadProductsOptionsValuesList(languagesList);
+     *     languagesBhv.loadProductsOptionsValuesDescriptionList(languagesList);
      * 
      *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
      * </pre>
      * 
      * @param languagesList Entity list of languages. (NotNull)
      */
-    public void loadProductsOptionsValuesList(java.util.List<Languages> languagesList) {
-        final ConditionBeanSetupper<ProductsOptionsValuesCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsValuesCB>() {
-            public void setup(ProductsOptionsValuesCB cb) {
+    public void loadProductsOptionsValuesDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB>() {
+            public void setup(ProductsOptionsValuesDescriptionCB cb) {
             }
         };
-        loadProductsOptionsValuesList(languagesList, conditionBeanSetupper);
+        loadProductsOptionsValuesDescriptionList(languagesList, conditionBeanSetupper);
     }
 
     /**
-     * Load referer of productsOptionsValuesList.
+     * Load referer of productsOptionsValuesDescriptionList.
      * <pre>
      *   You can load referer with your original condition.
      * 
@@ -1387,13 +1387,13 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;ProductsOptionsValuesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesCB&gt;() {
-     *         public void setup(ProductsOptionsValuesCB cb) {
+     *     final ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsValuesDescriptionCB cb) {
      *             cb.query().setXxx_IsNotNull();
      *             cb.query().addOrderBy_Yyy_Desc();
      *         }
      *     };
-     *     languagesBhv.loadProductsOptionsValuesList(languagesList, conditionBeanSetupper);
+     *     languagesBhv.loadProductsOptionsValuesDescriptionList(languagesList, conditionBeanSetupper);
      *     - - - - - - - - - -/
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
@@ -1408,17 +1408,17 @@
      * @param languagesList Entity list of languages. (NotNull)
      * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
      */
-    public void loadProductsOptionsValuesList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ProductsOptionsValuesCB> conditionBeanSetupper) {
+    public void loadProductsOptionsValuesDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB> conditionBeanSetupper) {
         assertObjectNotNull("languagesList<Languages>", languagesList);
-        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsValuesCB>", conditionBeanSetupper);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsValuesDescriptionCB>", conditionBeanSetupper);
         if (languagesList.isEmpty()) {
             return;
         }
-        loadProductsOptionsValuesList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesCB, ProductsOptionsValues>(conditionBeanSetupper));
+        loadProductsOptionsValuesDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesDescriptionCB, ProductsOptionsValuesDescription>(conditionBeanSetupper));
     }
 
     /**
-     * Load referer of productsOptionsValuesList.
+     * Load referer of productsOptionsValuesDescriptionList.
      * <pre>
      *   You can load referer with your original condition.
      * 
@@ -1427,13 +1427,13 @@
      *     final LanguagesCB cb = new LanguagesCB();
      *     cb.query().setXxx_Equal("xxx");
      *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;ProductsOptionsValuesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesCB&gt;() {
-     *         public void setup(ProductsOptionsValuesCB cb) {
+     *     final ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsValuesDescriptionCB cb) {
      *             cb.query().setXxx_IsNotNull();
      *             cb.query().addOrderBy_Yyy_Desc();
      *         }
      *     };
-     *     languagesBhv.loadProductsOptionsValuesList(languagesList, new LoadRefererOption<ProductsOptionsValuesCB, ProductsOptionsValues>(cbSetupper));
+     *     languagesBhv.loadProductsOptionsValuesDescriptionList(languagesList, new LoadRefererOption<ProductsOptionsValuesDescriptionCB, ProductsOptionsValuesDescription>(cbSetupper));
      *     - - - - - - - - - -/
      * 
      *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
@@ -1448,9 +1448,9 @@
      * @param languagesList Entity list of languages. (NotNull)
      * @param loadRefererOption Load-referer option. (NotNull)
      */
-    public void loadProductsOptionsValuesList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesCB, ProductsOptionsValues> loadRefererOption) {
+    public void loadProductsOptionsValuesDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesDescriptionCB, ProductsOptionsValuesDescription> loadRefererOption) {
         assertObjectNotNull("languagesList<Languages>", languagesList);
-        assertObjectNotNull("loadRefererOption<ProductsOptionsValues, ProductsOptionsValuesCB>", loadRefererOption);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsValuesDescription, ProductsOptionsValuesDescriptionCB>", loadRefererOption);
         if (languagesList.isEmpty()) {
             return;
         }
@@ -1461,8 +1461,8 @@
             pkList.add(languages.getLanguagesId());
             pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
         }
-        final ProductsOptionsValuesBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsValuesBhv.class);
-        final ProductsOptionsValuesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        final ProductsOptionsValuesDescriptionBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsValuesDescriptionBhv.class);
+        final ProductsOptionsValuesDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
         cb.query().setLanguageId_InScope(pkList);
         loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
         if (!loadRefererOption.isStopOrderByKey()) {
@@ -1470,13 +1470,13 @@
             cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
         }
         loadRefererOption.delegateConditionBeanSettingUp(cb);
-        final java.util.List<ProductsOptionsValues> reffererList = refererBhv.selectList(cb);
+        final java.util.List<ProductsOptionsValuesDescription> reffererList = refererBhv.selectList(cb);
         loadRefererOption.delegateEntitySettingUp(reffererList);
 
-        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsValues>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsValues>>();
-        for (ProductsOptionsValues reffererEntity : reffererList) {
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsValuesDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsValuesDescription>>();
+        for (ProductsOptionsValuesDescription reffererEntity : reffererList) {
             if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
-                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsOptionsValues>());
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsOptionsValuesDescription>());
             }
             (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
 
@@ -1487,9 +1487,9 @@
 
         for (Languages languages : languagesList) {
             if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
-                languages.setProductsOptionsValuesList((java.util.List<ProductsOptionsValues>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+                languages.setProductsOptionsValuesDescriptionList((java.util.List<ProductsOptionsValuesDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
             } else {
-                languages.setProductsOptionsValuesList(new java.util.ArrayList<ProductsOptionsValues>());
+                languages.setProductsOptionsValuesDescriptionList(new java.util.ArrayList<ProductsOptionsValuesDescription>());
             }
         }
     }
@@ -1902,6 +1902,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal languagesId) {
+        Languages entity = new Languages();
+        entity.setLanguagesId(languagesId);
+        final LanguagesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Languages currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param languages Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Languages languages) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsNewslettersBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsNewslettersBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsNewslettersBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     newslettersId
  * 
  * [update-date]
  *     
@@ -734,6 +734,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal newslettersId) {
+        Newsletters entity = new Newsletters();
+        entity.setNewslettersId(newslettersId);
+        final NewslettersCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Newsletters currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param newsletters Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Newsletters newsletters) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -36,7 +36,7 @@
  *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersStatusHistoryList, ordersTotalList
  * 
  * [sequence]
  *     
@@ -911,6 +911,152 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_STATUS_HISTORY]
+    //   RefererProperty = [ordersStatusHistoryList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersStatusHistoryList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final OrdersCB cb = new OrdersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Orders&gt; ordersList = ordersBhv.selectList(cb);
+     *     ordersBhv.loadOrdersStatusHistoryList(ordersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param ordersList Entity list of orders. (NotNull)
+     */
+    public void loadOrdersStatusHistoryList(java.util.List<Orders> ordersList) {
+        final ConditionBeanSetupper<OrdersStatusHistoryCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersStatusHistoryCB>() {
+            public void setup(OrdersStatusHistoryCB cb) {
+            }
+        };
+        loadOrdersStatusHistoryList(ordersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersStatusHistoryList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final OrdersCB cb = new OrdersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Orders&gt; ordersList = ordersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersStatusHistoryCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersStatusHistoryCB&gt;() {
+     *         public void setup(OrdersStatusHistoryCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersStatusHistoryList(ordersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param ordersList Entity list of orders. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersStatusHistoryList(java.util.List<Orders> ordersList, ConditionBeanSetupper<OrdersStatusHistoryCB> conditionBeanSetupper) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersStatusHistoryCB>", conditionBeanSetupper);
+        if (ordersList.isEmpty()) {
+            return;
+        }
+        loadOrdersStatusHistoryList(ordersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusHistoryCB, OrdersStatusHistory>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersStatusHistoryList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final OrdersCB cb = new OrdersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Orders&gt; ordersList = ordersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersStatusHistoryCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersStatusHistoryCB&gt;() {
+     *         public void setup(OrdersStatusHistoryCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersStatusHistoryList(ordersList, new LoadRefererOption<OrdersStatusHistoryCB, OrdersStatusHistory>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param ordersList Entity list of orders. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersStatusHistoryList(java.util.List<Orders> ordersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusHistoryCB, OrdersStatusHistory> loadRefererOption) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("loadRefererOption<OrdersStatusHistory, OrdersStatusHistoryCB>", loadRefererOption);
+        if (ordersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Orders> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Orders>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Orders orders : ordersList) {
+            pkList.add(orders.getOrdersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(orders.getOrdersId()), orders);
+        }
+        final OrdersStatusHistoryBhv refererBhv = getDaoSelector().getBehavior(OrdersStatusHistoryBhv.class);
+        final OrdersStatusHistoryCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setOrdersId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_OrdersId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<OrdersStatusHistory> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersStatusHistory>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersStatusHistory>>();
+        for (OrdersStatusHistory reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersId()), new java.util.ArrayList<OrdersStatusHistory>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getOrdersId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Orders myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getOrdersId()));
+            reffererEntity.setOrders(myEntity);
+        }
+
+        for (Orders orders : ordersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(orders.getOrdersId()))) {
+                orders.setOrdersStatusHistoryList((java.util.List<OrdersStatusHistory>)pkReffererListMap.get(toLowerCaseIfString(orders.getOrdersId())));
+            } else {
+                orders.setOrdersStatusHistoryList(new java.util.ArrayList<OrdersStatusHistory>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS_TOTAL]
     //   RefererProperty = [ordersTotalList]
     // * * * * * * * * */
@@ -1159,7 +1305,7 @@
         }
         return new java.util.ArrayList<OrdersStatus>(foreignSet);
     }
-        
+          
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsAttributesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsAttributesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsAttributesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsAttributesId
  * 
  * [update-date]
  *     
@@ -773,6 +773,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal ordersProductsAttributesId) {
+        OrdersProductsAttributes entity = new OrdersProductsAttributes();
+        entity.setOrdersProductsAttributesId(ordersProductsAttributesId);
+        final OrdersProductsAttributesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final OrdersProductsAttributes currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param ordersProductsAttributes Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(OrdersProductsAttributes ordersProductsAttributes) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsDownloadBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsDownloadBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsDownloadBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsDownloadId
  * 
  * [update-date]
  *     
@@ -772,6 +772,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal ordersProductsDownloadId) {
+        OrdersProductsDownload entity = new OrdersProductsDownload();
+        entity.setOrdersProductsDownloadId(ordersProductsDownloadId);
+        final OrdersProductsDownloadCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final OrdersProductsDownload currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param ordersProductsDownload Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(OrdersProductsDownload ordersProductsDownload) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -30,13 +30,13 @@
  *     ORDERS_STATUS_ID
  * 
  * [column-property]
- *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ *     ORDERS_STATUS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     ordersList, ordersStatusHistoryList
+ *     ordersList, ordersStatusDescriptionList, ordersStatusHistoryList
  * 
  * [sequence]
  *     
@@ -619,6 +619,152 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_STATUS_DESCRIPTION]
+    //   RefererProperty = [ordersStatusDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersStatusDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final OrdersStatusCB cb = new OrdersStatusCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;OrdersStatus&gt; ordersStatusList = ordersStatusBhv.selectList(cb);
+     *     ordersStatusBhv.loadOrdersStatusDescriptionList(ordersStatusList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param ordersStatusList Entity list of ordersStatus. (NotNull)
+     */
+    public void loadOrdersStatusDescriptionList(java.util.List<OrdersStatus> ordersStatusList) {
+        final ConditionBeanSetupper<OrdersStatusDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersStatusDescriptionCB>() {
+            public void setup(OrdersStatusDescriptionCB cb) {
+            }
+        };
+        loadOrdersStatusDescriptionList(ordersStatusList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersStatusDescriptionList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final OrdersStatusCB cb = new OrdersStatusCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;OrdersStatus&gt; ordersStatusList = ordersStatusBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt;() {
+     *         public void setup(OrdersStatusDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersStatusBhv.loadOrdersStatusDescriptionList(ordersStatusList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersStatusId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersStatusId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param ordersStatusList Entity list of ordersStatus. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersStatusDescriptionList(java.util.List<OrdersStatus> ordersStatusList, ConditionBeanSetupper<OrdersStatusDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("ordersStatusList<OrdersStatus>", ordersStatusList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersStatusDescriptionCB>", conditionBeanSetupper);
+        if (ordersStatusList.isEmpty()) {
+            return;
+        }
+        loadOrdersStatusDescriptionList(ordersStatusList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusDescriptionCB, OrdersStatusDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersStatusDescriptionList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final OrdersStatusCB cb = new OrdersStatusCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;OrdersStatus&gt; ordersStatusList = ordersStatusBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersStatusDescriptionCB&gt;() {
+     *         public void setup(OrdersStatusDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersStatusBhv.loadOrdersStatusDescriptionList(ordersStatusList, new LoadRefererOption<OrdersStatusDescriptionCB, OrdersStatusDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersStatusId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersStatusId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param ordersStatusList Entity list of ordersStatus. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersStatusDescriptionList(java.util.List<OrdersStatus> ordersStatusList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusDescriptionCB, OrdersStatusDescription> loadRefererOption) {
+        assertObjectNotNull("ordersStatusList<OrdersStatus>", ordersStatusList);
+        assertObjectNotNull("loadRefererOption<OrdersStatusDescription, OrdersStatusDescriptionCB>", loadRefererOption);
+        if (ordersStatusList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, OrdersStatus> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, OrdersStatus>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (OrdersStatus ordersStatus : ordersStatusList) {
+            pkList.add(ordersStatus.getOrdersStatusId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(ordersStatus.getOrdersStatusId()), ordersStatus);
+        }
+        final OrdersStatusDescriptionBhv refererBhv = getDaoSelector().getBehavior(OrdersStatusDescriptionBhv.class);
+        final OrdersStatusDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setOrdersStatusId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_OrdersStatusId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<OrdersStatusDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersStatusDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersStatusDescription>>();
+        for (OrdersStatusDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersStatusId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersStatusId()), new java.util.ArrayList<OrdersStatusDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getOrdersStatusId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final OrdersStatus myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getOrdersStatusId()));
+            reffererEntity.setOrdersStatus(myEntity);
+        }
+
+        for (OrdersStatus ordersStatus : ordersStatusList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(ordersStatus.getOrdersStatusId()))) {
+                ordersStatus.setOrdersStatusDescriptionList((java.util.List<OrdersStatusDescription>)pkReffererListMap.get(toLowerCaseIfString(ordersStatus.getOrdersStatusId())));
+            } else {
+                ordersStatus.setOrdersStatusDescriptionList(new java.util.ArrayList<OrdersStatusDescription>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS_STATUS_HISTORY]
     //   RefererProperty = [ordersStatusHistoryList]
     // * * * * * * * * */
@@ -767,27 +913,7 @@
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
-    /**
-     * Pull out the list of foreign table 'Languages'.
-     * 
-     * @param ordersStatusList The list of ordersStatus. (NotNull)
-     * @return The list of foreign table. (NotNull)
-     */
-    public java.util.List<Languages> pulloutLanguages(java.util.List<OrdersStatus> ordersStatusList) {
-        assertObjectNotNull("ordersStatusList", ordersStatusList);
-        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
-        for (java.util.Iterator ite = ordersStatusList.iterator(); ite.hasNext(); ) {
-            final OrdersStatus ordersStatus = (OrdersStatus)ite.next();
-            final Languages foreignEntity = ordersStatus.getLanguages();
-            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
-                continue;
-            }
-            foreignSet.add(foreignEntity);
-        }
-        return new java.util.ArrayList<Languages>(foreignSet);
-    }
-    
+      
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================
@@ -953,8 +1079,6 @@
         final java.util.Set<String> names = sourceMyEntity.getModifiedPropertyNames();
 
         if (names.contains("ordersStatusId")) { destinationMyEntity.setOrdersStatusId(sourceMyEntity.getOrdersStatusId()); }
-        if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
-        if (names.contains("ordersStatusName")) { destinationMyEntity.setOrdersStatusName(sourceMyEntity.getOrdersStatusName()); }
 
     }
 

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,810 @@
+package jp.sf.pal.pompei.bsbhv;
+
+
+import jp.sf.pal.pompei.allcommon.*;
+import jp.sf.pal.pompei.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.pompei.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyArranger;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyBasicRequest;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyRequest;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ListResultBean;
+import jp.sf.pal.pompei.allcommon.cbean.PagingBean;
+import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
+
+import jp.sf.pal.pompei.exdao.*;
+import jp.sf.pal.pompei.exentity.*;
+import jp.sf.pal.pompei.bsentity.dbmeta.*;
+import jp.sf.pal.pompei.cbean.*;
+
+
+
+/**
+ * The behavior of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ * 
+ * [foreign-property]
+ *     languages, ordersStatus
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsOrdersStatusDescriptionBhv extends jp.sf.pal.pompei.allcommon.bhv.AbstractBehaviorWritable {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Dao instance. */
+    protected OrdersStatusDescriptionDao _dao;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsOrdersStatusDescriptionBhv() {
+    }
+
+    // ===================================================================================
+    //                                                                          Table name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    public String getTableDbName() {
+        return "ORDERS_STATUS_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                              DBMeta
+    //                                                                              ======
+    /**
+     * The implementation.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public DBMeta getDBMeta() {
+        return OrdersStatusDescriptionDbm.getInstance();
+    }
+
+    /**
+     * Get my dbmeta.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public OrdersStatusDescriptionDbm getMyDBMeta() {
+        return OrdersStatusDescriptionDbm.getInstance();
+    }
+
+    // ===================================================================================
+    //                                                                        Dao Accessor
+    //                                                                        ============
+    /**
+     * Get my dao.
+     * 
+     * @return My dao.
+     */
+    public OrdersStatusDescriptionDao getMyDao() {
+        return _dao;
+    }
+
+    /**
+     * Set my dao.
+     * 
+     * @param dao My dao. (NotNull)
+     */
+    public void setMyDao(OrdersStatusDescriptionDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Dao-readable. (NotNull)
+     */
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Dao-writable. (NotNull)
+     */
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    // ===================================================================================
+    //                                                                        New Instance
+    //                                                                        ============
+    /**
+     * New entity.
+     * 
+     * @return Entity. (NotNull)
+     */
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    /**
+     * New condition-bean.
+     * 
+     * @return Condition-bean. (NotNull)
+     */
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    /**
+     * New my entity.
+     * 
+     * @return My entity. (NotNull)
+     */
+    public OrdersStatusDescription newMyEntity() {
+        return new OrdersStatusDescription();
+    }
+
+    /**
+     * New my condition-bean.
+     * 
+     * @return My condition-bean. (NotNull)
+     */
+    public OrdersStatusDescriptionCB newMyConditionBean() {
+        return new OrdersStatusDescriptionCB();
+    }
+
+    // ===================================================================================
+    //                                                                     Delegate Method
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                Select
+    //                                                ------
+    /**
+     * Get count as all. {delegate method, internal for interceptor}
+     * 
+     * @return All count. (NotNull)
+     */
+    public int delegateGetCountAll() {
+        return getMyDao().getCountAll();
+    }
+
+    /**
+     * Get list as all. {delegate method, internal for interceptor}
+     * 
+     * @return All list. (NotNull)
+     */
+    public java.util.List<OrdersStatusDescription> delegateGetListAll() {
+        return getMyDao().getListAll();
+    }
+
+    //
+    // Get entity. {delegate method, internal for interceptor}
+    // 
+    // @param Primary-keys (NotNull)
+    // @return Entity. (NotNull)
+    //
+    public OrdersStatusDescription delegateGetEntity(java.math.BigDecimal ordersStatusId, java.math.BigDecimal languageId) {
+        return getMyDao().getEntity(ordersStatusId, languageId);
+    }
+
+    /**
+     * Select count by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected count. (NotNull)
+     */
+    public int delegateSelectCount(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    /**
+     * Select entity by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. If the select result is zero, it returns null. (Nullable)
+     */
+    public OrdersStatusDescription delegateSelectEntity(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectEntity(cb);
+    }
+
+    /**
+     * Select list by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list. If the select result is zero, it returns empty list. (NotNull)
+     */
+    public java.util.List<OrdersStatusDescription> delegateSelectList(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+
+    // -----------------------------------------------------
+    //                                                Update
+    //                                                ------
+    /**
+     * Insert one entity. {delegate method, internal for interceptor}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Inserted count.
+     */
+    public int delegateInsert(OrdersStatusDescription entity) {
+        assertEntityNotNull(entity);// If this table use identity, the entity does not have primary-key.
+        filterEntityOfInsert(entity);
+        assertEntityOfInsert(entity);
+        return getMyDao().insert(entity);
+    }
+
+    /**
+     * Update one entity. {modified only, delegate method}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int delegateUpdate(OrdersStatusDescription entity) {
+        assertEntityNotNullAndHasPrimaryKeyValue(entity);
+        filterEntityOfUpdate(entity);
+        assertEntityOfUpdate(entity);
+        return getMyDao().updateModifiedOnly(entity);
+    }
+  
+    /**
+     * Delete one entity. {delegate method, internal for interceptor}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Deleted count.
+     */
+    public int delegateDelete(OrdersStatusDescription entity) {
+        assertEntityNotNullAndHasPrimaryKeyValue(entity);
+        filterEntityOfDelete(entity);
+        assertEntityOfDelete(entity);
+        return getMyDao().delete(entity);
+    }
+  
+    /**
+     * Insert several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Inserted count.
+     */
+    public int delegateInsertList(java.util.List<OrdersStatusDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().insertList(entityList);
+    }
+
+    /**
+     * Update several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Updated count.
+     */
+    public int delegateUpdateList(java.util.List<OrdersStatusDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().updateList(entityList);
+    }
+
+    /**
+     * Delete several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Deleted count.
+     */
+    public int delegateDeleteList(java.util.List<OrdersStatusDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().deleteList(entityList);
+    }
+
+    // ===================================================================================
+    //                                                                  Basic Select Count
+    //                                                                  ==================
+    /**
+     * Select count by condition-bean.
+     * <pre>
+     * If the argument 'condition-bean' is effective about fetch-scope,
+     * this method invoke select count ignoring the fetch-scope.
+     * </pre>
+     * @param cb Condition-bean. This condition-bean should not be set up about fetch-scope. (NotNull)
+     * @return Selected count.
+     */
+    public int selectCount(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    // ===================================================================================
+    //                                                                 Basic Select Entity
+    //                                                                 ===================
+    /**
+     * Select entity by condition-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. (Nullalble)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public OrdersStatusDescription selectEntity(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        cb.checkSafetyResult(1);
+        java.util.List<OrdersStatusDescription> ls = null;
+        try {
+            ls = selectList(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.DangerousResultSizeException e) {
+            throwRecordHasOverlappedException("{Over safetyMaxResultSize '1'}", cb, e);
+        }
+        if (ls.isEmpty()) {
+            return null;
+        }
+        assertRecordHasBeenSelectedAsOne(ls, cb);
+        return (OrdersStatusDescription)ls.get(0);
+    }
+
+    /**
+     * Select entity by condition-bean with deleted check.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public OrdersStatusDescription selectEntityWithDeletedCheck(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        cb.checkSafetyResult(1);
+        java.util.List<OrdersStatusDescription> ls = null;
+        try {
+            ls = selectList(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.DangerousResultSizeException e) {
+            throwRecordHasOverlappedException("{Over safetyMaxResultSize '1'}", cb, e);
+        }
+        assertRecordHasNotBeenDeleted(ls, cb);
+        assertRecordHasBeenSelectedAsOne(ls, cb);
+        return (OrdersStatusDescription)ls.get(0);
+    }
+
+    /*
+     * Select entity with deleted check. {by primary-key}
+     * 
+     * @param primaryKey
+     * @return Selected entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public OrdersStatusDescription selectByPKValueWithDeletedCheck(java.math.BigDecimal ordersStatusId, java.math.BigDecimal languageId) {
+        OrdersStatusDescription entity = new OrdersStatusDescription();
+        entity.setOrdersStatusId(ordersStatusId);entity.setLanguageId(languageId);
+        final OrdersStatusDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    // ===================================================================================
+    //                                                                   Basic Select List
+    //                                                                   =================
+    /**
+     * Select list as result-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list-result-bean. (NotNull)
+     */
+    public ListResultBean<OrdersStatusDescription> selectList(OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<OrdersStatusDescription>(this).buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    /**
+     * Select page as result-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected paging-result-bean. (NotNull)
+     */
+    public PagingResultBean<OrdersStatusDescription> selectPage(final OrdersStatusDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return selectPage(cb, new SelectPageSimpleInvoker<OrdersStatusDescription>(this));
+    }
+
+    /**
+     * Select page.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @param invoker Select-page-invoker (NotNull)
+     * @return Selected paging-result-bean. (NotNull)
+     */
+    public PagingResultBean<OrdersStatusDescription> selectPage(final OrdersStatusDescriptionCB cb, SelectPageInvoker<OrdersStatusDescription> invoker) {
+        assertConditionBeanNotNull(cb);
+        final SelectPageCallback<OrdersStatusDescription> pageCallback = new SelectPageCallback<OrdersStatusDescription>() {
+            public PagingBean getPagingBean() { return cb; }
+            public int selectCountIgnoreFetchScope() {
+                return selectCount(cb);
+            }
+            public java.util.List<OrdersStatusDescription> selectListWithFetchScope() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokeSelectPage(pageCallback);
+    }
+
+    // ===================================================================================
+    //                                                                      Various Select
+    //                                                                      ==============
+    /**
+     * Select value-label list.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @param valueLabelSetupper Value-label-setupper. (NotNull)
+     * @return Value-label list. (NotNull)
+     */
+    public java.util.List<java.util.Map<String, Object>> selectValueLabelList(OrdersStatusDescriptionCB cb, ValueLabelSetupper<OrdersStatusDescription> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    // ===================================================================================
+    //                                                                    Pull Out Foreign
+    //                                                                    ================
+
+    /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param ordersStatusDescriptionList The list of ordersStatusDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<OrdersStatusDescription> ordersStatusDescriptionList) {
+        assertObjectNotNull("ordersStatusDescriptionList", ordersStatusDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = ordersStatusDescriptionList.iterator(); ite.hasNext(); ) {
+            final OrdersStatusDescription ordersStatusDescription = (OrdersStatusDescription)ite.next();
+            final Languages foreignEntity = ordersStatusDescription.getLanguages();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Languages>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'OrdersStatus'.
+     * 
+     * @param ordersStatusDescriptionList The list of ordersStatusDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<OrdersStatus> pulloutOrdersStatus(java.util.List<OrdersStatusDescription> ordersStatusDescriptionList) {
+        assertObjectNotNull("ordersStatusDescriptionList", ordersStatusDescriptionList);
+        final java.util.Set<OrdersStatus> foreignSet = new java.util.LinkedHashSet<OrdersStatus>();
+        for (java.util.Iterator ite = ordersStatusDescriptionList.iterator(); ite.hasNext(); ) {
+            final OrdersStatusDescription ordersStatusDescription = (OrdersStatusDescription)ite.next();
+            final OrdersStatus foreignEntity = ordersStatusDescription.getOrdersStatus();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<OrdersStatus>(foreignSet);
+    }
+
+    // ===================================================================================
+    //                                                                 Basic Entity Update
+    //                                                                 ===================
+    /**
+     * Insert.
+     * 
+     * @param ordersStatusDescription Entity. (NotNull)
+     */
+    public void insert(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNull(ordersStatusDescription);
+        delegateInsert(ordersStatusDescription);
+    }
+
+    protected void doCreate(Entity ordersStatusDescription) {
+        insert((OrdersStatusDescription)ordersStatusDescription);
+    }
+
+    /**
+     * Update. {update: modified only}
+     * <pre>
+     * If it updates count zero, throws exception.
+     * If concurrency control of this table is valid, this update have it.
+     * So then the entity of argument should have the value of concurrency column.
+     * </pre>
+     * @param ordersStatusDescription Entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public void update(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNull(ordersStatusDescription);
+        final int updatedCount = delegateUpdate(ordersStatusDescription);
+        if (updatedCount == 0) {
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException(ordersStatusDescription.toString());
+        } else if (updatedCount > 1) {
+            String msg = "updatedCount=" + updatedCount + ": " + ordersStatusDescription.toString();
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException(msg);
+        }
+    }
+
+    protected void doModify(Entity entity) {
+        update((OrdersStatusDescription)entity);
+    }
+
+
+    protected void doModifyNonstrict(Entity entity) {
+        update((OrdersStatusDescription)entity);
+    }
+
+    /**
+     * Update after select. {update: modified only}
+     * <pre>
+     * The merit of this method is only Deleted-Check before updating!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param ordersStatusDescription Entity. This must contain primary-key value at least. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public void updateAfterSelect(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNullAndHasPrimaryKeyValue(ordersStatusDescription);
+        final OrdersStatusDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(ordersStatusDescription));
+        final OrdersStatusDescription currentEntity = selectEntityWithDeletedCheck(cb);
+        mergeEntity(ordersStatusDescription, currentEntity);
+        update(currentEntity);
+    }
+
+    protected void doModifyAfterSelect(Entity entity) {
+        updateAfterSelect((OrdersStatusDescription)entity);
+    }
+
+    /**
+     * Insert or update. {update: modified only}
+     * 
+     * @param ordersStatusDescription Entity. This should contain primary-key value at least(Except use identity). (NotNull)
+     */
+    public void insertOrUpdate(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNull(ordersStatusDescription);
+        if (!ordersStatusDescription.hasPrimaryKeyValue()) {
+            insert(ordersStatusDescription);
+        } else {
+            RuntimeException exception = null;
+            try {
+                update(ordersStatusDescription);
+            } catch (org.seasar.dao.NotSingleRowUpdatedRuntimeException e) {
+                if (e.getRows() > 1) {
+                    throw e;
+                }
+                exception = e;
+            } catch (jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException e) {
+                exception = e;
+            }
+            if (exception != null) {
+                final OrdersStatusDescriptionCB cb = newMyConditionBean();
+                cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(ordersStatusDescription));
+                if (selectCount(cb) == 0) {
+                    insert(ordersStatusDescription);
+                } else {
+                    throw exception;
+                }
+            }
+        }
+    }
+
+    protected void doCreateOrUpdate(Entity ordersStatusDescription) {
+        insertOrUpdate((OrdersStatusDescription)ordersStatusDescription);
+    }
+
+
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdate((OrdersStatusDescription)entity);
+    }
+
+    /**
+     * Insert or update after select. {update: modified only}
+     * <pre>
+     * The merit of this method is only Deleted-Check before updating!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param ordersStatusDescription Entity. This should contain primary-key value at least(Except use identity). (NotNull)
+     */
+    public void insertOrUpdateAfterSelect(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNull(ordersStatusDescription);
+        if (!ordersStatusDescription.hasPrimaryKeyValue()) {
+            insert(ordersStatusDescription);
+            return;
+        }
+        OrdersStatusDescription currentEntity = null;
+        try {
+            final OrdersStatusDescriptionCB cb = newMyConditionBean();
+            cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(ordersStatusDescription));
+            currentEntity = selectEntityWithDeletedCheck(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException e) {
+            insert(ordersStatusDescription);
+            return;
+        }
+        assertEntityNotNullAndHasPrimaryKeyValue(ordersStatusDescription);
+        mergeEntity(ordersStatusDescription, currentEntity);
+        update(currentEntity);
+    }
+
+    protected void doCreateOrModifyAfterSelect(Entity entity) {
+        insertOrUpdateAfterSelect((OrdersStatusDescription)entity);
+    }
+  
+    /**
+     * The implementation.
+     * 
+     * @param sourceEntity Source entity. (NotNull)
+     * @param destinationEntity Destination entity. (NotNull)
+     */
+    protected void mergeEntity(Entity sourceEntity, Entity destinationEntity) {
+        assertEntityNotNull(sourceEntity);
+        assertEntityNotNull(destinationEntity);
+        final OrdersStatusDescription sourceMyEntity = (OrdersStatusDescription)sourceEntity;
+        final OrdersStatusDescription destinationMyEntity = (OrdersStatusDescription)destinationEntity;
+        destinationMyEntity.clearModifiedPropertyNames();
+        final java.util.Set<String> names = sourceMyEntity.getModifiedPropertyNames();
+
+        if (names.contains("ordersStatusId")) { destinationMyEntity.setOrdersStatusId(sourceMyEntity.getOrdersStatusId()); }
+        if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
+        if (names.contains("ordersStatusName")) { destinationMyEntity.setOrdersStatusName(sourceMyEntity.getOrdersStatusName()); }
+
+    }
+
+    /**
+     * Delete.
+     * 
+     * @param ordersStatusDescription Entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public void delete(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNull(ordersStatusDescription);
+        final int deletedCount = delegateDelete(ordersStatusDescription);
+        if (deletedCount == 0) {
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException(ordersStatusDescription.toString());
+        } else if (deletedCount > 1) {
+            String msg = "deletedCount=" + deletedCount + ": " + ordersStatusDescription.toString();
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException(msg);
+        }
+    }
+
+    protected void doRemove(Entity ordersStatusDescription) {
+        delete((OrdersStatusDescription)ordersStatusDescription);
+    }
+
+    /**
+     * Delete after select.
+     * <pre>
+     * The merit of this method is only Deleted-Check before deleting!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param ordersStatusDescription Entity. This must contain primary-key value at least. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public void deleteAfterSelect(OrdersStatusDescription ordersStatusDescription) {
+        assertEntityNotNullAndHasPrimaryKeyValue(ordersStatusDescription);
+        final OrdersStatusDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(ordersStatusDescription));
+        selectEntityWithDeletedCheck(cb);
+        delete(ordersStatusDescription);
+    }
+
+    protected void doRemoveAfterSelect(Entity entity) {
+        deleteAfterSelect((OrdersStatusDescription)entity);
+    }
+  
+    // ===================================================================================
+    //                                                                  Basic Batch Update
+    //                                                                  ==================
+    /**
+     * Insert list.
+     * 
+     * @param ordersStatusDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Inserted count.
+     */
+    public int insertList(java.util.List<OrdersStatusDescription> ordersStatusDescriptionList) {
+        assertListNotNullAndNotEmpty(ordersStatusDescriptionList);
+        return delegateInsertList(ordersStatusDescriptionList);
+    }
+
+    /**
+     * Update list.
+     * 
+     * @param ordersStatusDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Updated count.
+     */
+    public int updateList(java.util.List<OrdersStatusDescription> ordersStatusDescriptionList) {
+        assertListNotNullAndNotEmpty(ordersStatusDescriptionList);
+        return delegateUpdateList(ordersStatusDescriptionList);
+    }
+
+    /**
+     * Delete list.
+     * 
+     * @param ordersStatusDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Deleted count.
+     */
+    public int deleteList(java.util.List<OrdersStatusDescription> ordersStatusDescriptionList) {
+        assertListNotNullAndNotEmpty(ordersStatusDescriptionList);
+        return delegateDeleteList(ordersStatusDescriptionList);
+    }
+
+    // ===================================================================================
+    //                                                                      Various Insert
+    //                                                                      ==============
+  
+    // ===================================================================================
+    //                                                                           Hierarchy
+    //                                                                           =========
+    /**
+     * Create the basic request of hierarchy of OrdersStatusDescription..
+     * 
+     * @param sourceList The list of source. (NotNull)
+     * @param <SOURCE> The type of source.
+     * @return Hierarchy request of OrdersStatusDescription. (NotNull)
+     */
+    public <SOURCE> HierarchyBasicRequest<OrdersStatusDescription, OrdersStatusDescriptionDbm.OrdersStatusDescriptionRelationTrace> createHierarchyBasicRequest(java.util.List<SOURCE> sourceList) {
+        final HierarchyBasicRequest<OrdersStatusDescription, OrdersStatusDescriptionDbm.OrdersStatusDescriptionRelationTrace> request = new HierarchyBasicRequest<OrdersStatusDescription, OrdersStatusDescriptionDbm.OrdersStatusDescriptionRelationTrace>(OrdersStatusDescription.class);
+        request.registerSourceList(sourceList);
+        return request;
+    }
+
+    /**
+     * Arrange hierarchy.
+     * 
+     * @param request Hierarchy request of OrdersStatusDescription. (NotNull)
+     * @return The list of OrdersStatusDescription. (NotNull)
+     */
+    public java.util.List<OrdersStatusDescription> arrangeHierarchy(HierarchyRequest<OrdersStatusDescription> request) {
+        return new HierarchyArranger<OrdersStatusDescription>().arrangeHierarchy(request);
+    }
+
+    // ===================================================================================
+    //                                                                          CBSetupper
+    //                                                                          ==========
+    /**
+     * The interface of condition-bean setupper.
+     */
+    public static interface CBSetupper extends ConditionBeanSetupper<OrdersStatusDescriptionCB> {
+
+        /**
+         * Set up condition.
+         * 
+         * @param cb Condition-bean. (NotNull)
+         */
+        public void setup(OrdersStatusDescriptionCB cb);
+    }
+}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusHistoryBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusHistoryBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusHistoryBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -31,7 +31,7 @@
  *     ORDERS_STATUS_HISTORY_ID, ORDERS_ID, ORDERS_STATUS_ID, DATE_ADDED, CUSTOMER_NOTIFIED, COMMENTS
  * 
  * [foreign-property]
- *     ordersStatus
+ *     orders, ordersStatus
  * 
  * [refferer-property]
  *     
@@ -475,6 +475,26 @@
     //                                                                    ================
 
     /**
+     * Pull out the list of foreign table 'Orders'.
+     * 
+     * @param ordersStatusHistoryList The list of ordersStatusHistory. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Orders> pulloutOrders(java.util.List<OrdersStatusHistory> ordersStatusHistoryList) {
+        assertObjectNotNull("ordersStatusHistoryList", ordersStatusHistoryList);
+        final java.util.Set<Orders> foreignSet = new java.util.LinkedHashSet<Orders>();
+        for (java.util.Iterator ite = ordersStatusHistoryList.iterator(); ite.hasNext(); ) {
+            final OrdersStatusHistory ordersStatusHistory = (OrdersStatusHistory)ite.next();
+            final Orders foreignEntity = ordersStatusHistory.getOrders();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Orders>(foreignSet);
+    }
+
+    /**
      * Pull out the list of foreign table 'OrdersStatus'.
      * 
      * @param ordersStatusHistoryList The list of ordersStatusHistory. (NotNull)

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersTotalBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersTotalBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersTotalBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersTotalId
  * 
  * [update-date]
  *     
@@ -753,6 +753,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal ordersTotalId) {
+        OrdersTotal entity = new OrdersTotal();
+        entity.setOrdersTotalId(ordersTotalId);
+        final OrdersTotalCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final OrdersTotal currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param ordersTotal Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(OrdersTotal ordersTotal) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -33,7 +33,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ID, OPTIONS_ID, OPTIONS_VALUES_ID, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     products
+ *     products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     productsAttributesDownloadList
@@ -641,9 +641,49 @@
         }
         return new java.util.ArrayList<Products>(foreignSet);
     }
+
+    /**
+     * Pull out the list of foreign table 'ProductsOptions'.
+     * 
+     * @param productsAttributesList The list of productsAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptions> pulloutProductsOptions(java.util.List<ProductsAttributes> productsAttributesList) {
+        assertObjectNotNull("productsAttributesList", productsAttributesList);
+        final java.util.Set<ProductsOptions> foreignSet = new java.util.LinkedHashSet<ProductsOptions>();
+        for (java.util.Iterator ite = productsAttributesList.iterator(); ite.hasNext(); ) {
+            final ProductsAttributes productsAttributes = (ProductsAttributes)ite.next();
+            final ProductsOptions foreignEntity = productsAttributes.getProductsOptions();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsOptions>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'ProductsOptionsValues'.
+     * 
+     * @param productsAttributesList The list of productsAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValues> pulloutProductsOptionsValues(java.util.List<ProductsAttributes> productsAttributesList) {
+        assertObjectNotNull("productsAttributesList", productsAttributesList);
+        final java.util.Set<ProductsOptionsValues> foreignSet = new java.util.LinkedHashSet<ProductsOptionsValues>();
+        for (java.util.Iterator ite = productsAttributesList.iterator(); ite.hasNext(); ) {
+            final ProductsAttributes productsAttributes = (ProductsAttributes)ite.next();
+            final ProductsOptionsValues foreignEntity = productsAttributes.getProductsOptionsValues();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsOptionsValues>(foreignSet);
+    }
   
     /**
-     * Pull out the list of referer-as-one table 'Products'.
+     * Pull out the list of referer-as-one table 'ProductsOptionsValues'.
      * 
      * @param productsAttributesList The list of productsAttributes. (NotNull)
      * @return The list of referer-as-one table. (NotNull)

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -30,19 +30,19 @@
  *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsId
  * 
  * [update-date]
  *     
@@ -619,6 +619,298 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_ATTRIBUTES]
+    //   RefererProperty = [productsAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsAttributesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsOptionsCB cb = new ProductsOptionsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptions&gt; productsOptionsList = productsOptionsBhv.selectList(cb);
+     *     productsOptionsBhv.loadProductsAttributesList(productsOptionsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsList Entity list of productsOptions. (NotNull)
+     */
+    public void loadProductsAttributesList(java.util.List<ProductsOptions> productsOptionsList) {
+        final ConditionBeanSetupper<ProductsAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsAttributesCB>() {
+            public void setup(ProductsAttributesCB cb) {
+            }
+        };
+        loadProductsAttributesList(productsOptionsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsAttributesList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsCB cb = new ProductsOptionsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptions&gt; productsOptionsList = productsOptionsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsAttributesCB&gt;() {
+     *         public void setup(ProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadProductsAttributesList(productsOptionsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOptionsId_InScope(pkList);
+     *     cb.query().addOrderBy_OptionsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsList Entity list of productsOptions. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsAttributesList(java.util.List<ProductsOptions> productsOptionsList, ConditionBeanSetupper<ProductsAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsAttributesCB>", conditionBeanSetupper);
+        if (productsOptionsList.isEmpty()) {
+            return;
+        }
+        loadProductsAttributesList(productsOptionsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsAttributesCB, ProductsAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsAttributesList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsCB cb = new ProductsOptionsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptions&gt; productsOptionsList = productsOptionsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsAttributesCB&gt;() {
+     *         public void setup(ProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadProductsAttributesList(productsOptionsList, new LoadRefererOption<ProductsAttributesCB, ProductsAttributes>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOptionsId_InScope(pkList);
+     *     cb.query().addOrderBy_OptionsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsList Entity list of productsOptions. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsAttributesList(java.util.List<ProductsOptions> productsOptionsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsAttributesCB, ProductsAttributes> loadRefererOption) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("loadRefererOption<ProductsAttributes, ProductsAttributesCB>", loadRefererOption);
+        if (productsOptionsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, ProductsOptions> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, ProductsOptions>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (ProductsOptions productsOptions : productsOptionsList) {
+            pkList.add(productsOptions.getProductsOptionsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(productsOptions.getProductsOptionsId()), productsOptions);
+        }
+        final ProductsAttributesBhv refererBhv = getDaoSelector().getBehavior(ProductsAttributesBhv.class);
+        final ProductsAttributesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setOptionsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_OptionsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsAttributes>>();
+        for (ProductsAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOptionsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOptionsId()), new java.util.ArrayList<ProductsAttributes>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getOptionsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ProductsOptions myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getOptionsId()));
+            reffererEntity.setProductsOptions(myEntity);
+        }
+
+        for (ProductsOptions productsOptions : productsOptionsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(productsOptions.getProductsOptionsId()))) {
+                productsOptions.setProductsAttributesList((java.util.List<ProductsAttributes>)pkReffererListMap.get(toLowerCaseIfString(productsOptions.getProductsOptionsId())));
+            } else {
+                productsOptions.setProductsAttributesList(new java.util.ArrayList<ProductsAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_DESCRIPTION]
+    //   RefererProperty = [productsOptionsDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsOptionsDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsOptionsCB cb = new ProductsOptionsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptions&gt; productsOptionsList = productsOptionsBhv.selectList(cb);
+     *     productsOptionsBhv.loadProductsOptionsDescriptionList(productsOptionsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsList Entity list of productsOptions. (NotNull)
+     */
+    public void loadProductsOptionsDescriptionList(java.util.List<ProductsOptions> productsOptionsList) {
+        final ConditionBeanSetupper<ProductsOptionsDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsDescriptionCB>() {
+            public void setup(ProductsOptionsDescriptionCB cb) {
+            }
+        };
+        loadProductsOptionsDescriptionList(productsOptionsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsOptionsDescriptionList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsCB cb = new ProductsOptionsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptions&gt; productsOptionsList = productsOptionsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadProductsOptionsDescriptionList(productsOptionsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsOptionsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsOptionsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsList Entity list of productsOptions. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsOptionsDescriptionList(java.util.List<ProductsOptions> productsOptionsList, ConditionBeanSetupper<ProductsOptionsDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsDescriptionCB>", conditionBeanSetupper);
+        if (productsOptionsList.isEmpty()) {
+            return;
+        }
+        loadProductsOptionsDescriptionList(productsOptionsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsDescriptionCB, ProductsOptionsDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsOptionsDescriptionList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsCB cb = new ProductsOptionsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptions&gt; productsOptionsList = productsOptionsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadProductsOptionsDescriptionList(productsOptionsList, new LoadRefererOption<ProductsOptionsDescriptionCB, ProductsOptionsDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsOptionsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsOptionsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsList Entity list of productsOptions. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsOptionsDescriptionList(java.util.List<ProductsOptions> productsOptionsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsDescriptionCB, ProductsOptionsDescription> loadRefererOption) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsDescription, ProductsOptionsDescriptionCB>", loadRefererOption);
+        if (productsOptionsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, ProductsOptions> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, ProductsOptions>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (ProductsOptions productsOptions : productsOptionsList) {
+            pkList.add(productsOptions.getProductsOptionsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(productsOptions.getProductsOptionsId()), productsOptions);
+        }
+        final ProductsOptionsDescriptionBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsDescriptionBhv.class);
+        final ProductsOptionsDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsOptionsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsOptionsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsOptionsDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsDescription>>();
+        for (ProductsOptionsDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsOptionsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsOptionsId()), new java.util.ArrayList<ProductsOptionsDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsOptionsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ProductsOptions myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsOptionsId()));
+            reffererEntity.setProductsOptions(myEntity);
+        }
+
+        for (ProductsOptions productsOptions : productsOptionsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(productsOptions.getProductsOptionsId()))) {
+                productsOptions.setProductsOptionsDescriptionList((java.util.List<ProductsOptionsDescription>)pkReffererListMap.get(toLowerCaseIfString(productsOptions.getProductsOptionsId())));
+            } else {
+                productsOptions.setProductsOptionsDescriptionList(new java.util.ArrayList<ProductsOptionsDescription>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS]
     //   RefererProperty = [productsOptionsValuesToProductsOptionsList]
     // * * * * * * * * */
@@ -767,27 +1059,7 @@
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
-    /**
-     * Pull out the list of foreign table 'Languages'.
-     * 
-     * @param productsOptionsList The list of productsOptions. (NotNull)
-     * @return The list of foreign table. (NotNull)
-     */
-    public java.util.List<Languages> pulloutLanguages(java.util.List<ProductsOptions> productsOptionsList) {
-        assertObjectNotNull("productsOptionsList", productsOptionsList);
-        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
-        for (java.util.Iterator ite = productsOptionsList.iterator(); ite.hasNext(); ) {
-            final ProductsOptions productsOptions = (ProductsOptions)ite.next();
-            final Languages foreignEntity = productsOptions.getLanguages();
-            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
-                continue;
-            }
-            foreignSet.add(foreignEntity);
-        }
-        return new java.util.ArrayList<Languages>(foreignSet);
-    }
-    
+        
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================
@@ -953,8 +1225,6 @@
         final java.util.Set<String> names = sourceMyEntity.getModifiedPropertyNames();
 
         if (names.contains("productsOptionsId")) { destinationMyEntity.setProductsOptionsId(sourceMyEntity.getProductsOptionsId()); }
-        if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
-        if (names.contains("productsOptionsName")) { destinationMyEntity.setProductsOptionsName(sourceMyEntity.getProductsOptionsName()); }
 
     }
 
@@ -1043,6 +1313,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal productsOptionsId) {
+        ProductsOptions entity = new ProductsOptions();
+        entity.setProductsOptionsId(productsOptionsId);
+        final ProductsOptionsCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final ProductsOptions currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param productsOptions Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(ProductsOptions productsOptions) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,810 @@
+package jp.sf.pal.pompei.bsbhv;
+
+
+import jp.sf.pal.pompei.allcommon.*;
+import jp.sf.pal.pompei.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.pompei.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyArranger;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyBasicRequest;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyRequest;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ListResultBean;
+import jp.sf.pal.pompei.allcommon.cbean.PagingBean;
+import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
+
+import jp.sf.pal.pompei.exdao.*;
+import jp.sf.pal.pompei.exentity.*;
+import jp.sf.pal.pompei.bsentity.dbmeta.*;
+import jp.sf.pal.pompei.cbean.*;
+
+
+
+/**
+ * The behavior of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptions
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsProductsOptionsDescriptionBhv extends jp.sf.pal.pompei.allcommon.bhv.AbstractBehaviorWritable {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Dao instance. */
+    protected ProductsOptionsDescriptionDao _dao;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsProductsOptionsDescriptionBhv() {
+    }
+
+    // ===================================================================================
+    //                                                                          Table name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                              DBMeta
+    //                                                                              ======
+    /**
+     * The implementation.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public DBMeta getDBMeta() {
+        return ProductsOptionsDescriptionDbm.getInstance();
+    }
+
+    /**
+     * Get my dbmeta.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public ProductsOptionsDescriptionDbm getMyDBMeta() {
+        return ProductsOptionsDescriptionDbm.getInstance();
+    }
+
+    // ===================================================================================
+    //                                                                        Dao Accessor
+    //                                                                        ============
+    /**
+     * Get my dao.
+     * 
+     * @return My dao.
+     */
+    public ProductsOptionsDescriptionDao getMyDao() {
+        return _dao;
+    }
+
+    /**
+     * Set my dao.
+     * 
+     * @param dao My dao. (NotNull)
+     */
+    public void setMyDao(ProductsOptionsDescriptionDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Dao-readable. (NotNull)
+     */
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Dao-writable. (NotNull)
+     */
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    // ===================================================================================
+    //                                                                        New Instance
+    //                                                                        ============
+    /**
+     * New entity.
+     * 
+     * @return Entity. (NotNull)
+     */
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    /**
+     * New condition-bean.
+     * 
+     * @return Condition-bean. (NotNull)
+     */
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    /**
+     * New my entity.
+     * 
+     * @return My entity. (NotNull)
+     */
+    public ProductsOptionsDescription newMyEntity() {
+        return new ProductsOptionsDescription();
+    }
+
+    /**
+     * New my condition-bean.
+     * 
+     * @return My condition-bean. (NotNull)
+     */
+    public ProductsOptionsDescriptionCB newMyConditionBean() {
+        return new ProductsOptionsDescriptionCB();
+    }
+
+    // ===================================================================================
+    //                                                                     Delegate Method
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                Select
+    //                                                ------
+    /**
+     * Get count as all. {delegate method, internal for interceptor}
+     * 
+     * @return All count. (NotNull)
+     */
+    public int delegateGetCountAll() {
+        return getMyDao().getCountAll();
+    }
+
+    /**
+     * Get list as all. {delegate method, internal for interceptor}
+     * 
+     * @return All list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsDescription> delegateGetListAll() {
+        return getMyDao().getListAll();
+    }
+
+    //
+    // Get entity. {delegate method, internal for interceptor}
+    // 
+    // @param Primary-keys (NotNull)
+    // @return Entity. (NotNull)
+    //
+    public ProductsOptionsDescription delegateGetEntity(java.math.BigDecimal productsOptionsId, java.math.BigDecimal languageId) {
+        return getMyDao().getEntity(productsOptionsId, languageId);
+    }
+
+    /**
+     * Select count by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected count. (NotNull)
+     */
+    public int delegateSelectCount(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    /**
+     * Select entity by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. If the select result is zero, it returns null. (Nullable)
+     */
+    public ProductsOptionsDescription delegateSelectEntity(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectEntity(cb);
+    }
+
+    /**
+     * Select list by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list. If the select result is zero, it returns empty list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsDescription> delegateSelectList(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+
+    // -----------------------------------------------------
+    //                                                Update
+    //                                                ------
+    /**
+     * Insert one entity. {delegate method, internal for interceptor}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Inserted count.
+     */
+    public int delegateInsert(ProductsOptionsDescription entity) {
+        assertEntityNotNull(entity);// If this table use identity, the entity does not have primary-key.
+        filterEntityOfInsert(entity);
+        assertEntityOfInsert(entity);
+        return getMyDao().insert(entity);
+    }
+
+    /**
+     * Update one entity. {modified only, delegate method}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int delegateUpdate(ProductsOptionsDescription entity) {
+        assertEntityNotNullAndHasPrimaryKeyValue(entity);
+        filterEntityOfUpdate(entity);
+        assertEntityOfUpdate(entity);
+        return getMyDao().updateModifiedOnly(entity);
+    }
+  
+    /**
+     * Delete one entity. {delegate method, internal for interceptor}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Deleted count.
+     */
+    public int delegateDelete(ProductsOptionsDescription entity) {
+        assertEntityNotNullAndHasPrimaryKeyValue(entity);
+        filterEntityOfDelete(entity);
+        assertEntityOfDelete(entity);
+        return getMyDao().delete(entity);
+    }
+  
+    /**
+     * Insert several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Inserted count.
+     */
+    public int delegateInsertList(java.util.List<ProductsOptionsDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().insertList(entityList);
+    }
+
+    /**
+     * Update several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Updated count.
+     */
+    public int delegateUpdateList(java.util.List<ProductsOptionsDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().updateList(entityList);
+    }
+
+    /**
+     * Delete several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Deleted count.
+     */
+    public int delegateDeleteList(java.util.List<ProductsOptionsDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().deleteList(entityList);
+    }
+
+    // ===================================================================================
+    //                                                                  Basic Select Count
+    //                                                                  ==================
+    /**
+     * Select count by condition-bean.
+     * <pre>
+     * If the argument 'condition-bean' is effective about fetch-scope,
+     * this method invoke select count ignoring the fetch-scope.
+     * </pre>
+     * @param cb Condition-bean. This condition-bean should not be set up about fetch-scope. (NotNull)
+     * @return Selected count.
+     */
+    public int selectCount(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    // ===================================================================================
+    //                                                                 Basic Select Entity
+    //                                                                 ===================
+    /**
+     * Select entity by condition-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. (Nullalble)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public ProductsOptionsDescription selectEntity(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        cb.checkSafetyResult(1);
+        java.util.List<ProductsOptionsDescription> ls = null;
+        try {
+            ls = selectList(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.DangerousResultSizeException e) {
+            throwRecordHasOverlappedException("{Over safetyMaxResultSize '1'}", cb, e);
+        }
+        if (ls.isEmpty()) {
+            return null;
+        }
+        assertRecordHasBeenSelectedAsOne(ls, cb);
+        return (ProductsOptionsDescription)ls.get(0);
+    }
+
+    /**
+     * Select entity by condition-bean with deleted check.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public ProductsOptionsDescription selectEntityWithDeletedCheck(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        cb.checkSafetyResult(1);
+        java.util.List<ProductsOptionsDescription> ls = null;
+        try {
+            ls = selectList(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.DangerousResultSizeException e) {
+            throwRecordHasOverlappedException("{Over safetyMaxResultSize '1'}", cb, e);
+        }
+        assertRecordHasNotBeenDeleted(ls, cb);
+        assertRecordHasBeenSelectedAsOne(ls, cb);
+        return (ProductsOptionsDescription)ls.get(0);
+    }
+
+    /*
+     * Select entity with deleted check. {by primary-key}
+     * 
+     * @param primaryKey
+     * @return Selected entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public ProductsOptionsDescription selectByPKValueWithDeletedCheck(java.math.BigDecimal productsOptionsId, java.math.BigDecimal languageId) {
+        ProductsOptionsDescription entity = new ProductsOptionsDescription();
+        entity.setProductsOptionsId(productsOptionsId);entity.setLanguageId(languageId);
+        final ProductsOptionsDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    // ===================================================================================
+    //                                                                   Basic Select List
+    //                                                                   =================
+    /**
+     * Select list as result-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list-result-bean. (NotNull)
+     */
+    public ListResultBean<ProductsOptionsDescription> selectList(ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<ProductsOptionsDescription>(this).buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    /**
+     * Select page as result-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected paging-result-bean. (NotNull)
+     */
+    public PagingResultBean<ProductsOptionsDescription> selectPage(final ProductsOptionsDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return selectPage(cb, new SelectPageSimpleInvoker<ProductsOptionsDescription>(this));
+    }
+
+    /**
+     * Select page.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @param invoker Select-page-invoker (NotNull)
+     * @return Selected paging-result-bean. (NotNull)
+     */
+    public PagingResultBean<ProductsOptionsDescription> selectPage(final ProductsOptionsDescriptionCB cb, SelectPageInvoker<ProductsOptionsDescription> invoker) {
+        assertConditionBeanNotNull(cb);
+        final SelectPageCallback<ProductsOptionsDescription> pageCallback = new SelectPageCallback<ProductsOptionsDescription>() {
+            public PagingBean getPagingBean() { return cb; }
+            public int selectCountIgnoreFetchScope() {
+                return selectCount(cb);
+            }
+            public java.util.List<ProductsOptionsDescription> selectListWithFetchScope() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokeSelectPage(pageCallback);
+    }
+
+    // ===================================================================================
+    //                                                                      Various Select
+    //                                                                      ==============
+    /**
+     * Select value-label list.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @param valueLabelSetupper Value-label-setupper. (NotNull)
+     * @return Value-label list. (NotNull)
+     */
+    public java.util.List<java.util.Map<String, Object>> selectValueLabelList(ProductsOptionsDescriptionCB cb, ValueLabelSetupper<ProductsOptionsDescription> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    // ===================================================================================
+    //                                                                    Pull Out Foreign
+    //                                                                    ================
+
+    /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param productsOptionsDescriptionList The list of productsOptionsDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<ProductsOptionsDescription> productsOptionsDescriptionList) {
+        assertObjectNotNull("productsOptionsDescriptionList", productsOptionsDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = productsOptionsDescriptionList.iterator(); ite.hasNext(); ) {
+            final ProductsOptionsDescription productsOptionsDescription = (ProductsOptionsDescription)ite.next();
+            final Languages foreignEntity = productsOptionsDescription.getLanguages();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Languages>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'ProductsOptions'.
+     * 
+     * @param productsOptionsDescriptionList The list of productsOptionsDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptions> pulloutProductsOptions(java.util.List<ProductsOptionsDescription> productsOptionsDescriptionList) {
+        assertObjectNotNull("productsOptionsDescriptionList", productsOptionsDescriptionList);
+        final java.util.Set<ProductsOptions> foreignSet = new java.util.LinkedHashSet<ProductsOptions>();
+        for (java.util.Iterator ite = productsOptionsDescriptionList.iterator(); ite.hasNext(); ) {
+            final ProductsOptionsDescription productsOptionsDescription = (ProductsOptionsDescription)ite.next();
+            final ProductsOptions foreignEntity = productsOptionsDescription.getProductsOptions();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsOptions>(foreignSet);
+    }
+
+    // ===================================================================================
+    //                                                                 Basic Entity Update
+    //                                                                 ===================
+    /**
+     * Insert.
+     * 
+     * @param productsOptionsDescription Entity. (NotNull)
+     */
+    public void insert(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNull(productsOptionsDescription);
+        delegateInsert(productsOptionsDescription);
+    }
+
+    protected void doCreate(Entity productsOptionsDescription) {
+        insert((ProductsOptionsDescription)productsOptionsDescription);
+    }
+
+    /**
+     * Update. {update: modified only}
+     * <pre>
+     * If it updates count zero, throws exception.
+     * If concurrency control of this table is valid, this update have it.
+     * So then the entity of argument should have the value of concurrency column.
+     * </pre>
+     * @param productsOptionsDescription Entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public void update(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNull(productsOptionsDescription);
+        final int updatedCount = delegateUpdate(productsOptionsDescription);
+        if (updatedCount == 0) {
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException(productsOptionsDescription.toString());
+        } else if (updatedCount > 1) {
+            String msg = "updatedCount=" + updatedCount + ": " + productsOptionsDescription.toString();
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException(msg);
+        }
+    }
+
+    protected void doModify(Entity entity) {
+        update((ProductsOptionsDescription)entity);
+    }
+
+
+    protected void doModifyNonstrict(Entity entity) {
+        update((ProductsOptionsDescription)entity);
+    }
+
+    /**
+     * Update after select. {update: modified only}
+     * <pre>
+     * The merit of this method is only Deleted-Check before updating!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param productsOptionsDescription Entity. This must contain primary-key value at least. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public void updateAfterSelect(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNullAndHasPrimaryKeyValue(productsOptionsDescription);
+        final ProductsOptionsDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsDescription));
+        final ProductsOptionsDescription currentEntity = selectEntityWithDeletedCheck(cb);
+        mergeEntity(productsOptionsDescription, currentEntity);
+        update(currentEntity);
+    }
+
+    protected void doModifyAfterSelect(Entity entity) {
+        updateAfterSelect((ProductsOptionsDescription)entity);
+    }
+
+    /**
+     * Insert or update. {update: modified only}
+     * 
+     * @param productsOptionsDescription Entity. This should contain primary-key value at least(Except use identity). (NotNull)
+     */
+    public void insertOrUpdate(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNull(productsOptionsDescription);
+        if (!productsOptionsDescription.hasPrimaryKeyValue()) {
+            insert(productsOptionsDescription);
+        } else {
+            RuntimeException exception = null;
+            try {
+                update(productsOptionsDescription);
+            } catch (org.seasar.dao.NotSingleRowUpdatedRuntimeException e) {
+                if (e.getRows() > 1) {
+                    throw e;
+                }
+                exception = e;
+            } catch (jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException e) {
+                exception = e;
+            }
+            if (exception != null) {
+                final ProductsOptionsDescriptionCB cb = newMyConditionBean();
+                cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsDescription));
+                if (selectCount(cb) == 0) {
+                    insert(productsOptionsDescription);
+                } else {
+                    throw exception;
+                }
+            }
+        }
+    }
+
+    protected void doCreateOrUpdate(Entity productsOptionsDescription) {
+        insertOrUpdate((ProductsOptionsDescription)productsOptionsDescription);
+    }
+
+
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdate((ProductsOptionsDescription)entity);
+    }
+
+    /**
+     * Insert or update after select. {update: modified only}
+     * <pre>
+     * The merit of this method is only Deleted-Check before updating!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param productsOptionsDescription Entity. This should contain primary-key value at least(Except use identity). (NotNull)
+     */
+    public void insertOrUpdateAfterSelect(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNull(productsOptionsDescription);
+        if (!productsOptionsDescription.hasPrimaryKeyValue()) {
+            insert(productsOptionsDescription);
+            return;
+        }
+        ProductsOptionsDescription currentEntity = null;
+        try {
+            final ProductsOptionsDescriptionCB cb = newMyConditionBean();
+            cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsDescription));
+            currentEntity = selectEntityWithDeletedCheck(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException e) {
+            insert(productsOptionsDescription);
+            return;
+        }
+        assertEntityNotNullAndHasPrimaryKeyValue(productsOptionsDescription);
+        mergeEntity(productsOptionsDescription, currentEntity);
+        update(currentEntity);
+    }
+
+    protected void doCreateOrModifyAfterSelect(Entity entity) {
+        insertOrUpdateAfterSelect((ProductsOptionsDescription)entity);
+    }
+  
+    /**
+     * The implementation.
+     * 
+     * @param sourceEntity Source entity. (NotNull)
+     * @param destinationEntity Destination entity. (NotNull)
+     */
+    protected void mergeEntity(Entity sourceEntity, Entity destinationEntity) {
+        assertEntityNotNull(sourceEntity);
+        assertEntityNotNull(destinationEntity);
+        final ProductsOptionsDescription sourceMyEntity = (ProductsOptionsDescription)sourceEntity;
+        final ProductsOptionsDescription destinationMyEntity = (ProductsOptionsDescription)destinationEntity;
+        destinationMyEntity.clearModifiedPropertyNames();
+        final java.util.Set<String> names = sourceMyEntity.getModifiedPropertyNames();
+
+        if (names.contains("productsOptionsId")) { destinationMyEntity.setProductsOptionsId(sourceMyEntity.getProductsOptionsId()); }
+        if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
+        if (names.contains("productsOptionsName")) { destinationMyEntity.setProductsOptionsName(sourceMyEntity.getProductsOptionsName()); }
+
+    }
+
+    /**
+     * Delete.
+     * 
+     * @param productsOptionsDescription Entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public void delete(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNull(productsOptionsDescription);
+        final int deletedCount = delegateDelete(productsOptionsDescription);
+        if (deletedCount == 0) {
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException(productsOptionsDescription.toString());
+        } else if (deletedCount > 1) {
+            String msg = "deletedCount=" + deletedCount + ": " + productsOptionsDescription.toString();
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException(msg);
+        }
+    }
+
+    protected void doRemove(Entity productsOptionsDescription) {
+        delete((ProductsOptionsDescription)productsOptionsDescription);
+    }
+
+    /**
+     * Delete after select.
+     * <pre>
+     * The merit of this method is only Deleted-Check before deleting!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param productsOptionsDescription Entity. This must contain primary-key value at least. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public void deleteAfterSelect(ProductsOptionsDescription productsOptionsDescription) {
+        assertEntityNotNullAndHasPrimaryKeyValue(productsOptionsDescription);
+        final ProductsOptionsDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsDescription));
+        selectEntityWithDeletedCheck(cb);
+        delete(productsOptionsDescription);
+    }
+
+    protected void doRemoveAfterSelect(Entity entity) {
+        deleteAfterSelect((ProductsOptionsDescription)entity);
+    }
+  
+    // ===================================================================================
+    //                                                                  Basic Batch Update
+    //                                                                  ==================
+    /**
+     * Insert list.
+     * 
+     * @param productsOptionsDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Inserted count.
+     */
+    public int insertList(java.util.List<ProductsOptionsDescription> productsOptionsDescriptionList) {
+        assertListNotNullAndNotEmpty(productsOptionsDescriptionList);
+        return delegateInsertList(productsOptionsDescriptionList);
+    }
+
+    /**
+     * Update list.
+     * 
+     * @param productsOptionsDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Updated count.
+     */
+    public int updateList(java.util.List<ProductsOptionsDescription> productsOptionsDescriptionList) {
+        assertListNotNullAndNotEmpty(productsOptionsDescriptionList);
+        return delegateUpdateList(productsOptionsDescriptionList);
+    }
+
+    /**
+     * Delete list.
+     * 
+     * @param productsOptionsDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Deleted count.
+     */
+    public int deleteList(java.util.List<ProductsOptionsDescription> productsOptionsDescriptionList) {
+        assertListNotNullAndNotEmpty(productsOptionsDescriptionList);
+        return delegateDeleteList(productsOptionsDescriptionList);
+    }
+
+    // ===================================================================================
+    //                                                                      Various Insert
+    //                                                                      ==============
+  
+    // ===================================================================================
+    //                                                                           Hierarchy
+    //                                                                           =========
+    /**
+     * Create the basic request of hierarchy of ProductsOptionsDescription..
+     * 
+     * @param sourceList The list of source. (NotNull)
+     * @param <SOURCE> The type of source.
+     * @return Hierarchy request of ProductsOptionsDescription. (NotNull)
+     */
+    public <SOURCE> HierarchyBasicRequest<ProductsOptionsDescription, ProductsOptionsDescriptionDbm.ProductsOptionsDescriptionRelationTrace> createHierarchyBasicRequest(java.util.List<SOURCE> sourceList) {
+        final HierarchyBasicRequest<ProductsOptionsDescription, ProductsOptionsDescriptionDbm.ProductsOptionsDescriptionRelationTrace> request = new HierarchyBasicRequest<ProductsOptionsDescription, ProductsOptionsDescriptionDbm.ProductsOptionsDescriptionRelationTrace>(ProductsOptionsDescription.class);
+        request.registerSourceList(sourceList);
+        return request;
+    }
+
+    /**
+     * Arrange hierarchy.
+     * 
+     * @param request Hierarchy request of ProductsOptionsDescription. (NotNull)
+     * @return The list of ProductsOptionsDescription. (NotNull)
+     */
+    public java.util.List<ProductsOptionsDescription> arrangeHierarchy(HierarchyRequest<ProductsOptionsDescription> request) {
+        return new HierarchyArranger<ProductsOptionsDescription>().arrangeHierarchy(request);
+    }
+
+    // ===================================================================================
+    //                                                                          CBSetupper
+    //                                                                          ==========
+    /**
+     * The interface of condition-bean setupper.
+     */
+    public static interface CBSetupper extends ConditionBeanSetupper<ProductsOptionsDescriptionCB> {
+
+        /**
+         * Set up condition.
+         * 
+         * @param cb Condition-bean. (NotNull)
+         */
+        public void setup(ProductsOptionsDescriptionCB cb);
+    }
+}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -30,19 +30,19 @@
  *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsValuesDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesId
  * 
  * [update-date]
  *     
@@ -619,6 +619,298 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_ATTRIBUTES]
+    //   RefererProperty = [productsAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsAttributesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsOptionsValuesCB cb = new ProductsOptionsValuesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptionsValues&gt; productsOptionsValuesList = productsOptionsValuesBhv.selectList(cb);
+     *     productsOptionsValuesBhv.loadProductsAttributesList(productsOptionsValuesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsValuesList Entity list of productsOptionsValues. (NotNull)
+     */
+    public void loadProductsAttributesList(java.util.List<ProductsOptionsValues> productsOptionsValuesList) {
+        final ConditionBeanSetupper<ProductsAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsAttributesCB>() {
+            public void setup(ProductsAttributesCB cb) {
+            }
+        };
+        loadProductsAttributesList(productsOptionsValuesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsAttributesList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsValuesCB cb = new ProductsOptionsValuesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptionsValues&gt; productsOptionsValuesList = productsOptionsValuesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsAttributesCB&gt;() {
+     *         public void setup(ProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadProductsAttributesList(productsOptionsValuesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOptionsValuesId_InScope(pkList);
+     *     cb.query().addOrderBy_OptionsValuesId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsValuesList Entity list of productsOptionsValues. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsAttributesList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, ConditionBeanSetupper<ProductsAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsAttributesCB>", conditionBeanSetupper);
+        if (productsOptionsValuesList.isEmpty()) {
+            return;
+        }
+        loadProductsAttributesList(productsOptionsValuesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsAttributesCB, ProductsAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsAttributesList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsValuesCB cb = new ProductsOptionsValuesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptionsValues&gt; productsOptionsValuesList = productsOptionsValuesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsAttributesCB&gt;() {
+     *         public void setup(ProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadProductsAttributesList(productsOptionsValuesList, new LoadRefererOption<ProductsAttributesCB, ProductsAttributes>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOptionsValuesId_InScope(pkList);
+     *     cb.query().addOrderBy_OptionsValuesId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsValuesList Entity list of productsOptionsValues. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsAttributesList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsAttributesCB, ProductsAttributes> loadRefererOption) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("loadRefererOption<ProductsAttributes, ProductsAttributesCB>", loadRefererOption);
+        if (productsOptionsValuesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, ProductsOptionsValues> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, ProductsOptionsValues>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (ProductsOptionsValues productsOptionsValues : productsOptionsValuesList) {
+            pkList.add(productsOptionsValues.getProductsOptionsValuesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId()), productsOptionsValues);
+        }
+        final ProductsAttributesBhv refererBhv = getDaoSelector().getBehavior(ProductsAttributesBhv.class);
+        final ProductsAttributesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setOptionsValuesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_OptionsValuesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsAttributes>>();
+        for (ProductsAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOptionsValuesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOptionsValuesId()), new java.util.ArrayList<ProductsAttributes>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getOptionsValuesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ProductsOptionsValues myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getOptionsValuesId()));
+            reffererEntity.setProductsOptionsValues(myEntity);
+        }
+
+        for (ProductsOptionsValues productsOptionsValues : productsOptionsValuesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId()))) {
+                productsOptionsValues.setProductsAttributesList((java.util.List<ProductsAttributes>)pkReffererListMap.get(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId())));
+            } else {
+                productsOptionsValues.setProductsAttributesList(new java.util.ArrayList<ProductsAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION]
+    //   RefererProperty = [productsOptionsValuesDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsOptionsValuesDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsOptionsValuesCB cb = new ProductsOptionsValuesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptionsValues&gt; productsOptionsValuesList = productsOptionsValuesBhv.selectList(cb);
+     *     productsOptionsValuesBhv.loadProductsOptionsValuesDescriptionList(productsOptionsValuesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsValuesList Entity list of productsOptionsValues. (NotNull)
+     */
+    public void loadProductsOptionsValuesDescriptionList(java.util.List<ProductsOptionsValues> productsOptionsValuesList) {
+        final ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB>() {
+            public void setup(ProductsOptionsValuesDescriptionCB cb) {
+            }
+        };
+        loadProductsOptionsValuesDescriptionList(productsOptionsValuesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsOptionsValuesDescriptionList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsValuesCB cb = new ProductsOptionsValuesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptionsValues&gt; productsOptionsValuesList = productsOptionsValuesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsValuesDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadProductsOptionsValuesDescriptionList(productsOptionsValuesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsOptionsValuesId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsOptionsValuesId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsValuesList Entity list of productsOptionsValues. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsOptionsValuesDescriptionList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsValuesDescriptionCB>", conditionBeanSetupper);
+        if (productsOptionsValuesList.isEmpty()) {
+            return;
+        }
+        loadProductsOptionsValuesDescriptionList(productsOptionsValuesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesDescriptionCB, ProductsOptionsValuesDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsOptionsValuesDescriptionList.
+     * <pre>
+     *   You can load referer with your original condition.
+     * 
+     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     final ProductsOptionsValuesCB cb = new ProductsOptionsValuesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsOptionsValues&gt; productsOptionsValuesList = productsOptionsValuesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesDescriptionCB&gt;() {
+     *         public void setup(ProductsOptionsValuesDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadProductsOptionsValuesDescriptionList(productsOptionsValuesList, new LoadRefererOption<ProductsOptionsValuesDescriptionCB, ProductsOptionsValuesDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsOptionsValuesId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsOptionsValuesId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsOptionsValuesList Entity list of productsOptionsValues. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsOptionsValuesDescriptionList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesDescriptionCB, ProductsOptionsValuesDescription> loadRefererOption) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsValuesDescription, ProductsOptionsValuesDescriptionCB>", loadRefererOption);
+        if (productsOptionsValuesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, ProductsOptionsValues> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, ProductsOptionsValues>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (ProductsOptionsValues productsOptionsValues : productsOptionsValuesList) {
+            pkList.add(productsOptionsValues.getProductsOptionsValuesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId()), productsOptionsValues);
+        }
+        final ProductsOptionsValuesDescriptionBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsValuesDescriptionBhv.class);
+        final ProductsOptionsValuesDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsOptionsValuesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsOptionsValuesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsOptionsValuesDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsValuesDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsValuesDescription>>();
+        for (ProductsOptionsValuesDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsOptionsValuesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsOptionsValuesId()), new java.util.ArrayList<ProductsOptionsValuesDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsOptionsValuesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ProductsOptionsValues myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsOptionsValuesId()));
+            reffererEntity.setProductsOptionsValues(myEntity);
+        }
+
+        for (ProductsOptionsValues productsOptionsValues : productsOptionsValuesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId()))) {
+                productsOptionsValues.setProductsOptionsValuesDescriptionList((java.util.List<ProductsOptionsValuesDescription>)pkReffererListMap.get(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId())));
+            } else {
+                productsOptionsValues.setProductsOptionsValuesDescriptionList(new java.util.ArrayList<ProductsOptionsValuesDescription>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS]
     //   RefererProperty = [productsOptionsValuesToProductsOptionsList]
     // * * * * * * * * */
@@ -767,27 +1059,7 @@
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
-    /**
-     * Pull out the list of foreign table 'Languages'.
-     * 
-     * @param productsOptionsValuesList The list of productsOptionsValues. (NotNull)
-     * @return The list of foreign table. (NotNull)
-     */
-    public java.util.List<Languages> pulloutLanguages(java.util.List<ProductsOptionsValues> productsOptionsValuesList) {
-        assertObjectNotNull("productsOptionsValuesList", productsOptionsValuesList);
-        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
-        for (java.util.Iterator ite = productsOptionsValuesList.iterator(); ite.hasNext(); ) {
-            final ProductsOptionsValues productsOptionsValues = (ProductsOptionsValues)ite.next();
-            final Languages foreignEntity = productsOptionsValues.getLanguages();
-            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
-                continue;
-            }
-            foreignSet.add(foreignEntity);
-        }
-        return new java.util.ArrayList<Languages>(foreignSet);
-    }
-    
+        
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================
@@ -953,8 +1225,6 @@
         final java.util.Set<String> names = sourceMyEntity.getModifiedPropertyNames();
 
         if (names.contains("productsOptionsValuesId")) { destinationMyEntity.setProductsOptionsValuesId(sourceMyEntity.getProductsOptionsValuesId()); }
-        if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
-        if (names.contains("productsOptionsValuesName")) { destinationMyEntity.setProductsOptionsValuesName(sourceMyEntity.getProductsOptionsValuesName()); }
 
     }
 
@@ -1043,6 +1313,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal productsOptionsValuesId) {
+        ProductsOptionsValues entity = new ProductsOptionsValues();
+        entity.setProductsOptionsValuesId(productsOptionsValuesId);
+        final ProductsOptionsValuesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final ProductsOptionsValues currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param productsOptionsValues Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(ProductsOptionsValues productsOptionsValues) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,810 @@
+package jp.sf.pal.pompei.bsbhv;
+
+
+import jp.sf.pal.pompei.allcommon.*;
+import jp.sf.pal.pompei.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.pompei.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyArranger;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyBasicRequest;
+import jp.sf.pal.pompei.allcommon.dbmeta.hierarchy.HierarchyRequest;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ListResultBean;
+import jp.sf.pal.pompei.allcommon.cbean.PagingBean;
+import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
+
+import jp.sf.pal.pompei.exdao.*;
+import jp.sf.pal.pompei.exentity.*;
+import jp.sf.pal.pompei.bsentity.dbmeta.*;
+import jp.sf.pal.pompei.cbean.*;
+
+
+
+/**
+ * The behavior of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptionsValues
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsProductsOptionsValuesDescriptionBhv extends jp.sf.pal.pompei.allcommon.bhv.AbstractBehaviorWritable {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Dao instance. */
+    protected ProductsOptionsValuesDescriptionDao _dao;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsProductsOptionsValuesDescriptionBhv() {
+    }
+
+    // ===================================================================================
+    //                                                                          Table name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                              DBMeta
+    //                                                                              ======
+    /**
+     * The implementation.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public DBMeta getDBMeta() {
+        return ProductsOptionsValuesDescriptionDbm.getInstance();
+    }
+
+    /**
+     * Get my dbmeta.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionDbm getMyDBMeta() {
+        return ProductsOptionsValuesDescriptionDbm.getInstance();
+    }
+
+    // ===================================================================================
+    //                                                                        Dao Accessor
+    //                                                                        ============
+    /**
+     * Get my dao.
+     * 
+     * @return My dao.
+     */
+    public ProductsOptionsValuesDescriptionDao getMyDao() {
+        return _dao;
+    }
+
+    /**
+     * Set my dao.
+     * 
+     * @param dao My dao. (NotNull)
+     */
+    public void setMyDao(ProductsOptionsValuesDescriptionDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Dao-readable. (NotNull)
+     */
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Dao-writable. (NotNull)
+     */
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    // ===================================================================================
+    //                                                                        New Instance
+    //                                                                        ============
+    /**
+     * New entity.
+     * 
+     * @return Entity. (NotNull)
+     */
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    /**
+     * New condition-bean.
+     * 
+     * @return Condition-bean. (NotNull)
+     */
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    /**
+     * New my entity.
+     * 
+     * @return My entity. (NotNull)
+     */
+    public ProductsOptionsValuesDescription newMyEntity() {
+        return new ProductsOptionsValuesDescription();
+    }
+
+    /**
+     * New my condition-bean.
+     * 
+     * @return My condition-bean. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionCB newMyConditionBean() {
+        return new ProductsOptionsValuesDescriptionCB();
+    }
+
+    // ===================================================================================
+    //                                                                     Delegate Method
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                Select
+    //                                                ------
+    /**
+     * Get count as all. {delegate method, internal for interceptor}
+     * 
+     * @return All count. (NotNull)
+     */
+    public int delegateGetCountAll() {
+        return getMyDao().getCountAll();
+    }
+
+    /**
+     * Get list as all. {delegate method, internal for interceptor}
+     * 
+     * @return All list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValuesDescription> delegateGetListAll() {
+        return getMyDao().getListAll();
+    }
+
+    //
+    // Get entity. {delegate method, internal for interceptor}
+    // 
+    // @param Primary-keys (NotNull)
+    // @return Entity. (NotNull)
+    //
+    public ProductsOptionsValuesDescription delegateGetEntity(java.math.BigDecimal productsOptionsValuesId, java.math.BigDecimal languageId) {
+        return getMyDao().getEntity(productsOptionsValuesId, languageId);
+    }
+
+    /**
+     * Select count by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected count. (NotNull)
+     */
+    public int delegateSelectCount(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    /**
+     * Select entity by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. If the select result is zero, it returns null. (Nullable)
+     */
+    public ProductsOptionsValuesDescription delegateSelectEntity(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectEntity(cb);
+    }
+
+    /**
+     * Select list by condition-bean. {delegate method, internal for interceptor}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list. If the select result is zero, it returns empty list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValuesDescription> delegateSelectList(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+
+    // -----------------------------------------------------
+    //                                                Update
+    //                                                ------
+    /**
+     * Insert one entity. {delegate method, internal for interceptor}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Inserted count.
+     */
+    public int delegateInsert(ProductsOptionsValuesDescription entity) {
+        assertEntityNotNull(entity);// If this table use identity, the entity does not have primary-key.
+        filterEntityOfInsert(entity);
+        assertEntityOfInsert(entity);
+        return getMyDao().insert(entity);
+    }
+
+    /**
+     * Update one entity. {modified only, delegate method}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int delegateUpdate(ProductsOptionsValuesDescription entity) {
+        assertEntityNotNullAndHasPrimaryKeyValue(entity);
+        filterEntityOfUpdate(entity);
+        assertEntityOfUpdate(entity);
+        return getMyDao().updateModifiedOnly(entity);
+    }
+  
+    /**
+     * Delete one entity. {delegate method, internal for interceptor}
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Deleted count.
+     */
+    public int delegateDelete(ProductsOptionsValuesDescription entity) {
+        assertEntityNotNullAndHasPrimaryKeyValue(entity);
+        filterEntityOfDelete(entity);
+        assertEntityOfDelete(entity);
+        return getMyDao().delete(entity);
+    }
+  
+    /**
+     * Insert several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Inserted count.
+     */
+    public int delegateInsertList(java.util.List<ProductsOptionsValuesDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().insertList(entityList);
+    }
+
+    /**
+     * Update several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Updated count.
+     */
+    public int delegateUpdateList(java.util.List<ProductsOptionsValuesDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().updateList(entityList);
+    }
+
+    /**
+     * Delete several entities. {delegate method, internal for interceptor}
+     * 
+     * @param entityList Entity-list. (NotNull & NotEmpty)
+     * @return Deleted count.
+     */
+    public int delegateDeleteList(java.util.List<ProductsOptionsValuesDescription> entityList) {
+        assertListNotNullAndNotEmpty(entityList);
+        return getMyDao().deleteList(entityList);
+    }
+
+    // ===================================================================================
+    //                                                                  Basic Select Count
+    //                                                                  ==================
+    /**
+     * Select count by condition-bean.
+     * <pre>
+     * If the argument 'condition-bean' is effective about fetch-scope,
+     * this method invoke select count ignoring the fetch-scope.
+     * </pre>
+     * @param cb Condition-bean. This condition-bean should not be set up about fetch-scope. (NotNull)
+     * @return Selected count.
+     */
+    public int selectCount(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    // ===================================================================================
+    //                                                                 Basic Select Entity
+    //                                                                 ===================
+    /**
+     * Select entity by condition-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. (Nullalble)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public ProductsOptionsValuesDescription selectEntity(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        cb.checkSafetyResult(1);
+        java.util.List<ProductsOptionsValuesDescription> ls = null;
+        try {
+            ls = selectList(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.DangerousResultSizeException e) {
+            throwRecordHasOverlappedException("{Over safetyMaxResultSize '1'}", cb, e);
+        }
+        if (ls.isEmpty()) {
+            return null;
+        }
+        assertRecordHasBeenSelectedAsOne(ls, cb);
+        return (ProductsOptionsValuesDescription)ls.get(0);
+    }
+
+    /**
+     * Select entity by condition-bean with deleted check.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public ProductsOptionsValuesDescription selectEntityWithDeletedCheck(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        cb.checkSafetyResult(1);
+        java.util.List<ProductsOptionsValuesDescription> ls = null;
+        try {
+            ls = selectList(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.DangerousResultSizeException e) {
+            throwRecordHasOverlappedException("{Over safetyMaxResultSize '1'}", cb, e);
+        }
+        assertRecordHasNotBeenDeleted(ls, cb);
+        assertRecordHasBeenSelectedAsOne(ls, cb);
+        return (ProductsOptionsValuesDescription)ls.get(0);
+    }
+
+    /*
+     * Select entity with deleted check. {by primary-key}
+     * 
+     * @param primaryKey
+     * @return Selected entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public ProductsOptionsValuesDescription selectByPKValueWithDeletedCheck(java.math.BigDecimal productsOptionsValuesId, java.math.BigDecimal languageId) {
+        ProductsOptionsValuesDescription entity = new ProductsOptionsValuesDescription();
+        entity.setProductsOptionsValuesId(productsOptionsValuesId);entity.setLanguageId(languageId);
+        final ProductsOptionsValuesDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    // ===================================================================================
+    //                                                                   Basic Select List
+    //                                                                   =================
+    /**
+     * Select list as result-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list-result-bean. (NotNull)
+     */
+    public ListResultBean<ProductsOptionsValuesDescription> selectList(ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<ProductsOptionsValuesDescription>(this).buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    /**
+     * Select page as result-bean.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected paging-result-bean. (NotNull)
+     */
+    public PagingResultBean<ProductsOptionsValuesDescription> selectPage(final ProductsOptionsValuesDescriptionCB cb) {
+        assertConditionBeanNotNull(cb);
+        return selectPage(cb, new SelectPageSimpleInvoker<ProductsOptionsValuesDescription>(this));
+    }
+
+    /**
+     * Select page.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @param invoker Select-page-invoker (NotNull)
+     * @return Selected paging-result-bean. (NotNull)
+     */
+    public PagingResultBean<ProductsOptionsValuesDescription> selectPage(final ProductsOptionsValuesDescriptionCB cb, SelectPageInvoker<ProductsOptionsValuesDescription> invoker) {
+        assertConditionBeanNotNull(cb);
+        final SelectPageCallback<ProductsOptionsValuesDescription> pageCallback = new SelectPageCallback<ProductsOptionsValuesDescription>() {
+            public PagingBean getPagingBean() { return cb; }
+            public int selectCountIgnoreFetchScope() {
+                return selectCount(cb);
+            }
+            public java.util.List<ProductsOptionsValuesDescription> selectListWithFetchScope() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokeSelectPage(pageCallback);
+    }
+
+    // ===================================================================================
+    //                                                                      Various Select
+    //                                                                      ==============
+    /**
+     * Select value-label list.
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @param valueLabelSetupper Value-label-setupper. (NotNull)
+     * @return Value-label list. (NotNull)
+     */
+    public java.util.List<java.util.Map<String, Object>> selectValueLabelList(ProductsOptionsValuesDescriptionCB cb, ValueLabelSetupper<ProductsOptionsValuesDescription> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    // ===================================================================================
+    //                                                                    Pull Out Foreign
+    //                                                                    ================
+
+    /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param productsOptionsValuesDescriptionList The list of productsOptionsValuesDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        assertObjectNotNull("productsOptionsValuesDescriptionList", productsOptionsValuesDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = productsOptionsValuesDescriptionList.iterator(); ite.hasNext(); ) {
+            final ProductsOptionsValuesDescription productsOptionsValuesDescription = (ProductsOptionsValuesDescription)ite.next();
+            final Languages foreignEntity = productsOptionsValuesDescription.getLanguages();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Languages>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'ProductsOptionsValues'.
+     * 
+     * @param productsOptionsValuesDescriptionList The list of productsOptionsValuesDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValues> pulloutProductsOptionsValues(java.util.List<ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        assertObjectNotNull("productsOptionsValuesDescriptionList", productsOptionsValuesDescriptionList);
+        final java.util.Set<ProductsOptionsValues> foreignSet = new java.util.LinkedHashSet<ProductsOptionsValues>();
+        for (java.util.Iterator ite = productsOptionsValuesDescriptionList.iterator(); ite.hasNext(); ) {
+            final ProductsOptionsValuesDescription productsOptionsValuesDescription = (ProductsOptionsValuesDescription)ite.next();
+            final ProductsOptionsValues foreignEntity = productsOptionsValuesDescription.getProductsOptionsValues();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsOptionsValues>(foreignSet);
+    }
+
+    // ===================================================================================
+    //                                                                 Basic Entity Update
+    //                                                                 ===================
+    /**
+     * Insert.
+     * 
+     * @param productsOptionsValuesDescription Entity. (NotNull)
+     */
+    public void insert(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNull(productsOptionsValuesDescription);
+        delegateInsert(productsOptionsValuesDescription);
+    }
+
+    protected void doCreate(Entity productsOptionsValuesDescription) {
+        insert((ProductsOptionsValuesDescription)productsOptionsValuesDescription);
+    }
+
+    /**
+     * Update. {update: modified only}
+     * <pre>
+     * If it updates count zero, throws exception.
+     * If concurrency control of this table is valid, this update have it.
+     * So then the entity of argument should have the value of concurrency column.
+     * </pre>
+     * @param productsOptionsValuesDescription Entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public void update(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNull(productsOptionsValuesDescription);
+        final int updatedCount = delegateUpdate(productsOptionsValuesDescription);
+        if (updatedCount == 0) {
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException(productsOptionsValuesDescription.toString());
+        } else if (updatedCount > 1) {
+            String msg = "updatedCount=" + updatedCount + ": " + productsOptionsValuesDescription.toString();
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException(msg);
+        }
+    }
+
+    protected void doModify(Entity entity) {
+        update((ProductsOptionsValuesDescription)entity);
+    }
+
+
+    protected void doModifyNonstrict(Entity entity) {
+        update((ProductsOptionsValuesDescription)entity);
+    }
+
+    /**
+     * Update after select. {update: modified only}
+     * <pre>
+     * The merit of this method is only Deleted-Check before updating!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param productsOptionsValuesDescription Entity. This must contain primary-key value at least. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public void updateAfterSelect(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNullAndHasPrimaryKeyValue(productsOptionsValuesDescription);
+        final ProductsOptionsValuesDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsValuesDescription));
+        final ProductsOptionsValuesDescription currentEntity = selectEntityWithDeletedCheck(cb);
+        mergeEntity(productsOptionsValuesDescription, currentEntity);
+        update(currentEntity);
+    }
+
+    protected void doModifyAfterSelect(Entity entity) {
+        updateAfterSelect((ProductsOptionsValuesDescription)entity);
+    }
+
+    /**
+     * Insert or update. {update: modified only}
+     * 
+     * @param productsOptionsValuesDescription Entity. This should contain primary-key value at least(Except use identity). (NotNull)
+     */
+    public void insertOrUpdate(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNull(productsOptionsValuesDescription);
+        if (!productsOptionsValuesDescription.hasPrimaryKeyValue()) {
+            insert(productsOptionsValuesDescription);
+        } else {
+            RuntimeException exception = null;
+            try {
+                update(productsOptionsValuesDescription);
+            } catch (org.seasar.dao.NotSingleRowUpdatedRuntimeException e) {
+                if (e.getRows() > 1) {
+                    throw e;
+                }
+                exception = e;
+            } catch (jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException e) {
+                exception = e;
+            }
+            if (exception != null) {
+                final ProductsOptionsValuesDescriptionCB cb = newMyConditionBean();
+                cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsValuesDescription));
+                if (selectCount(cb) == 0) {
+                    insert(productsOptionsValuesDescription);
+                } else {
+                    throw exception;
+                }
+            }
+        }
+    }
+
+    protected void doCreateOrUpdate(Entity productsOptionsValuesDescription) {
+        insertOrUpdate((ProductsOptionsValuesDescription)productsOptionsValuesDescription);
+    }
+
+
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdate((ProductsOptionsValuesDescription)entity);
+    }
+
+    /**
+     * Insert or update after select. {update: modified only}
+     * <pre>
+     * The merit of this method is only Deleted-Check before updating!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param productsOptionsValuesDescription Entity. This should contain primary-key value at least(Except use identity). (NotNull)
+     */
+    public void insertOrUpdateAfterSelect(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNull(productsOptionsValuesDescription);
+        if (!productsOptionsValuesDescription.hasPrimaryKeyValue()) {
+            insert(productsOptionsValuesDescription);
+            return;
+        }
+        ProductsOptionsValuesDescription currentEntity = null;
+        try {
+            final ProductsOptionsValuesDescriptionCB cb = newMyConditionBean();
+            cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsValuesDescription));
+            currentEntity = selectEntityWithDeletedCheck(cb);
+        } catch (jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException e) {
+            insert(productsOptionsValuesDescription);
+            return;
+        }
+        assertEntityNotNullAndHasPrimaryKeyValue(productsOptionsValuesDescription);
+        mergeEntity(productsOptionsValuesDescription, currentEntity);
+        update(currentEntity);
+    }
+
+    protected void doCreateOrModifyAfterSelect(Entity entity) {
+        insertOrUpdateAfterSelect((ProductsOptionsValuesDescription)entity);
+    }
+  
+    /**
+     * The implementation.
+     * 
+     * @param sourceEntity Source entity. (NotNull)
+     * @param destinationEntity Destination entity. (NotNull)
+     */
+    protected void mergeEntity(Entity sourceEntity, Entity destinationEntity) {
+        assertEntityNotNull(sourceEntity);
+        assertEntityNotNull(destinationEntity);
+        final ProductsOptionsValuesDescription sourceMyEntity = (ProductsOptionsValuesDescription)sourceEntity;
+        final ProductsOptionsValuesDescription destinationMyEntity = (ProductsOptionsValuesDescription)destinationEntity;
+        destinationMyEntity.clearModifiedPropertyNames();
+        final java.util.Set<String> names = sourceMyEntity.getModifiedPropertyNames();
+
+        if (names.contains("productsOptionsValuesId")) { destinationMyEntity.setProductsOptionsValuesId(sourceMyEntity.getProductsOptionsValuesId()); }
+        if (names.contains("languageId")) { destinationMyEntity.setLanguageId(sourceMyEntity.getLanguageId()); }
+        if (names.contains("productsOptionsValuesName")) { destinationMyEntity.setProductsOptionsValuesName(sourceMyEntity.getProductsOptionsValuesName()); }
+
+    }
+
+    /**
+     * Delete.
+     * 
+     * @param productsOptionsValuesDescription Entity. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
+     */
+    public void delete(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNull(productsOptionsValuesDescription);
+        final int deletedCount = delegateDelete(productsOptionsValuesDescription);
+        if (deletedCount == 0) {
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException(productsOptionsValuesDescription.toString());
+        } else if (deletedCount > 1) {
+            String msg = "deletedCount=" + deletedCount + ": " + productsOptionsValuesDescription.toString();
+            throw new jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException(msg);
+        }
+    }
+
+    protected void doRemove(Entity productsOptionsValuesDescription) {
+        delete((ProductsOptionsValuesDescription)productsOptionsValuesDescription);
+    }
+
+    /**
+     * Delete after select.
+     * <pre>
+     * The merit of this method is only Deleted-Check before deleting!
+     * If you don't want the merit, please use update().
+     * And the demerit of this method is as follows:
+     *   : If the entity does not have the optimistic lock value, for example version-no and timestamp,
+     *   : it does not throw optimistic lock exception. It can updates.
+     * </pre>
+     * @param productsOptionsValuesDescription Entity. This must contain primary-key value at least. (NotNull)
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public void deleteAfterSelect(ProductsOptionsValuesDescription productsOptionsValuesDescription) {
+        assertEntityNotNullAndHasPrimaryKeyValue(productsOptionsValuesDescription);
+        final ProductsOptionsValuesDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(productsOptionsValuesDescription));
+        selectEntityWithDeletedCheck(cb);
+        delete(productsOptionsValuesDescription);
+    }
+
+    protected void doRemoveAfterSelect(Entity entity) {
+        deleteAfterSelect((ProductsOptionsValuesDescription)entity);
+    }
+  
+    // ===================================================================================
+    //                                                                  Basic Batch Update
+    //                                                                  ==================
+    /**
+     * Insert list.
+     * 
+     * @param productsOptionsValuesDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Inserted count.
+     */
+    public int insertList(java.util.List<ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        assertListNotNullAndNotEmpty(productsOptionsValuesDescriptionList);
+        return delegateInsertList(productsOptionsValuesDescriptionList);
+    }
+
+    /**
+     * Update list.
+     * 
+     * @param productsOptionsValuesDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Updated count.
+     */
+    public int updateList(java.util.List<ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        assertListNotNullAndNotEmpty(productsOptionsValuesDescriptionList);
+        return delegateUpdateList(productsOptionsValuesDescriptionList);
+    }
+
+    /**
+     * Delete list.
+     * 
+     * @param productsOptionsValuesDescriptionList Entity-list. (NotNull & NotEmpty)
+     * @return Deleted count.
+     */
+    public int deleteList(java.util.List<ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        assertListNotNullAndNotEmpty(productsOptionsValuesDescriptionList);
+        return delegateDeleteList(productsOptionsValuesDescriptionList);
+    }
+
+    // ===================================================================================
+    //                                                                      Various Insert
+    //                                                                      ==============
+  
+    // ===================================================================================
+    //                                                                           Hierarchy
+    //                                                                           =========
+    /**
+     * Create the basic request of hierarchy of ProductsOptionsValuesDescription..
+     * 
+     * @param sourceList The list of source. (NotNull)
+     * @param <SOURCE> The type of source.
+     * @return Hierarchy request of ProductsOptionsValuesDescription. (NotNull)
+     */
+    public <SOURCE> HierarchyBasicRequest<ProductsOptionsValuesDescription, ProductsOptionsValuesDescriptionDbm.ProductsOptionsValuesDescriptionRelationTrace> createHierarchyBasicRequest(java.util.List<SOURCE> sourceList) {
+        final HierarchyBasicRequest<ProductsOptionsValuesDescription, ProductsOptionsValuesDescriptionDbm.ProductsOptionsValuesDescriptionRelationTrace> request = new HierarchyBasicRequest<ProductsOptionsValuesDescription, ProductsOptionsValuesDescriptionDbm.ProductsOptionsValuesDescriptionRelationTrace>(ProductsOptionsValuesDescription.class);
+        request.registerSourceList(sourceList);
+        return request;
+    }
+
+    /**
+     * Arrange hierarchy.
+     * 
+     * @param request Hierarchy request of ProductsOptionsValuesDescription. (NotNull)
+     * @return The list of ProductsOptionsValuesDescription. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValuesDescription> arrangeHierarchy(HierarchyRequest<ProductsOptionsValuesDescription> request) {
+        return new HierarchyArranger<ProductsOptionsValuesDescription>().arrangeHierarchy(request);
+    }
+
+    // ===================================================================================
+    //                                                                          CBSetupper
+    //                                                                          ==========
+    /**
+     * The interface of condition-bean setupper.
+     */
+    public static interface CBSetupper extends ConditionBeanSetupper<ProductsOptionsValuesDescriptionCB> {
+
+        /**
+         * Set up condition.
+         * 
+         * @param cb Condition-bean. (NotNull)
+         */
+        public void setup(ProductsOptionsValuesDescriptionCB cb);
+    }
+}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesToProductsOptionsBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesToProductsOptionsBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesToProductsOptionsBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesToProductsOptionsId
  * 
  * [update-date]
  *     
@@ -769,6 +769,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal productsOptionsValuesToProductsOptionsId) {
+        ProductsOptionsValuesToProductsOptions entity = new ProductsOptionsValuesToProductsOptions();
+        entity.setProductsOptionsValuesToProductsOptionsId(productsOptionsValuesToProductsOptionsId);
+        final ProductsOptionsValuesToProductsOptionsCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final ProductsOptionsValuesToProductsOptions currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param productsOptionsValuesToProductsOptions Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(ProductsOptionsValuesToProductsOptions productsOptionsValuesToProductsOptions) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     
@@ -902,6 +902,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal reviewsId) {
+        Reviews entity = new Reviews();
+        entity.setReviewsId(reviewsId);
+        final ReviewsCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Reviews currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param reviews Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Reviews reviews) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     
@@ -765,6 +765,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal reviewsId, java.math.BigDecimal languagesId) {
+        ReviewsDescription entity = new ReviewsDescription();
+        entity.setReviewsId(reviewsId);entity.setLanguagesId(languagesId);
+        final ReviewsDescriptionCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final ReviewsDescription currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param reviewsDescription Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(ReviewsDescription reviewsDescription) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsSpecialsBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsSpecialsBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsSpecialsBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     specialsId
  * 
  * [update-date]
  *     
@@ -754,6 +754,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal specialsId) {
+        Specials entity = new Specials();
+        entity.setSpecialsId(specialsId);
+        final SpecialsCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Specials currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param specials Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Specials specials) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxClassBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxClassBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxClassBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxClassId
  * 
  * [update-date]
  *     
@@ -1025,6 +1025,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal taxClassId) {
+        TaxClass entity = new TaxClass();
+        entity.setTaxClassId(taxClassId);
+        final TaxClassCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final TaxClass currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param taxClass Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(TaxClass taxClass) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxRatesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxRatesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxRatesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxRatesId
  * 
  * [update-date]
  *     
@@ -774,6 +774,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal taxRatesId) {
+        TaxRates entity = new TaxRates();
+        entity.setTaxRatesId(taxRatesId);
+        final TaxRatesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final TaxRates currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param taxRates Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(TaxRates taxRates) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -42,7 +42,7 @@
  *     
  * 
  * [identity]
- *     
+ *     zoneId
  * 
  * [update-date]
  *     
@@ -1190,6 +1190,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal zoneId) {
+        Zones entity = new Zones();
+        entity.setZoneId(zoneId);
+        final ZonesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final Zones currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param zones Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(Zones zones) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesToGeoZonesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesToGeoZonesBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesToGeoZonesBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -40,7 +40,7 @@
  *     
  * 
  * [identity]
- *     
+ *     associationId
  * 
  * [update-date]
  *     
@@ -772,6 +772,30 @@
     // ===================================================================================
     //                                                                      Various Insert
     //                                                                      ==============
+      
+    /* (non-javadoc) 
+     * Copy-insert.
+     * 
+     * @param primaryKey Primary-keys. (NotNull)
+     * @return Inserted count.
+     * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
+     */
+    public int copyInsertByPKValueAfterSelect(java.math.BigDecimal associationId) {
+        ZonesToGeoZones entity = new ZonesToGeoZones();
+        entity.setAssociationId(associationId);
+        final ZonesToGeoZonesCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
+        final ZonesToGeoZones currentEntity = selectEntityWithDeletedCheck(cb);
+        return delegateInsert(currentEntity);
+    }
+    
+    /**
+     * Filter 'copy-insert' entity.
+     * 
+     * @param zonesToGeoZones Entity. (NotNull)
+     */
+    protected void filterCopyInsertEntity(ZonesToGeoZones zonesToGeoZones) {
+    }
   
     // ===================================================================================
     //                                                                           Hierarchy

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressFormatDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressFormatDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressFormatDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     addressFormatId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersHistoryDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersHistoryDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersHistoryDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersHistoryId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,10 +14,10 @@
  *     CATEGORIES_ID, CATEGORIES_IMAGE, PARENT_ID, SORT_ORDER, DATE_ADDED, LAST_MODIFIED
  * 
  * [foreign-property]
- *     
+ *     categoriesSelf
  * 
  * [refferer-property]
- *     categoriesDescriptionList, productsToCategoriesList
+ *     categoriesSelfList, categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationGroupDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationGroupDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationGroupDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationGroupId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCountriesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCountriesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCountriesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     countriesId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCurrenciesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCurrenciesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCurrenciesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     currenciesId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketAttributesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketAttributesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketAttributesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketAttributesId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersInfoDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersInfoDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersInfoDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersInfoId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsDeliveryMethodDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsDeliveryMethodDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsDeliveryMethodDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -11,7 +11,7 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
  * 
  * [foreign-property]
  *     deliveryMethod, languages
@@ -51,7 +51,7 @@
     public int getCountAll();
 
     /** SQL-Annotation for getListAll(). */
-    public static final String getListAll_SQL = "select DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID from DELIVERY_METHOD_DESCRIPTION";
+    public static final String getListAll_SQL = "select DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME from DELIVERY_METHOD_DESCRIPTION";
 
     /**
      * Get list as all.
@@ -61,7 +61,7 @@
     public java.util.List<DeliveryMethodDescription> getListAll();
 
     /** SQL-Annotation for getEntity(). */
-    public static final String getEntity_SQL = "select DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID from DELIVERY_METHOD_DESCRIPTION where DELIVERY_METHOD_DESCRIPTION.DELIVERY_METHOD_ID = /*deliveryMethodId*/null and DELIVERY_METHOD_DESCRIPTION.LANGUAGE_ID = /*languageId*/null";
+    public static final String getEntity_SQL = "select DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME from DELIVERY_METHOD_DESCRIPTION where DELIVERY_METHOD_DESCRIPTION.DELIVERY_METHOD_ID = /*deliveryMethodId*/null and DELIVERY_METHOD_DESCRIPTION.LANGUAGE_ID = /*languageId*/null";
 
     /** Args-Annotation for getEntity(). */
     public static final String getEntity_ARGS = "deliveryMethodId, languageId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsGeoZonesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsGeoZonesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsGeoZonesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     geoZoneId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsLanguagesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsLanguagesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsLanguagesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -17,13 +17,13 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusDescriptionList, productsDescriptionList, productsOptionsDescriptionList, productsOptionsValuesDescriptionList, reviewsDescriptionList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     languagesId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsNewslettersDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsNewslettersDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsNewslettersDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     newslettersId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -17,7 +17,7 @@
  *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersStatusHistoryList, ordersTotalList
  * 
  * [sequence]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsAttributesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsAttributesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsAttributesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsAttributesId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsDownloadDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsDownloadDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsDownloadDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsDownloadId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -11,13 +11,13 @@
  *     ORDERS_STATUS_ID
  * 
  * [column-property]
- *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ *     ORDERS_STATUS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     ordersList, ordersStatusHistoryList
+ *     ordersList, ordersStatusDescriptionList, ordersStatusHistoryList
  * 
  * [sequence]
  *     
@@ -51,7 +51,7 @@
     public int getCountAll();
 
     /** SQL-Annotation for getListAll(). */
-    public static final String getListAll_SQL = "select ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME from ORDERS_STATUS";
+    public static final String getListAll_SQL = "select ORDERS_STATUS_ID from ORDERS_STATUS";
 
     /**
      * Get list as all.
@@ -61,7 +61,7 @@
     public java.util.List<OrdersStatus> getListAll();
 
     /** SQL-Annotation for getEntity(). */
-    public static final String getEntity_SQL = "select ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME from ORDERS_STATUS where ORDERS_STATUS.ORDERS_STATUS_ID = /*ordersStatusId*/null";
+    public static final String getEntity_SQL = "select ORDERS_STATUS_ID from ORDERS_STATUS where ORDERS_STATUS.ORDERS_STATUS_ID = /*ordersStatusId*/null";
 
     /** Args-Annotation for getEntity(). */
     public static final String getEntity_ARGS = "ordersStatusId";

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,186 @@
+package jp.sf.pal.pompei.bsdao;
+
+
+import jp.sf.pal.pompei.exentity.OrdersStatusDescription;
+
+/**
+ * The dao interface of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ * 
+ * [foreign-property]
+ *     languages, ordersStatus
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsOrdersStatusDescriptionDao extends jp.sf.pal.pompei.allcommon.DaoWritable {
+
+    /** BEAN-Annotation. */
+    public Class BEAN = jp.sf.pal.pompei.exentity.OrdersStatusDescription.class;
+
+    /** SQL-Annotation for getCountAll(). */
+    public static final String getCountAll_SQL = "select count(*) from ORDERS_STATUS_DESCRIPTION";
+
+    /**
+     * Get count as all.
+     * 
+     * @return All count.
+     */
+    public int getCountAll();
+
+    /** SQL-Annotation for getListAll(). */
+    public static final String getListAll_SQL = "select ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME from ORDERS_STATUS_DESCRIPTION";
+
+    /**
+     * Get list as all.
+     * 
+     * @return All list. (NotNull)
+     */
+    public java.util.List<OrdersStatusDescription> getListAll();
+
+    /** SQL-Annotation for getEntity(). */
+    public static final String getEntity_SQL = "select ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME from ORDERS_STATUS_DESCRIPTION where ORDERS_STATUS_DESCRIPTION.ORDERS_STATUS_ID = /*ordersStatusId*/null and ORDERS_STATUS_DESCRIPTION.LANGUAGE_ID = /*languageId*/null";
+
+    /** Args-Annotation for getEntity(). */
+    public static final String getEntity_ARGS = "ordersStatusId, languageId";
+
+    /* (non-javadoc)
+     * Get entity by primary key.
+     * 
+     * @param primaryKey Primary key. (NotNull)
+     */
+    public OrdersStatusDescription getEntity(java.math.BigDecimal ordersStatusId, java.math.BigDecimal languageId);
+
+    /**
+     * Select count by condition-bean.
+     * <pre>
+     * Ignore fetchFirst() and fetchScope() and fetchPage().
+     * But the fetch status of the condition-bean remains as it is.
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final OrdersStatusDescriptionCB cb = new OrdersStatusDescriptionCB();
+     *   cb.query().setXxx_GreaterEqual(new BigDecimal(14));
+     *   final int count = dao.selectCount(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected count. (NotNull)
+     */
+    public int selectCount(jp.sf.pal.pompei.cbean.OrdersStatusDescriptionCB cb);
+
+    /**
+     * Select entity 'OrdersStatusDescription' by condition-bean.
+     * <pre>
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final OrdersStatusDescriptionCB cb = new OrdersStatusDescriptionCB();
+     *   cb.query().setXxxCode_Equal("abc");// It is assumed that this is the primary key...
+     *   cb.lockForUpdate();
+     *   final OrdersStatusDescription entity = dao.selectEntity(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. If the select result is zero, it returns null. (Nullable)
+     */
+    public OrdersStatusDescription selectEntity(jp.sf.pal.pompei.cbean.OrdersStatusDescriptionCB cb);
+
+    /**
+     * Select list by condition-bean.
+     * <pre>
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final OrdersStatusDescriptionCB cb = new OrdersStatusDescriptionCB();
+     *   cb.setupSelect_Xxx(); // Including the foreign table in select clause
+     *   cb.query().setXxxName_PrefixSearch("abc");
+     *   cb.query().setXxxStartDate_IsNotNull();
+     *   cb.addOrderBy_PK_Asc().fetchFirst(20);
+     *   final List resultList = dao.selectList(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list. If the select result is zero, it returns empty list. (NotNull)
+     */
+    public java.util.List<OrdersStatusDescription> selectList(jp.sf.pal.pompei.cbean.OrdersStatusDescriptionCB cb);
+
+
+    /**
+     * Insert one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Inserted count.
+     */
+    public int insert(OrdersStatusDescription entity);
+
+    /**
+     * Update one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int update(OrdersStatusDescription entity);
+
+    /**
+     * Update one entity. (modified only)
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int updateModifiedOnly(OrdersStatusDescription entity);
+  
+    /**
+     * Delete one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Deleted count.
+     */
+    public int delete(OrdersStatusDescription entity);
+  
+    /**
+     * Insert several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Inserted count.
+     */
+    public int insertList(java.util.List<OrdersStatusDescription> entityList);
+
+    /**
+     * Update several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Updated count.
+     */
+    public int updateList(java.util.List<OrdersStatusDescription> entityList);
+
+    /**
+     * Delete several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Deleted count.
+     */
+    public int deleteList(java.util.List<OrdersStatusDescription> entityList);
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDescriptionDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusHistoryDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusHistoryDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusHistoryDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,7 +14,7 @@
  *     ORDERS_STATUS_HISTORY_ID, ORDERS_ID, ORDERS_STATUS_ID, DATE_ADDED, CUSTOMER_NOTIFIED, COMMENTS
  * 
  * [foreign-property]
- *     ordersStatus
+ *     orders, ordersStatus
  * 
  * [refferer-property]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersTotalDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersTotalDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersTotalDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersTotalId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,7 +14,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ID, OPTIONS_ID, OPTIONS_VALUES_ID, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     products
+ *     products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     productsAttributesDownloadList

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -11,19 +11,19 @@
  *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsId
  * 
  * [update-date]
  *     
@@ -51,7 +51,7 @@
     public int getCountAll();
 
     /** SQL-Annotation for getListAll(). */
-    public static final String getListAll_SQL = "select PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME from PRODUCTS_OPTIONS";
+    public static final String getListAll_SQL = "select PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS";
 
     /**
      * Get list as all.
@@ -61,7 +61,7 @@
     public java.util.List<ProductsOptions> getListAll();
 
     /** SQL-Annotation for getEntity(). */
-    public static final String getEntity_SQL = "select PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME from PRODUCTS_OPTIONS where PRODUCTS_OPTIONS.PRODUCTS_OPTIONS_ID = /*productsOptionsId*/null";
+    public static final String getEntity_SQL = "select PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS where PRODUCTS_OPTIONS.PRODUCTS_OPTIONS_ID = /*productsOptionsId*/null";
 
     /** Args-Annotation for getEntity(). */
     public static final String getEntity_ARGS = "productsOptionsId";

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,186 @@
+package jp.sf.pal.pompei.bsdao;
+
+
+import jp.sf.pal.pompei.exentity.ProductsOptionsDescription;
+
+/**
+ * The dao interface of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptions
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsProductsOptionsDescriptionDao extends jp.sf.pal.pompei.allcommon.DaoWritable {
+
+    /** BEAN-Annotation. */
+    public Class BEAN = jp.sf.pal.pompei.exentity.ProductsOptionsDescription.class;
+
+    /** SQL-Annotation for getCountAll(). */
+    public static final String getCountAll_SQL = "select count(*) from PRODUCTS_OPTIONS_DESCRIPTION";
+
+    /**
+     * Get count as all.
+     * 
+     * @return All count.
+     */
+    public int getCountAll();
+
+    /** SQL-Annotation for getListAll(). */
+    public static final String getListAll_SQL = "select PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME from PRODUCTS_OPTIONS_DESCRIPTION";
+
+    /**
+     * Get list as all.
+     * 
+     * @return All list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsDescription> getListAll();
+
+    /** SQL-Annotation for getEntity(). */
+    public static final String getEntity_SQL = "select PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME from PRODUCTS_OPTIONS_DESCRIPTION where PRODUCTS_OPTIONS_DESCRIPTION.PRODUCTS_OPTIONS_ID = /*productsOptionsId*/null and PRODUCTS_OPTIONS_DESCRIPTION.LANGUAGE_ID = /*languageId*/null";
+
+    /** Args-Annotation for getEntity(). */
+    public static final String getEntity_ARGS = "productsOptionsId, languageId";
+
+    /* (non-javadoc)
+     * Get entity by primary key.
+     * 
+     * @param primaryKey Primary key. (NotNull)
+     */
+    public ProductsOptionsDescription getEntity(java.math.BigDecimal productsOptionsId, java.math.BigDecimal languageId);
+
+    /**
+     * Select count by condition-bean.
+     * <pre>
+     * Ignore fetchFirst() and fetchScope() and fetchPage().
+     * But the fetch status of the condition-bean remains as it is.
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final ProductsOptionsDescriptionCB cb = new ProductsOptionsDescriptionCB();
+     *   cb.query().setXxx_GreaterEqual(new BigDecimal(14));
+     *   final int count = dao.selectCount(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected count. (NotNull)
+     */
+    public int selectCount(jp.sf.pal.pompei.cbean.ProductsOptionsDescriptionCB cb);
+
+    /**
+     * Select entity 'ProductsOptionsDescription' by condition-bean.
+     * <pre>
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final ProductsOptionsDescriptionCB cb = new ProductsOptionsDescriptionCB();
+     *   cb.query().setXxxCode_Equal("abc");// It is assumed that this is the primary key...
+     *   cb.lockForUpdate();
+     *   final ProductsOptionsDescription entity = dao.selectEntity(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. If the select result is zero, it returns null. (Nullable)
+     */
+    public ProductsOptionsDescription selectEntity(jp.sf.pal.pompei.cbean.ProductsOptionsDescriptionCB cb);
+
+    /**
+     * Select list by condition-bean.
+     * <pre>
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final ProductsOptionsDescriptionCB cb = new ProductsOptionsDescriptionCB();
+     *   cb.setupSelect_Xxx(); // Including the foreign table in select clause
+     *   cb.query().setXxxName_PrefixSearch("abc");
+     *   cb.query().setXxxStartDate_IsNotNull();
+     *   cb.addOrderBy_PK_Asc().fetchFirst(20);
+     *   final List resultList = dao.selectList(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list. If the select result is zero, it returns empty list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsDescription> selectList(jp.sf.pal.pompei.cbean.ProductsOptionsDescriptionCB cb);
+
+
+    /**
+     * Insert one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Inserted count.
+     */
+    public int insert(ProductsOptionsDescription entity);
+
+    /**
+     * Update one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int update(ProductsOptionsDescription entity);
+
+    /**
+     * Update one entity. (modified only)
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int updateModifiedOnly(ProductsOptionsDescription entity);
+  
+    /**
+     * Delete one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Deleted count.
+     */
+    public int delete(ProductsOptionsDescription entity);
+  
+    /**
+     * Insert several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Inserted count.
+     */
+    public int insertList(java.util.List<ProductsOptionsDescription> entityList);
+
+    /**
+     * Update several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Updated count.
+     */
+    public int updateList(java.util.List<ProductsOptionsDescription> entityList);
+
+    /**
+     * Delete several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Deleted count.
+     */
+    public int deleteList(java.util.List<ProductsOptionsDescription> entityList);
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDescriptionDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -11,19 +11,19 @@
  *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsValuesDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesId
  * 
  * [update-date]
  *     
@@ -51,7 +51,7 @@
     public int getCountAll();
 
     /** SQL-Annotation for getListAll(). */
-    public static final String getListAll_SQL = "select PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME from PRODUCTS_OPTIONS_VALUES";
+    public static final String getListAll_SQL = "select PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES";
 
     /**
      * Get list as all.
@@ -61,7 +61,7 @@
     public java.util.List<ProductsOptionsValues> getListAll();
 
     /** SQL-Annotation for getEntity(). */
-    public static final String getEntity_SQL = "select PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME from PRODUCTS_OPTIONS_VALUES where PRODUCTS_OPTIONS_VALUES.PRODUCTS_OPTIONS_VALUES_ID = /*productsOptionsValuesId*/null";
+    public static final String getEntity_SQL = "select PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES where PRODUCTS_OPTIONS_VALUES.PRODUCTS_OPTIONS_VALUES_ID = /*productsOptionsValuesId*/null";
 
     /** Args-Annotation for getEntity(). */
     public static final String getEntity_ARGS = "productsOptionsValuesId";

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,186 @@
+package jp.sf.pal.pompei.bsdao;
+
+
+import jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription;
+
+/**
+ * The dao interface of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptionsValues
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsProductsOptionsValuesDescriptionDao extends jp.sf.pal.pompei.allcommon.DaoWritable {
+
+    /** BEAN-Annotation. */
+    public Class BEAN = jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription.class;
+
+    /** SQL-Annotation for getCountAll(). */
+    public static final String getCountAll_SQL = "select count(*) from PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+
+    /**
+     * Get count as all.
+     * 
+     * @return All count.
+     */
+    public int getCountAll();
+
+    /** SQL-Annotation for getListAll(). */
+    public static final String getListAll_SQL = "select PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME from PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+
+    /**
+     * Get list as all.
+     * 
+     * @return All list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValuesDescription> getListAll();
+
+    /** SQL-Annotation for getEntity(). */
+    public static final String getEntity_SQL = "select PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME from PRODUCTS_OPTIONS_VALUES_DESCRIPTION where PRODUCTS_OPTIONS_VALUES_DESCRIPTION.PRODUCTS_OPTIONS_VALUES_ID = /*productsOptionsValuesId*/null and PRODUCTS_OPTIONS_VALUES_DESCRIPTION.LANGUAGE_ID = /*languageId*/null";
+
+    /** Args-Annotation for getEntity(). */
+    public static final String getEntity_ARGS = "productsOptionsValuesId, languageId";
+
+    /* (non-javadoc)
+     * Get entity by primary key.
+     * 
+     * @param primaryKey Primary key. (NotNull)
+     */
+    public ProductsOptionsValuesDescription getEntity(java.math.BigDecimal productsOptionsValuesId, java.math.BigDecimal languageId);
+
+    /**
+     * Select count by condition-bean.
+     * <pre>
+     * Ignore fetchFirst() and fetchScope() and fetchPage().
+     * But the fetch status of the condition-bean remains as it is.
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final ProductsOptionsValuesDescriptionCB cb = new ProductsOptionsValuesDescriptionCB();
+     *   cb.query().setXxx_GreaterEqual(new BigDecimal(14));
+     *   final int count = dao.selectCount(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected count. (NotNull)
+     */
+    public int selectCount(jp.sf.pal.pompei.cbean.ProductsOptionsValuesDescriptionCB cb);
+
+    /**
+     * Select entity 'ProductsOptionsValuesDescription' by condition-bean.
+     * <pre>
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final ProductsOptionsValuesDescriptionCB cb = new ProductsOptionsValuesDescriptionCB();
+     *   cb.query().setXxxCode_Equal("abc");// It is assumed that this is the primary key...
+     *   cb.lockForUpdate();
+     *   final ProductsOptionsValuesDescription entity = dao.selectEntity(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected entity. If the select result is zero, it returns null. (Nullable)
+     */
+    public ProductsOptionsValuesDescription selectEntity(jp.sf.pal.pompei.cbean.ProductsOptionsValuesDescriptionCB cb);
+
+    /**
+     * Select list by condition-bean.
+     * <pre>
+     * This select method generates SQL based on condition-bean.
+     * 
+     * Example)
+     *   final ProductsOptionsValuesDescriptionCB cb = new ProductsOptionsValuesDescriptionCB();
+     *   cb.setupSelect_Xxx(); // Including the foreign table in select clause
+     *   cb.query().setXxxName_PrefixSearch("abc");
+     *   cb.query().setXxxStartDate_IsNotNull();
+     *   cb.addOrderBy_PK_Asc().fetchFirst(20);
+     *   final List resultList = dao.selectList(cb);
+     * </pre>
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return Selected list. If the select result is zero, it returns empty list. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValuesDescription> selectList(jp.sf.pal.pompei.cbean.ProductsOptionsValuesDescriptionCB cb);
+
+
+    /**
+     * Insert one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Inserted count.
+     */
+    public int insert(ProductsOptionsValuesDescription entity);
+
+    /**
+     * Update one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int update(ProductsOptionsValuesDescription entity);
+
+    /**
+     * Update one entity. (modified only)
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Updated count.
+     */
+    public int updateModifiedOnly(ProductsOptionsValuesDescription entity);
+  
+    /**
+     * Delete one entity.
+     * 
+     * @param entity Entity. (NotNull)
+     * @return Deleted count.
+     */
+    public int delete(ProductsOptionsValuesDescription entity);
+  
+    /**
+     * Insert several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Inserted count.
+     */
+    public int insertList(java.util.List<ProductsOptionsValuesDescription> entityList);
+
+    /**
+     * Update several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Updated count.
+     */
+    public int updateList(java.util.List<ProductsOptionsValuesDescription> entityList);
+
+    /**
+     * Delete several entities.
+     * 
+     * @param entityList Entity-list. (NotNull)
+     * @return Deleted count.
+     */
+    public int deleteList(java.util.List<ProductsOptionsValuesDescription> entityList);
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDescriptionDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesToProductsOptionsDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesToProductsOptionsDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesToProductsOptionsDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesToProductsOptionsId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsSpecialsDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsSpecialsDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsSpecialsDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     specialsId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxClassDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxClassDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxClassDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxClassId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxRatesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxRatesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxRatesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxRatesId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     zoneId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesToGeoZonesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesToGeoZonesDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesToGeoZonesDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -23,7 +23,7 @@
  *     
  * 
  * [identity]
- *     
+ *     associationId
  * 
  * [update-date]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of addressBookId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of addressBookId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _addressBookId;
 
     /** The value of customersId. INTEGER : NotNull : FK to CUSTOMERS */
@@ -173,12 +173,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String addressBookId_COLUMN = "ADDRESS_BOOK_ID";
 
     /**
      * Get the value of addressBookId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of addressBookId. (Nullable)
      */
@@ -188,7 +188,7 @@
 
     /**
      * Set the value of addressBookId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param addressBookId The value of addressBookId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressFormat.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressFormat.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressFormat.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     addressFormatId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is ADDRESS_FORMAT. */
     public static final String TABLE = "ADDRESS_FORMAT";
 
+    
+    /** ID-Annotation */
+    public static final String addressFormatId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of addressFormatId. PK : INTEGER : NotNull */
+    /** The value of addressFormatId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _addressFormatId;
 
     /** The value of addressFormat. VARCHAR(128) : NotNull */
@@ -128,12 +131,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String addressFormatId_COLUMN = "ADDRESS_FORMAT_ID";
 
     /**
      * Get the value of addressFormatId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of addressFormatId. (Nullable)
      */
@@ -143,7 +146,7 @@
 
     /**
      * Set the value of addressFormatId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param addressFormatId The value of addressFormatId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBanners.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBanners.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBanners.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is BANNERS. */
     public static final String TABLE = "BANNERS";
 
+    
+    /** ID-Annotation */
+    public static final String bannersId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of bannersId. PK : INTEGER : NotNull */
+    /** The value of bannersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _bannersId;
 
     /** The value of bannersTitle. VARCHAR(64) : NotNull */
@@ -155,12 +158,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String bannersId_COLUMN = "BANNERS_ID";
 
     /**
      * Get the value of bannersId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of bannersId. (Nullable)
      */
@@ -170,7 +173,7 @@
 
     /**
      * Set the value of bannersId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param bannersId The value of bannersId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBannersHistory.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBannersHistory.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBannersHistory.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersHistoryId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is BANNERS_HISTORY. */
     public static final String TABLE = "BANNERS_HISTORY";
 
+    
+    /** ID-Annotation */
+    public static final String bannersHistoryId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of bannersHistoryId. PK : INTEGER : NotNull */
+    /** The value of bannersHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _bannersHistoryId;
 
     /** The value of bannersId. INTEGER : NotNull : FK to BANNERS */
@@ -134,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String bannersHistoryId_COLUMN = "BANNERS_HISTORY_ID";
 
     /**
      * Get the value of bannersHistoryId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of bannersHistoryId. (Nullable)
      */
@@ -149,7 +152,7 @@
 
     /**
      * Set the value of bannersHistoryId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param bannersHistoryId The value of bannersHistoryId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategories.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategories.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategories.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -17,10 +17,10 @@
  *     CATEGORIES_ID, CATEGORIES_IMAGE, PARENT_ID, SORT_ORDER, DATE_ADDED, LAST_MODIFIED
  * 
  * [foreign-property]
- *     
+ *     categoriesSelf
  * 
  * [refferer-property]
- *     categoriesDescriptionList, productsToCategoriesList
+ *     categoriesSelfList, categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     
@@ -57,13 +57,13 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of categoriesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of categoriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _categoriesId;
 
     /** The value of categoriesImage. VARCHAR(64) */
     protected String _categoriesImage;
 
-    /** The value of parentId. INTEGER : NotNull : Default=[0] */
+    /** The value of parentId. INTEGER : Default=[0] : FK to CATEGORIES */
     protected java.math.BigDecimal _parentId;
 
     /** The value of sortOrder. INTEGER */
@@ -140,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String categoriesId_COLUMN = "CATEGORIES_ID";
 
     /**
      * Get the value of categoriesId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of categoriesId. (Nullable)
      */
@@ -155,7 +155,7 @@
 
     /**
      * Set the value of categoriesId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param categoriesId The value of categoriesId. (Nullable)
      */
@@ -188,12 +188,12 @@
         this._categoriesImage = categoriesImage;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. INTEGER : Default=[0] : FK to CATEGORIES */
     public static final String parentId_COLUMN = "PARENT_ID";
 
     /**
      * Get the value of parentId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : Default=[0] : FK to CATEGORIES}
      * 
      * @return The value of parentId. (Nullable)
      */
@@ -203,7 +203,7 @@
 
     /**
      * Set the value of parentId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : Default=[0] : FK to CATEGORIES}
      * 
      * @param parentId The value of parentId. (Nullable)
      */
@@ -303,12 +303,91 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CATEGORIES(TABLE)]
+    //   ForeignProperty = [categoriesSelf]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int categoriesSelf_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String categoriesSelf_RELKEYS = "PARENT_ID:CATEGORIES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Categories _parentCategoriesSelf;
+
+    /**
+     * Get the entity of foreign table of categoriesSelf. {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.Categories getCategoriesSelf() {
+        return _parentCategoriesSelf;
+    }
+
+    /**
+     * Set the entity of foreign table of categoriesSelf.
+     * 
+     * @param categoriesSelf The entity of foreign table. (Nullable)
+     */
+    public void setCategoriesSelf(jp.sf.pal.pompei.exentity.Categories categoriesSelf) {
+        this._parentCategoriesSelf = categoriesSelf;
+    }
+
+    /**
+     * Has relation object of categoriesSelf.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCategoriesSelf() {
+        return _parentCategoriesSelf != null && _parentCategoriesSelf.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of categoriesSelf.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.Categories traceCategoriesSelf() {
+        return _parentCategoriesSelf != null ? _parentCategoriesSelf : new jp.sf.pal.pompei.exentity.Categories();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
 
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CATEGORIES(TABLE)]
+    //   RefererProperty = [categoriesSelfList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Categories> _childrenCategoriesSelfList;
+
+    /**
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
+     * 
+     * @return The list of referer table. (Nullable)
+     */
+    public java.util.List<jp.sf.pal.pompei.exentity.Categories> getCategoriesSelfList() {
+        return _childrenCategoriesSelfList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param categoriesSelfList The list of refferer table. (Nullable)
+     */
+    public void setCategoriesSelfList(java.util.List<jp.sf.pal.pompei.exentity.Categories> categoriesSelfList) {
+        this._childrenCategoriesSelfList = categoriesSelfList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [CATEGORIES_DESCRIPTION(TABLE)]
     //   RefererProperty = [categoriesDescriptionList]
     // * * * * * * * * */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfiguration.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfiguration.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfiguration.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is CONFIGURATION. */
     public static final String TABLE = "CONFIGURATION";
 
+    
+    /** ID-Annotation */
+    public static final String configurationId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of configurationId. PK : INTEGER : NotNull */
+    /** The value of configurationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _configurationId;
 
     /** The value of configurationTitle. VARCHAR(64) : NotNull */
@@ -152,12 +155,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String configurationId_COLUMN = "CONFIGURATION_ID";
 
     /**
      * Get the value of configurationId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of configurationId. (Nullable)
      */
@@ -167,7 +170,7 @@
 
     /**
      * Set the value of configurationId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param configurationId The value of configurationId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfigurationGroup.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfigurationGroup.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfigurationGroup.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationGroupId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is CONFIGURATION_GROUP. */
     public static final String TABLE = "CONFIGURATION_GROUP";
 
+    
+    /** ID-Annotation */
+    public static final String configurationGroupId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of configurationGroupId. PK : INTEGER : NotNull */
+    /** The value of configurationGroupId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _configurationGroupId;
 
     /** The value of configurationGroupTitle. VARCHAR(64) : NotNull */
@@ -134,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String configurationGroupId_COLUMN = "CONFIGURATION_GROUP_ID";
 
     /**
      * Get the value of configurationGroupId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of configurationGroupId. (Nullable)
      */
@@ -149,7 +152,7 @@
 
     /**
      * Set the value of configurationGroupId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param configurationGroupId The value of configurationGroupId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountries.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountries.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountries.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     countriesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is COUNTRIES. */
     public static final String TABLE = "COUNTRIES";
 
+    
+    /** ID-Annotation */
+    public static final String countriesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of countriesId. PK : INTEGER : NotNull */
+    /** The value of countriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _countriesId;
 
     /** The value of countriesName. VARCHAR(64) : NotNull */
@@ -134,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String countriesId_COLUMN = "COUNTRIES_ID";
 
     /**
      * Get the value of countriesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of countriesId. (Nullable)
      */
@@ -149,7 +152,7 @@
 
     /**
      * Set the value of countriesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param countriesId The value of countriesId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCurrencies.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCurrencies.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCurrencies.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     currenciesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is CURRENCIES. */
     public static final String TABLE = "CURRENCIES";
 
+    
+    /** ID-Annotation */
+    public static final String currenciesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of currenciesId. PK : INTEGER : NotNull */
+    /** The value of currenciesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _currenciesId;
 
     /** The value of title. VARCHAR(32) : NotNull */
@@ -149,12 +152,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String currenciesId_COLUMN = "CURRENCIES_ID";
 
     /**
      * Get the value of currenciesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of currenciesId. (Nullable)
      */
@@ -164,7 +167,7 @@
 
     /**
      * Set the value of currenciesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param currenciesId The value of currenciesId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomers.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomers.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomers.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of customersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of customersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _customersId;
 
     /** The value of customersPortalId. VARCHAR(255) : NotNull */
@@ -158,12 +158,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String customersId_COLUMN = "CUSTOMERS_ID";
 
     /**
      * Get the value of customersId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of customersId. (Nullable)
      */
@@ -173,7 +173,7 @@
 
     /**
      * Set the value of customersId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param customersId The value of customersId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasket.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasket.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasket.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is CUSTOMERS_BASKET. */
     public static final String TABLE = "CUSTOMERS_BASKET";
 
+    
+    /** ID-Annotation */
+    public static final String customersBasketId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of customersBasketId. PK : INTEGER : NotNull */
+    /** The value of customersBasketId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _customersBasketId;
 
     /** The value of customersId. INTEGER : NotNull : FK to CUSTOMERS */
@@ -137,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String customersBasketId_COLUMN = "CUSTOMERS_BASKET_ID";
 
     /**
      * Get the value of customersBasketId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of customersBasketId. (Nullable)
      */
@@ -152,7 +155,7 @@
 
     /**
      * Set the value of customersBasketId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param customersBasketId The value of customersBasketId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasketAttributes.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasketAttributes.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasketAttributes.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketAttributesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is CUSTOMERS_BASKET_ATTRIBUTES. */
     public static final String TABLE = "CUSTOMERS_BASKET_ATTRIBUTES";
 
+    
+    /** ID-Annotation */
+    public static final String customersBasketAttributesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of customersBasketAttributesId. PK : INTEGER : NotNull */
+    /** The value of customersBasketAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _customersBasketAttributesId;
 
     /** The value of customersId. INTEGER : NotNull : FK to CUSTOMERS */
@@ -134,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String customersBasketAttributesId_COLUMN = "CUSTOMERS_BASKET_ATTRIBUTES_ID";
 
     /**
      * Get the value of customersBasketAttributesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of customersBasketAttributesId. (Nullable)
      */
@@ -149,7 +152,7 @@
 
     /**
      * Set the value of customersBasketAttributesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param customersBasketAttributesId The value of customersBasketAttributesId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersInfo.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersInfo.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersInfo.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersInfoId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is CUSTOMERS_INFO. */
     public static final String TABLE = "CUSTOMERS_INFO";
 
+    
+    /** ID-Annotation */
+    public static final String customersInfoId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of customersInfoId. PK : INTEGER : NotNull : FK to CUSTOMERS */
+    /** The value of customersInfoId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS */
     protected java.math.BigDecimal _customersInfoId;
 
     /** The value of customersInfoDateOfLastLogon. TIMESTAMP */
@@ -137,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to CUSTOMERS */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS */
     public static final String customersInfoId_COLUMN = "CUSTOMERS_INFO_ID";
 
     /**
      * Get the value of customersInfoId. <br />
-     * {PK : INTEGER : NotNull : FK to CUSTOMERS}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS}
      * 
      * @return The value of customersInfoId. (Nullable)
      */
@@ -152,7 +155,7 @@
 
     /**
      * Set the value of customersInfoId. <br />
-     * {PK : INTEGER : NotNull : FK to CUSTOMERS}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS}
      * 
      * @param customersInfoId The value of customersInfoId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethod.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _deliveryMethodId;
 
     /** The value of deliveryClass. VARCHAR(128) : NotNull */
@@ -140,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String deliveryMethodId_COLUMN = "DELIVERY_METHOD_ID";
 
     /**
      * Get the value of deliveryMethodId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of deliveryMethodId. (Nullable)
      */
@@ -155,7 +155,7 @@
 
     /**
      * Set the value of deliveryMethodId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param deliveryMethodId The value of deliveryMethodId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,7 +14,7 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
  * 
  * [foreign-property]
  *     deliveryMethod, languages
@@ -57,15 +57,12 @@
     /** The value of deliveryMethodId. PK : INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
     protected java.math.BigDecimal _deliveryMethodId;
 
-    /** The value of languageId. PK : INTEGER : NotNull : Default=[1] */
+    /** The value of languageId. PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     protected java.math.BigDecimal _languageId;
 
     /** The value of deliveryMethodName. VARCHAR(32) : NotNull */
     protected String _deliveryMethodName;
 
-    /** The value of languagesId. INTEGER : NotNull : FK to LANGUAGES */
-    protected java.math.BigDecimal _languagesId;
-
     // ===================================================================================
     //                                                                         Constructor
     //                                                                         ===========
@@ -155,12 +152,12 @@
         this._deliveryMethodId = deliveryMethodId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[1] */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     public static final String languageId_COLUMN = "LANGUAGE_ID";
 
     /**
      * Get the value of languageId. <br />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @return The value of languageId. (Nullable)
      */
@@ -170,7 +167,7 @@
 
     /**
      * Set the value of languageId. <br />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @param languageId The value of languageId. (Nullable)
      */
@@ -203,44 +200,20 @@
         this._deliveryMethodName = deliveryMethodName;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to LANGUAGES */
-    public static final String languagesId_COLUMN = "LANGUAGES_ID";
 
-    /**
-     * Get the value of languagesId. <br />
-     * {INTEGER : NotNull : FK to LANGUAGES}
-     * 
-     * @return The value of languagesId. (Nullable)
-     */
-    public java.math.BigDecimal getLanguagesId() {
-        return _languagesId;
-    }
-
-    /**
-     * Set the value of languagesId. <br />
-     * {INTEGER : NotNull : FK to LANGUAGES}
-     * 
-     * @param languagesId The value of languagesId. (Nullable)
-     */
-    public void setLanguagesId(java.math.BigDecimal languagesId) {
-        _modifiedProperties.addPropertyName("languagesId");
-        this._languagesId = languagesId;
-    }
-
-
     // ===================================================================================
     //                                                                     Classify Method
     //                                                                     ===============
-        
+      
     // ===================================================================================
     //                                                        Classification Determination
     //                                                        ============================
-        
+      
 
     // ===================================================================================
     //                                                               Classification Getter
     //                                                               =====================
-        
+      
 
     // ===================================================================================
     //                                                                       Foreign Table
@@ -305,7 +278,7 @@
     public static final int languages_RELNO = 1;
 
     /** RELKEYS of foreign table for s2dao. */
-    public static final String languages_RELKEYS = "LANGUAGES_ID:LANGUAGES_ID";
+    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
 
     /** The entity of foreign table. */
     protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
@@ -459,7 +432,6 @@
         sb.append(delimiter).append(getDeliveryMethodId());
         sb.append(delimiter).append(getLanguageId());
         sb.append(delimiter).append(getDeliveryMethodName());
-        sb.append(delimiter).append(getLanguagesId());
 
         sb.delete(0, delimiter.length());
         sb.insert(0, "{").append("}");

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsGeoZones.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsGeoZones.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsGeoZones.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     geoZoneId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is GEO_ZONES. */
     public static final String TABLE = "GEO_ZONES";
 
+    
+    /** ID-Annotation */
+    public static final String geoZoneId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of geoZoneId. PK : INTEGER : NotNull */
+    /** The value of geoZoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _geoZoneId;
 
     /** The value of geoZoneName. VARCHAR(32) : NotNull */
@@ -134,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String geoZoneId_COLUMN = "GEO_ZONE_ID";
 
     /**
      * Get the value of geoZoneId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of geoZoneId. (Nullable)
      */
@@ -149,7 +152,7 @@
 
     /**
      * Set the value of geoZoneId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param geoZoneId The value of geoZoneId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsLanguages.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsLanguages.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsLanguages.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -20,13 +20,13 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusDescriptionList, productsDescriptionList, productsOptionsDescriptionList, productsOptionsValuesDescriptionList, reviewsDescriptionList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     languagesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is LANGUAGES. */
     public static final String TABLE = "LANGUAGES";
 
+    
+    /** ID-Annotation */
+    public static final String languagesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of languagesId. PK : INTEGER : NotNull */
+    /** The value of languagesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _languagesId;
 
     /** The value of name. VARCHAR(32) : NotNull */
@@ -137,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String languagesId_COLUMN = "LANGUAGES_ID";
 
     /**
      * Get the value of languagesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of languagesId. (Nullable)
      */
@@ -152,7 +155,7 @@
 
     /**
      * Set the value of languagesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param languagesId The value of languagesId. (Nullable)
      */
@@ -393,13 +396,13 @@
   
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [ORDERS_STATUS(TABLE)]
-    //   RefererProperty = [ordersStatusList]
+    //   RefererTable    = [ORDERS_STATUS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [ordersStatusDescriptionList]
     // * * * * * * * * */
 
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersStatus> _childrenOrdersStatusList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusDescription> _childrenOrdersStatusDescriptionList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -407,17 +410,17 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.OrdersStatus> getOrdersStatusList() {
-        return _childrenOrdersStatusList;
+    public java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusDescription> getOrdersStatusDescriptionList() {
+        return _childrenOrdersStatusDescriptionList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param ordersStatusList The list of refferer table. (Nullable)
+     * @param ordersStatusDescriptionList The list of refferer table. (Nullable)
      */
-    public void setOrdersStatusList(java.util.List<jp.sf.pal.pompei.exentity.OrdersStatus> ordersStatusList) {
-        this._childrenOrdersStatusList = ordersStatusList;
+    public void setOrdersStatusDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusDescription> ordersStatusDescriptionList) {
+        this._childrenOrdersStatusDescriptionList = ordersStatusDescriptionList;
     }
   
   
@@ -451,13 +454,13 @@
   
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [PRODUCTS_OPTIONS(TABLE)]
-    //   RefererProperty = [productsOptionsList]
+    //   RefererTable    = [PRODUCTS_OPTIONS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [productsOptionsDescriptionList]
     // * * * * * * * * */
 
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptions> _childrenProductsOptionsList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsDescription> _childrenProductsOptionsDescriptionList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -465,28 +468,28 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.ProductsOptions> getProductsOptionsList() {
-        return _childrenProductsOptionsList;
+    public java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsDescription> getProductsOptionsDescriptionList() {
+        return _childrenProductsOptionsDescriptionList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param productsOptionsList The list of refferer table. (Nullable)
+     * @param productsOptionsDescriptionList The list of refferer table. (Nullable)
      */
-    public void setProductsOptionsList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptions> productsOptionsList) {
-        this._childrenProductsOptionsList = productsOptionsList;
+    public void setProductsOptionsDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsDescription> productsOptionsDescriptionList) {
+        this._childrenProductsOptionsDescriptionList = productsOptionsDescriptionList;
     }
   
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES(TABLE)]
-    //   RefererProperty = [productsOptionsValuesList]
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE)]
+    //   RefererProperty = [productsOptionsValuesDescriptionList]
     // * * * * * * * * */
 
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValues> _childrenProductsOptionsValuesList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription> _childrenProductsOptionsValuesDescriptionList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -494,17 +497,17 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValues> getProductsOptionsValuesList() {
-        return _childrenProductsOptionsValuesList;
+    public java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription> getProductsOptionsValuesDescriptionList() {
+        return _childrenProductsOptionsValuesDescriptionList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param productsOptionsValuesList The list of refferer table. (Nullable)
+     * @param productsOptionsValuesDescriptionList The list of refferer table. (Nullable)
      */
-    public void setProductsOptionsValuesList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValues> productsOptionsValuesList) {
-        this._childrenProductsOptionsValuesList = productsOptionsValuesList;
+    public void setProductsOptionsValuesDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        this._childrenProductsOptionsValuesDescriptionList = productsOptionsValuesDescriptionList;
     }
   
   

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturers.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturers.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturers.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of manufacturersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of manufacturersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _manufacturersId;
 
     /** The value of manufacturersName. VARCHAR(32) : NotNull */
@@ -137,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String manufacturersId_COLUMN = "MANUFACTURERS_ID";
 
     /**
      * Get the value of manufacturersId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of manufacturersId. (Nullable)
      */
@@ -152,7 +152,7 @@
 
     /**
      * Set the value of manufacturersId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param manufacturersId The value of manufacturersId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsNewsletters.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsNewsletters.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsNewsletters.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     newslettersId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is NEWSLETTERS. */
     public static final String TABLE = "NEWSLETTERS";
 
+    
+    /** ID-Annotation */
+    public static final String newslettersId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of newslettersId. PK : INTEGER : NotNull */
+    /** The value of newslettersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _newslettersId;
 
     /** The value of title. VARCHAR(255) : NotNull */
@@ -143,12 +146,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String newslettersId_COLUMN = "NEWSLETTERS_ID";
 
     /**
      * Get the value of newslettersId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of newslettersId. (Nullable)
      */
@@ -158,7 +161,7 @@
 
     /**
      * Set the value of newslettersId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param newslettersId The value of newslettersId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrders.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrders.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrders.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -20,7 +20,7 @@
  *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersStatusHistoryList, ordersTotalList
  * 
  * [sequence]
  *     
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of ordersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _ordersId;
 
     /** The value of customersId. INTEGER : NotNull : FK to CUSTOMERS */
@@ -266,12 +266,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String ordersId_COLUMN = "ORDERS_ID";
 
     /**
      * Get the value of ordersId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of ordersId. (Nullable)
      */
@@ -281,7 +281,7 @@
 
     /**
      * Set the value of ordersId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param ordersId The value of ordersId. (Nullable)
      */
@@ -1780,6 +1780,35 @@
   
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_STATUS_HISTORY(TABLE)]
+    //   RefererProperty = [ordersStatusHistoryList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusHistory> _childrenOrdersStatusHistoryList;
+
+    /**
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
+     * 
+     * @return The list of referer table. (Nullable)
+     */
+    public java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusHistory> getOrdersStatusHistoryList() {
+        return _childrenOrdersStatusHistoryList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersStatusHistoryList The list of refferer table. (Nullable)
+     */
+    public void setOrdersStatusHistoryList(java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusHistory> ordersStatusHistoryList) {
+        this._childrenOrdersStatusHistoryList = ordersStatusHistoryList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS_TOTAL(TABLE)]
     //   RefererProperty = [ordersTotalList]
     // * * * * * * * * */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProducts.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProducts.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProducts.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _ordersProductsId;
 
     /** The value of ordersId. INTEGER : NotNull : FK to ORDERS */
@@ -149,12 +149,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String ordersProductsId_COLUMN = "ORDERS_PRODUCTS_ID";
 
     /**
      * Get the value of ordersProductsId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of ordersProductsId. (Nullable)
      */
@@ -164,7 +164,7 @@
 
     /**
      * Set the value of ordersProductsId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param ordersProductsId The value of ordersProductsId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsAttributes.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsAttributes.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsAttributes.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsAttributesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is ORDERS_PRODUCTS_ATTRIBUTES. */
     public static final String TABLE = "ORDERS_PRODUCTS_ATTRIBUTES";
 
+    
+    /** ID-Annotation */
+    public static final String ordersProductsAttributesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersProductsAttributesId. PK : INTEGER : NotNull */
+    /** The value of ordersProductsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _ordersProductsAttributesId;
 
     /** The value of ordersId. INTEGER : NotNull : FK to ORDERS */
@@ -140,12 +143,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String ordersProductsAttributesId_COLUMN = "ORDERS_PRODUCTS_ATTRIBUTES_ID";
 
     /**
      * Get the value of ordersProductsAttributesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of ordersProductsAttributesId. (Nullable)
      */
@@ -155,7 +158,7 @@
 
     /**
      * Set the value of ordersProductsAttributesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param ordersProductsAttributesId The value of ordersProductsAttributesId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsDownload.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsDownload.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsDownload.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsDownloadId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is ORDERS_PRODUCTS_DOWNLOAD. */
     public static final String TABLE = "ORDERS_PRODUCTS_DOWNLOAD";
 
+    
+    /** ID-Annotation */
+    public static final String ordersProductsDownloadId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersProductsDownloadId. PK : INTEGER : NotNull */
+    /** The value of ordersProductsDownloadId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _ordersProductsDownloadId;
 
     /** The value of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
@@ -137,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String ordersProductsDownloadId_COLUMN = "ORDERS_PRODUCTS_DOWNLOAD_ID";
 
     /**
      * Get the value of ordersProductsDownloadId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of ordersProductsDownloadId. (Nullable)
      */
@@ -152,7 +155,7 @@
 
     /**
      * Set the value of ordersProductsDownloadId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param ordersProductsDownloadId The value of ordersProductsDownloadId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatus.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatus.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatus.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,13 +14,13 @@
  *     ORDERS_STATUS_ID
  * 
  * [column-property]
- *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ *     ORDERS_STATUS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     ordersList, ordersStatusHistoryList
+ *     ordersList, ordersStatusDescriptionList, ordersStatusHistoryList
  * 
  * [sequence]
  *     
@@ -54,15 +54,9 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
+    /** The value of ordersStatusId. PK : INTEGER : NotNull : Default=[0] */
     protected java.math.BigDecimal _ordersStatusId;
 
-    /** The value of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    protected java.math.BigDecimal _languageId;
-
-    /** The value of ordersStatusName. VARCHAR(32) : NotNull */
-    protected String _ordersStatusName;
-
     // ===================================================================================
     //                                                                         Constructor
     //                                                                         ===========
@@ -128,12 +122,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[1] */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[0] */
     public static final String ordersStatusId_COLUMN = "ORDERS_STATUS_ID";
 
     /**
      * Get the value of ordersStatusId. <br />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {PK : INTEGER : NotNull : Default=[0]}
      * 
      * @return The value of ordersStatusId. (Nullable)
      */
@@ -143,7 +137,7 @@
 
     /**
      * Set the value of ordersStatusId. <br />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {PK : INTEGER : NotNull : Default=[0]}
      * 
      * @param ordersStatusId The value of ordersStatusId. (Nullable)
      */
@@ -152,136 +146,67 @@
         this._ordersStatusId = ordersStatusId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String languageId_COLUMN = "LANGUAGE_ID";
 
-    /**
-     * Get the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
-     * 
-     * @return The value of languageId. (Nullable)
-     */
-    public java.math.BigDecimal getLanguageId() {
-        return _languageId;
-    }
-
-    /**
-     * Set the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
-     * 
-     * @param languageId The value of languageId. (Nullable)
-     */
-    public void setLanguageId(java.math.BigDecimal languageId) {
-        _modifiedProperties.addPropertyName("languageId");
-        this._languageId = languageId;
-    }
-
-    /** Column Annotation for S2Dao. VARCHAR(32) : NotNull */
-    public static final String ordersStatusName_COLUMN = "ORDERS_STATUS_NAME";
-
-    /**
-     * Get the value of ordersStatusName. <br />
-     * {VARCHAR(32) : NotNull}
-     * 
-     * @return The value of ordersStatusName. (Nullable)
-     */
-    public String getOrdersStatusName() {
-        return _ordersStatusName;
-    }
-
-    /**
-     * Set the value of ordersStatusName. <br />
-     * {VARCHAR(32) : NotNull}
-     * 
-     * @param ordersStatusName The value of ordersStatusName. (Nullable)
-     */
-    public void setOrdersStatusName(String ordersStatusName) {
-        _modifiedProperties.addPropertyName("ordersStatusName");
-        this._ordersStatusName = ordersStatusName;
-    }
-
-
     // ===================================================================================
     //                                                                     Classify Method
     //                                                                     ===============
-      
+  
     // ===================================================================================
     //                                                        Classification Determination
     //                                                        ============================
-      
+  
 
     // ===================================================================================
     //                                                               Classification Getter
     //                                                               =====================
-      
+  
 
     // ===================================================================================
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+  
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES(TABLE)]
-    //   ForeignProperty = [languages]
+    //   RefererTable    = [ORDERS(TABLE)]
+    //   RefererProperty = [ordersList]
     // * * * * * * * * */
 
-    /** RELNO of foreign table for s2dao. */
-    public static final int languages_RELNO = 0;
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Orders> _childrenOrdersList;
 
-    /** RELKEYS of foreign table for s2dao. */
-    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
-
-    /** The entity of foreign table. */
-    protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
-
     /**
-     * Get the entity of foreign table of languages. {without lazyload}
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
      * 
-     * @return The entity of foreign table. (Nullable: If the foreign key does not have NotNull-constraint, please check null.)
+     * @return The list of referer table. (Nullable)
      */
-    public jp.sf.pal.pompei.exentity.Languages getLanguages() {
-        return _parentLanguages;
+    public java.util.List<jp.sf.pal.pompei.exentity.Orders> getOrdersList() {
+        return _childrenOrdersList;
     }
 
     /**
-     * Set the entity of foreign table of languages.
+     * Set the list of referer table.
      * 
-     * @param languages The entity of foreign table. (Nullable)
+     * @param ordersList The list of refferer table. (Nullable)
      */
-    public void setLanguages(jp.sf.pal.pompei.exentity.Languages languages) {
-        this._parentLanguages = languages;
+    public void setOrdersList(java.util.List<jp.sf.pal.pompei.exentity.Orders> ordersList) {
+        this._childrenOrdersList = ordersList;
     }
-
-    /**
-     * Has relation object of languages.
-     * 
-     * @return Determination.
-     */
-    public boolean hasRelationLanguages() {
-        return _parentLanguages != null && _parentLanguages.hasPrimaryKeyValue();
-    }
-
-    /**
-     * Trace relation object (for read) of languages.
-     * 
-     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
-     */
-    public jp.sf.pal.pompei.exentity.Languages traceLanguages() {
-        return _parentLanguages != null ? _parentLanguages : new jp.sf.pal.pompei.exentity.Languages();
-    }
   
-    // ===================================================================================
-    //                                                                       Referer Table
-    //                                                                       =============
-
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [ORDERS(TABLE)]
-    //   RefererProperty = [ordersList]
+    //   RefererTable    = [ORDERS_STATUS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [ordersStatusDescriptionList]
     // * * * * * * * * */
 
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.Orders> _childrenOrdersList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusDescription> _childrenOrdersStatusDescriptionList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -289,17 +214,17 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.Orders> getOrdersList() {
-        return _childrenOrdersList;
+    public java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusDescription> getOrdersStatusDescriptionList() {
+        return _childrenOrdersStatusDescriptionList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param ordersList The list of refferer table. (Nullable)
+     * @param ordersStatusDescriptionList The list of refferer table. (Nullable)
      */
-    public void setOrdersList(java.util.List<jp.sf.pal.pompei.exentity.Orders> ordersList) {
-        this._childrenOrdersList = ordersList;
+    public void setOrdersStatusDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.OrdersStatusDescription> ordersStatusDescriptionList) {
+        this._childrenOrdersStatusDescriptionList = ordersStatusDescriptionList;
     }
   
   
@@ -429,8 +354,6 @@
         final StringBuffer sb = new StringBuffer();
 
         sb.append(delimiter).append(getOrdersStatusId());
-        sb.append(delimiter).append(getLanguageId());
-        sb.append(delimiter).append(getOrdersStatusName());
 
         sb.delete(0, delimiter.length());
         sb.insert(0, "{").append("}");

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,440 @@
+package jp.sf.pal.pompei.bsentity;
+
+
+
+import jp.sf.pal.pompei.allcommon.Entity;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMetaInstanceHandler;
+
+/**
+ * The entity of ORDERS_STATUS_DESCRIPTION(TABLE). <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ * 
+ * [foreign-property]
+ *     languages, ordersStatus
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsOrdersStatusDescription implements Entity, java.io.Serializable {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is ORDERS_STATUS_DESCRIPTION. */
+    public static final String TABLE = "ORDERS_STATUS_DESCRIPTION";
+
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    /** The value of ordersStatusId. PK : INTEGER : NotNull : FK to ORDERS_STATUS */
+    protected java.math.BigDecimal _ordersStatusId;
+
+    /** The value of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    protected java.math.BigDecimal _languageId;
+
+    /** The value of ordersStatusName. VARCHAR(32) : NotNull */
+    protected String _ordersStatusName;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsOrdersStatusDescription() {
+    }
+
+
+    // ===================================================================================
+    //                                                                              DBMeta
+    //                                                                              ======
+    /**
+     * The implementation.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name of ORDERS_STATUS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableDbName() {
+        return "ORDERS_STATUS_DESCRIPTION";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table prop-name(JavaBeansRule) of ORDERS_STATUS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTablePropName() {
+        return "ordersStatusDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table cap-prop-name of ORDERS_STATUS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableCapPropName() {
+        return "OrdersStatusDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table uncap-prop-name of ORDERS_STATUS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableUncapPropName() {
+        return "ordersStatusDescription";
+    }
+
+    // ===================================================================================
+    //                                                                            Accessor
+    //                                                                            ========
+
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to ORDERS_STATUS */
+    public static final String ordersStatusId_COLUMN = "ORDERS_STATUS_ID";
+
+    /**
+     * Get the value of ordersStatusId. <br />
+     * {PK : INTEGER : NotNull : FK to ORDERS_STATUS}
+     * 
+     * @return The value of ordersStatusId. (Nullable)
+     */
+    public java.math.BigDecimal getOrdersStatusId() {
+        return _ordersStatusId;
+    }
+
+    /**
+     * Set the value of ordersStatusId. <br />
+     * {PK : INTEGER : NotNull : FK to ORDERS_STATUS}
+     * 
+     * @param ordersStatusId The value of ordersStatusId. (Nullable)
+     */
+    public void setOrdersStatusId(java.math.BigDecimal ordersStatusId) {
+        _modifiedProperties.addPropertyName("ordersStatusId");
+        this._ordersStatusId = ordersStatusId;
+    }
+
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String languageId_COLUMN = "LANGUAGE_ID";
+
+    /**
+     * Get the value of languageId. <br />
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
+     * 
+     * @return The value of languageId. (Nullable)
+     */
+    public java.math.BigDecimal getLanguageId() {
+        return _languageId;
+    }
+
+    /**
+     * Set the value of languageId. <br />
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
+     * 
+     * @param languageId The value of languageId. (Nullable)
+     */
+    public void setLanguageId(java.math.BigDecimal languageId) {
+        _modifiedProperties.addPropertyName("languageId");
+        this._languageId = languageId;
+    }
+
+    /** Column Annotation for S2Dao. VARCHAR(32) : NotNull */
+    public static final String ordersStatusName_COLUMN = "ORDERS_STATUS_NAME";
+
+    /**
+     * Get the value of ordersStatusName. <br />
+     * {VARCHAR(32) : NotNull}
+     * 
+     * @return The value of ordersStatusName. (Nullable)
+     */
+    public String getOrdersStatusName() {
+        return _ordersStatusName;
+    }
+
+    /**
+     * Set the value of ordersStatusName. <br />
+     * {VARCHAR(32) : NotNull}
+     * 
+     * @param ordersStatusName The value of ordersStatusName. (Nullable)
+     */
+    public void setOrdersStatusName(String ordersStatusName) {
+        _modifiedProperties.addPropertyName("ordersStatusName");
+        this._ordersStatusName = ordersStatusName;
+    }
+
+
+    // ===================================================================================
+    //                                                                     Classify Method
+    //                                                                     ===============
+      
+    // ===================================================================================
+    //                                                        Classification Determination
+    //                                                        ============================
+      
+
+    // ===================================================================================
+    //                                                               Classification Getter
+    //                                                               =====================
+      
+
+    // ===================================================================================
+    //                                                                       Foreign Table
+    //                                                                       =============
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES(TABLE)]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int languages_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
+
+    /**
+     * Get the entity of foreign table of languages. {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.Languages getLanguages() {
+        return _parentLanguages;
+    }
+
+    /**
+     * Set the entity of foreign table of languages.
+     * 
+     * @param languages The entity of foreign table. (Nullable)
+     */
+    public void setLanguages(jp.sf.pal.pompei.exentity.Languages languages) {
+        this._parentLanguages = languages;
+    }
+
+    /**
+     * Has relation object of languages.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationLanguages() {
+        return _parentLanguages != null && _parentLanguages.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of languages.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.Languages traceLanguages() {
+        return _parentLanguages != null ? _parentLanguages : new jp.sf.pal.pompei.exentity.Languages();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ORDERS_STATUS(TABLE)]
+    //   ForeignProperty = [ordersStatus]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int ordersStatus_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String ordersStatus_RELKEYS = "ORDERS_STATUS_ID:ORDERS_STATUS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.OrdersStatus _parentOrdersStatus;
+
+    /**
+     * Get the entity of foreign table of ordersStatus. {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.OrdersStatus getOrdersStatus() {
+        return _parentOrdersStatus;
+    }
+
+    /**
+     * Set the entity of foreign table of ordersStatus.
+     * 
+     * @param ordersStatus The entity of foreign table. (Nullable)
+     */
+    public void setOrdersStatus(jp.sf.pal.pompei.exentity.OrdersStatus ordersStatus) {
+        this._parentOrdersStatus = ordersStatus;
+    }
+
+    /**
+     * Has relation object of ordersStatus.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationOrdersStatus() {
+        return _parentOrdersStatus != null && _parentOrdersStatus.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of ordersStatus.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.OrdersStatus traceOrdersStatus() {
+        return _parentOrdersStatus != null ? _parentOrdersStatus : new jp.sf.pal.pompei.exentity.OrdersStatus();
+    }
+  
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+    // ===================================================================================
+    //                                                                       Determination
+    //                                                                       =============
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasPrimaryKeyValue() {
+
+        if (_ordersStatusId == null) {
+            return false;
+        }
+        if (_languageId == null) {
+            return false;
+        }
+
+        return true;
+    }
+
+    // ===================================================================================
+    //                                                                 Modified Properties
+    //                                                                 ===================
+    /**
+     * Get modified property names. (S2Dao uses this for updateModifiedProperties())
+     * 
+     * @return Modified property names. (NotNull)
+     */
+    public java.util.Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    /**
+     * New entity modified properties. You can override this at the sub-class if you need it.
+     * 
+     * @return Entity modified properties. (NotNull)
+     */
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    /**
+     * Clear modified property names.
+     */
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+
+    /**
+     * The override.
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null) {
+            return false;
+        }
+        if (!(other instanceof BsOrdersStatusDescription)) {
+            return false;
+        }
+        final BsOrdersStatusDescription otherEntity = (BsOrdersStatusDescription)other;
+
+        if (getOrdersStatusId() == null || !getOrdersStatusId().equals(otherEntity.getOrdersStatusId())) {
+            return false;
+        }
+        if (getLanguageId() == null || !getLanguageId().equals(otherEntity.getLanguageId())) {
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * The override.
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 0;
+
+        if (this.getOrdersStatusId() != null) {
+            result = result + getOrdersStatusId().hashCode();
+        }
+        if (this.getLanguageId() != null) {
+            result = result + getLanguageId().hashCode();
+        }
+
+        return result;
+    }
+
+    /**
+     * The override.
+     * 
+     * @return Column-value map-string. (NotNull)
+     */
+    public String toString() {
+        final String delimiter = ",";
+        final StringBuffer sb = new StringBuffer();
+
+        sb.append(delimiter).append(getOrdersStatusId());
+        sb.append(delimiter).append(getLanguageId());
+        sb.append(delimiter).append(getOrdersStatusName());
+
+        sb.delete(0, delimiter.length());
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusHistory.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusHistory.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatusHistory.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -17,7 +17,7 @@
  *     ORDERS_STATUS_HISTORY_ID, ORDERS_ID, ORDERS_STATUS_ID, DATE_ADDED, CUSTOMER_NOTIFIED, COMMENTS
  * 
  * [foreign-property]
- *     ordersStatus
+ *     orders, ordersStatus
  * 
  * [refferer-property]
  *     
@@ -57,10 +57,10 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _ordersStatusHistoryId;
 
-    /** The value of ordersId. INTEGER : NotNull */
+    /** The value of ordersId. INTEGER : NotNull : FK to ORDERS */
     protected java.math.BigDecimal _ordersId;
 
     /** The value of ordersStatusId. INTEGER : NotNull : FK to ORDERS_STATUS */
@@ -140,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String ordersStatusHistoryId_COLUMN = "ORDERS_STATUS_HISTORY_ID";
 
     /**
      * Get the value of ordersStatusHistoryId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of ordersStatusHistoryId. (Nullable)
      */
@@ -155,7 +155,7 @@
 
     /**
      * Set the value of ordersStatusHistoryId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param ordersStatusHistoryId The value of ordersStatusHistoryId. (Nullable)
      */
@@ -164,12 +164,12 @@
         this._ordersStatusHistoryId = ordersStatusHistoryId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to ORDERS */
     public static final String ordersId_COLUMN = "ORDERS_ID";
 
     /**
      * Get the value of ordersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ORDERS}
      * 
      * @return The value of ordersId. (Nullable)
      */
@@ -179,7 +179,7 @@
 
     /**
      * Set the value of ordersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ORDERS}
      * 
      * @param ordersId The value of ordersId. (Nullable)
      */
@@ -304,12 +304,62 @@
     //                                                                       =============
 
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ORDERS(TABLE)]
+    //   ForeignProperty = [orders]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int orders_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String orders_RELKEYS = "ORDERS_ID:ORDERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Orders _parentOrders;
+
+    /**
+     * Get the entity of foreign table of orders. {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.Orders getOrders() {
+        return _parentOrders;
+    }
+
+    /**
+     * Set the entity of foreign table of orders.
+     * 
+     * @param orders The entity of foreign table. (Nullable)
+     */
+    public void setOrders(jp.sf.pal.pompei.exentity.Orders orders) {
+        this._parentOrders = orders;
+    }
+
+    /**
+     * Has relation object of orders.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationOrders() {
+        return _parentOrders != null && _parentOrders.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of orders.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.Orders traceOrders() {
+        return _parentOrders != null ? _parentOrders : new jp.sf.pal.pompei.exentity.Orders();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   ForeignTable    = [ORDERS_STATUS(TABLE)]
     //   ForeignProperty = [ordersStatus]
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int ordersStatus_RELNO = 0;
+    public static final int ordersStatus_RELNO = 1;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String ordersStatus_RELKEYS = "ORDERS_STATUS_ID:ORDERS_STATUS_ID";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersTotal.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersTotal.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersTotal.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersTotalId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is ORDERS_TOTAL. */
     public static final String TABLE = "ORDERS_TOTAL";
 
+    
+    /** ID-Annotation */
+    public static final String ordersTotalId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of ordersTotalId. PK : INTEGER : NotNull */
+    /** The value of ordersTotalId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _ordersTotalId;
 
     /** The value of ordersId. INTEGER : NotNull : FK to ORDERS */
@@ -140,12 +143,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String ordersTotalId_COLUMN = "ORDERS_TOTAL_ID";
 
     /**
      * Get the value of ordersTotalId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of ordersTotalId. (Nullable)
      */
@@ -155,7 +158,7 @@
 
     /**
      * Set the value of ordersTotalId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param ordersTotalId The value of ordersTotalId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProducts.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProducts.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProducts.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -57,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of productsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _productsId;
 
     /** The value of productsQuantity. INTEGER : NotNull */
@@ -161,12 +161,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String productsId_COLUMN = "PRODUCTS_ID";
 
     /**
      * Get the value of productsId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of productsId. (Nullable)
      */
@@ -176,7 +176,7 @@
 
     /**
      * Set the value of productsId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param productsId The value of productsId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributes.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributes.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributes.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -17,7 +17,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ID, OPTIONS_ID, OPTIONS_VALUES_ID, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     products
+ *     products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     productsAttributesDownloadList
@@ -57,16 +57,16 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** The value of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _productsAttributesId;
 
     /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _productsId;
 
-    /** The value of optionsId. INTEGER : NotNull */
+    /** The value of optionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     protected java.math.BigDecimal _optionsId;
 
-    /** The value of optionsValuesId. INTEGER : NotNull */
+    /** The value of optionsValuesId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     protected java.math.BigDecimal _optionsValuesId;
 
     /** The value of optionsValuesPrice. DECIMAL(15) : NotNull */
@@ -140,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String productsAttributesId_COLUMN = "PRODUCTS_ATTRIBUTES_ID";
 
     /**
      * Get the value of productsAttributesId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of productsAttributesId. (Nullable)
      */
@@ -155,7 +155,7 @@
 
     /**
      * Set the value of productsAttributesId. <br />
-     * {PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param productsAttributesId The value of productsAttributesId. (Nullable)
      */
@@ -188,12 +188,12 @@
         this._productsId = productsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String optionsId_COLUMN = "OPTIONS_ID";
 
     /**
      * Get the value of optionsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
      * 
      * @return The value of optionsId. (Nullable)
      */
@@ -203,7 +203,7 @@
 
     /**
      * Set the value of optionsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
      * 
      * @param optionsId The value of optionsId. (Nullable)
      */
@@ -212,12 +212,12 @@
         this._optionsId = optionsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String optionsValuesId_COLUMN = "OPTIONS_VALUES_ID";
 
     /**
      * Get the value of optionsValuesId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
      * 
      * @return The value of optionsValuesId. (Nullable)
      */
@@ -227,7 +227,7 @@
 
     /**
      * Set the value of optionsValuesId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
      * 
      * @param optionsValuesId The value of optionsValuesId. (Nullable)
      */
@@ -353,6 +353,106 @@
         return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
     }
   
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS(TABLE)]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsOptions_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsOptions_RELKEYS = "OPTIONS_ID:PRODUCTS_OPTIONS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.ProductsOptions _parentProductsOptions;
+
+    /**
+     * Get the entity of foreign table of productsOptions. {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.ProductsOptions getProductsOptions() {
+        return _parentProductsOptions;
+    }
+
+    /**
+     * Set the entity of foreign table of productsOptions.
+     * 
+     * @param productsOptions The entity of foreign table. (Nullable)
+     */
+    public void setProductsOptions(jp.sf.pal.pompei.exentity.ProductsOptions productsOptions) {
+        this._parentProductsOptions = productsOptions;
+    }
+
+    /**
+     * Has relation object of productsOptions.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProductsOptions() {
+        return _parentProductsOptions != null && _parentProductsOptions.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of productsOptions.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.ProductsOptions traceProductsOptions() {
+        return _parentProductsOptions != null ? _parentProductsOptions : new jp.sf.pal.pompei.exentity.ProductsOptions();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES(TABLE)]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsOptionsValues_RELNO = 2;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsOptionsValues_RELKEYS = "OPTIONS_VALUES_ID:PRODUCTS_OPTIONS_VALUES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.ProductsOptionsValues _parentProductsOptionsValues;
+
+    /**
+     * Get the entity of foreign table of productsOptionsValues. {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.ProductsOptionsValues getProductsOptionsValues() {
+        return _parentProductsOptionsValues;
+    }
+
+    /**
+     * Set the entity of foreign table of productsOptionsValues.
+     * 
+     * @param productsOptionsValues The entity of foreign table. (Nullable)
+     */
+    public void setProductsOptionsValues(jp.sf.pal.pompei.exentity.ProductsOptionsValues productsOptionsValues) {
+        this._parentProductsOptionsValues = productsOptionsValues;
+    }
+
+    /**
+     * Has relation object of productsOptionsValues.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProductsOptionsValues() {
+        return _parentProductsOptionsValues != null && _parentProductsOptionsValues.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of productsOptionsValues.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.ProductsOptionsValues traceProductsOptionsValues() {
+        return _parentProductsOptionsValues != null ? _parentProductsOptionsValues : new jp.sf.pal.pompei.exentity.ProductsOptionsValues();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
@@ -364,7 +464,7 @@
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int productsAttributesDownloadAsOne_RELNO = 1;
+    public static final int productsAttributesDownloadAsOne_RELNO = 3;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String productsAttributesDownloadAsOne_RELKEYS = "PRODUCTS_ATTRIBUTES_ID:PRODUCTS_ATTRIBUTES_ID";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptions.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptions.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptions.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,19 +14,19 @@
  *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is PRODUCTS_OPTIONS. */
     public static final String TABLE = "PRODUCTS_OPTIONS";
 
+    
+    /** ID-Annotation */
+    public static final String productsOptionsId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,15 +57,9 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsOptionsId. PK : INTEGER : NotNull : Default=[0] */
+    /** The value of productsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _productsOptionsId;
 
-    /** The value of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    protected java.math.BigDecimal _languageId;
-
-    /** The value of productsOptionsName. VARCHAR(32) : NotNull : Default=[] */
-    protected String _productsOptionsName;
-
     // ===================================================================================
     //                                                                         Constructor
     //                                                                         ===========
@@ -128,12 +125,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String productsOptionsId_COLUMN = "PRODUCTS_OPTIONS_ID";
 
     /**
      * Get the value of productsOptionsId. <br />
-     * {PK : INTEGER : NotNull : Default=[0]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of productsOptionsId. (Nullable)
      */
@@ -143,7 +140,7 @@
 
     /**
      * Set the value of productsOptionsId. <br />
-     * {PK : INTEGER : NotNull : Default=[0]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param productsOptionsId The value of productsOptionsId. (Nullable)
      */
@@ -152,136 +149,96 @@
         this._productsOptionsId = productsOptionsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String languageId_COLUMN = "LANGUAGE_ID";
 
-    /**
-     * Get the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
-     * 
-     * @return The value of languageId. (Nullable)
-     */
-    public java.math.BigDecimal getLanguageId() {
-        return _languageId;
-    }
-
-    /**
-     * Set the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
-     * 
-     * @param languageId The value of languageId. (Nullable)
-     */
-    public void setLanguageId(java.math.BigDecimal languageId) {
-        _modifiedProperties.addPropertyName("languageId");
-        this._languageId = languageId;
-    }
-
-    /** Column Annotation for S2Dao. VARCHAR(32) : NotNull : Default=[] */
-    public static final String productsOptionsName_COLUMN = "PRODUCTS_OPTIONS_NAME";
-
-    /**
-     * Get the value of productsOptionsName. <br />
-     * {VARCHAR(32) : NotNull : Default=[]}
-     * 
-     * @return The value of productsOptionsName. (Nullable)
-     */
-    public String getProductsOptionsName() {
-        return _productsOptionsName;
-    }
-
-    /**
-     * Set the value of productsOptionsName. <br />
-     * {VARCHAR(32) : NotNull : Default=[]}
-     * 
-     * @param productsOptionsName The value of productsOptionsName. (Nullable)
-     */
-    public void setProductsOptionsName(String productsOptionsName) {
-        _modifiedProperties.addPropertyName("productsOptionsName");
-        this._productsOptionsName = productsOptionsName;
-    }
-
-
     // ===================================================================================
     //                                                                     Classify Method
     //                                                                     ===============
-      
+  
     // ===================================================================================
     //                                                        Classification Determination
     //                                                        ============================
-      
+  
 
     // ===================================================================================
     //                                                               Classification Getter
     //                                                               =====================
-      
+  
 
     // ===================================================================================
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+  
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES(TABLE)]
-    //   ForeignProperty = [languages]
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [customersBasketAttributesList]
     // * * * * * * * * */
 
-    /** RELNO of foreign table for s2dao. */
-    public static final int languages_RELNO = 0;
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
 
-    /** RELKEYS of foreign table for s2dao. */
-    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
-
-    /** The entity of foreign table. */
-    protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
-
     /**
-     * Get the entity of foreign table of languages. {without lazyload}
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
      * 
-     * @return The entity of foreign table. (Nullable: If the foreign key does not have NotNull-constraint, please check null.)
+     * @return The list of referer table. (Nullable)
      */
-    public jp.sf.pal.pompei.exentity.Languages getLanguages() {
-        return _parentLanguages;
+    public java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> getCustomersBasketAttributesList() {
+        return _childrenCustomersBasketAttributesList;
     }
 
     /**
-     * Set the entity of foreign table of languages.
+     * Set the list of referer table.
      * 
-     * @param languages The entity of foreign table. (Nullable)
+     * @param customersBasketAttributesList The list of refferer table. (Nullable)
      */
-    public void setLanguages(jp.sf.pal.pompei.exentity.Languages languages) {
-        this._parentLanguages = languages;
+    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
+        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
     }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [productsAttributesList]
+    // * * * * * * * * */
 
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributes> _childrenProductsAttributesList;
+
     /**
-     * Has relation object of languages.
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
      * 
-     * @return Determination.
+     * @return The list of referer table. (Nullable)
      */
-    public boolean hasRelationLanguages() {
-        return _parentLanguages != null && _parentLanguages.hasPrimaryKeyValue();
+    public java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributes> getProductsAttributesList() {
+        return _childrenProductsAttributesList;
     }
 
     /**
-     * Trace relation object (for read) of languages.
+     * Set the list of referer table.
      * 
-     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     * @param productsAttributesList The list of refferer table. (Nullable)
      */
-    public jp.sf.pal.pompei.exentity.Languages traceLanguages() {
-        return _parentLanguages != null ? _parentLanguages : new jp.sf.pal.pompei.exentity.Languages();
+    public void setProductsAttributesList(java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributes> productsAttributesList) {
+        this._childrenProductsAttributesList = productsAttributesList;
     }
   
-    // ===================================================================================
-    //                                                                       Referer Table
-    //                                                                       =============
-
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
-    //   RefererProperty = [customersBasketAttributesList]
+    //   RefererTable    = [PRODUCTS_OPTIONS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [productsOptionsDescriptionList]
     // * * * * * * * * */
 
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsDescription> _childrenProductsOptionsDescriptionList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -289,17 +246,17 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> getCustomersBasketAttributesList() {
-        return _childrenCustomersBasketAttributesList;
+    public java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsDescription> getProductsOptionsDescriptionList() {
+        return _childrenProductsOptionsDescriptionList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param customersBasketAttributesList The list of refferer table. (Nullable)
+     * @param productsOptionsDescriptionList The list of refferer table. (Nullable)
      */
-    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
-        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
+    public void setProductsOptionsDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsDescription> productsOptionsDescriptionList) {
+        this._childrenProductsOptionsDescriptionList = productsOptionsDescriptionList;
     }
   
   
@@ -429,8 +386,6 @@
         final StringBuffer sb = new StringBuffer();
 
         sb.append(delimiter).append(getProductsOptionsId());
-        sb.append(delimiter).append(getLanguageId());
-        sb.append(delimiter).append(getProductsOptionsName());
 
         sb.delete(0, delimiter.length());
         sb.insert(0, "{").append("}");

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,440 @@
+package jp.sf.pal.pompei.bsentity;
+
+
+
+import jp.sf.pal.pompei.allcommon.Entity;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMetaInstanceHandler;
+
+/**
+ * The entity of PRODUCTS_OPTIONS_DESCRIPTION(TABLE). <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptions
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsProductsOptionsDescription implements Entity, java.io.Serializable {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is PRODUCTS_OPTIONS_DESCRIPTION. */
+    public static final String TABLE = "PRODUCTS_OPTIONS_DESCRIPTION";
+
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    /** The value of productsOptionsId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
+    protected java.math.BigDecimal _productsOptionsId;
+
+    /** The value of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    protected java.math.BigDecimal _languageId;
+
+    /** The value of productsOptionsName. VARCHAR(32) : NotNull */
+    protected String _productsOptionsName;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsProductsOptionsDescription() {
+    }
+
+
+    // ===================================================================================
+    //                                                                              DBMeta
+    //                                                                              ======
+    /**
+     * The implementation.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name of PRODUCTS_OPTIONS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_DESCRIPTION";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table prop-name(JavaBeansRule) of PRODUCTS_OPTIONS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTablePropName() {
+        return "productsOptionsDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table cap-prop-name of PRODUCTS_OPTIONS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableCapPropName() {
+        return "ProductsOptionsDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table uncap-prop-name of PRODUCTS_OPTIONS_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableUncapPropName() {
+        return "productsOptionsDescription";
+    }
+
+    // ===================================================================================
+    //                                                                            Accessor
+    //                                                                            ========
+
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
+    public static final String productsOptionsId_COLUMN = "PRODUCTS_OPTIONS_ID";
+
+    /**
+     * Get the value of productsOptionsId. <br />
+     * {PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
+     * 
+     * @return The value of productsOptionsId. (Nullable)
+     */
+    public java.math.BigDecimal getProductsOptionsId() {
+        return _productsOptionsId;
+    }
+
+    /**
+     * Set the value of productsOptionsId. <br />
+     * {PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
+     * 
+     * @param productsOptionsId The value of productsOptionsId. (Nullable)
+     */
+    public void setProductsOptionsId(java.math.BigDecimal productsOptionsId) {
+        _modifiedProperties.addPropertyName("productsOptionsId");
+        this._productsOptionsId = productsOptionsId;
+    }
+
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String languageId_COLUMN = "LANGUAGE_ID";
+
+    /**
+     * Get the value of languageId. <br />
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
+     * 
+     * @return The value of languageId. (Nullable)
+     */
+    public java.math.BigDecimal getLanguageId() {
+        return _languageId;
+    }
+
+    /**
+     * Set the value of languageId. <br />
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
+     * 
+     * @param languageId The value of languageId. (Nullable)
+     */
+    public void setLanguageId(java.math.BigDecimal languageId) {
+        _modifiedProperties.addPropertyName("languageId");
+        this._languageId = languageId;
+    }
+
+    /** Column Annotation for S2Dao. VARCHAR(32) : NotNull */
+    public static final String productsOptionsName_COLUMN = "PRODUCTS_OPTIONS_NAME";
+
+    /**
+     * Get the value of productsOptionsName. <br />
+     * {VARCHAR(32) : NotNull}
+     * 
+     * @return The value of productsOptionsName. (Nullable)
+     */
+    public String getProductsOptionsName() {
+        return _productsOptionsName;
+    }
+
+    /**
+     * Set the value of productsOptionsName. <br />
+     * {VARCHAR(32) : NotNull}
+     * 
+     * @param productsOptionsName The value of productsOptionsName. (Nullable)
+     */
+    public void setProductsOptionsName(String productsOptionsName) {
+        _modifiedProperties.addPropertyName("productsOptionsName");
+        this._productsOptionsName = productsOptionsName;
+    }
+
+
+    // ===================================================================================
+    //                                                                     Classify Method
+    //                                                                     ===============
+      
+    // ===================================================================================
+    //                                                        Classification Determination
+    //                                                        ============================
+      
+
+    // ===================================================================================
+    //                                                               Classification Getter
+    //                                                               =====================
+      
+
+    // ===================================================================================
+    //                                                                       Foreign Table
+    //                                                                       =============
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES(TABLE)]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int languages_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
+
+    /**
+     * Get the entity of foreign table of languages. {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.Languages getLanguages() {
+        return _parentLanguages;
+    }
+
+    /**
+     * Set the entity of foreign table of languages.
+     * 
+     * @param languages The entity of foreign table. (Nullable)
+     */
+    public void setLanguages(jp.sf.pal.pompei.exentity.Languages languages) {
+        this._parentLanguages = languages;
+    }
+
+    /**
+     * Has relation object of languages.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationLanguages() {
+        return _parentLanguages != null && _parentLanguages.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of languages.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.Languages traceLanguages() {
+        return _parentLanguages != null ? _parentLanguages : new jp.sf.pal.pompei.exentity.Languages();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS(TABLE)]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsOptions_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsOptions_RELKEYS = "PRODUCTS_OPTIONS_ID:PRODUCTS_OPTIONS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.ProductsOptions _parentProductsOptions;
+
+    /**
+     * Get the entity of foreign table of productsOptions. {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.ProductsOptions getProductsOptions() {
+        return _parentProductsOptions;
+    }
+
+    /**
+     * Set the entity of foreign table of productsOptions.
+     * 
+     * @param productsOptions The entity of foreign table. (Nullable)
+     */
+    public void setProductsOptions(jp.sf.pal.pompei.exentity.ProductsOptions productsOptions) {
+        this._parentProductsOptions = productsOptions;
+    }
+
+    /**
+     * Has relation object of productsOptions.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProductsOptions() {
+        return _parentProductsOptions != null && _parentProductsOptions.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of productsOptions.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.ProductsOptions traceProductsOptions() {
+        return _parentProductsOptions != null ? _parentProductsOptions : new jp.sf.pal.pompei.exentity.ProductsOptions();
+    }
+  
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+    // ===================================================================================
+    //                                                                       Determination
+    //                                                                       =============
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasPrimaryKeyValue() {
+
+        if (_productsOptionsId == null) {
+            return false;
+        }
+        if (_languageId == null) {
+            return false;
+        }
+
+        return true;
+    }
+
+    // ===================================================================================
+    //                                                                 Modified Properties
+    //                                                                 ===================
+    /**
+     * Get modified property names. (S2Dao uses this for updateModifiedProperties())
+     * 
+     * @return Modified property names. (NotNull)
+     */
+    public java.util.Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    /**
+     * New entity modified properties. You can override this at the sub-class if you need it.
+     * 
+     * @return Entity modified properties. (NotNull)
+     */
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    /**
+     * Clear modified property names.
+     */
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+
+    /**
+     * The override.
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null) {
+            return false;
+        }
+        if (!(other instanceof BsProductsOptionsDescription)) {
+            return false;
+        }
+        final BsProductsOptionsDescription otherEntity = (BsProductsOptionsDescription)other;
+
+        if (getProductsOptionsId() == null || !getProductsOptionsId().equals(otherEntity.getProductsOptionsId())) {
+            return false;
+        }
+        if (getLanguageId() == null || !getLanguageId().equals(otherEntity.getLanguageId())) {
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * The override.
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 0;
+
+        if (this.getProductsOptionsId() != null) {
+            result = result + getProductsOptionsId().hashCode();
+        }
+        if (this.getLanguageId() != null) {
+            result = result + getLanguageId().hashCode();
+        }
+
+        return result;
+    }
+
+    /**
+     * The override.
+     * 
+     * @return Column-value map-string. (NotNull)
+     */
+    public String toString() {
+        final String delimiter = ",";
+        final StringBuffer sb = new StringBuffer();
+
+        sb.append(delimiter).append(getProductsOptionsId());
+        sb.append(delimiter).append(getLanguageId());
+        sb.append(delimiter).append(getProductsOptionsName());
+
+        sb.delete(0, delimiter.length());
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValues.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValues.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValues.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -14,19 +14,19 @@
  *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsValuesDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is PRODUCTS_OPTIONS_VALUES. */
     public static final String TABLE = "PRODUCTS_OPTIONS_VALUES";
 
+    
+    /** ID-Annotation */
+    public static final String productsOptionsValuesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,15 +57,9 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsOptionsValuesId. PK : INTEGER : NotNull : Default=[0] */
+    /** The value of productsOptionsValuesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _productsOptionsValuesId;
 
-    /** The value of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    protected java.math.BigDecimal _languageId;
-
-    /** The value of productsOptionsValuesName. VARCHAR(64) : NotNull : Default=[] */
-    protected String _productsOptionsValuesName;
-
     // ===================================================================================
     //                                                                         Constructor
     //                                                                         ===========
@@ -128,12 +125,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String productsOptionsValuesId_COLUMN = "PRODUCTS_OPTIONS_VALUES_ID";
 
     /**
      * Get the value of productsOptionsValuesId. <br />
-     * {PK : INTEGER : NotNull : Default=[0]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of productsOptionsValuesId. (Nullable)
      */
@@ -143,7 +140,7 @@
 
     /**
      * Set the value of productsOptionsValuesId. <br />
-     * {PK : INTEGER : NotNull : Default=[0]}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param productsOptionsValuesId The value of productsOptionsValuesId. (Nullable)
      */
@@ -152,136 +149,96 @@
         this._productsOptionsValuesId = productsOptionsValuesId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String languageId_COLUMN = "LANGUAGE_ID";
 
-    /**
-     * Get the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
-     * 
-     * @return The value of languageId. (Nullable)
-     */
-    public java.math.BigDecimal getLanguageId() {
-        return _languageId;
-    }
-
-    /**
-     * Set the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
-     * 
-     * @param languageId The value of languageId. (Nullable)
-     */
-    public void setLanguageId(java.math.BigDecimal languageId) {
-        _modifiedProperties.addPropertyName("languageId");
-        this._languageId = languageId;
-    }
-
-    /** Column Annotation for S2Dao. VARCHAR(64) : NotNull : Default=[] */
-    public static final String productsOptionsValuesName_COLUMN = "PRODUCTS_OPTIONS_VALUES_NAME";
-
-    /**
-     * Get the value of productsOptionsValuesName. <br />
-     * {VARCHAR(64) : NotNull : Default=[]}
-     * 
-     * @return The value of productsOptionsValuesName. (Nullable)
-     */
-    public String getProductsOptionsValuesName() {
-        return _productsOptionsValuesName;
-    }
-
-    /**
-     * Set the value of productsOptionsValuesName. <br />
-     * {VARCHAR(64) : NotNull : Default=[]}
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName. (Nullable)
-     */
-    public void setProductsOptionsValuesName(String productsOptionsValuesName) {
-        _modifiedProperties.addPropertyName("productsOptionsValuesName");
-        this._productsOptionsValuesName = productsOptionsValuesName;
-    }
-
-
     // ===================================================================================
     //                                                                     Classify Method
     //                                                                     ===============
-      
+  
     // ===================================================================================
     //                                                        Classification Determination
     //                                                        ============================
-      
+  
 
     // ===================================================================================
     //                                                               Classification Getter
     //                                                               =====================
-      
+  
 
     // ===================================================================================
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+  
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES(TABLE)]
-    //   ForeignProperty = [languages]
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [customersBasketAttributesList]
     // * * * * * * * * */
 
-    /** RELNO of foreign table for s2dao. */
-    public static final int languages_RELNO = 0;
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
 
-    /** RELKEYS of foreign table for s2dao. */
-    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
-
-    /** The entity of foreign table. */
-    protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
-
     /**
-     * Get the entity of foreign table of languages. {without lazyload}
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
      * 
-     * @return The entity of foreign table. (Nullable: If the foreign key does not have NotNull-constraint, please check null.)
+     * @return The list of referer table. (Nullable)
      */
-    public jp.sf.pal.pompei.exentity.Languages getLanguages() {
-        return _parentLanguages;
+    public java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> getCustomersBasketAttributesList() {
+        return _childrenCustomersBasketAttributesList;
     }
 
     /**
-     * Set the entity of foreign table of languages.
+     * Set the list of referer table.
      * 
-     * @param languages The entity of foreign table. (Nullable)
+     * @param customersBasketAttributesList The list of refferer table. (Nullable)
      */
-    public void setLanguages(jp.sf.pal.pompei.exentity.Languages languages) {
-        this._parentLanguages = languages;
+    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
+        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
     }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [productsAttributesList]
+    // * * * * * * * * */
 
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributes> _childrenProductsAttributesList;
+
     /**
-     * Has relation object of languages.
+     * Get the list of referer table. {without lazyload}
+     * If it's not loaded yet, returns null.
      * 
-     * @return Determination.
+     * @return The list of referer table. (Nullable)
      */
-    public boolean hasRelationLanguages() {
-        return _parentLanguages != null && _parentLanguages.hasPrimaryKeyValue();
+    public java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributes> getProductsAttributesList() {
+        return _childrenProductsAttributesList;
     }
 
     /**
-     * Trace relation object (for read) of languages.
+     * Set the list of referer table.
      * 
-     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     * @param productsAttributesList The list of refferer table. (Nullable)
      */
-    public jp.sf.pal.pompei.exentity.Languages traceLanguages() {
-        return _parentLanguages != null ? _parentLanguages : new jp.sf.pal.pompei.exentity.Languages();
+    public void setProductsAttributesList(java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributes> productsAttributesList) {
+        this._childrenProductsAttributesList = productsAttributesList;
     }
   
-    // ===================================================================================
-    //                                                                       Referer Table
-    //                                                                       =============
-
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
-    //   RefererProperty = [customersBasketAttributesList]
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE)]
+    //   RefererProperty = [productsOptionsValuesDescriptionList]
     // * * * * * * * * */
 
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription> _childrenProductsOptionsValuesDescriptionList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -289,17 +246,17 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> getCustomersBasketAttributesList() {
-        return _childrenCustomersBasketAttributesList;
+    public java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription> getProductsOptionsValuesDescriptionList() {
+        return _childrenProductsOptionsValuesDescriptionList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param customersBasketAttributesList The list of refferer table. (Nullable)
+     * @param productsOptionsValuesDescriptionList The list of refferer table. (Nullable)
      */
-    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
-        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
+    public void setProductsOptionsValuesDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription> productsOptionsValuesDescriptionList) {
+        this._childrenProductsOptionsValuesDescriptionList = productsOptionsValuesDescriptionList;
     }
   
   
@@ -429,8 +386,6 @@
         final StringBuffer sb = new StringBuffer();
 
         sb.append(delimiter).append(getProductsOptionsValuesId());
-        sb.append(delimiter).append(getLanguageId());
-        sb.append(delimiter).append(getProductsOptionsValuesName());
 
         sb.delete(0, delimiter.length());
         sb.insert(0, "{").append("}");

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,440 @@
+package jp.sf.pal.pompei.bsentity;
+
+
+
+import jp.sf.pal.pompei.allcommon.Entity;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.pompei.allcommon.dbmeta.DBMetaInstanceHandler;
+
+/**
+ * The entity of PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE). <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptionsValues
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsProductsOptionsValuesDescription implements Entity, java.io.Serializable {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is PRODUCTS_OPTIONS_VALUES_DESCRIPTION. */
+    public static final String TABLE = "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    /** The value of productsOptionsValuesId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
+    protected java.math.BigDecimal _productsOptionsValuesId;
+
+    /** The value of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    protected java.math.BigDecimal _languageId;
+
+    /** The value of productsOptionsValuesName. VARCHAR(64) : NotNull */
+    protected String _productsOptionsValuesName;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsProductsOptionsValuesDescription() {
+    }
+
+
+    // ===================================================================================
+    //                                                                              DBMeta
+    //                                                                              ======
+    /**
+     * The implementation.
+     * 
+     * @return DBMeta. (NotNull)
+     */
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name of PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table prop-name(JavaBeansRule) of PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTablePropName() {
+        return "productsOptionsValuesDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table cap-prop-name of PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableCapPropName() {
+        return "ProductsOptionsValuesDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table uncap-prop-name of PRODUCTS_OPTIONS_VALUES_DESCRIPTION(TABLE). (NotNull)
+     */
+    public String getTableUncapPropName() {
+        return "productsOptionsValuesDescription";
+    }
+
+    // ===================================================================================
+    //                                                                            Accessor
+    //                                                                            ========
+
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
+    public static final String productsOptionsValuesId_COLUMN = "PRODUCTS_OPTIONS_VALUES_ID";
+
+    /**
+     * Get the value of productsOptionsValuesId. <br />
+     * {PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
+     * 
+     * @return The value of productsOptionsValuesId. (Nullable)
+     */
+    public java.math.BigDecimal getProductsOptionsValuesId() {
+        return _productsOptionsValuesId;
+    }
+
+    /**
+     * Set the value of productsOptionsValuesId. <br />
+     * {PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId. (Nullable)
+     */
+    public void setProductsOptionsValuesId(java.math.BigDecimal productsOptionsValuesId) {
+        _modifiedProperties.addPropertyName("productsOptionsValuesId");
+        this._productsOptionsValuesId = productsOptionsValuesId;
+    }
+
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String languageId_COLUMN = "LANGUAGE_ID";
+
+    /**
+     * Get the value of languageId. <br />
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
+     * 
+     * @return The value of languageId. (Nullable)
+     */
+    public java.math.BigDecimal getLanguageId() {
+        return _languageId;
+    }
+
+    /**
+     * Set the value of languageId. <br />
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
+     * 
+     * @param languageId The value of languageId. (Nullable)
+     */
+    public void setLanguageId(java.math.BigDecimal languageId) {
+        _modifiedProperties.addPropertyName("languageId");
+        this._languageId = languageId;
+    }
+
+    /** Column Annotation for S2Dao. VARCHAR(64) : NotNull */
+    public static final String productsOptionsValuesName_COLUMN = "PRODUCTS_OPTIONS_VALUES_NAME";
+
+    /**
+     * Get the value of productsOptionsValuesName. <br />
+     * {VARCHAR(64) : NotNull}
+     * 
+     * @return The value of productsOptionsValuesName. (Nullable)
+     */
+    public String getProductsOptionsValuesName() {
+        return _productsOptionsValuesName;
+    }
+
+    /**
+     * Set the value of productsOptionsValuesName. <br />
+     * {VARCHAR(64) : NotNull}
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName. (Nullable)
+     */
+    public void setProductsOptionsValuesName(String productsOptionsValuesName) {
+        _modifiedProperties.addPropertyName("productsOptionsValuesName");
+        this._productsOptionsValuesName = productsOptionsValuesName;
+    }
+
+
+    // ===================================================================================
+    //                                                                     Classify Method
+    //                                                                     ===============
+      
+    // ===================================================================================
+    //                                                        Classification Determination
+    //                                                        ============================
+      
+
+    // ===================================================================================
+    //                                                               Classification Getter
+    //                                                               =====================
+      
+
+    // ===================================================================================
+    //                                                                       Foreign Table
+    //                                                                       =============
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES(TABLE)]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int languages_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String languages_RELKEYS = "LANGUAGE_ID:LANGUAGES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Languages _parentLanguages;
+
+    /**
+     * Get the entity of foreign table of languages. {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.Languages getLanguages() {
+        return _parentLanguages;
+    }
+
+    /**
+     * Set the entity of foreign table of languages.
+     * 
+     * @param languages The entity of foreign table. (Nullable)
+     */
+    public void setLanguages(jp.sf.pal.pompei.exentity.Languages languages) {
+        this._parentLanguages = languages;
+    }
+
+    /**
+     * Has relation object of languages.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationLanguages() {
+        return _parentLanguages != null && _parentLanguages.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of languages.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.Languages traceLanguages() {
+        return _parentLanguages != null ? _parentLanguages : new jp.sf.pal.pompei.exentity.Languages();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES(TABLE)]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsOptionsValues_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsOptionsValues_RELKEYS = "PRODUCTS_OPTIONS_VALUES_ID:PRODUCTS_OPTIONS_VALUES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.ProductsOptionsValues _parentProductsOptionsValues;
+
+    /**
+     * Get the entity of foreign table of productsOptionsValues. {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.ProductsOptionsValues getProductsOptionsValues() {
+        return _parentProductsOptionsValues;
+    }
+
+    /**
+     * Set the entity of foreign table of productsOptionsValues.
+     * 
+     * @param productsOptionsValues The entity of foreign table. (Nullable)
+     */
+    public void setProductsOptionsValues(jp.sf.pal.pompei.exentity.ProductsOptionsValues productsOptionsValues) {
+        this._parentProductsOptionsValues = productsOptionsValues;
+    }
+
+    /**
+     * Has relation object of productsOptionsValues.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProductsOptionsValues() {
+        return _parentProductsOptionsValues != null && _parentProductsOptionsValues.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of productsOptionsValues.
+     * 
+     * @return The entity of foreign table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.ProductsOptionsValues traceProductsOptionsValues() {
+        return _parentProductsOptionsValues != null ? _parentProductsOptionsValues : new jp.sf.pal.pompei.exentity.ProductsOptionsValues();
+    }
+  
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+    // ===================================================================================
+    //                                                                       Determination
+    //                                                                       =============
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasPrimaryKeyValue() {
+
+        if (_productsOptionsValuesId == null) {
+            return false;
+        }
+        if (_languageId == null) {
+            return false;
+        }
+
+        return true;
+    }
+
+    // ===================================================================================
+    //                                                                 Modified Properties
+    //                                                                 ===================
+    /**
+     * Get modified property names. (S2Dao uses this for updateModifiedProperties())
+     * 
+     * @return Modified property names. (NotNull)
+     */
+    public java.util.Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    /**
+     * New entity modified properties. You can override this at the sub-class if you need it.
+     * 
+     * @return Entity modified properties. (NotNull)
+     */
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    /**
+     * Clear modified property names.
+     */
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+
+    /**
+     * The override.
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null) {
+            return false;
+        }
+        if (!(other instanceof BsProductsOptionsValuesDescription)) {
+            return false;
+        }
+        final BsProductsOptionsValuesDescription otherEntity = (BsProductsOptionsValuesDescription)other;
+
+        if (getProductsOptionsValuesId() == null || !getProductsOptionsValuesId().equals(otherEntity.getProductsOptionsValuesId())) {
+            return false;
+        }
+        if (getLanguageId() == null || !getLanguageId().equals(otherEntity.getLanguageId())) {
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * The override.
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 0;
+
+        if (this.getProductsOptionsValuesId() != null) {
+            result = result + getProductsOptionsValuesId().hashCode();
+        }
+        if (this.getLanguageId() != null) {
+            result = result + getLanguageId().hashCode();
+        }
+
+        return result;
+    }
+
+    /**
+     * The override.
+     * 
+     * @return Column-value map-string. (NotNull)
+     */
+    public String toString() {
+        final String delimiter = ",";
+        final StringBuffer sb = new StringBuffer();
+
+        sb.append(delimiter).append(getProductsOptionsValuesId());
+        sb.append(delimiter).append(getLanguageId());
+        sb.append(delimiter).append(getProductsOptionsValuesName());
+
+        sb.delete(0, delimiter.length());
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesToProductsOptions.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesToProductsOptions.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesToProductsOptions.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesToProductsOptionsId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS. */
     public static final String TABLE = "PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS";
 
+    
+    /** ID-Annotation */
+    public static final String productsOptionsValuesToProductsOptionsId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsOptionsValuesToProductsOptionsId. PK : INTEGER : NotNull */
+    /** The value of productsOptionsValuesToProductsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _productsOptionsValuesToProductsOptionsId;
 
     /** The value of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
@@ -128,12 +131,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String productsOptionsValuesToProductsOptionsId_COLUMN = "PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID";
 
     /**
      * Get the value of productsOptionsValuesToProductsOptionsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of productsOptionsValuesToProductsOptionsId. (Nullable)
      */
@@ -143,7 +146,7 @@
 
     /**
      * Set the value of productsOptionsValuesToProductsOptionsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param productsOptionsValuesToProductsOptionsId The value of productsOptionsValuesToProductsOptionsId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviews.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviews.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviews.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is REVIEWS. */
     public static final String TABLE = "REVIEWS";
 
+    
+    /** ID-Annotation */
+    public static final String reviewsId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of reviewsId. PK : INTEGER : NotNull */
+    /** The value of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _reviewsId;
 
     /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
@@ -143,12 +146,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String reviewsId_COLUMN = "REVIEWS_ID";
 
     /**
      * Get the value of reviewsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of reviewsId. (Nullable)
      */
@@ -158,7 +161,7 @@
 
     /**
      * Set the value of reviewsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param reviewsId The value of reviewsId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviewsDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviewsDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviewsDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is REVIEWS_DESCRIPTION. */
     public static final String TABLE = "REVIEWS_DESCRIPTION";
 
+    
+    /** ID-Annotation */
+    public static final String reviewsId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of reviewsId. PK : INTEGER : NotNull : FK to REVIEWS */
+    /** The value of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS */
     protected java.math.BigDecimal _reviewsId;
 
     /** The value of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
@@ -128,12 +131,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to REVIEWS */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS */
     public static final String reviewsId_COLUMN = "REVIEWS_ID";
 
     /**
      * Get the value of reviewsId. <br />
-     * {PK : INTEGER : NotNull : FK to REVIEWS}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS}
      * 
      * @return The value of reviewsId. (Nullable)
      */
@@ -143,7 +146,7 @@
 
     /**
      * Set the value of reviewsId. <br />
-     * {PK : INTEGER : NotNull : FK to REVIEWS}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS}
      * 
      * @param reviewsId The value of reviewsId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsSpecials.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsSpecials.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsSpecials.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     specialsId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is SPECIALS. */
     public static final String TABLE = "SPECIALS";
 
+    
+    /** ID-Annotation */
+    public static final String specialsId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of specialsId. PK : INTEGER : NotNull */
+    /** The value of specialsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _specialsId;
 
     /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
@@ -143,12 +146,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String specialsId_COLUMN = "SPECIALS_ID";
 
     /**
      * Get the value of specialsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of specialsId. (Nullable)
      */
@@ -158,7 +161,7 @@
 
     /**
      * Set the value of specialsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param specialsId The value of specialsId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxClass.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxClass.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxClass.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxClassId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is TAX_CLASS. */
     public static final String TABLE = "TAX_CLASS";
 
+    
+    /** ID-Annotation */
+    public static final String taxClassId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of taxClassId. PK : INTEGER : NotNull */
+    /** The value of taxClassId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _taxClassId;
 
     /** The value of taxClassTitle. VARCHAR(32) : NotNull */
@@ -134,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String taxClassId_COLUMN = "TAX_CLASS_ID";
 
     /**
      * Get the value of taxClassId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of taxClassId. (Nullable)
      */
@@ -149,7 +152,7 @@
 
     /**
      * Set the value of taxClassId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param taxClassId The value of taxClassId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxRates.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxRates.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxRates.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxRatesId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is TAX_RATES. */
     public static final String TABLE = "TAX_RATES";
 
+    
+    /** ID-Annotation */
+    public static final String taxRatesId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of taxRatesId. PK : INTEGER : NotNull */
+    /** The value of taxRatesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _taxRatesId;
 
     /** The value of taxZoneId. INTEGER : NotNull : FK to ZONES */
@@ -143,12 +146,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String taxRatesId_COLUMN = "TAX_RATES_ID";
 
     /**
      * Get the value of taxRatesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of taxRatesId. (Nullable)
      */
@@ -158,7 +161,7 @@
 
     /**
      * Set the value of taxRatesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param taxRatesId The value of taxRatesId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZones.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZones.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZones.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     zoneId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is ZONES. */
     public static final String TABLE = "ZONES";
 
+    
+    /** ID-Annotation */
+    public static final String zoneId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of zoneId. PK : INTEGER : NotNull */
+    /** The value of zoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _zoneId;
 
     /** The value of zoneCountryId. INTEGER : NotNull : FK to COUNTRIES */
@@ -131,12 +134,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String zoneId_COLUMN = "ZONE_ID";
 
     /**
      * Get the value of zoneId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of zoneId. (Nullable)
      */
@@ -146,7 +149,7 @@
 
     /**
      * Set the value of zoneId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param zoneId The value of zoneId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZonesToGeoZones.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZonesToGeoZones.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZonesToGeoZones.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -26,7 +26,7 @@
  *     
  * 
  * [identity]
- *     
+ *     associationId
  * 
  * [update-date]
  *     
@@ -47,6 +47,9 @@
     /** TABLE-Annotation for S2Dao. The value is ZONES_TO_GEO_ZONES. */
     public static final String TABLE = "ZONES_TO_GEO_ZONES";
 
+    
+    /** ID-Annotation */
+    public static final String associationId_ID = "identity";
 
     // ===================================================================================
     //                                                                           Attribute
@@ -54,7 +57,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of associationId. PK : INTEGER : NotNull */
+    /** The value of associationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     protected java.math.BigDecimal _associationId;
 
     /** The value of zoneCountryId. INTEGER : NotNull */
@@ -137,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String associationId_COLUMN = "ASSOCIATION_ID";
 
     /**
      * Get the value of associationId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @return The value of associationId. (Nullable)
      */
@@ -152,7 +155,7 @@
 
     /**
      * Set the value of associationId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT]}
      * 
      * @param associationId The value of associationId. (Nullable)
      */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ADDRESS_BOOK_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of ADDRESS_BOOK_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ADDRESS_BOOK_ID = "ADDRESS_BOOK_ID";
     /** Db-name of CUSTOMERS_ID. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
@@ -166,7 +166,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of addressBookId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of addressBookId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_addressBookId = "addressBookId";
     /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersId = "customersId";
@@ -204,7 +204,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of addressBookId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of addressBookId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_AddressBookId = "AddressBookId";
     /** Cap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
@@ -277,7 +277,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of addressBookId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of addressBookId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_addressBookId = "addressBookId";
     /** Uncap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressFormatDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressFormatDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressFormatDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     addressFormatId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ADDRESS_FORMAT_ID. PK : INTEGER : NotNull */
+    /** Db-name of ADDRESS_FORMAT_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ADDRESS_FORMAT_ID = "ADDRESS_FORMAT_ID";
     /** Db-name of ADDRESS_FORMAT. VARCHAR(128) : NotNull */
     public static final String DB_NAME_ADDRESS_FORMAT = "ADDRESS_FORMAT";
@@ -110,7 +110,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of addressFormatId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of addressFormatId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_addressFormatId = "addressFormatId";
     /** Prop-name(JavaBeansRule) of addressFormat. VARCHAR(128) : NotNull */
     public static final String PROPERTY_NAME_addressFormat = "addressFormat";
@@ -120,7 +120,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of addressFormatId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of addressFormatId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_AddressFormatId = "AddressFormatId";
     /** Cap-prop-name of addressFormat. VARCHAR(128) : NotNull */
     public static final String CAP_PROP_NAME_AddressFormat = "AddressFormat";
@@ -137,7 +137,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of addressFormatId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of addressFormatId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_addressFormatId = "addressFormatId";
     /** Uncap-prop-name of addressFormat. VARCHAR(128) : NotNull */
     public static final String UNCAP_PROP_NAME_addressFormat = "addressFormat";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of BANNERS_ID. PK : INTEGER : NotNull */
+    /** Db-name of BANNERS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_BANNERS_ID = "BANNERS_ID";
     /** Db-name of BANNERS_TITLE. VARCHAR(64) : NotNull */
     public static final String DB_NAME_BANNERS_TITLE = "BANNERS_TITLE";
@@ -146,7 +146,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of bannersId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of bannersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_bannersId = "bannersId";
     /** Prop-name(JavaBeansRule) of bannersTitle. VARCHAR(64) : NotNull */
     public static final String PROPERTY_NAME_bannersTitle = "bannersTitle";
@@ -174,7 +174,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of bannersId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of bannersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_BannersId = "BannersId";
     /** Cap-prop-name of bannersTitle. VARCHAR(64) : NotNull */
     public static final String CAP_PROP_NAME_BannersTitle = "BannersTitle";
@@ -227,7 +227,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of bannersId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of bannersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_bannersId = "bannersId";
     /** Uncap-prop-name of bannersTitle. VARCHAR(64) : NotNull */
     public static final String UNCAP_PROP_NAME_bannersTitle = "bannersTitle";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersHistoryDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersHistoryDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersHistoryDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     bannersHistoryId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of BANNERS_HISTORY_ID. PK : INTEGER : NotNull */
+    /** Db-name of BANNERS_HISTORY_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_BANNERS_HISTORY_ID = "BANNERS_HISTORY_ID";
     /** Db-name of BANNERS_ID. INTEGER : NotNull : FK to BANNERS */
     public static final String DB_NAME_BANNERS_ID = "BANNERS_ID";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of bannersHistoryId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of bannersHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_bannersHistoryId = "bannersHistoryId";
     /** Prop-name(JavaBeansRule) of bannersId. INTEGER : NotNull : FK to BANNERS */
     public static final String PROPERTY_NAME_bannersId = "bannersId";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of bannersHistoryId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of bannersHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_BannersHistoryId = "BannersHistoryId";
     /** Cap-prop-name of bannersId. INTEGER : NotNull : FK to BANNERS */
     public static final String CAP_PROP_NAME_BannersId = "BannersId";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of bannersHistoryId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of bannersHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_bannersHistoryId = "bannersHistoryId";
     /** Uncap-prop-name of bannersId. INTEGER : NotNull : FK to BANNERS */
     public static final String UNCAP_PROP_NAME_bannersId = "bannersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -19,10 +19,10 @@
  *     CATEGORIES_ID, CATEGORIES_IMAGE, PARENT_ID, SORT_ORDER, DATE_ADDED, LAST_MODIFIED
  * 
  * [foreign-property]
- *     
+ *     categoriesSelf
  * 
  * [refferer-property]
- *     categoriesDescriptionList, productsToCategoriesList
+ *     categoriesSelfList, categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     
@@ -93,11 +93,11 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CATEGORIES_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of CATEGORIES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CATEGORIES_ID = "CATEGORIES_ID";
     /** Db-name of CATEGORIES_IMAGE. VARCHAR(64) */
     public static final String DB_NAME_CATEGORIES_IMAGE = "CATEGORIES_IMAGE";
-    /** Db-name of PARENT_ID. INTEGER : NotNull : Default=[0] */
+    /** Db-name of PARENT_ID. INTEGER : Default=[0] : FK to CATEGORIES */
     public static final String DB_NAME_PARENT_ID = "PARENT_ID";
     /** Db-name of SORT_ORDER. INTEGER */
     public static final String DB_NAME_SORT_ORDER = "SORT_ORDER";
@@ -122,11 +122,11 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of categoriesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of categoriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_categoriesId = "categoriesId";
     /** Prop-name(JavaBeansRule) of categoriesImage. VARCHAR(64) */
     public static final String PROPERTY_NAME_categoriesImage = "categoriesImage";
-    /** Prop-name(JavaBeansRule) of parentId. INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of parentId. INTEGER : Default=[0] : FK to CATEGORIES */
     public static final String PROPERTY_NAME_parentId = "parentId";
     /** Prop-name(JavaBeansRule) of sortOrder. INTEGER */
     public static final String PROPERTY_NAME_sortOrder = "sortOrder";
@@ -138,11 +138,11 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of categoriesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of categoriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_CategoriesId = "CategoriesId";
     /** Cap-prop-name of categoriesImage. VARCHAR(64) */
     public static final String CAP_PROP_NAME_CategoriesImage = "CategoriesImage";
-    /** Cap-prop-name of parentId. INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of parentId. INTEGER : Default=[0] : FK to CATEGORIES */
     public static final String CAP_PROP_NAME_ParentId = "ParentId";
     /** Cap-prop-name of sortOrder. INTEGER */
     public static final String CAP_PROP_NAME_SortOrder = "SortOrder";
@@ -167,11 +167,11 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of categoriesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of categoriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_categoriesId = "categoriesId";
     /** Uncap-prop-name of categoriesImage. VARCHAR(64) */
     public static final String UNCAP_PROP_NAME_categoriesImage = "categoriesImage";
-    /** Uncap-prop-name of parentId. INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of parentId. INTEGER : Default=[0] : FK to CATEGORIES */
     public static final String UNCAP_PROP_NAME_parentId = "parentId";
     /** Uncap-prop-name of sortOrder. INTEGER */
     public static final String UNCAP_PROP_NAME_sortOrder = "sortOrder";
@@ -196,20 +196,32 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of categoriesSelf. */
+    public static final String FOREIGN_PROPERTY_NAME_categoriesSelf = "categoriesSelf";
+    /** @deprecated Use FOREIGN_NAME_categoriesSelf. */
+    public static final String FOREIGN_CAP_PROP_NAME_CategoriesSelf = "CategoriesSelf";
 
+    /** @deprecated Use FOREIGN_NAME_categoriesSelf. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_categoriesSelf = "categoriesSelf";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of categoriesSelfList. */
+    public static final String REFERER_PROPERTY_NAME_categoriesSelfList = "categoriesSelfList";
     /** The referer property name(JavaBeansRule) of categoriesDescriptionList. */
     public static final String REFERER_PROPERTY_NAME_categoriesDescriptionList = "categoriesDescriptionList";
     /** The referer property name(JavaBeansRule) of productsToCategoriesList. */
     public static final String REFERER_PROPERTY_NAME_productsToCategoriesList = "productsToCategoriesList";
+    /** @deprecated Use REFERER_NAME_categoriesSelfList */
+    public static final String REFERER_CAP_PROP_NAME_CategoriesSelfList = "CategoriesSelfList";
     /** @deprecated Use REFERER_NAME_categoriesDescriptionList */
     public static final String REFERER_CAP_PROP_NAME_CategoriesDescriptionList = "CategoriesDescriptionList";
     /** @deprecated Use REFERER_NAME_productsToCategoriesList */
     public static final String REFERER_CAP_PROP_NAME_ProductsToCategoriesList = "ProductsToCategoriesList";
 
+    /** @deprecated Use REFERER_NAME_categoriesSelfList */
+    public static final String REFERER_UNCAP_PROP_NAME_categoriesSelfList = "categoriesSelfList";
     /** @deprecated Use REFERER_NAME_categoriesDescriptionList */
     public static final String REFERER_UNCAP_PROP_NAME_categoriesDescriptionList = "categoriesDescriptionList";
     /** @deprecated Use REFERER_NAME_productsToCategoriesList */
@@ -734,12 +746,44 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of categoriesSelf.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignCategoriesSelf() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("categoriesSelf");
+        foreignInfo.setLocalDBMeta(CategoriesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(CategoriesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnParentId(), CategoriesDbm.getInstance().columnCategoriesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
     /**
+     * Get referer information of categoriesSelfList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererCategoriesSelfList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("categoriesSelfList");
+        refererInfo.setLocalDBMeta(CategoriesDbm.getInstance());
+        refererInfo.setRefererDBMeta(CategoriesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCategoriesId(), CategoriesDbm.getInstance().columnParentId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
      * Get referer information of categoriesDescriptionList.
      * 
      * @return Referer information. (NotNull)
@@ -819,7 +863,17 @@
         public CategoriesRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
-    
+
+        public CategoriesDbm.CategoriesRelationTrace foreignCategoriesSelf() {
+            _relationList.add(CategoriesDbm.getInstance().foreignCategoriesSelf());
+            return CategoriesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+      
+        public CategoriesDbm.CategoriesRelationTrace refererCategoriesSelfList() {
+            _relationList.add(CategoriesDbm.getInstance().refererCategoriesSelfList());
+            return CategoriesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public CategoriesDescriptionDbm.CategoriesDescriptionRelationTrace refererCategoriesDescriptionList() {
             _relationList.add(CategoriesDbm.getInstance().refererCategoriesDescriptionList());
             return CategoriesDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CONFIGURATION_ID. PK : INTEGER : NotNull */
+    /** Db-name of CONFIGURATION_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CONFIGURATION_ID = "CONFIGURATION_ID";
     /** Db-name of CONFIGURATION_TITLE. VARCHAR(64) : NotNull */
     public static final String DB_NAME_CONFIGURATION_TITLE = "CONFIGURATION_TITLE";
@@ -142,7 +142,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of configurationId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of configurationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_configurationId = "configurationId";
     /** Prop-name(JavaBeansRule) of configurationTitle. VARCHAR(64) : NotNull */
     public static final String PROPERTY_NAME_configurationTitle = "configurationTitle";
@@ -168,7 +168,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of configurationId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of configurationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ConfigurationId = "ConfigurationId";
     /** Cap-prop-name of configurationTitle. VARCHAR(64) : NotNull */
     public static final String CAP_PROP_NAME_ConfigurationTitle = "ConfigurationTitle";
@@ -217,7 +217,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of configurationId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of configurationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_configurationId = "configurationId";
     /** Uncap-prop-name of configurationTitle. VARCHAR(64) : NotNull */
     public static final String UNCAP_PROP_NAME_configurationTitle = "configurationTitle";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationGroupDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationGroupDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationGroupDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     configurationGroupId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CONFIGURATION_GROUP_ID. PK : INTEGER : NotNull */
+    /** Db-name of CONFIGURATION_GROUP_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CONFIGURATION_GROUP_ID = "CONFIGURATION_GROUP_ID";
     /** Db-name of CONFIGURATION_GROUP_TITLE. VARCHAR(64) : NotNull */
     public static final String DB_NAME_CONFIGURATION_GROUP_TITLE = "CONFIGURATION_GROUP_TITLE";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of configurationGroupId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of configurationGroupId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_configurationGroupId = "configurationGroupId";
     /** Prop-name(JavaBeansRule) of configurationGroupTitle. VARCHAR(64) : NotNull */
     public static final String PROPERTY_NAME_configurationGroupTitle = "configurationGroupTitle";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of configurationGroupId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of configurationGroupId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ConfigurationGroupId = "ConfigurationGroupId";
     /** Cap-prop-name of configurationGroupTitle. VARCHAR(64) : NotNull */
     public static final String CAP_PROP_NAME_ConfigurationGroupTitle = "ConfigurationGroupTitle";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of configurationGroupId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of configurationGroupId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_configurationGroupId = "configurationGroupId";
     /** Uncap-prop-name of configurationGroupTitle. VARCHAR(64) : NotNull */
     public static final String UNCAP_PROP_NAME_configurationGroupTitle = "configurationGroupTitle";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountriesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountriesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountriesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     countriesId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of COUNTRIES_ID. PK : INTEGER : NotNull */
+    /** Db-name of COUNTRIES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_COUNTRIES_ID = "COUNTRIES_ID";
     /** Db-name of COUNTRIES_NAME. VARCHAR(64) : NotNull */
     public static final String DB_NAME_COUNTRIES_NAME = "COUNTRIES_NAME";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of countriesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of countriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_countriesId = "countriesId";
     /** Prop-name(JavaBeansRule) of countriesName. VARCHAR(64) : NotNull */
     public static final String PROPERTY_NAME_countriesName = "countriesName";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of countriesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of countriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_CountriesId = "CountriesId";
     /** Cap-prop-name of countriesName. VARCHAR(64) : NotNull */
     public static final String CAP_PROP_NAME_CountriesName = "CountriesName";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of countriesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of countriesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_countriesId = "countriesId";
     /** Uncap-prop-name of countriesName. VARCHAR(64) : NotNull */
     public static final String UNCAP_PROP_NAME_countriesName = "countriesName";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CurrenciesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CurrenciesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CurrenciesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     currenciesId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CURRENCIES_ID. PK : INTEGER : NotNull */
+    /** Db-name of CURRENCIES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CURRENCIES_ID = "CURRENCIES_ID";
     /** Db-name of TITLE. VARCHAR(32) : NotNull */
     public static final String DB_NAME_TITLE = "TITLE";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of currenciesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of currenciesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_currenciesId = "currenciesId";
     /** Prop-name(JavaBeansRule) of title. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_title = "title";
@@ -162,7 +162,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of currenciesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of currenciesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_CurrenciesId = "CurrenciesId";
     /** Cap-prop-name of title. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_Title = "Title";
@@ -207,7 +207,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of currenciesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of currenciesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_currenciesId = "currenciesId";
     /** Uncap-prop-name of title. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_title = "title";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketAttributesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketAttributesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketAttributesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketAttributesId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CUSTOMERS_BASKET_ATTRIBUTES_ID. PK : INTEGER : NotNull */
+    /** Db-name of CUSTOMERS_BASKET_ATTRIBUTES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CUSTOMERS_BASKET_ATTRIBUTES_ID = "CUSTOMERS_BASKET_ATTRIBUTES_ID";
     /** Db-name of CUSTOMERS_ID. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of customersBasketAttributesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of customersBasketAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_customersBasketAttributesId = "customersBasketAttributesId";
     /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersId = "customersId";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of customersBasketAttributesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of customersBasketAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_CustomersBasketAttributesId = "CustomersBasketAttributesId";
     /** Cap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of customersBasketAttributesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of customersBasketAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_customersBasketAttributesId = "customersBasketAttributesId";
     /** Uncap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersBasketId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CUSTOMERS_BASKET_ID. PK : INTEGER : NotNull */
+    /** Db-name of CUSTOMERS_BASKET_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CUSTOMERS_BASKET_ID = "CUSTOMERS_BASKET_ID";
     /** Db-name of CUSTOMERS_ID. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
@@ -122,7 +122,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of customersBasketId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of customersBasketId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_customersBasketId = "customersBasketId";
     /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersId = "customersId";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of customersBasketId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of customersBasketId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_CustomersBasketId = "CustomersBasketId";
     /** Cap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
@@ -167,7 +167,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of customersBasketId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of customersBasketId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_customersBasketId = "customersBasketId";
     /** Uncap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CUSTOMERS_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of CUSTOMERS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
     /** Db-name of CUSTOMERS_PORTAL_ID. VARCHAR(255) : NotNull */
     public static final String DB_NAME_CUSTOMERS_PORTAL_ID = "CUSTOMERS_PORTAL_ID";
@@ -146,7 +146,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of customersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of customersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_customersId = "customersId";
     /** Prop-name(JavaBeansRule) of customersPortalId. VARCHAR(255) : NotNull */
     public static final String PROPERTY_NAME_customersPortalId = "customersPortalId";
@@ -174,7 +174,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of customersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of customersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
     /** Cap-prop-name of customersPortalId. VARCHAR(255) : NotNull */
     public static final String CAP_PROP_NAME_CustomersPortalId = "CustomersPortalId";
@@ -227,7 +227,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of customersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of customersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";
     /** Uncap-prop-name of customersPortalId. VARCHAR(255) : NotNull */
     public static final String UNCAP_PROP_NAME_customersPortalId = "customersPortalId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersInfoDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersInfoDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersInfoDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     customersInfoId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CUSTOMERS_INFO_ID. PK : INTEGER : NotNull : FK to CUSTOMERS */
+    /** Db-name of CUSTOMERS_INFO_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_INFO_ID = "CUSTOMERS_INFO_ID";
     /** Db-name of CUSTOMERS_INFO_DATE_OF_LAST_LOGON. TIMESTAMP */
     public static final String DB_NAME_CUSTOMERS_INFO_DATE_OF_LAST_LOGON = "CUSTOMERS_INFO_DATE_OF_LAST_LOGON";
@@ -122,7 +122,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of customersInfoId. PK : INTEGER : NotNull : FK to CUSTOMERS */
+    /** Prop-name(JavaBeansRule) of customersInfoId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersInfoId = "customersInfoId";
     /** Prop-name(JavaBeansRule) of customersInfoDateOfLastLogon. TIMESTAMP */
     public static final String PROPERTY_NAME_customersInfoDateOfLastLogon = "customersInfoDateOfLastLogon";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of customersInfoId. PK : INTEGER : NotNull : FK to CUSTOMERS */
+    /** Cap-prop-name of customersInfoId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersInfoId = "CustomersInfoId";
     /** Cap-prop-name of customersInfoDateOfLastLogon. TIMESTAMP */
     public static final String CAP_PROP_NAME_CustomersInfoDateOfLastLogon = "CustomersInfoDateOfLastLogon";
@@ -167,7 +167,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of customersInfoId. PK : INTEGER : NotNull : FK to CUSTOMERS */
+    /** Uncap-prop-name of customersInfoId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersInfoId = "customersInfoId";
     /** Uncap-prop-name of customersInfoDateOfLastLogon. TIMESTAMP */
     public static final String UNCAP_PROP_NAME_customersInfoDateOfLastLogon = "customersInfoDateOfLastLogon";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of DELIVERY_METHOD_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of DELIVERY_METHOD_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_DELIVERY_METHOD_ID = "DELIVERY_METHOD_ID";
     /** Db-name of DELIVERY_CLASS. VARCHAR(128) : NotNull */
     public static final String DB_NAME_DELIVERY_CLASS = "DELIVERY_CLASS";
@@ -122,7 +122,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_deliveryMethodId = "deliveryMethodId";
     /** Prop-name(JavaBeansRule) of deliveryClass. VARCHAR(128) : NotNull */
     public static final String PROPERTY_NAME_deliveryClass = "deliveryClass";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_DeliveryMethodId = "DeliveryMethodId";
     /** Cap-prop-name of deliveryClass. VARCHAR(128) : NotNull */
     public static final String CAP_PROP_NAME_DeliveryClass = "DeliveryClass";
@@ -167,7 +167,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of deliveryMethodId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_deliveryMethodId = "deliveryMethodId";
     /** Uncap-prop-name of deliveryClass. VARCHAR(128) : NotNull */
     public static final String UNCAP_PROP_NAME_deliveryClass = "deliveryClass";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -16,7 +16,7 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
  * 
  * [foreign-property]
  *     deliveryMethod, languages
@@ -95,12 +95,10 @@
     //                                        --------------
     /** Db-name of DELIVERY_METHOD_ID. PK : INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
     public static final String DB_NAME_DELIVERY_METHOD_ID = "DELIVERY_METHOD_ID";
-    /** Db-name of LANGUAGE_ID. PK : INTEGER : NotNull : Default=[1] */
+    /** Db-name of LANGUAGE_ID. PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
     /** Db-name of DELIVERY_METHOD_NAME. VARCHAR(32) : NotNull */
     public static final String DB_NAME_DELIVERY_METHOD_NAME = "DELIVERY_METHOD_NAME";
-    /** Db-name of LANGUAGES_ID. INTEGER : NotNull : FK to LANGUAGES */
-    public static final String DB_NAME_LANGUAGES_ID = "LANGUAGES_ID";
 
     /** @deprecated Deprecated! So use DB_NAME_DeliveryMethodId. */
     public static final String COLUMN_DB_NAME_OF_DeliveryMethodId = "DELIVERY_METHOD_ID";
@@ -108,32 +106,26 @@
     public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
     /** @deprecated Deprecated! So use DB_NAME_DeliveryMethodName. */
     public static final String COLUMN_DB_NAME_OF_DeliveryMethodName = "DELIVERY_METHOD_NAME";
-    /** @deprecated Deprecated! So use DB_NAME_LanguagesId. */
-    public static final String COLUMN_DB_NAME_OF_LanguagesId = "LANGUAGES_ID";
 
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of deliveryMethodId. PK : INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
     public static final String PROPERTY_NAME_deliveryMethodId = "deliveryMethodId";
-    /** Prop-name(JavaBeansRule) of languageId. PK : INTEGER : NotNull : Default=[1] */
+    /** Prop-name(JavaBeansRule) of languageId. PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     public static final String PROPERTY_NAME_languageId = "languageId";
     /** Prop-name(JavaBeansRule) of deliveryMethodName. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_deliveryMethodName = "deliveryMethodName";
-    /** Prop-name(JavaBeansRule) of languagesId. INTEGER : NotNull : FK to LANGUAGES */
-    public static final String PROPERTY_NAME_languagesId = "languagesId";
 
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
     /** Cap-prop-name of deliveryMethodId. PK : INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
     public static final String CAP_PROP_NAME_DeliveryMethodId = "DeliveryMethodId";
-    /** Cap-prop-name of languageId. PK : INTEGER : NotNull : Default=[1] */
+    /** Cap-prop-name of languageId. PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
     /** Cap-prop-name of deliveryMethodName. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_DeliveryMethodName = "DeliveryMethodName";
-    /** Cap-prop-name of languagesId. INTEGER : NotNull : FK to LANGUAGES */
-    public static final String CAP_PROP_NAME_LanguagesId = "LanguagesId";
 
     /** @deprecated Deprecated! So use CAP_PROP_NAME_DeliveryMethodId. */
     public static final String COLUMN_CAP_PROP_NAME_OF_DeliveryMethodId = "DeliveryMethodId";
@@ -141,20 +133,16 @@
     public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
     /** @deprecated Deprecated! So use CAP_PROP_NAME_DeliveryMethodName. */
     public static final String COLUMN_CAP_PROP_NAME_OF_DeliveryMethodName = "DeliveryMethodName";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguagesId. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_LanguagesId = "LanguagesId";
 
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
     /** Uncap-prop-name of deliveryMethodId. PK : INTEGER : NotNull : Default=[0] : FK to DELIVERY_METHOD */
     public static final String UNCAP_PROP_NAME_deliveryMethodId = "deliveryMethodId";
-    /** Uncap-prop-name of languageId. PK : INTEGER : NotNull : Default=[1] */
+    /** Uncap-prop-name of languageId. PK : INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     public static final String UNCAP_PROP_NAME_languageId = "languageId";
     /** Uncap-prop-name of deliveryMethodName. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_deliveryMethodName = "deliveryMethodName";
-    /** Uncap-prop-name of languagesId. INTEGER : NotNull : FK to LANGUAGES */
-    public static final String UNCAP_PROP_NAME_languagesId = "languagesId";
 
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_DeliveryMethodId. */
     public static final String COLUMN_UNCAP_PROP_NAME_OF_DeliveryMethodId = "deliveryMethodId";
@@ -162,8 +150,6 @@
     public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_DeliveryMethodName. */
     public static final String COLUMN_UNCAP_PROP_NAME_OF_DeliveryMethodName = "deliveryMethodName";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguagesId. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguagesId = "languagesId";
 
     // -----------------------------------------------------
     //                                          Foreign Name
@@ -199,7 +185,6 @@
         map.put(DB_NAME_DELIVERY_METHOD_ID.toLowerCase(), PROPERTY_NAME_deliveryMethodId);
         map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
         map.put(DB_NAME_DELIVERY_METHOD_NAME.toLowerCase(), PROPERTY_NAME_deliveryMethodName);
-        map.put(DB_NAME_LANGUAGES_ID.toLowerCase(), PROPERTY_NAME_languagesId);
 
         _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _dbNamePropertyNameKeyToLowerMap;
@@ -217,7 +202,6 @@
         map.put(PROPERTY_NAME_deliveryMethodId.toLowerCase(), DB_NAME_DELIVERY_METHOD_ID);
         map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
         map.put(PROPERTY_NAME_deliveryMethodName.toLowerCase(), DB_NAME_DELIVERY_METHOD_NAME);
-        map.put(PROPERTY_NAME_languagesId.toLowerCase(), DB_NAME_LANGUAGES_ID);
 
         _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _propertyNameDbNameKeyToLowerMap;
@@ -237,7 +221,6 @@
         map.put(DB_NAME_DELIVERY_METHOD_ID, CAP_PROP_NAME_DeliveryMethodId);
         map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
         map.put(DB_NAME_DELIVERY_METHOD_NAME, CAP_PROP_NAME_DeliveryMethodName);
-        map.put(DB_NAME_LANGUAGES_ID, CAP_PROP_NAME_LanguagesId);
 
         _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameCapPropNameMap;
@@ -257,7 +240,6 @@
         map.put(DB_NAME_DELIVERY_METHOD_ID, UNCAP_PROP_NAME_deliveryMethodId);
         map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
         map.put(DB_NAME_DELIVERY_METHOD_NAME, UNCAP_PROP_NAME_deliveryMethodName);
-        map.put(DB_NAME_LANGUAGES_ID, UNCAP_PROP_NAME_languagesId);
 
         _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameUncapPropNameMap;
@@ -277,7 +259,6 @@
         map.put(CAP_PROP_NAME_DeliveryMethodId, DB_NAME_DELIVERY_METHOD_ID);
         map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
         map.put(CAP_PROP_NAME_DeliveryMethodName, DB_NAME_DELIVERY_METHOD_NAME);
-        map.put(CAP_PROP_NAME_LanguagesId, DB_NAME_LANGUAGES_ID);
 
         _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameDbNameMap;
@@ -297,7 +278,6 @@
         map.put(CAP_PROP_NAME_DeliveryMethodId, UNCAP_PROP_NAME_deliveryMethodId);
         map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
         map.put(CAP_PROP_NAME_DeliveryMethodName, UNCAP_PROP_NAME_deliveryMethodName);
-        map.put(CAP_PROP_NAME_LanguagesId, UNCAP_PROP_NAME_languagesId);
 
         _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameUncapPropNameMap;
@@ -317,7 +297,6 @@
         map.put(UNCAP_PROP_NAME_deliveryMethodId, DB_NAME_DELIVERY_METHOD_ID);
         map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
         map.put(UNCAP_PROP_NAME_deliveryMethodName, DB_NAME_DELIVERY_METHOD_NAME);
-        map.put(UNCAP_PROP_NAME_languagesId, DB_NAME_LANGUAGES_ID);
 
         _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameDbNameMap;
@@ -337,7 +316,6 @@
         map.put(UNCAP_PROP_NAME_deliveryMethodId, CAP_PROP_NAME_DeliveryMethodId);
         map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
         map.put(UNCAP_PROP_NAME_deliveryMethodName, CAP_PROP_NAME_DeliveryMethodName);
-        map.put(UNCAP_PROP_NAME_languagesId, CAP_PROP_NAME_LanguagesId);
 
         _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameCapPropNameMap;
@@ -549,7 +527,6 @@
         columnInfoList.add(columnDeliveryMethodId());
         columnInfoList.add(columnLanguageId());
         columnInfoList.add(columnDeliveryMethodName());
-        columnInfoList.add(columnLanguagesId());
         return columnInfoList;
     }
 
@@ -605,7 +582,7 @@
      * @deprecated Please use getColumnInfoList()
      */
     public String getColumnDbNameCommaString() {
-        return "DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID";
+        return "DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME";
     }
 
     /**
@@ -626,12 +603,6 @@
     public ColumnInfo columnDeliveryMethodName() {
         return new ColumnInfo(this, "DELIVERY_METHOD_NAME", "deliveryMethodName", String.class, false);
     }
-    /**
-     * @return Column information of languagesId. (NotNull)
-     */
-    public ColumnInfo columnLanguagesId() {
-        return new ColumnInfo(this, "LANGUAGES_ID", "languagesId", java.math.BigDecimal.class, false);
-    }
 
     // ===================================================================================
     //                                                                         Unique Info
@@ -704,7 +675,7 @@
         foreignInfo.setLocalDBMeta(DeliveryMethodDescriptionDbm.getInstance());
         foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguagesId(), LanguagesDbm.getInstance().columnLanguagesId());
+        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
         foreignInfo.setLocalForeignColumnInfoMap(map);
         foreignInfo.setOneToOne(false);
         return foreignInfo;
@@ -776,7 +747,6 @@
         public RelationTrace columnDeliveryMethodId() { return fixTrace(_relationList, DeliveryMethodDescriptionDbm.getInstance().columnDeliveryMethodId()); }
         public RelationTrace columnLanguageId() { return fixTrace(_relationList, DeliveryMethodDescriptionDbm.getInstance().columnLanguageId()); }
         public RelationTrace columnDeliveryMethodName() { return fixTrace(_relationList, DeliveryMethodDescriptionDbm.getInstance().columnDeliveryMethodName()); }
-        public RelationTrace columnLanguagesId() { return fixTrace(_relationList, DeliveryMethodDescriptionDbm.getInstance().columnLanguagesId()); }
     }
 
     // ===================================================================================
@@ -852,7 +822,6 @@
         if (analyzer.init("DELIVERY_METHOD_ID", "deliveryMethodId", "deliveryMethodId")) { myEntity.setDeliveryMethodId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("DELIVERY_METHOD_NAME", "deliveryMethodName", "deliveryMethodName")) { myEntity.setDeliveryMethodName(analyzer.analyzeString(String.class)); };
-        if (analyzer.init("LANGUAGES_ID", "languagesId", "languagesId")) { myEntity.setLanguagesId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
 
     }
 
@@ -929,7 +898,6 @@
         helpAppendingColumnValueString(sb, delimiter, equal, "DELIVERY_METHOD_ID", myEntity.getDeliveryMethodId());
         helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
         helpAppendingColumnValueString(sb, delimiter, equal, "DELIVERY_METHOD_NAME", myEntity.getDeliveryMethodName());
-        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGES_ID", myEntity.getLanguagesId());
 
         sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
         return sb.toString();
@@ -987,7 +955,6 @@
         valueMap.put("DELIVERY_METHOD_ID", myEntity.getDeliveryMethodId());
         valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
         valueMap.put("DELIVERY_METHOD_NAME", myEntity.getDeliveryMethodName());
-        valueMap.put("LANGUAGES_ID", myEntity.getLanguagesId());
         return valueMap;
     }
 
@@ -1013,7 +980,6 @@
         valueMap.put("DELIVERY_METHOD_ID", helpGettingColumnStringValue(myEntity.getDeliveryMethodId()));
         valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
         valueMap.put("DELIVERY_METHOD_NAME", helpGettingColumnStringValue(myEntity.getDeliveryMethodName()));
-        valueMap.put("LANGUAGES_ID", helpGettingColumnStringValue(myEntity.getLanguagesId()));
         return valueMap;
     }
 
@@ -1038,9 +1004,9 @@
     public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
         if (preparedInsertClauseOption.getTablePrefix() != null) {
             final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
-            return "insert into " + tablePrefix + "DELIVERY_METHOD_DESCRIPTION(DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID) values(? , ? , ? , ? )";
+            return "insert into " + tablePrefix + "DELIVERY_METHOD_DESCRIPTION(DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME) values(? , ? , ? )";
         }
-        return "insert into DELIVERY_METHOD_DESCRIPTION(DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID) values(? , ? , ? , ? )";
+        return "insert into DELIVERY_METHOD_DESCRIPTION(DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME) values(? , ? , ? )";
     }
 
     // ===================================================================================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/GeoZonesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/GeoZonesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/GeoZonesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     geoZoneId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of GEO_ZONE_ID. PK : INTEGER : NotNull */
+    /** Db-name of GEO_ZONE_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_GEO_ZONE_ID = "GEO_ZONE_ID";
     /** Db-name of GEO_ZONE_NAME. VARCHAR(32) : NotNull */
     public static final String DB_NAME_GEO_ZONE_NAME = "GEO_ZONE_NAME";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of geoZoneId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of geoZoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_geoZoneId = "geoZoneId";
     /** Prop-name(JavaBeansRule) of geoZoneName. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_geoZoneName = "geoZoneName";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of geoZoneId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of geoZoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_GeoZoneId = "GeoZoneId";
     /** Cap-prop-name of geoZoneName. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_GeoZoneName = "GeoZoneName";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of geoZoneId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of geoZoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_geoZoneId = "geoZoneId";
     /** Uncap-prop-name of geoZoneName. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_geoZoneName = "geoZoneName";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/LanguagesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/LanguagesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/LanguagesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -22,13 +22,13 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusDescriptionList, productsDescriptionList, productsOptionsDescriptionList, productsOptionsValuesDescriptionList, reviewsDescriptionList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     languagesId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of LANGUAGES_ID. PK : INTEGER : NotNull */
+    /** Db-name of LANGUAGES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_LANGUAGES_ID = "LANGUAGES_ID";
     /** Db-name of NAME. VARCHAR(32) : NotNull */
     public static final String DB_NAME_NAME = "NAME";
@@ -122,7 +122,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of languagesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of languagesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_languagesId = "languagesId";
     /** Prop-name(JavaBeansRule) of name. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_name = "name";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of languagesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of languagesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_LanguagesId = "LanguagesId";
     /** Cap-prop-name of name. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_Name = "Name";
@@ -167,7 +167,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of languagesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of languagesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_languagesId = "languagesId";
     /** Uncap-prop-name of name. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_name = "name";
@@ -207,14 +207,14 @@
     public static final String REFERER_PROPERTY_NAME_deliveryMethodDescriptionList = "deliveryMethodDescriptionList";
     /** The referer property name(JavaBeansRule) of manufacturersInfoList. */
     public static final String REFERER_PROPERTY_NAME_manufacturersInfoList = "manufacturersInfoList";
-    /** The referer property name(JavaBeansRule) of ordersStatusList. */
-    public static final String REFERER_PROPERTY_NAME_ordersStatusList = "ordersStatusList";
+    /** The referer property name(JavaBeansRule) of ordersStatusDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_ordersStatusDescriptionList = "ordersStatusDescriptionList";
     /** The referer property name(JavaBeansRule) of productsDescriptionList. */
     public static final String REFERER_PROPERTY_NAME_productsDescriptionList = "productsDescriptionList";
-    /** The referer property name(JavaBeansRule) of productsOptionsList. */
-    public static final String REFERER_PROPERTY_NAME_productsOptionsList = "productsOptionsList";
-    /** The referer property name(JavaBeansRule) of productsOptionsValuesList. */
-    public static final String REFERER_PROPERTY_NAME_productsOptionsValuesList = "productsOptionsValuesList";
+    /** The referer property name(JavaBeansRule) of productsOptionsDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_productsOptionsDescriptionList = "productsOptionsDescriptionList";
+    /** The referer property name(JavaBeansRule) of productsOptionsValuesDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_productsOptionsValuesDescriptionList = "productsOptionsValuesDescriptionList";
     /** The referer property name(JavaBeansRule) of reviewsDescriptionList. */
     public static final String REFERER_PROPERTY_NAME_reviewsDescriptionList = "reviewsDescriptionList";
     /** @deprecated Use REFERER_NAME_categoriesDescriptionList */
@@ -223,14 +223,14 @@
     public static final String REFERER_CAP_PROP_NAME_DeliveryMethodDescriptionList = "DeliveryMethodDescriptionList";
     /** @deprecated Use REFERER_NAME_manufacturersInfoList */
     public static final String REFERER_CAP_PROP_NAME_ManufacturersInfoList = "ManufacturersInfoList";
-    /** @deprecated Use REFERER_NAME_ordersStatusList */
-    public static final String REFERER_CAP_PROP_NAME_OrdersStatusList = "OrdersStatusList";
+    /** @deprecated Use REFERER_NAME_ordersStatusDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersStatusDescriptionList = "OrdersStatusDescriptionList";
     /** @deprecated Use REFERER_NAME_productsDescriptionList */
     public static final String REFERER_CAP_PROP_NAME_ProductsDescriptionList = "ProductsDescriptionList";
-    /** @deprecated Use REFERER_NAME_productsOptionsList */
-    public static final String REFERER_CAP_PROP_NAME_ProductsOptionsList = "ProductsOptionsList";
-    /** @deprecated Use REFERER_NAME_productsOptionsValuesList */
-    public static final String REFERER_CAP_PROP_NAME_ProductsOptionsValuesList = "ProductsOptionsValuesList";
+    /** @deprecated Use REFERER_NAME_productsOptionsDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsOptionsDescriptionList = "ProductsOptionsDescriptionList";
+    /** @deprecated Use REFERER_NAME_productsOptionsValuesDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsOptionsValuesDescriptionList = "ProductsOptionsValuesDescriptionList";
     /** @deprecated Use REFERER_NAME_reviewsDescriptionList */
     public static final String REFERER_CAP_PROP_NAME_ReviewsDescriptionList = "ReviewsDescriptionList";
 
@@ -240,14 +240,14 @@
     public static final String REFERER_UNCAP_PROP_NAME_deliveryMethodDescriptionList = "deliveryMethodDescriptionList";
     /** @deprecated Use REFERER_NAME_manufacturersInfoList */
     public static final String REFERER_UNCAP_PROP_NAME_manufacturersInfoList = "manufacturersInfoList";
-    /** @deprecated Use REFERER_NAME_ordersStatusList */
-    public static final String REFERER_UNCAP_PROP_NAME_ordersStatusList = "ordersStatusList";
+    /** @deprecated Use REFERER_NAME_ordersStatusDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersStatusDescriptionList = "ordersStatusDescriptionList";
     /** @deprecated Use REFERER_NAME_productsDescriptionList */
     public static final String REFERER_UNCAP_PROP_NAME_productsDescriptionList = "productsDescriptionList";
-    /** @deprecated Use REFERER_NAME_productsOptionsList */
-    public static final String REFERER_UNCAP_PROP_NAME_productsOptionsList = "productsOptionsList";
-    /** @deprecated Use REFERER_NAME_productsOptionsValuesList */
-    public static final String REFERER_UNCAP_PROP_NAME_productsOptionsValuesList = "productsOptionsValuesList";
+    /** @deprecated Use REFERER_NAME_productsOptionsDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsOptionsDescriptionList = "productsOptionsDescriptionList";
+    /** @deprecated Use REFERER_NAME_productsOptionsValuesDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsOptionsValuesDescriptionList = "productsOptionsValuesDescriptionList";
     /** @deprecated Use REFERER_NAME_reviewsDescriptionList */
     public static final String REFERER_UNCAP_PROP_NAME_reviewsDescriptionList = "reviewsDescriptionList";
 
@@ -802,7 +802,7 @@
         refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
         refererInfo.setRefererDBMeta(DeliveryMethodDescriptionDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguagesId(), DeliveryMethodDescriptionDbm.getInstance().columnLanguagesId());
+        map.put(columnLanguagesId(), DeliveryMethodDescriptionDbm.getInstance().columnLanguageId());
         refererInfo.setLocalRefererColumnInfoMap(map);
         refererInfo.setOneToOne(false);
         return refererInfo;
@@ -824,17 +824,17 @@
         return refererInfo;
     }
     /**
-     * Get referer information of ordersStatusList.
+     * Get referer information of ordersStatusDescriptionList.
      * 
      * @return Referer information. (NotNull)
      */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersStatusList() {
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersStatusDescriptionList() {
         final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
-        refererInfo.setRefererPropertyName("ordersStatusList");
+        refererInfo.setRefererPropertyName("ordersStatusDescriptionList");
         refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
-        refererInfo.setRefererDBMeta(OrdersStatusDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersStatusDescriptionDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguagesId(), OrdersStatusDbm.getInstance().columnLanguageId());
+        map.put(columnLanguagesId(), OrdersStatusDescriptionDbm.getInstance().columnLanguageId());
         refererInfo.setLocalRefererColumnInfoMap(map);
         refererInfo.setOneToOne(false);
         return refererInfo;
@@ -856,33 +856,33 @@
         return refererInfo;
     }
     /**
-     * Get referer information of productsOptionsList.
+     * Get referer information of productsOptionsDescriptionList.
      * 
      * @return Referer information. (NotNull)
      */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsList() {
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsDescriptionList() {
         final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
-        refererInfo.setRefererPropertyName("productsOptionsList");
+        refererInfo.setRefererPropertyName("productsOptionsDescriptionList");
         refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
-        refererInfo.setRefererDBMeta(ProductsOptionsDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsOptionsDescriptionDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguagesId(), ProductsOptionsDbm.getInstance().columnLanguageId());
+        map.put(columnLanguagesId(), ProductsOptionsDescriptionDbm.getInstance().columnLanguageId());
         refererInfo.setLocalRefererColumnInfoMap(map);
         refererInfo.setOneToOne(false);
         return refererInfo;
     }
     /**
-     * Get referer information of productsOptionsValuesList.
+     * Get referer information of productsOptionsValuesDescriptionList.
      * 
      * @return Referer information. (NotNull)
      */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsValuesList() {
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsValuesDescriptionList() {
         final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
-        refererInfo.setRefererPropertyName("productsOptionsValuesList");
+        refererInfo.setRefererPropertyName("productsOptionsValuesDescriptionList");
         refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
-        refererInfo.setRefererDBMeta(ProductsOptionsValuesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsOptionsValuesDescriptionDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguagesId(), ProductsOptionsValuesDbm.getInstance().columnLanguageId());
+        map.put(columnLanguagesId(), ProductsOptionsValuesDescriptionDbm.getInstance().columnLanguageId());
         refererInfo.setLocalRefererColumnInfoMap(map);
         refererInfo.setOneToOne(false);
         return refererInfo;
@@ -967,9 +967,9 @@
             return ManufacturersInfoDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
-        public OrdersStatusDbm.OrdersStatusRelationTrace refererOrdersStatusList() {
-            _relationList.add(LanguagesDbm.getInstance().refererOrdersStatusList());
-            return OrdersStatusDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        public OrdersStatusDescriptionDbm.OrdersStatusDescriptionRelationTrace refererOrdersStatusDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererOrdersStatusDescriptionList());
+            return OrdersStatusDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
         public ProductsDescriptionDbm.ProductsDescriptionRelationTrace refererProductsDescriptionList() {
@@ -977,14 +977,14 @@
             return ProductsDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
-        public ProductsOptionsDbm.ProductsOptionsRelationTrace refererProductsOptionsList() {
-            _relationList.add(LanguagesDbm.getInstance().refererProductsOptionsList());
-            return ProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        public ProductsOptionsDescriptionDbm.ProductsOptionsDescriptionRelationTrace refererProductsOptionsDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererProductsOptionsDescriptionList());
+            return ProductsOptionsDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
-        public ProductsOptionsValuesDbm.ProductsOptionsValuesRelationTrace refererProductsOptionsValuesList() {
-            _relationList.add(LanguagesDbm.getInstance().refererProductsOptionsValuesList());
-            return ProductsOptionsValuesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        public ProductsOptionsValuesDescriptionDbm.ProductsOptionsValuesDescriptionRelationTrace refererProductsOptionsValuesDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererProductsOptionsValuesDescriptionList());
+            return ProductsOptionsValuesDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
         public ReviewsDescriptionDbm.ReviewsDescriptionRelationTrace refererReviewsDescriptionList() {

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of MANUFACTURERS_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of MANUFACTURERS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_MANUFACTURERS_ID = "MANUFACTURERS_ID";
     /** Db-name of MANUFACTURERS_NAME. VARCHAR(32) : NotNull */
     public static final String DB_NAME_MANUFACTURERS_NAME = "MANUFACTURERS_NAME";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of manufacturersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of manufacturersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_manufacturersId = "manufacturersId";
     /** Prop-name(JavaBeansRule) of manufacturersName. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_manufacturersName = "manufacturersName";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of manufacturersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of manufacturersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ManufacturersId = "ManufacturersId";
     /** Cap-prop-name of manufacturersName. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_ManufacturersName = "ManufacturersName";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of manufacturersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of manufacturersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_manufacturersId = "manufacturersId";
     /** Uncap-prop-name of manufacturersName. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_manufacturersName = "manufacturersName";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/NewslettersDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/NewslettersDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/NewslettersDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     newslettersId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of NEWSLETTERS_ID. PK : INTEGER : NotNull */
+    /** Db-name of NEWSLETTERS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_NEWSLETTERS_ID = "NEWSLETTERS_ID";
     /** Db-name of TITLE. VARCHAR(255) : NotNull */
     public static final String DB_NAME_TITLE = "TITLE";
@@ -130,7 +130,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of newslettersId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of newslettersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_newslettersId = "newslettersId";
     /** Prop-name(JavaBeansRule) of title. VARCHAR(255) : NotNull */
     public static final String PROPERTY_NAME_title = "title";
@@ -150,7 +150,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of newslettersId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of newslettersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_NewslettersId = "NewslettersId";
     /** Cap-prop-name of title. VARCHAR(255) : NotNull */
     public static final String CAP_PROP_NAME_Title = "Title";
@@ -187,7 +187,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of newslettersId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of newslettersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_newslettersId = "newslettersId";
     /** Uncap-prop-name of title. VARCHAR(255) : NotNull */
     public static final String UNCAP_PROP_NAME_title = "title";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -22,7 +22,7 @@
  *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersStatusHistoryList, ordersTotalList
  * 
  * [sequence]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of ORDERS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
     /** Db-name of CUSTOMERS_ID. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
@@ -290,7 +290,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of ordersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
     /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersId = "customersId";
@@ -390,7 +390,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of ordersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
     /** Cap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
@@ -587,7 +587,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of ordersId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";
     /** Uncap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";
@@ -825,6 +825,8 @@
     public static final String REFERER_PROPERTY_NAME_ordersProductsAttributesList = "ordersProductsAttributesList";
     /** The referer property name(JavaBeansRule) of ordersProductsDownloadList. */
     public static final String REFERER_PROPERTY_NAME_ordersProductsDownloadList = "ordersProductsDownloadList";
+    /** The referer property name(JavaBeansRule) of ordersStatusHistoryList. */
+    public static final String REFERER_PROPERTY_NAME_ordersStatusHistoryList = "ordersStatusHistoryList";
     /** The referer property name(JavaBeansRule) of ordersTotalList. */
     public static final String REFERER_PROPERTY_NAME_ordersTotalList = "ordersTotalList";
     /** @deprecated Use REFERER_NAME_ordersProductsList */
@@ -833,6 +835,8 @@
     public static final String REFERER_CAP_PROP_NAME_OrdersProductsAttributesList = "OrdersProductsAttributesList";
     /** @deprecated Use REFERER_NAME_ordersProductsDownloadList */
     public static final String REFERER_CAP_PROP_NAME_OrdersProductsDownloadList = "OrdersProductsDownloadList";
+    /** @deprecated Use REFERER_NAME_ordersStatusHistoryList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersStatusHistoryList = "OrdersStatusHistoryList";
     /** @deprecated Use REFERER_NAME_ordersTotalList */
     public static final String REFERER_CAP_PROP_NAME_OrdersTotalList = "OrdersTotalList";
 
@@ -842,6 +846,8 @@
     public static final String REFERER_UNCAP_PROP_NAME_ordersProductsAttributesList = "ordersProductsAttributesList";
     /** @deprecated Use REFERER_NAME_ordersProductsDownloadList */
     public static final String REFERER_UNCAP_PROP_NAME_ordersProductsDownloadList = "ordersProductsDownloadList";
+    /** @deprecated Use REFERER_NAME_ordersStatusHistoryList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersStatusHistoryList = "ordersStatusHistoryList";
     /** @deprecated Use REFERER_NAME_ordersTotalList */
     public static final String REFERER_UNCAP_PROP_NAME_ordersTotalList = "ordersTotalList";
 
@@ -2128,6 +2134,22 @@
         return refererInfo;
     }
     /**
+     * Get referer information of ordersStatusHistoryList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersStatusHistoryList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersStatusHistoryList");
+        refererInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersStatusHistoryDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersId(), OrdersStatusHistoryDbm.getInstance().columnOrdersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
      * Get referer information of ordersTotalList.
      * 
      * @return Referer information. (NotNull)
@@ -2216,7 +2238,7 @@
             _relationList.add(OrdersDbm.getInstance().foreignOrdersStatus());
             return OrdersStatusDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
-        
+          
         public OrdersProductsDbm.OrdersProductsRelationTrace refererOrdersProductsList() {
             _relationList.add(OrdersDbm.getInstance().refererOrdersProductsList());
             return OrdersProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
@@ -2232,6 +2254,11 @@
             return OrdersProductsDownloadDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public OrdersStatusHistoryDbm.OrdersStatusHistoryRelationTrace refererOrdersStatusHistoryList() {
+            _relationList.add(OrdersDbm.getInstance().refererOrdersStatusHistoryList());
+            return OrdersStatusHistoryDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public OrdersTotalDbm.OrdersTotalRelationTrace refererOrdersTotalList() {
             _relationList.add(OrdersDbm.getInstance().refererOrdersTotalList());
             return OrdersTotalDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsAttributesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsAttributesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsAttributesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsAttributesId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_PRODUCTS_ATTRIBUTES_ID. PK : INTEGER : NotNull */
+    /** Db-name of ORDERS_PRODUCTS_ATTRIBUTES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ORDERS_PRODUCTS_ATTRIBUTES_ID = "ORDERS_PRODUCTS_ATTRIBUTES_ID";
     /** Db-name of ORDERS_ID. INTEGER : NotNull : FK to ORDERS */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
@@ -126,7 +126,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersProductsAttributesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of ordersProductsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_ordersProductsAttributesId = "ordersProductsAttributesId";
     /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
@@ -144,7 +144,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersProductsAttributesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of ordersProductsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_OrdersProductsAttributesId = "OrdersProductsAttributesId";
     /** Cap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
@@ -177,7 +177,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersProductsAttributesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of ordersProductsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_ordersProductsAttributesId = "ordersProductsAttributesId";
     /** Uncap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_PRODUCTS_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of ORDERS_PRODUCTS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ORDERS_PRODUCTS_ID = "ORDERS_PRODUCTS_ID";
     /** Db-name of ORDERS_ID. INTEGER : NotNull : FK to ORDERS */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
@@ -134,7 +134,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_ordersProductsId = "ordersProductsId";
     /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
@@ -156,7 +156,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_OrdersProductsId = "OrdersProductsId";
     /** Cap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
@@ -197,7 +197,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of ordersProductsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_ordersProductsId = "ordersProductsId";
     /** Uncap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDownloadDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDownloadDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDownloadDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersProductsDownloadId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_PRODUCTS_DOWNLOAD_ID. PK : INTEGER : NotNull */
+    /** Db-name of ORDERS_PRODUCTS_DOWNLOAD_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ORDERS_PRODUCTS_DOWNLOAD_ID = "ORDERS_PRODUCTS_DOWNLOAD_ID";
     /** Db-name of ORDERS_ID. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
@@ -122,7 +122,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersProductsDownloadId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of ordersProductsDownloadId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_ordersProductsDownloadId = "ordersProductsDownloadId";
     /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersProductsDownloadId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of ordersProductsDownloadId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_OrdersProductsDownloadId = "OrdersProductsDownloadId";
     /** Cap-prop-name of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
@@ -167,7 +167,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersProductsDownloadId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of ordersProductsDownloadId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_ordersProductsDownloadId = "ordersProductsDownloadId";
     /** Uncap-prop-name of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -16,13 +16,13 @@
  *     ORDERS_STATUS_ID
  * 
  * [column-property]
- *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ *     ORDERS_STATUS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     ordersList, ordersStatusHistoryList
+ *     ordersList, ordersStatusDescriptionList, ordersStatusHistoryList
  * 
  * [sequence]
  *     
@@ -93,89 +93,61 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_STATUS_ID. PK : INTEGER : NotNull : Default=[1] */
+    /** Db-name of ORDERS_STATUS_ID. PK : INTEGER : NotNull : Default=[0] */
     public static final String DB_NAME_ORDERS_STATUS_ID = "ORDERS_STATUS_ID";
-    /** Db-name of LANGUAGE_ID. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
-    /** Db-name of ORDERS_STATUS_NAME. VARCHAR(32) : NotNull */
-    public static final String DB_NAME_ORDERS_STATUS_NAME = "ORDERS_STATUS_NAME";
 
     /** @deprecated Deprecated! So use DB_NAME_OrdersStatusId. */
     public static final String COLUMN_DB_NAME_OF_OrdersStatusId = "ORDERS_STATUS_ID";
-    /** @deprecated Deprecated! So use DB_NAME_LanguageId. */
-    public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
-    /** @deprecated Deprecated! So use DB_NAME_OrdersStatusName. */
-    public static final String COLUMN_DB_NAME_OF_OrdersStatusName = "ORDERS_STATUS_NAME";
 
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
+    /** Prop-name(JavaBeansRule) of ordersStatusId. PK : INTEGER : NotNull : Default=[0] */
     public static final String PROPERTY_NAME_ordersStatusId = "ordersStatusId";
-    /** Prop-name(JavaBeansRule) of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String PROPERTY_NAME_languageId = "languageId";
-    /** Prop-name(JavaBeansRule) of ordersStatusName. VARCHAR(32) : NotNull */
-    public static final String PROPERTY_NAME_ordersStatusName = "ordersStatusName";
 
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
+    /** Cap-prop-name of ordersStatusId. PK : INTEGER : NotNull : Default=[0] */
     public static final String CAP_PROP_NAME_OrdersStatusId = "OrdersStatusId";
-    /** Cap-prop-name of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
-    /** Cap-prop-name of ordersStatusName. VARCHAR(32) : NotNull */
-    public static final String CAP_PROP_NAME_OrdersStatusName = "OrdersStatusName";
 
     /** @deprecated Deprecated! So use CAP_PROP_NAME_OrdersStatusId. */
     public static final String COLUMN_CAP_PROP_NAME_OF_OrdersStatusId = "OrdersStatusId";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguageId. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_OrdersStatusName. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_OrdersStatusName = "OrdersStatusName";
 
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
+    /** Uncap-prop-name of ordersStatusId. PK : INTEGER : NotNull : Default=[0] */
     public static final String UNCAP_PROP_NAME_ordersStatusId = "ordersStatusId";
-    /** Uncap-prop-name of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String UNCAP_PROP_NAME_languageId = "languageId";
-    /** Uncap-prop-name of ordersStatusName. VARCHAR(32) : NotNull */
-    public static final String UNCAP_PROP_NAME_ordersStatusName = "ordersStatusName";
 
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_OrdersStatusId. */
     public static final String COLUMN_UNCAP_PROP_NAME_OF_OrdersStatusId = "ordersStatusId";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguageId. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_OrdersStatusName. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_OrdersStatusName = "ordersStatusName";
 
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
-    /** The foreign property name(JavaBeansRule) of languages. */
-    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
-    /** @deprecated Use FOREIGN_NAME_languages. */
-    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
 
-    /** @deprecated Use FOREIGN_NAME_languages. */
-    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
     /** The referer property name(JavaBeansRule) of ordersList. */
     public static final String REFERER_PROPERTY_NAME_ordersList = "ordersList";
+    /** The referer property name(JavaBeansRule) of ordersStatusDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_ordersStatusDescriptionList = "ordersStatusDescriptionList";
     /** The referer property name(JavaBeansRule) of ordersStatusHistoryList. */
     public static final String REFERER_PROPERTY_NAME_ordersStatusHistoryList = "ordersStatusHistoryList";
     /** @deprecated Use REFERER_NAME_ordersList */
     public static final String REFERER_CAP_PROP_NAME_OrdersList = "OrdersList";
+    /** @deprecated Use REFERER_NAME_ordersStatusDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersStatusDescriptionList = "OrdersStatusDescriptionList";
     /** @deprecated Use REFERER_NAME_ordersStatusHistoryList */
     public static final String REFERER_CAP_PROP_NAME_OrdersStatusHistoryList = "OrdersStatusHistoryList";
 
     /** @deprecated Use REFERER_NAME_ordersList */
     public static final String REFERER_UNCAP_PROP_NAME_ordersList = "ordersList";
+    /** @deprecated Use REFERER_NAME_ordersStatusDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersStatusDescriptionList = "ordersStatusDescriptionList";
     /** @deprecated Use REFERER_NAME_ordersStatusHistoryList */
     public static final String REFERER_UNCAP_PROP_NAME_ordersStatusHistoryList = "ordersStatusHistoryList";
 
@@ -189,8 +161,6 @@
         map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
 
         map.put(DB_NAME_ORDERS_STATUS_ID.toLowerCase(), PROPERTY_NAME_ordersStatusId);
-        map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
-        map.put(DB_NAME_ORDERS_STATUS_NAME.toLowerCase(), PROPERTY_NAME_ordersStatusName);
 
         _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _dbNamePropertyNameKeyToLowerMap;
@@ -206,8 +176,6 @@
         map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
 
         map.put(PROPERTY_NAME_ordersStatusId.toLowerCase(), DB_NAME_ORDERS_STATUS_ID);
-        map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
-        map.put(PROPERTY_NAME_ordersStatusName.toLowerCase(), DB_NAME_ORDERS_STATUS_NAME);
 
         _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _propertyNameDbNameKeyToLowerMap;
@@ -225,8 +193,6 @@
         map.put(TABLE_DB_NAME, TABLE_CAP_PROP_NAME);
 
         map.put(DB_NAME_ORDERS_STATUS_ID, CAP_PROP_NAME_OrdersStatusId);
-        map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
-        map.put(DB_NAME_ORDERS_STATUS_NAME, CAP_PROP_NAME_OrdersStatusName);
 
         _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameCapPropNameMap;
@@ -244,8 +210,6 @@
         map.put(TABLE_DB_NAME, TABLE_UNCAP_PROP_NAME);
 
         map.put(DB_NAME_ORDERS_STATUS_ID, UNCAP_PROP_NAME_ordersStatusId);
-        map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
-        map.put(DB_NAME_ORDERS_STATUS_NAME, UNCAP_PROP_NAME_ordersStatusName);
 
         _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameUncapPropNameMap;
@@ -263,8 +227,6 @@
         map.put(TABLE_CAP_PROP_NAME, TABLE_DB_NAME);
 
         map.put(CAP_PROP_NAME_OrdersStatusId, DB_NAME_ORDERS_STATUS_ID);
-        map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
-        map.put(CAP_PROP_NAME_OrdersStatusName, DB_NAME_ORDERS_STATUS_NAME);
 
         _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameDbNameMap;
@@ -282,8 +244,6 @@
         map.put(TABLE_CAP_PROP_NAME, TABLE_UNCAP_PROP_NAME);
 
         map.put(CAP_PROP_NAME_OrdersStatusId, UNCAP_PROP_NAME_ordersStatusId);
-        map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
-        map.put(CAP_PROP_NAME_OrdersStatusName, UNCAP_PROP_NAME_ordersStatusName);
 
         _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameUncapPropNameMap;
@@ -301,8 +261,6 @@
         map.put(TABLE_UNCAP_PROP_NAME, TABLE_DB_NAME);
 
         map.put(UNCAP_PROP_NAME_ordersStatusId, DB_NAME_ORDERS_STATUS_ID);
-        map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
-        map.put(UNCAP_PROP_NAME_ordersStatusName, DB_NAME_ORDERS_STATUS_NAME);
 
         _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameDbNameMap;
@@ -320,8 +278,6 @@
         map.put(TABLE_UNCAP_PROP_NAME, TABLE_CAP_PROP_NAME);
 
         map.put(UNCAP_PROP_NAME_ordersStatusId, CAP_PROP_NAME_OrdersStatusId);
-        map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
-        map.put(UNCAP_PROP_NAME_ordersStatusName, CAP_PROP_NAME_OrdersStatusName);
 
         _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameCapPropNameMap;
@@ -531,8 +487,6 @@
     public java.util.List<ColumnInfo> getColumnInfoList() {
         final java.util.List<ColumnInfo> columnInfoList = new java.util.ArrayList<ColumnInfo>();
         columnInfoList.add(columnOrdersStatusId());
-        columnInfoList.add(columnLanguageId());
-        columnInfoList.add(columnOrdersStatusName());
         return columnInfoList;
     }
 
@@ -588,7 +542,7 @@
      * @deprecated Please use getColumnInfoList()
      */
     public String getColumnDbNameCommaString() {
-        return "ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME";
+        return "ORDERS_STATUS_ID";
     }
 
     /**
@@ -597,18 +551,6 @@
     public ColumnInfo columnOrdersStatusId() {
         return new ColumnInfo(this, "ORDERS_STATUS_ID", "ordersStatusId", java.math.BigDecimal.class, true);
     }
-    /**
-     * @return Column information of languageId. (NotNull)
-     */
-    public ColumnInfo columnLanguageId() {
-        return new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, false);
-    }
-    /**
-     * @return Column information of ordersStatusName. (NotNull)
-     */
-    public ColumnInfo columnOrdersStatusName() {
-        return new ColumnInfo(this, "ORDERS_STATUS_NAME", "ordersStatusName", String.class, false);
-    }
 
     // ===================================================================================
     //                                                                         Unique Info
@@ -653,22 +595,6 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
-    /**
-     * Get foreign information of languages.
-     * 
-     * @return Referer information. (NotNull)
-     */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignLanguages() {
-        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
-        foreignInfo.setForeignPropertyName("languages");
-        foreignInfo.setLocalDBMeta(OrdersStatusDbm.getInstance());
-        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
-        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
-        foreignInfo.setLocalForeignColumnInfoMap(map);
-        foreignInfo.setOneToOne(false);
-        return foreignInfo;
-    }
 
 
     // -----------------------------------------------------
@@ -691,6 +617,22 @@
         return refererInfo;
     }
     /**
+     * Get referer information of ordersStatusDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersStatusDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersStatusDescriptionList");
+        refererInfo.setLocalDBMeta(OrdersStatusDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersStatusDescriptionDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersStatusId(), OrdersStatusDescriptionDbm.getInstance().columnOrdersStatusId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
      * Get referer information of ordersStatusHistoryList.
      * 
      * @return Referer information. (NotNull)
@@ -754,25 +696,23 @@
         public OrdersStatusRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
-
-        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
-            _relationList.add(OrdersStatusDbm.getInstance().foreignLanguages());
-            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
-        }
-    
+      
         public OrdersDbm.OrdersRelationTrace refererOrdersList() {
             _relationList.add(OrdersStatusDbm.getInstance().refererOrdersList());
             return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public OrdersStatusDescriptionDbm.OrdersStatusDescriptionRelationTrace refererOrdersStatusDescriptionList() {
+            _relationList.add(OrdersStatusDbm.getInstance().refererOrdersStatusDescriptionList());
+            return OrdersStatusDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public OrdersStatusHistoryDbm.OrdersStatusHistoryRelationTrace refererOrdersStatusHistoryList() {
             _relationList.add(OrdersStatusDbm.getInstance().refererOrdersStatusHistoryList());
             return OrdersStatusHistoryDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
         public RelationTrace columnOrdersStatusId() { return fixTrace(_relationList, OrdersStatusDbm.getInstance().columnOrdersStatusId()); }
-        public RelationTrace columnLanguageId() { return fixTrace(_relationList, OrdersStatusDbm.getInstance().columnLanguageId()); }
-        public RelationTrace columnOrdersStatusName() { return fixTrace(_relationList, OrdersStatusDbm.getInstance().columnOrdersStatusName()); }
     }
 
     // ===================================================================================
@@ -844,8 +784,6 @@
         final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
 
         if (analyzer.init("ORDERS_STATUS_ID", "ordersStatusId", "ordersStatusId")) { myEntity.setOrdersStatusId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("ORDERS_STATUS_NAME", "ordersStatusName", "ordersStatusName")) { myEntity.setOrdersStatusName(analyzer.analyzeString(String.class)); };
 
     }
 
@@ -919,8 +857,6 @@
         final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
         final StringBuffer sb = new StringBuffer();
         helpAppendingColumnValueString(sb, delimiter, equal, "ORDERS_STATUS_ID", myEntity.getOrdersStatusId());
-        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
-        helpAppendingColumnValueString(sb, delimiter, equal, "ORDERS_STATUS_NAME", myEntity.getOrdersStatusName());
 
         sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
         return sb.toString();
@@ -976,8 +912,6 @@
         final OrdersStatus myEntity = downcast(entity);
         final java.util.Map<String, Object> valueMap = new java.util.LinkedHashMap<String, Object>();
         valueMap.put("ORDERS_STATUS_ID", myEntity.getOrdersStatusId());
-        valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
-        valueMap.put("ORDERS_STATUS_NAME", myEntity.getOrdersStatusName());
         return valueMap;
     }
 
@@ -1001,8 +935,6 @@
         final OrdersStatus myEntity = downcast(entity);
         final java.util.Map<String, String> valueMap = new java.util.LinkedHashMap<String, String>();
         valueMap.put("ORDERS_STATUS_ID", helpGettingColumnStringValue(myEntity.getOrdersStatusId()));
-        valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
-        valueMap.put("ORDERS_STATUS_NAME", helpGettingColumnStringValue(myEntity.getOrdersStatusName()));
         return valueMap;
     }
 
@@ -1027,9 +959,9 @@
     public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
         if (preparedInsertClauseOption.getTablePrefix() != null) {
             final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
-            return "insert into " + tablePrefix + "ORDERS_STATUS(ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME) values(? , ? , ? )";
+            return "insert into " + tablePrefix + "ORDERS_STATUS(ORDERS_STATUS_ID) values(? )";
         }
-        return "insert into ORDERS_STATUS(ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME) values(? , ? , ? )";
+        return "insert into ORDERS_STATUS(ORDERS_STATUS_ID) values(? )";
     }
 
     // ===================================================================================

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDescriptionDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDescriptionDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDescriptionDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,1028 @@
+package jp.sf.pal.pompei.bsentity.dbmeta;
+
+
+import jp.sf.pal.pompei.allcommon.Entity;
+import jp.sf.pal.pompei.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.pompei.exentity.OrdersStatusDescription;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.RelationInfo;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.UniqueInfo;
+
+/**
+ * The dbmeta of ORDERS_STATUS_DESCRIPTION. (Singleton)
+ * 
+ * <pre>
+ * [primary-key]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
+ * 
+ * [foreign-property]
+ *     languages, ordersStatus
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescriptionDbm extends AbstractDBMeta {
+
+    // ===================================================================================
+    //                                                                          Definition
+    //                                                                          ==========
+    /** The type of entity. */
+    protected static final Class ENTITY_TYPE = OrdersStatusDescription.class;
+
+    /** Singleton instance. */
+    private static final OrdersStatusDescriptionDbm _instance = new OrdersStatusDescriptionDbm();
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    private OrdersStatusDescriptionDbm() {
+    }
+
+    // ===================================================================================
+    //                                                                           Singleton
+    //                                                                           =========
+    /**
+     * Get instance.
+     * 
+     * @return Singleton instance. (NotNull)
+     */
+    public static OrdersStatusDescriptionDbm getInstance() {
+        return _instance;
+    }
+
+    // ===================================================================================
+    //                                                                     Name Definition
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                 Table
+    //                                                 -----
+    /** Table db name. */
+    public static final String TABLE_DB_NAME = "ORDERS_STATUS_DESCRIPTION";
+
+    /** Table prop name(JavaBeansRule). */
+    public static final String TABLE_PROPERTY_NAME = "ordersStatusDescription";
+
+    /** Table cap-prop name. */
+    public static final String TABLE_CAP_PROP_NAME = "OrdersStatusDescription";
+
+    /** Table uncap-prop name. */
+    public static final String TABLE_UNCAP_PROP_NAME = "ordersStatusDescription";
+
+    // -----------------------------------------------------
+    //                                        Column DB-Name
+    //                                        --------------
+    /** Db-name of ORDERS_STATUS_ID. PK : INTEGER : NotNull : FK to ORDERS_STATUS */
+    public static final String DB_NAME_ORDERS_STATUS_ID = "ORDERS_STATUS_ID";
+    /** Db-name of LANGUAGE_ID. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
+    /** Db-name of ORDERS_STATUS_NAME. VARCHAR(32) : NotNull */
+    public static final String DB_NAME_ORDERS_STATUS_NAME = "ORDERS_STATUS_NAME";
+
+    /** @deprecated Deprecated! So use DB_NAME_OrdersStatusId. */
+    public static final String COLUMN_DB_NAME_OF_OrdersStatusId = "ORDERS_STATUS_ID";
+    /** @deprecated Deprecated! So use DB_NAME_LanguageId. */
+    public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
+    /** @deprecated Deprecated! So use DB_NAME_OrdersStatusName. */
+    public static final String COLUMN_DB_NAME_OF_OrdersStatusName = "ORDERS_STATUS_NAME";
+
+    // -----------------------------------------------------
+    //                       Column Prop-Name(JavaBeansRule)
+    //                       -------------------------------
+    /** Prop-name(JavaBeansRule) of ordersStatusId. PK : INTEGER : NotNull : FK to ORDERS_STATUS */
+    public static final String PROPERTY_NAME_ordersStatusId = "ordersStatusId";
+    /** Prop-name(JavaBeansRule) of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String PROPERTY_NAME_languageId = "languageId";
+    /** Prop-name(JavaBeansRule) of ordersStatusName. VARCHAR(32) : NotNull */
+    public static final String PROPERTY_NAME_ordersStatusName = "ordersStatusName";
+
+    // -----------------------------------------------------
+    //                                  Column Cap-Prop-Name
+    //                                  --------------------
+    /** Cap-prop-name of ordersStatusId. PK : INTEGER : NotNull : FK to ORDERS_STATUS */
+    public static final String CAP_PROP_NAME_OrdersStatusId = "OrdersStatusId";
+    /** Cap-prop-name of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
+    /** Cap-prop-name of ordersStatusName. VARCHAR(32) : NotNull */
+    public static final String CAP_PROP_NAME_OrdersStatusName = "OrdersStatusName";
+
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_OrdersStatusId. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_OrdersStatusId = "OrdersStatusId";
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguageId. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_OrdersStatusName. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_OrdersStatusName = "OrdersStatusName";
+
+    // -----------------------------------------------------
+    //                                Column Uncap-Prop-Name
+    //                                ----------------------
+    /** Uncap-prop-name of ordersStatusId. PK : INTEGER : NotNull : FK to ORDERS_STATUS */
+    public static final String UNCAP_PROP_NAME_ordersStatusId = "ordersStatusId";
+    /** Uncap-prop-name of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String UNCAP_PROP_NAME_languageId = "languageId";
+    /** Uncap-prop-name of ordersStatusName. VARCHAR(32) : NotNull */
+    public static final String UNCAP_PROP_NAME_ordersStatusName = "ordersStatusName";
+
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_OrdersStatusId. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_OrdersStatusId = "ordersStatusId";
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguageId. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_OrdersStatusName. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_OrdersStatusName = "ordersStatusName";
+
+    // -----------------------------------------------------
+    //                                          Foreign Name
+    //                                          ------------
+    /** The foreign property name(JavaBeansRule) of languages. */
+    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
+    /** The foreign property name(JavaBeansRule) of ordersStatus. */
+    public static final String FOREIGN_PROPERTY_NAME_ordersStatus = "ordersStatus";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
+    /** @deprecated Use FOREIGN_NAME_ordersStatus. */
+    public static final String FOREIGN_CAP_PROP_NAME_OrdersStatus = "OrdersStatus";
+
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
+    /** @deprecated Use FOREIGN_NAME_ordersStatus. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_ordersStatus = "ordersStatus";
+
+    // -----------------------------------------------------
+    //                                          Referer Name
+    //                                          ------------
+
+
+    /** The map of {db-name : prop-name} key-to-lower. */
+    private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+    protected static java.util.Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap != null) {
+            return _dbNamePropertyNameKeyToLowerMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
+
+        map.put(DB_NAME_ORDERS_STATUS_ID.toLowerCase(), PROPERTY_NAME_ordersStatusId);
+        map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
+        map.put(DB_NAME_ORDERS_STATUS_NAME.toLowerCase(), PROPERTY_NAME_ordersStatusName);
+
+        _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    /** The map of {prop-name : db-name} key-to-lower. */
+    private static java.util.Map<String, String> _propertyNameDbNameKeyToLowerMap;
+    protected static java.util.Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap != null) {
+            return _propertyNameDbNameKeyToLowerMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
+
+        map.put(PROPERTY_NAME_ordersStatusId.toLowerCase(), DB_NAME_ORDERS_STATUS_ID);
+        map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
+        map.put(PROPERTY_NAME_ordersStatusName.toLowerCase(), DB_NAME_ORDERS_STATUS_NAME);
+
+        _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _dbNameCapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createDbNameCapPropNameMap() {
+        if (_dbNameCapPropNameMap != null) {
+            return _dbNameCapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME, TABLE_CAP_PROP_NAME);
+
+        map.put(DB_NAME_ORDERS_STATUS_ID, CAP_PROP_NAME_OrdersStatusId);
+        map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
+        map.put(DB_NAME_ORDERS_STATUS_NAME, CAP_PROP_NAME_OrdersStatusName);
+
+        _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNameCapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _dbNameUncapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createDbNameUncapPropNameMap() {
+        if (_dbNameUncapPropNameMap != null) {
+            return _dbNameUncapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME, TABLE_UNCAP_PROP_NAME);
+
+        map.put(DB_NAME_ORDERS_STATUS_ID, UNCAP_PROP_NAME_ordersStatusId);
+        map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
+        map.put(DB_NAME_ORDERS_STATUS_NAME, UNCAP_PROP_NAME_ordersStatusName);
+
+        _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNameUncapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _capPropNameDbNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createCapPropNameDbNameMap() {
+        if (_capPropNameDbNameMap != null) {
+            return _capPropNameDbNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_CAP_PROP_NAME, TABLE_DB_NAME);
+
+        map.put(CAP_PROP_NAME_OrdersStatusId, DB_NAME_ORDERS_STATUS_ID);
+        map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
+        map.put(CAP_PROP_NAME_OrdersStatusName, DB_NAME_ORDERS_STATUS_NAME);
+
+        _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
+        return _capPropNameDbNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _capPropNameUncapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createCapPropNameUncapPropNameMap() {
+        if (_capPropNameUncapPropNameMap != null) {
+            return _capPropNameUncapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_CAP_PROP_NAME, TABLE_UNCAP_PROP_NAME);
+
+        map.put(CAP_PROP_NAME_OrdersStatusId, UNCAP_PROP_NAME_ordersStatusId);
+        map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
+        map.put(CAP_PROP_NAME_OrdersStatusName, UNCAP_PROP_NAME_ordersStatusName);
+
+        _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _capPropNameUncapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _uncapPropNameDbNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createUncapPropNameDbNameMap() {
+        if (_uncapPropNameDbNameMap != null) {
+            return _uncapPropNameDbNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_UNCAP_PROP_NAME, TABLE_DB_NAME);
+
+        map.put(UNCAP_PROP_NAME_ordersStatusId, DB_NAME_ORDERS_STATUS_ID);
+        map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
+        map.put(UNCAP_PROP_NAME_ordersStatusName, DB_NAME_ORDERS_STATUS_NAME);
+
+        _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
+        return _uncapPropNameDbNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _uncapPropNameCapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createUncapPropNameCapPropNameMap() {
+        if (_uncapPropNameCapPropNameMap != null) {
+            return _uncapPropNameCapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_UNCAP_PROP_NAME, TABLE_CAP_PROP_NAME);
+
+        map.put(UNCAP_PROP_NAME_ordersStatusId, CAP_PROP_NAME_OrdersStatusId);
+        map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
+        map.put(UNCAP_PROP_NAME_ordersStatusName, CAP_PROP_NAME_OrdersStatusName);
+
+        _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _uncapPropNameCapPropNameMap;
+    }
+
+    // ===================================================================================
+    //                                                                            Name Map
+    //                                                                            ========
+    /**
+     * The implementation.
+     * 
+     * @return The key-to-lower map of db-name(lower) and property-name. (NotNull)
+     */
+    public java.util.Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The key-to-lower map of property-name(lower) and db-name. (NotNull)
+     */
+    public java.util.Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {db-name : cap-prop-name} map.
+     * @deprecated Please use getDbNamePropNameToLowerMap()
+     */
+    public java.util.Map<String, String> getDbNameCapPropNameMap() {
+        return createDbNameCapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {db-name : uncap-prop-name} map.
+     * @deprecated Please use getDbNamePropNameToLowerMap()
+     */
+    public java.util.Map<String, String> getDbNameUncapPropNameMap() {
+        return createDbNameUncapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {cap-prop-name : db-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getCapPropNameDbNameMap() {
+        return createCapPropNameDbNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {cap-prop-name : uncap-prop-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getCapPropNameUncapPropNameMap() {
+        return createCapPropNameUncapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {uncap-prop-name : db-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getUncapPropNameDbNameMap() {
+        return createUncapPropNameDbNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {uncap-prop-name : cap-prop-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getUncapPropNameCapPropNameMap() {
+        return createUncapPropNameCapPropNameMap();
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    public String getTableDbName() {
+        return TABLE_DB_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table property-name(JavaBeansRule). (NotNull)
+     */
+    public String getTablePropertyName() {
+        return TABLE_PROPERTY_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table cap-prop-name. (NotNull)
+     */
+    public String getTableCapPropName() {
+        return TABLE_CAP_PROP_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table property-name. (NotNull)
+     */
+    public String getTableUncapPropName() {
+        return TABLE_UNCAP_PROP_NAME;
+    }
+
+    // ===================================================================================
+    //                                                                           Type Name
+    //                                                                           =========
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of entity. (NotNull)
+     */ 
+    public String getEntityTypeName() {
+        return "jp.sf.pal.pompei.exentity.OrdersStatusDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of condition-bean. (NotNull)
+     */ 
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.pompei.cbean.bs.OrdersStatusDescriptionCB";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of dao. (NotNull)
+     */ 
+    public String getDaoTypeName() {
+        return "jp.sf.pal.pompei.exdao.OrdersStatusDescriptionDao";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of behavior. (NotNull)
+     */ 
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.pompei.exbhv.OrdersStatusDescriptionBhv";
+    }
+
+    // ===================================================================================
+    //                                                                         Object Type
+    //                                                                         ===========
+    /**
+     * The implementation.
+     * 
+     * @return The type of entity. (NotNull)
+     */ 
+    public Class getEntityType() {
+        return ENTITY_TYPE;
+    }
+
+    // ===================================================================================
+    //                                                                     Object Instance
+    //                                                                     ===============
+    /**
+     * The implementation.
+     * 
+     * @return The type of entity. (NotNull)
+     */ 
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    /**
+     * New the instance of my entity.
+     * 
+     * @return The instance of my entity. (NotNull)
+     */ 
+    public OrdersStatusDescription newMyEntity() {
+        return new OrdersStatusDescription();
+    }
+
+
+    // ===================================================================================
+    //                                                                         Column Info
+    //                                                                         ===========
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     */
+    public java.util.List<ColumnInfo> getColumnInfoList() {
+        final java.util.List<ColumnInfo> columnInfoList = new java.util.ArrayList<ColumnInfo>();
+        columnInfoList.add(columnOrdersStatusId());
+        columnInfoList.add(columnLanguageId());
+        columnInfoList.add(columnOrdersStatusName());
+        return columnInfoList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnDbNameList() {
+        final String[] columns = getColumnDbNameCommaString().split(",");
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (int i=0; i < columns.length; i++) {
+            resultList.add(columns[i].trim());
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnCapPropNameList() {
+        final java.util.List<String> columnDbNameList = getColumnDbNameList();
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (final java.util.Iterator ite = columnDbNameList.iterator(); ite.hasNext(); ) {
+            resultList.add(getDbNameCapPropNameMap().get((String)ite.next()));
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnUncapPropNameList() {
+        final java.util.List<String> columnDbNameList = getColumnDbNameList();
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (final java.util.Iterator ite = columnDbNameList.iterator(); ite.hasNext(); ) {
+            resultList.add(getDbNameUncapPropNameMap().get((String)ite.next()));
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Column-db-name comma-string. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public String getColumnDbNameCommaString() {
+        return "ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME";
+    }
+
+    /**
+     * @return Column information of ordersStatusId. (NotNull)
+     */
+    public ColumnInfo columnOrdersStatusId() {
+        return new ColumnInfo(this, "ORDERS_STATUS_ID", "ordersStatusId", java.math.BigDecimal.class, true);
+    }
+    /**
+     * @return Column information of languageId. (NotNull)
+     */
+    public ColumnInfo columnLanguageId() {
+        return new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, true);
+    }
+    /**
+     * @return Column information of ordersStatusName. (NotNull)
+     */
+    public ColumnInfo columnOrdersStatusName() {
+        return new ColumnInfo(this, "ORDERS_STATUS_NAME", "ordersStatusName", String.class, false);
+    }
+
+    // ===================================================================================
+    //                                                                         Unique Info
+    //                                                                         ===========
+    // -----------------------------------------------------
+    //                                       Primary Element
+    //                                       ---------------
+    /**
+     * The implementation.
+     * 
+     * @return The primary unique info. (NotNull)
+     */
+    public UniqueInfo getPrimaryUniqueInfo() {
+        final UniqueInfo uniqueInfo = new UniqueInfo();
+        uniqueInfo.setDBMeta(this);
+        uniqueInfo.addUniqueColumnList(new ColumnInfo(this, "ORDERS_STATUS_ID", "ordersStatusId", java.math.BigDecimal.class, true));
+        uniqueInfo.addUniqueColumnList(new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, true));
+        uniqueInfo.setPrimary(true);
+        return uniqueInfo;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return true;
+    }
+
+    // ===================================================================================
+    //                                                                       Relation Info
+    //                                                                       =============
+    // -----------------------------------------------------
+    //                                       Foreign Element
+    //                                       ---------------
+    /**
+     * Get foreign information of languages.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignLanguages() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("languages");
+        foreignInfo.setLocalDBMeta(OrdersStatusDescriptionDbm.getInstance());
+        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of ordersStatus.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignOrdersStatus() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("ordersStatus");
+        foreignInfo.setLocalDBMeta(OrdersStatusDescriptionDbm.getInstance());
+        foreignInfo.setForeignDBMeta(OrdersStatusDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersStatusId(), OrdersStatusDbm.getInstance().columnOrdersStatusId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+
+
+    // -----------------------------------------------------
+    //                                       Referer Element
+    //                                       ---------------
+
+    // -----------------------------------------------------
+    //                                        Relation Trace
+    //                                        --------------
+    /**
+     * Create relation trace for first step.
+     * 
+     * @param relationTraceFixHandler The handler of fixed relation trace. (Nullable)
+     * @return Relation trace. (NotNull)
+     */
+    public OrdersStatusDescriptionRelationTrace createRelationTrace(RelationTraceFixHandler relationTraceFixHandler) {
+        return new OrdersStatusDescriptionRelationTrace(relationTraceFixHandler);
+    }
+
+    /**
+     * Create relation trace for relation step.
+     * 
+     * @param relationList The list of relation. (NotNull)
+     * @param relationTraceList The list of relation trace. (NotNull)
+     * @return Relation trace. (NotNull)
+     */
+    public OrdersStatusDescriptionRelationTrace createRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
+        return new OrdersStatusDescriptionRelationTrace(relationList, relationTraceList);
+    }
+
+    /**
+     * Relation trace of ORDERS_STATUS_DESCRIPTION.
+     */
+    public static class OrdersStatusDescriptionRelationTrace extends AbstractRelationTrace {
+
+        /**
+         * Constructor for first step.
+         * 
+         * @param relationTraceFixHandler The handler of fixed relation trace. (Nullable)
+         */
+        public OrdersStatusDescriptionRelationTrace(RelationTraceFixHandler relationTraceFixHandler) {
+            super(relationTraceFixHandler);
+        }
+
+        /**
+         * Constructor for relation step.
+         * 
+         * @param relationList The list of relation. (NotNull)
+         * @param relationTraceList The list of relation trace. (NotNull)
+         */
+        public OrdersStatusDescriptionRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
+            super(relationList, relationTraceList);
+        }
+
+        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
+            _relationList.add(OrdersStatusDescriptionDbm.getInstance().foreignLanguages());
+            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public OrdersStatusDbm.OrdersStatusRelationTrace foreignOrdersStatus() {
+            _relationList.add(OrdersStatusDescriptionDbm.getInstance().foreignOrdersStatus());
+            return OrdersStatusDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public RelationTrace columnOrdersStatusId() { return fixTrace(_relationList, OrdersStatusDescriptionDbm.getInstance().columnOrdersStatusId()); }
+        public RelationTrace columnLanguageId() { return fixTrace(_relationList, OrdersStatusDescriptionDbm.getInstance().columnLanguageId()); }
+        public RelationTrace columnOrdersStatusName() { return fixTrace(_relationList, OrdersStatusDescriptionDbm.getInstance().columnOrdersStatusName()); }
+    }
+
+    // ===================================================================================
+    //                                                                       Sequence Info
+    //                                                                       =============
+    /**
+     * Has sequence?
+     * 
+     * @return Determination.
+     */
+    public boolean hasSequence() {
+        return false;
+    }
+
+    // ===================================================================================
+    //                                                                       Common Column
+    //                                                                       =============
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasCommonColumn() {
+        return false;
+    }
+
+    // ===================================================================================
+    //                                                                     Entity Handling
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                Accept
+    //                                                ------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param primaryKeyMap Primary key map. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMap(Entity entity, java.util.Map<String, ? extends Object> primaryKeyMap) {
+        final OrdersStatusDescription myEntity = (OrdersStatusDescription)entity;
+        MapAssertUtil.assertPrimaryKeyMapNotNullAndNotEmpty(primaryKeyMap);
+        final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(primaryKeyMap, entity.getModifiedPropertyNames());
+
+        MapAssertUtil.assertColumnExistingInPrimaryKeyMap(primaryKeyMap, "ORDERS_STATUS_ID");
+        if (analyzer.init("ORDERS_STATUS_ID", "ordersStatusId", "ordersStatusId")) { myEntity.setOrdersStatusId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        MapAssertUtil.assertColumnExistingInPrimaryKeyMap(primaryKeyMap, "LANGUAGE_ID");
+        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+
+
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param primaryKeyMapString Primary-key map-string. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMapString(Entity entity, String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param columnValueMap Column-value map. (NotNull and NotEmpty)
+     */
+    public void acceptColumnValueMap(Entity entity, java.util.Map<String, ? extends Object> columnValueMap) {
+        final OrdersStatusDescription myEntity = (OrdersStatusDescription)entity;
+        MapAssertUtil.assertColumnValueMapNotNullAndNotEmpty(columnValueMap);
+        final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
+
+        if (analyzer.init("ORDERS_STATUS_ID", "ordersStatusId", "ordersStatusId")) { myEntity.setOrdersStatusId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        if (analyzer.init("ORDERS_STATUS_NAME", "ordersStatusName", "ordersStatusName")) { myEntity.setOrdersStatusName(analyzer.analyzeString(String.class)); };
+
+    }
+
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param columnValueMapString Column-value map-string. (NotNull and NotEmpty)
+     */
+    public void acceptColumnValueMapString(Entity entity, String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+
+    // -----------------------------------------------------
+    //                                               Extract
+    //                                               -------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Primary-key map-string. (NotNull)
+     */
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    /**
+     * Extract primary-key map-string.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param startBrace Start-brace. (NotNull)
+     * @param endBrace End-brace. (NotNull)
+     * @param delimiter Delimiter. (NotNull)
+     * @param equal Equal. (NotNull)
+     * @return Primary-key map-string. (NotNull)
+     */
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        final OrdersStatusDescription myEntity = (OrdersStatusDescription)entity;
+        final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
+        final StringBuffer sb = new StringBuffer();
+        helpAppendingColumnValueString(sb, delimiter, equal, "ORDERS_STATUS_ID", myEntity.getOrdersStatusId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
+
+        sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
+        return sb.toString();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    /**
+     * Extract column-value map-string.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param startBrace Start-brace. (NotNull)
+     * @param endBrace End-brace. (NotNull)
+     * @param delimiter Delimiter. (NotNull)
+     * @param equal Equal. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractColumnValueMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        final OrdersStatusDescription myEntity = (OrdersStatusDescription)entity;
+        final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
+        final StringBuffer sb = new StringBuffer();
+        helpAppendingColumnValueString(sb, delimiter, equal, "ORDERS_STATUS_ID", myEntity.getOrdersStatusId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "ORDERS_STATUS_NAME", myEntity.getOrdersStatusName());
+
+        sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
+        return sb.toString();
+    }
+
+    private void helpAppendingColumnValueString(StringBuffer sb, String delimiter, String equal, String colName, Object value) {
+        sb.append(delimiter).append(colName).append(equal);
+        sb.append(helpGettingColumnStringValue(value));
+    }
+
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractCommonColumnValueMapString(Entity entity) {
+        return "map:{}";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractCommonColumnValueMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        return "map:" + startBrace + endBrace;
+    }
+
+
+    // -----------------------------------------------------
+    //                                               Convert
+    //                                               -------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The list of column value. (NotNull)
+     */
+    public java.util.List<Object> convertToColumnValueList(Entity entity) {
+        return new java.util.ArrayList<Object>(convertToColumnValueMap(entity).values());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The map of column value. (NotNull)
+     */
+    public java.util.Map<String, Object> convertToColumnValueMap(Entity entity) {
+        final OrdersStatusDescription myEntity = downcast(entity);
+        final java.util.Map<String, Object> valueMap = new java.util.LinkedHashMap<String, Object>();
+        valueMap.put("ORDERS_STATUS_ID", myEntity.getOrdersStatusId());
+        valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
+        valueMap.put("ORDERS_STATUS_NAME", myEntity.getOrdersStatusName());
+        return valueMap;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The list of column string-value. (NotNull)
+     */
+    public java.util.List<String> convertToColumnStringValueList(Entity entity) {
+        return new java.util.ArrayList<String>(convertToColumnStringValueMap(entity).values());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The map of column string-value. (NotNull)
+     */
+    public java.util.Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        final OrdersStatusDescription myEntity = downcast(entity);
+        final java.util.Map<String, String> valueMap = new java.util.LinkedHashMap<String, String>();
+        valueMap.put("ORDERS_STATUS_ID", helpGettingColumnStringValue(myEntity.getOrdersStatusId()));
+        valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
+        valueMap.put("ORDERS_STATUS_NAME", helpGettingColumnStringValue(myEntity.getOrdersStatusName()));
+        return valueMap;
+    }
+
+    // ===================================================================================
+    //                                                                        JDBC Support
+    //                                                                        ============
+    /**
+     * The implementation.
+     * 
+     * @return Prepared insert clause. (NotNull and NotEmpty)
+     */
+    public String getPreparedInsertClause() {
+        return getPreparedInsertClause(new PreparedInsertClauseOption());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param preparedInsertClauseOption Prepared insert clause option. (NotNull)
+     * @return Prepared insert clause. (NotNull and NotEmpty)
+     */
+    public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
+        if (preparedInsertClauseOption.getTablePrefix() != null) {
+            final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
+            return "insert into " + tablePrefix + "ORDERS_STATUS_DESCRIPTION(ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME) values(? , ? , ? )";
+        }
+        return "insert into ORDERS_STATUS_DESCRIPTION(ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME) values(? , ? , ? )";
+    }
+
+    // ===================================================================================
+    //                                                                              Helper
+    //                                                                              ======
+    protected OrdersStatusDescription downcast(Entity entity) {
+        assertObjectNotNull("entity", entity);
+        try {
+            return (OrdersStatusDescription)entity;
+        } catch (ClassCastException e) {
+            String msg = "The entity should be OrdersStatusDescription but it was: " + entity.getClass();
+            throw new RuntimeException(msg, e);
+        }
+    }
+
+    protected void checkDowncast(Entity entity) {
+        downcast(entity);
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDescriptionDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusHistoryDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusHistoryDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusHistoryDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -19,7 +19,7 @@
  *     ORDERS_STATUS_HISTORY_ID, ORDERS_ID, ORDERS_STATUS_ID, DATE_ADDED, CUSTOMER_NOTIFIED, COMMENTS
  * 
  * [foreign-property]
- *     ordersStatus
+ *     orders, ordersStatus
  * 
  * [refferer-property]
  *     
@@ -93,9 +93,9 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_STATUS_HISTORY_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of ORDERS_STATUS_HISTORY_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ORDERS_STATUS_HISTORY_ID = "ORDERS_STATUS_HISTORY_ID";
-    /** Db-name of ORDERS_ID. INTEGER : NotNull */
+    /** Db-name of ORDERS_ID. INTEGER : NotNull : FK to ORDERS */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
     /** Db-name of ORDERS_STATUS_ID. INTEGER : NotNull : FK to ORDERS_STATUS */
     public static final String DB_NAME_ORDERS_STATUS_ID = "ORDERS_STATUS_ID";
@@ -122,9 +122,9 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_ordersStatusHistoryId = "ordersStatusHistoryId";
-    /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
     /** Prop-name(JavaBeansRule) of ordersStatusId. INTEGER : NotNull : FK to ORDERS_STATUS */
     public static final String PROPERTY_NAME_ordersStatusId = "ordersStatusId";
@@ -138,9 +138,9 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_OrdersStatusHistoryId = "OrdersStatusHistoryId";
-    /** Cap-prop-name of ordersId. INTEGER : NotNull */
+    /** Cap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
     /** Cap-prop-name of ordersStatusId. INTEGER : NotNull : FK to ORDERS_STATUS */
     public static final String CAP_PROP_NAME_OrdersStatusId = "OrdersStatusId";
@@ -167,9 +167,9 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of ordersStatusHistoryId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_ordersStatusHistoryId = "ordersStatusHistoryId";
-    /** Uncap-prop-name of ordersId. INTEGER : NotNull */
+    /** Uncap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";
     /** Uncap-prop-name of ordersStatusId. INTEGER : NotNull : FK to ORDERS_STATUS */
     public static final String UNCAP_PROP_NAME_ordersStatusId = "ordersStatusId";
@@ -196,11 +196,17 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of orders. */
+    public static final String FOREIGN_PROPERTY_NAME_orders = "orders";
     /** The foreign property name(JavaBeansRule) of ordersStatus. */
     public static final String FOREIGN_PROPERTY_NAME_ordersStatus = "ordersStatus";
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_CAP_PROP_NAME_Orders = "Orders";
     /** @deprecated Use FOREIGN_NAME_ordersStatus. */
     public static final String FOREIGN_CAP_PROP_NAME_OrdersStatus = "OrdersStatus";
 
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_orders = "orders";
     /** @deprecated Use FOREIGN_NAME_ordersStatus. */
     public static final String FOREIGN_UNCAP_PROP_NAME_ordersStatus = "ordersStatus";
 
@@ -729,6 +735,22 @@
     //                                       Foreign Element
     //                                       ---------------
     /**
+     * Get foreign information of orders.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignOrders() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("orders");
+        foreignInfo.setLocalDBMeta(OrdersStatusHistoryDbm.getInstance());
+        foreignInfo.setForeignDBMeta(OrdersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersId(), OrdersDbm.getInstance().columnOrdersId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
      * Get foreign information of ordersStatus.
      * 
      * @return Referer information. (NotNull)
@@ -798,6 +820,11 @@
             super(relationList, relationTraceList);
         }
 
+        public OrdersDbm.OrdersRelationTrace foreignOrders() {
+            _relationList.add(OrdersStatusHistoryDbm.getInstance().foreignOrders());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public OrdersStatusDbm.OrdersStatusRelationTrace foreignOrdersStatus() {
             _relationList.add(OrdersStatusHistoryDbm.getInstance().foreignOrdersStatus());
             return OrdersStatusDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersTotalDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersTotalDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersTotalDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     ordersTotalId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ORDERS_TOTAL_ID. PK : INTEGER : NotNull */
+    /** Db-name of ORDERS_TOTAL_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ORDERS_TOTAL_ID = "ORDERS_TOTAL_ID";
     /** Db-name of ORDERS_ID. INTEGER : NotNull : FK to ORDERS */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
@@ -126,7 +126,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of ordersTotalId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of ordersTotalId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_ordersTotalId = "ordersTotalId";
     /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
@@ -144,7 +144,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of ordersTotalId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of ordersTotalId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_OrdersTotalId = "OrdersTotalId";
     /** Cap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
@@ -177,7 +177,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of ordersTotalId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of ordersTotalId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_ordersTotalId = "ordersTotalId";
     /** Uncap-prop-name of ordersId. INTEGER : NotNull : FK to ORDERS */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -19,7 +19,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ID, OPTIONS_ID, OPTIONS_VALUES_ID, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     products
+ *     products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     productsAttributesDownloadList
@@ -93,13 +93,13 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of PRODUCTS_ATTRIBUTES_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of PRODUCTS_ATTRIBUTES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_PRODUCTS_ATTRIBUTES_ID = "PRODUCTS_ATTRIBUTES_ID";
     /** Db-name of PRODUCTS_ID. INTEGER : NotNull : FK to PRODUCTS */
     public static final String DB_NAME_PRODUCTS_ID = "PRODUCTS_ID";
-    /** Db-name of OPTIONS_ID. INTEGER : NotNull */
+    /** Db-name of OPTIONS_ID. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String DB_NAME_OPTIONS_ID = "OPTIONS_ID";
-    /** Db-name of OPTIONS_VALUES_ID. INTEGER : NotNull */
+    /** Db-name of OPTIONS_VALUES_ID. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String DB_NAME_OPTIONS_VALUES_ID = "OPTIONS_VALUES_ID";
     /** Db-name of OPTIONS_VALUES_PRICE. DECIMAL(15) : NotNull */
     public static final String DB_NAME_OPTIONS_VALUES_PRICE = "OPTIONS_VALUES_PRICE";
@@ -122,13 +122,13 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_productsAttributesId = "productsAttributesId";
     /** Prop-name(JavaBeansRule) of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String PROPERTY_NAME_productsId = "productsId";
-    /** Prop-name(JavaBeansRule) of optionsId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of optionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String PROPERTY_NAME_optionsId = "optionsId";
-    /** Prop-name(JavaBeansRule) of optionsValuesId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of optionsValuesId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String PROPERTY_NAME_optionsValuesId = "optionsValuesId";
     /** Prop-name(JavaBeansRule) of optionsValuesPrice. DECIMAL(15) : NotNull */
     public static final String PROPERTY_NAME_optionsValuesPrice = "optionsValuesPrice";
@@ -138,13 +138,13 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ProductsAttributesId = "ProductsAttributesId";
     /** Cap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_ProductsId = "ProductsId";
-    /** Cap-prop-name of optionsId. INTEGER : NotNull */
+    /** Cap-prop-name of optionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String CAP_PROP_NAME_OptionsId = "OptionsId";
-    /** Cap-prop-name of optionsValuesId. INTEGER : NotNull */
+    /** Cap-prop-name of optionsValuesId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String CAP_PROP_NAME_OptionsValuesId = "OptionsValuesId";
     /** Cap-prop-name of optionsValuesPrice. DECIMAL(15) : NotNull */
     public static final String CAP_PROP_NAME_OptionsValuesPrice = "OptionsValuesPrice";
@@ -167,13 +167,13 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of productsAttributesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_productsAttributesId = "productsAttributesId";
     /** Uncap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_productsId = "productsId";
-    /** Uncap-prop-name of optionsId. INTEGER : NotNull */
+    /** Uncap-prop-name of optionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String UNCAP_PROP_NAME_optionsId = "optionsId";
-    /** Uncap-prop-name of optionsValuesId. INTEGER : NotNull */
+    /** Uncap-prop-name of optionsValuesId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String UNCAP_PROP_NAME_optionsValuesId = "optionsValuesId";
     /** Uncap-prop-name of optionsValuesPrice. DECIMAL(15) : NotNull */
     public static final String UNCAP_PROP_NAME_optionsValuesPrice = "optionsValuesPrice";
@@ -198,11 +198,23 @@
     //                                          ------------
     /** The foreign property name(JavaBeansRule) of products. */
     public static final String FOREIGN_PROPERTY_NAME_products = "products";
+    /** The foreign property name(JavaBeansRule) of productsOptions. */
+    public static final String FOREIGN_PROPERTY_NAME_productsOptions = "productsOptions";
+    /** The foreign property name(JavaBeansRule) of productsOptionsValues. */
+    public static final String FOREIGN_PROPERTY_NAME_productsOptionsValues = "productsOptionsValues";
     /** @deprecated Use FOREIGN_NAME_products. */
     public static final String FOREIGN_CAP_PROP_NAME_Products = "Products";
+    /** @deprecated Use FOREIGN_NAME_productsOptions. */
+    public static final String FOREIGN_CAP_PROP_NAME_ProductsOptions = "ProductsOptions";
+    /** @deprecated Use FOREIGN_NAME_productsOptionsValues. */
+    public static final String FOREIGN_CAP_PROP_NAME_ProductsOptionsValues = "ProductsOptionsValues";
 
     /** @deprecated Use FOREIGN_NAME_products. */
     public static final String FOREIGN_UNCAP_PROP_NAME_products = "products";
+    /** @deprecated Use FOREIGN_NAME_productsOptions. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_productsOptions = "productsOptions";
+    /** @deprecated Use FOREIGN_NAME_productsOptionsValues. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_productsOptionsValues = "productsOptionsValues";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -750,6 +762,38 @@
         foreignInfo.setOneToOne(false);
         return foreignInfo;
     }
+    /**
+     * Get foreign information of productsOptions.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProductsOptions() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("productsOptions");
+        foreignInfo.setLocalDBMeta(ProductsAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsOptionsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOptionsId(), ProductsOptionsDbm.getInstance().columnProductsOptionsId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of productsOptionsValues.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProductsOptionsValues() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("productsOptionsValues");
+        foreignInfo.setLocalDBMeta(ProductsAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsOptionsValuesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOptionsValuesId(), ProductsOptionsValuesDbm.getInstance().columnProductsOptionsValuesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
     /**
      * Get foreign information of productsAttributesDownloadAsOne.
@@ -840,6 +884,16 @@
             _relationList.add(ProductsAttributesDbm.getInstance().foreignProducts());
             return ProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
+
+        public ProductsOptionsDbm.ProductsOptionsRelationTrace foreignProductsOptions() {
+            _relationList.add(ProductsAttributesDbm.getInstance().foreignProductsOptions());
+            return ProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsValuesDbm.ProductsOptionsValuesRelationTrace foreignProductsOptionsValues() {
+            _relationList.add(ProductsAttributesDbm.getInstance().foreignProductsOptionsValues());
+            return ProductsOptionsValuesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
   
         public ProductsAttributesDownloadDbm.ProductsAttributesDownloadRelationTrace foreignProductsAttributesDownloadAsOne() {
             _relationList.add(ProductsAttributesDbm.getInstance().foreignProductsAttributesDownloadAsOne());

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of PRODUCTS_ID. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Db-name of PRODUCTS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_PRODUCTS_ID = "PRODUCTS_ID";
     /** Db-name of PRODUCTS_QUANTITY. INTEGER : NotNull */
     public static final String DB_NAME_PRODUCTS_QUANTITY = "PRODUCTS_QUANTITY";
@@ -150,7 +150,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of productsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Prop-name(JavaBeansRule) of productsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_productsId = "productsId";
     /** Prop-name(JavaBeansRule) of productsQuantity. INTEGER : NotNull */
     public static final String PROPERTY_NAME_productsQuantity = "productsQuantity";
@@ -180,7 +180,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of productsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Cap-prop-name of productsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ProductsId = "ProductsId";
     /** Cap-prop-name of productsQuantity. INTEGER : NotNull */
     public static final String CAP_PROP_NAME_ProductsQuantity = "ProductsQuantity";
@@ -237,7 +237,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of productsId. PK : INC : INTEGER : NotNull : Default=[AUTOINCREMENT: start 1 increment 1] */
+    /** Uncap-prop-name of productsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_productsId = "productsId";
     /** Uncap-prop-name of productsQuantity. INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_productsQuantity = "productsQuantity";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -16,19 +16,19 @@
  *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsId
  * 
  * [update-date]
  *     
@@ -93,89 +93,67 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of PRODUCTS_OPTIONS_ID. PK : INTEGER : NotNull : Default=[0] */
+    /** Db-name of PRODUCTS_OPTIONS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_PRODUCTS_OPTIONS_ID = "PRODUCTS_OPTIONS_ID";
-    /** Db-name of LANGUAGE_ID. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
-    /** Db-name of PRODUCTS_OPTIONS_NAME. VARCHAR(32) : NotNull : Default=[] */
-    public static final String DB_NAME_PRODUCTS_OPTIONS_NAME = "PRODUCTS_OPTIONS_NAME";
 
     /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsId. */
     public static final String COLUMN_DB_NAME_OF_ProductsOptionsId = "PRODUCTS_OPTIONS_ID";
-    /** @deprecated Deprecated! So use DB_NAME_LanguageId. */
-    public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
-    /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsName. */
-    public static final String COLUMN_DB_NAME_OF_ProductsOptionsName = "PRODUCTS_OPTIONS_NAME";
 
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of productsOptionsId. PK : INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of productsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_productsOptionsId = "productsOptionsId";
-    /** Prop-name(JavaBeansRule) of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String PROPERTY_NAME_languageId = "languageId";
-    /** Prop-name(JavaBeansRule) of productsOptionsName. VARCHAR(32) : NotNull : Default=[] */
-    public static final String PROPERTY_NAME_productsOptionsName = "productsOptionsName";
 
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of productsOptionsId. PK : INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of productsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ProductsOptionsId = "ProductsOptionsId";
-    /** Cap-prop-name of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
-    /** Cap-prop-name of productsOptionsName. VARCHAR(32) : NotNull : Default=[] */
-    public static final String CAP_PROP_NAME_ProductsOptionsName = "ProductsOptionsName";
 
     /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsId. */
     public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsId = "ProductsOptionsId";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguageId. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsName. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsName = "ProductsOptionsName";
 
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of productsOptionsId. PK : INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of productsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_productsOptionsId = "productsOptionsId";
-    /** Uncap-prop-name of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String UNCAP_PROP_NAME_languageId = "languageId";
-    /** Uncap-prop-name of productsOptionsName. VARCHAR(32) : NotNull : Default=[] */
-    public static final String UNCAP_PROP_NAME_productsOptionsName = "productsOptionsName";
 
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsId. */
     public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsId = "productsOptionsId";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguageId. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsName. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsName = "productsOptionsName";
 
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
-    /** The foreign property name(JavaBeansRule) of languages. */
-    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
-    /** @deprecated Use FOREIGN_NAME_languages. */
-    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
 
-    /** @deprecated Use FOREIGN_NAME_languages. */
-    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
     /** The referer property name(JavaBeansRule) of customersBasketAttributesList. */
     public static final String REFERER_PROPERTY_NAME_customersBasketAttributesList = "customersBasketAttributesList";
+    /** The referer property name(JavaBeansRule) of productsAttributesList. */
+    public static final String REFERER_PROPERTY_NAME_productsAttributesList = "productsAttributesList";
+    /** The referer property name(JavaBeansRule) of productsOptionsDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_productsOptionsDescriptionList = "productsOptionsDescriptionList";
     /** The referer property name(JavaBeansRule) of productsOptionsValuesToProductsOptionsList. */
     public static final String REFERER_PROPERTY_NAME_productsOptionsValuesToProductsOptionsList = "productsOptionsValuesToProductsOptionsList";
     /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
     public static final String REFERER_CAP_PROP_NAME_CustomersBasketAttributesList = "CustomersBasketAttributesList";
+    /** @deprecated Use REFERER_NAME_productsAttributesList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsAttributesList = "ProductsAttributesList";
+    /** @deprecated Use REFERER_NAME_productsOptionsDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsOptionsDescriptionList = "ProductsOptionsDescriptionList";
     /** @deprecated Use REFERER_NAME_productsOptionsValuesToProductsOptionsList */
     public static final String REFERER_CAP_PROP_NAME_ProductsOptionsValuesToProductsOptionsList = "ProductsOptionsValuesToProductsOptionsList";
 
     /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
     public static final String REFERER_UNCAP_PROP_NAME_customersBasketAttributesList = "customersBasketAttributesList";
+    /** @deprecated Use REFERER_NAME_productsAttributesList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsAttributesList = "productsAttributesList";
+    /** @deprecated Use REFERER_NAME_productsOptionsDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsOptionsDescriptionList = "productsOptionsDescriptionList";
     /** @deprecated Use REFERER_NAME_productsOptionsValuesToProductsOptionsList */
     public static final String REFERER_UNCAP_PROP_NAME_productsOptionsValuesToProductsOptionsList = "productsOptionsValuesToProductsOptionsList";
 
@@ -189,8 +167,6 @@
         map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
 
         map.put(DB_NAME_PRODUCTS_OPTIONS_ID.toLowerCase(), PROPERTY_NAME_productsOptionsId);
-        map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
-        map.put(DB_NAME_PRODUCTS_OPTIONS_NAME.toLowerCase(), PROPERTY_NAME_productsOptionsName);
 
         _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _dbNamePropertyNameKeyToLowerMap;
@@ -206,8 +182,6 @@
         map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
 
         map.put(PROPERTY_NAME_productsOptionsId.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_ID);
-        map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
-        map.put(PROPERTY_NAME_productsOptionsName.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_NAME);
 
         _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _propertyNameDbNameKeyToLowerMap;
@@ -225,8 +199,6 @@
         map.put(TABLE_DB_NAME, TABLE_CAP_PROP_NAME);
 
         map.put(DB_NAME_PRODUCTS_OPTIONS_ID, CAP_PROP_NAME_ProductsOptionsId);
-        map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
-        map.put(DB_NAME_PRODUCTS_OPTIONS_NAME, CAP_PROP_NAME_ProductsOptionsName);
 
         _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameCapPropNameMap;
@@ -244,8 +216,6 @@
         map.put(TABLE_DB_NAME, TABLE_UNCAP_PROP_NAME);
 
         map.put(DB_NAME_PRODUCTS_OPTIONS_ID, UNCAP_PROP_NAME_productsOptionsId);
-        map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
-        map.put(DB_NAME_PRODUCTS_OPTIONS_NAME, UNCAP_PROP_NAME_productsOptionsName);
 
         _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameUncapPropNameMap;
@@ -263,8 +233,6 @@
         map.put(TABLE_CAP_PROP_NAME, TABLE_DB_NAME);
 
         map.put(CAP_PROP_NAME_ProductsOptionsId, DB_NAME_PRODUCTS_OPTIONS_ID);
-        map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
-        map.put(CAP_PROP_NAME_ProductsOptionsName, DB_NAME_PRODUCTS_OPTIONS_NAME);
 
         _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameDbNameMap;
@@ -282,8 +250,6 @@
         map.put(TABLE_CAP_PROP_NAME, TABLE_UNCAP_PROP_NAME);
 
         map.put(CAP_PROP_NAME_ProductsOptionsId, UNCAP_PROP_NAME_productsOptionsId);
-        map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
-        map.put(CAP_PROP_NAME_ProductsOptionsName, UNCAP_PROP_NAME_productsOptionsName);
 
         _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameUncapPropNameMap;
@@ -301,8 +267,6 @@
         map.put(TABLE_UNCAP_PROP_NAME, TABLE_DB_NAME);
 
         map.put(UNCAP_PROP_NAME_productsOptionsId, DB_NAME_PRODUCTS_OPTIONS_ID);
-        map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
-        map.put(UNCAP_PROP_NAME_productsOptionsName, DB_NAME_PRODUCTS_OPTIONS_NAME);
 
         _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameDbNameMap;
@@ -320,8 +284,6 @@
         map.put(TABLE_UNCAP_PROP_NAME, TABLE_CAP_PROP_NAME);
 
         map.put(UNCAP_PROP_NAME_productsOptionsId, CAP_PROP_NAME_ProductsOptionsId);
-        map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
-        map.put(UNCAP_PROP_NAME_productsOptionsName, CAP_PROP_NAME_ProductsOptionsName);
 
         _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameCapPropNameMap;
@@ -531,8 +493,6 @@
     public java.util.List<ColumnInfo> getColumnInfoList() {
         final java.util.List<ColumnInfo> columnInfoList = new java.util.ArrayList<ColumnInfo>();
         columnInfoList.add(columnProductsOptionsId());
-        columnInfoList.add(columnLanguageId());
-        columnInfoList.add(columnProductsOptionsName());
         return columnInfoList;
     }
 
@@ -588,7 +548,7 @@
      * @deprecated Please use getColumnInfoList()
      */
     public String getColumnDbNameCommaString() {
-        return "PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME";
+        return "PRODUCTS_OPTIONS_ID";
     }
 
     /**
@@ -597,18 +557,6 @@
     public ColumnInfo columnProductsOptionsId() {
         return new ColumnInfo(this, "PRODUCTS_OPTIONS_ID", "productsOptionsId", java.math.BigDecimal.class, true);
     }
-    /**
-     * @return Column information of languageId. (NotNull)
-     */
-    public ColumnInfo columnLanguageId() {
-        return new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, false);
-    }
-    /**
-     * @return Column information of productsOptionsName. (NotNull)
-     */
-    public ColumnInfo columnProductsOptionsName() {
-        return new ColumnInfo(this, "PRODUCTS_OPTIONS_NAME", "productsOptionsName", String.class, false);
-    }
 
     // ===================================================================================
     //                                                                         Unique Info
@@ -653,22 +601,6 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
-    /**
-     * Get foreign information of languages.
-     * 
-     * @return Referer information. (NotNull)
-     */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignLanguages() {
-        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
-        foreignInfo.setForeignPropertyName("languages");
-        foreignInfo.setLocalDBMeta(ProductsOptionsDbm.getInstance());
-        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
-        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
-        foreignInfo.setLocalForeignColumnInfoMap(map);
-        foreignInfo.setOneToOne(false);
-        return foreignInfo;
-    }
 
 
     // -----------------------------------------------------
@@ -691,6 +623,38 @@
         return refererInfo;
     }
     /**
+     * Get referer information of productsAttributesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsAttributesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsAttributesList");
+        refererInfo.setLocalDBMeta(ProductsOptionsDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsAttributesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsId(), ProductsAttributesDbm.getInstance().columnOptionsId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of productsOptionsDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsOptionsDescriptionList");
+        refererInfo.setLocalDBMeta(ProductsOptionsDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsOptionsDescriptionDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsId(), ProductsOptionsDescriptionDbm.getInstance().columnProductsOptionsId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
      * Get referer information of productsOptionsValuesToProductsOptionsList.
      * 
      * @return Referer information. (NotNull)
@@ -754,25 +718,28 @@
         public ProductsOptionsRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
-
-        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
-            _relationList.add(ProductsOptionsDbm.getInstance().foreignLanguages());
-            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
-        }
-    
+        
         public CustomersBasketAttributesDbm.CustomersBasketAttributesRelationTrace refererCustomersBasketAttributesList() {
             _relationList.add(ProductsOptionsDbm.getInstance().refererCustomersBasketAttributesList());
             return CustomersBasketAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public ProductsAttributesDbm.ProductsAttributesRelationTrace refererProductsAttributesList() {
+            _relationList.add(ProductsOptionsDbm.getInstance().refererProductsAttributesList());
+            return ProductsAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsDescriptionDbm.ProductsOptionsDescriptionRelationTrace refererProductsOptionsDescriptionList() {
+            _relationList.add(ProductsOptionsDbm.getInstance().refererProductsOptionsDescriptionList());
+            return ProductsOptionsDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public ProductsOptionsValuesToProductsOptionsDbm.ProductsOptionsValuesToProductsOptionsRelationTrace refererProductsOptionsValuesToProductsOptionsList() {
             _relationList.add(ProductsOptionsDbm.getInstance().refererProductsOptionsValuesToProductsOptionsList());
             return ProductsOptionsValuesToProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
         public RelationTrace columnProductsOptionsId() { return fixTrace(_relationList, ProductsOptionsDbm.getInstance().columnProductsOptionsId()); }
-        public RelationTrace columnLanguageId() { return fixTrace(_relationList, ProductsOptionsDbm.getInstance().columnLanguageId()); }
-        public RelationTrace columnProductsOptionsName() { return fixTrace(_relationList, ProductsOptionsDbm.getInstance().columnProductsOptionsName()); }
     }
 
     // ===================================================================================
@@ -844,8 +811,6 @@
         final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
 
         if (analyzer.init("PRODUCTS_OPTIONS_ID", "productsOptionsId", "productsOptionsId")) { myEntity.setProductsOptionsId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("PRODUCTS_OPTIONS_NAME", "productsOptionsName", "productsOptionsName")) { myEntity.setProductsOptionsName(analyzer.analyzeString(String.class)); };
 
     }
 
@@ -919,8 +884,6 @@
         final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
         final StringBuffer sb = new StringBuffer();
         helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_ID", myEntity.getProductsOptionsId());
-        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
-        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_NAME", myEntity.getProductsOptionsName());
 
         sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
         return sb.toString();
@@ -976,8 +939,6 @@
         final ProductsOptions myEntity = downcast(entity);
         final java.util.Map<String, Object> valueMap = new java.util.LinkedHashMap<String, Object>();
         valueMap.put("PRODUCTS_OPTIONS_ID", myEntity.getProductsOptionsId());
-        valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
-        valueMap.put("PRODUCTS_OPTIONS_NAME", myEntity.getProductsOptionsName());
         return valueMap;
     }
 
@@ -1001,8 +962,6 @@
         final ProductsOptions myEntity = downcast(entity);
         final java.util.Map<String, String> valueMap = new java.util.LinkedHashMap<String, String>();
         valueMap.put("PRODUCTS_OPTIONS_ID", helpGettingColumnStringValue(myEntity.getProductsOptionsId()));
-        valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
-        valueMap.put("PRODUCTS_OPTIONS_NAME", helpGettingColumnStringValue(myEntity.getProductsOptionsName()));
         return valueMap;
     }
 
@@ -1027,9 +986,9 @@
     public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
         if (preparedInsertClauseOption.getTablePrefix() != null) {
             final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
-            return "insert into " + tablePrefix + "PRODUCTS_OPTIONS(PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME) values(? , ? , ? )";
+            return "insert into " + tablePrefix + "PRODUCTS_OPTIONS(PRODUCTS_OPTIONS_ID) values(? )";
         }
-        return "insert into PRODUCTS_OPTIONS(PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME) values(? , ? , ? )";
+        return "insert into PRODUCTS_OPTIONS(PRODUCTS_OPTIONS_ID) values(? )";
     }
 
     // ===================================================================================

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDescriptionDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDescriptionDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDescriptionDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,1028 @@
+package jp.sf.pal.pompei.bsentity.dbmeta;
+
+
+import jp.sf.pal.pompei.allcommon.Entity;
+import jp.sf.pal.pompei.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.pompei.exentity.ProductsOptionsDescription;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.RelationInfo;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.UniqueInfo;
+
+/**
+ * The dbmeta of PRODUCTS_OPTIONS_DESCRIPTION. (Singleton)
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptions
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescriptionDbm extends AbstractDBMeta {
+
+    // ===================================================================================
+    //                                                                          Definition
+    //                                                                          ==========
+    /** The type of entity. */
+    protected static final Class ENTITY_TYPE = ProductsOptionsDescription.class;
+
+    /** Singleton instance. */
+    private static final ProductsOptionsDescriptionDbm _instance = new ProductsOptionsDescriptionDbm();
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    private ProductsOptionsDescriptionDbm() {
+    }
+
+    // ===================================================================================
+    //                                                                           Singleton
+    //                                                                           =========
+    /**
+     * Get instance.
+     * 
+     * @return Singleton instance. (NotNull)
+     */
+    public static ProductsOptionsDescriptionDbm getInstance() {
+        return _instance;
+    }
+
+    // ===================================================================================
+    //                                                                     Name Definition
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                 Table
+    //                                                 -----
+    /** Table db name. */
+    public static final String TABLE_DB_NAME = "PRODUCTS_OPTIONS_DESCRIPTION";
+
+    /** Table prop name(JavaBeansRule). */
+    public static final String TABLE_PROPERTY_NAME = "productsOptionsDescription";
+
+    /** Table cap-prop name. */
+    public static final String TABLE_CAP_PROP_NAME = "ProductsOptionsDescription";
+
+    /** Table uncap-prop name. */
+    public static final String TABLE_UNCAP_PROP_NAME = "productsOptionsDescription";
+
+    // -----------------------------------------------------
+    //                                        Column DB-Name
+    //                                        --------------
+    /** Db-name of PRODUCTS_OPTIONS_ID. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
+    public static final String DB_NAME_PRODUCTS_OPTIONS_ID = "PRODUCTS_OPTIONS_ID";
+    /** Db-name of LANGUAGE_ID. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
+    /** Db-name of PRODUCTS_OPTIONS_NAME. VARCHAR(32) : NotNull */
+    public static final String DB_NAME_PRODUCTS_OPTIONS_NAME = "PRODUCTS_OPTIONS_NAME";
+
+    /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsId. */
+    public static final String COLUMN_DB_NAME_OF_ProductsOptionsId = "PRODUCTS_OPTIONS_ID";
+    /** @deprecated Deprecated! So use DB_NAME_LanguageId. */
+    public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
+    /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsName. */
+    public static final String COLUMN_DB_NAME_OF_ProductsOptionsName = "PRODUCTS_OPTIONS_NAME";
+
+    // -----------------------------------------------------
+    //                       Column Prop-Name(JavaBeansRule)
+    //                       -------------------------------
+    /** Prop-name(JavaBeansRule) of productsOptionsId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
+    public static final String PROPERTY_NAME_productsOptionsId = "productsOptionsId";
+    /** Prop-name(JavaBeansRule) of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String PROPERTY_NAME_languageId = "languageId";
+    /** Prop-name(JavaBeansRule) of productsOptionsName. VARCHAR(32) : NotNull */
+    public static final String PROPERTY_NAME_productsOptionsName = "productsOptionsName";
+
+    // -----------------------------------------------------
+    //                                  Column Cap-Prop-Name
+    //                                  --------------------
+    /** Cap-prop-name of productsOptionsId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
+    public static final String CAP_PROP_NAME_ProductsOptionsId = "ProductsOptionsId";
+    /** Cap-prop-name of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
+    /** Cap-prop-name of productsOptionsName. VARCHAR(32) : NotNull */
+    public static final String CAP_PROP_NAME_ProductsOptionsName = "ProductsOptionsName";
+
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsId. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsId = "ProductsOptionsId";
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguageId. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsName. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsName = "ProductsOptionsName";
+
+    // -----------------------------------------------------
+    //                                Column Uncap-Prop-Name
+    //                                ----------------------
+    /** Uncap-prop-name of productsOptionsId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
+    public static final String UNCAP_PROP_NAME_productsOptionsId = "productsOptionsId";
+    /** Uncap-prop-name of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String UNCAP_PROP_NAME_languageId = "languageId";
+    /** Uncap-prop-name of productsOptionsName. VARCHAR(32) : NotNull */
+    public static final String UNCAP_PROP_NAME_productsOptionsName = "productsOptionsName";
+
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsId. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsId = "productsOptionsId";
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguageId. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsName. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsName = "productsOptionsName";
+
+    // -----------------------------------------------------
+    //                                          Foreign Name
+    //                                          ------------
+    /** The foreign property name(JavaBeansRule) of languages. */
+    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
+    /** The foreign property name(JavaBeansRule) of productsOptions. */
+    public static final String FOREIGN_PROPERTY_NAME_productsOptions = "productsOptions";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
+    /** @deprecated Use FOREIGN_NAME_productsOptions. */
+    public static final String FOREIGN_CAP_PROP_NAME_ProductsOptions = "ProductsOptions";
+
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
+    /** @deprecated Use FOREIGN_NAME_productsOptions. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_productsOptions = "productsOptions";
+
+    // -----------------------------------------------------
+    //                                          Referer Name
+    //                                          ------------
+
+
+    /** The map of {db-name : prop-name} key-to-lower. */
+    private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+    protected static java.util.Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap != null) {
+            return _dbNamePropertyNameKeyToLowerMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
+
+        map.put(DB_NAME_PRODUCTS_OPTIONS_ID.toLowerCase(), PROPERTY_NAME_productsOptionsId);
+        map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
+        map.put(DB_NAME_PRODUCTS_OPTIONS_NAME.toLowerCase(), PROPERTY_NAME_productsOptionsName);
+
+        _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    /** The map of {prop-name : db-name} key-to-lower. */
+    private static java.util.Map<String, String> _propertyNameDbNameKeyToLowerMap;
+    protected static java.util.Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap != null) {
+            return _propertyNameDbNameKeyToLowerMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
+
+        map.put(PROPERTY_NAME_productsOptionsId.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_ID);
+        map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
+        map.put(PROPERTY_NAME_productsOptionsName.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_NAME);
+
+        _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _dbNameCapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createDbNameCapPropNameMap() {
+        if (_dbNameCapPropNameMap != null) {
+            return _dbNameCapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME, TABLE_CAP_PROP_NAME);
+
+        map.put(DB_NAME_PRODUCTS_OPTIONS_ID, CAP_PROP_NAME_ProductsOptionsId);
+        map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
+        map.put(DB_NAME_PRODUCTS_OPTIONS_NAME, CAP_PROP_NAME_ProductsOptionsName);
+
+        _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNameCapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _dbNameUncapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createDbNameUncapPropNameMap() {
+        if (_dbNameUncapPropNameMap != null) {
+            return _dbNameUncapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME, TABLE_UNCAP_PROP_NAME);
+
+        map.put(DB_NAME_PRODUCTS_OPTIONS_ID, UNCAP_PROP_NAME_productsOptionsId);
+        map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
+        map.put(DB_NAME_PRODUCTS_OPTIONS_NAME, UNCAP_PROP_NAME_productsOptionsName);
+
+        _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNameUncapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _capPropNameDbNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createCapPropNameDbNameMap() {
+        if (_capPropNameDbNameMap != null) {
+            return _capPropNameDbNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_CAP_PROP_NAME, TABLE_DB_NAME);
+
+        map.put(CAP_PROP_NAME_ProductsOptionsId, DB_NAME_PRODUCTS_OPTIONS_ID);
+        map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
+        map.put(CAP_PROP_NAME_ProductsOptionsName, DB_NAME_PRODUCTS_OPTIONS_NAME);
+
+        _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
+        return _capPropNameDbNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _capPropNameUncapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createCapPropNameUncapPropNameMap() {
+        if (_capPropNameUncapPropNameMap != null) {
+            return _capPropNameUncapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_CAP_PROP_NAME, TABLE_UNCAP_PROP_NAME);
+
+        map.put(CAP_PROP_NAME_ProductsOptionsId, UNCAP_PROP_NAME_productsOptionsId);
+        map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
+        map.put(CAP_PROP_NAME_ProductsOptionsName, UNCAP_PROP_NAME_productsOptionsName);
+
+        _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _capPropNameUncapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _uncapPropNameDbNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createUncapPropNameDbNameMap() {
+        if (_uncapPropNameDbNameMap != null) {
+            return _uncapPropNameDbNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_UNCAP_PROP_NAME, TABLE_DB_NAME);
+
+        map.put(UNCAP_PROP_NAME_productsOptionsId, DB_NAME_PRODUCTS_OPTIONS_ID);
+        map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
+        map.put(UNCAP_PROP_NAME_productsOptionsName, DB_NAME_PRODUCTS_OPTIONS_NAME);
+
+        _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
+        return _uncapPropNameDbNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _uncapPropNameCapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createUncapPropNameCapPropNameMap() {
+        if (_uncapPropNameCapPropNameMap != null) {
+            return _uncapPropNameCapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_UNCAP_PROP_NAME, TABLE_CAP_PROP_NAME);
+
+        map.put(UNCAP_PROP_NAME_productsOptionsId, CAP_PROP_NAME_ProductsOptionsId);
+        map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
+        map.put(UNCAP_PROP_NAME_productsOptionsName, CAP_PROP_NAME_ProductsOptionsName);
+
+        _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _uncapPropNameCapPropNameMap;
+    }
+
+    // ===================================================================================
+    //                                                                            Name Map
+    //                                                                            ========
+    /**
+     * The implementation.
+     * 
+     * @return The key-to-lower map of db-name(lower) and property-name. (NotNull)
+     */
+    public java.util.Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The key-to-lower map of property-name(lower) and db-name. (NotNull)
+     */
+    public java.util.Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {db-name : cap-prop-name} map.
+     * @deprecated Please use getDbNamePropNameToLowerMap()
+     */
+    public java.util.Map<String, String> getDbNameCapPropNameMap() {
+        return createDbNameCapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {db-name : uncap-prop-name} map.
+     * @deprecated Please use getDbNamePropNameToLowerMap()
+     */
+    public java.util.Map<String, String> getDbNameUncapPropNameMap() {
+        return createDbNameUncapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {cap-prop-name : db-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getCapPropNameDbNameMap() {
+        return createCapPropNameDbNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {cap-prop-name : uncap-prop-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getCapPropNameUncapPropNameMap() {
+        return createCapPropNameUncapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {uncap-prop-name : db-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getUncapPropNameDbNameMap() {
+        return createUncapPropNameDbNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {uncap-prop-name : cap-prop-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getUncapPropNameCapPropNameMap() {
+        return createUncapPropNameCapPropNameMap();
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    public String getTableDbName() {
+        return TABLE_DB_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table property-name(JavaBeansRule). (NotNull)
+     */
+    public String getTablePropertyName() {
+        return TABLE_PROPERTY_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table cap-prop-name. (NotNull)
+     */
+    public String getTableCapPropName() {
+        return TABLE_CAP_PROP_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table property-name. (NotNull)
+     */
+    public String getTableUncapPropName() {
+        return TABLE_UNCAP_PROP_NAME;
+    }
+
+    // ===================================================================================
+    //                                                                           Type Name
+    //                                                                           =========
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of entity. (NotNull)
+     */ 
+    public String getEntityTypeName() {
+        return "jp.sf.pal.pompei.exentity.ProductsOptionsDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of condition-bean. (NotNull)
+     */ 
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.pompei.cbean.bs.ProductsOptionsDescriptionCB";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of dao. (NotNull)
+     */ 
+    public String getDaoTypeName() {
+        return "jp.sf.pal.pompei.exdao.ProductsOptionsDescriptionDao";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of behavior. (NotNull)
+     */ 
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.pompei.exbhv.ProductsOptionsDescriptionBhv";
+    }
+
+    // ===================================================================================
+    //                                                                         Object Type
+    //                                                                         ===========
+    /**
+     * The implementation.
+     * 
+     * @return The type of entity. (NotNull)
+     */ 
+    public Class getEntityType() {
+        return ENTITY_TYPE;
+    }
+
+    // ===================================================================================
+    //                                                                     Object Instance
+    //                                                                     ===============
+    /**
+     * The implementation.
+     * 
+     * @return The type of entity. (NotNull)
+     */ 
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    /**
+     * New the instance of my entity.
+     * 
+     * @return The instance of my entity. (NotNull)
+     */ 
+    public ProductsOptionsDescription newMyEntity() {
+        return new ProductsOptionsDescription();
+    }
+
+
+    // ===================================================================================
+    //                                                                         Column Info
+    //                                                                         ===========
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     */
+    public java.util.List<ColumnInfo> getColumnInfoList() {
+        final java.util.List<ColumnInfo> columnInfoList = new java.util.ArrayList<ColumnInfo>();
+        columnInfoList.add(columnProductsOptionsId());
+        columnInfoList.add(columnLanguageId());
+        columnInfoList.add(columnProductsOptionsName());
+        return columnInfoList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnDbNameList() {
+        final String[] columns = getColumnDbNameCommaString().split(",");
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (int i=0; i < columns.length; i++) {
+            resultList.add(columns[i].trim());
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnCapPropNameList() {
+        final java.util.List<String> columnDbNameList = getColumnDbNameList();
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (final java.util.Iterator ite = columnDbNameList.iterator(); ite.hasNext(); ) {
+            resultList.add(getDbNameCapPropNameMap().get((String)ite.next()));
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnUncapPropNameList() {
+        final java.util.List<String> columnDbNameList = getColumnDbNameList();
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (final java.util.Iterator ite = columnDbNameList.iterator(); ite.hasNext(); ) {
+            resultList.add(getDbNameUncapPropNameMap().get((String)ite.next()));
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Column-db-name comma-string. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public String getColumnDbNameCommaString() {
+        return "PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME";
+    }
+
+    /**
+     * @return Column information of productsOptionsId. (NotNull)
+     */
+    public ColumnInfo columnProductsOptionsId() {
+        return new ColumnInfo(this, "PRODUCTS_OPTIONS_ID", "productsOptionsId", java.math.BigDecimal.class, true);
+    }
+    /**
+     * @return Column information of languageId. (NotNull)
+     */
+    public ColumnInfo columnLanguageId() {
+        return new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, true);
+    }
+    /**
+     * @return Column information of productsOptionsName. (NotNull)
+     */
+    public ColumnInfo columnProductsOptionsName() {
+        return new ColumnInfo(this, "PRODUCTS_OPTIONS_NAME", "productsOptionsName", String.class, false);
+    }
+
+    // ===================================================================================
+    //                                                                         Unique Info
+    //                                                                         ===========
+    // -----------------------------------------------------
+    //                                       Primary Element
+    //                                       ---------------
+    /**
+     * The implementation.
+     * 
+     * @return The primary unique info. (NotNull)
+     */
+    public UniqueInfo getPrimaryUniqueInfo() {
+        final UniqueInfo uniqueInfo = new UniqueInfo();
+        uniqueInfo.setDBMeta(this);
+        uniqueInfo.addUniqueColumnList(new ColumnInfo(this, "PRODUCTS_OPTIONS_ID", "productsOptionsId", java.math.BigDecimal.class, true));
+        uniqueInfo.addUniqueColumnList(new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, true));
+        uniqueInfo.setPrimary(true);
+        return uniqueInfo;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return true;
+    }
+
+    // ===================================================================================
+    //                                                                       Relation Info
+    //                                                                       =============
+    // -----------------------------------------------------
+    //                                       Foreign Element
+    //                                       ---------------
+    /**
+     * Get foreign information of languages.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignLanguages() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("languages");
+        foreignInfo.setLocalDBMeta(ProductsOptionsDescriptionDbm.getInstance());
+        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of productsOptions.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProductsOptions() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("productsOptions");
+        foreignInfo.setLocalDBMeta(ProductsOptionsDescriptionDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsOptionsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsId(), ProductsOptionsDbm.getInstance().columnProductsOptionsId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+
+
+    // -----------------------------------------------------
+    //                                       Referer Element
+    //                                       ---------------
+
+    // -----------------------------------------------------
+    //                                        Relation Trace
+    //                                        --------------
+    /**
+     * Create relation trace for first step.
+     * 
+     * @param relationTraceFixHandler The handler of fixed relation trace. (Nullable)
+     * @return Relation trace. (NotNull)
+     */
+    public ProductsOptionsDescriptionRelationTrace createRelationTrace(RelationTraceFixHandler relationTraceFixHandler) {
+        return new ProductsOptionsDescriptionRelationTrace(relationTraceFixHandler);
+    }
+
+    /**
+     * Create relation trace for relation step.
+     * 
+     * @param relationList The list of relation. (NotNull)
+     * @param relationTraceList The list of relation trace. (NotNull)
+     * @return Relation trace. (NotNull)
+     */
+    public ProductsOptionsDescriptionRelationTrace createRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
+        return new ProductsOptionsDescriptionRelationTrace(relationList, relationTraceList);
+    }
+
+    /**
+     * Relation trace of PRODUCTS_OPTIONS_DESCRIPTION.
+     */
+    public static class ProductsOptionsDescriptionRelationTrace extends AbstractRelationTrace {
+
+        /**
+         * Constructor for first step.
+         * 
+         * @param relationTraceFixHandler The handler of fixed relation trace. (Nullable)
+         */
+        public ProductsOptionsDescriptionRelationTrace(RelationTraceFixHandler relationTraceFixHandler) {
+            super(relationTraceFixHandler);
+        }
+
+        /**
+         * Constructor for relation step.
+         * 
+         * @param relationList The list of relation. (NotNull)
+         * @param relationTraceList The list of relation trace. (NotNull)
+         */
+        public ProductsOptionsDescriptionRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
+            super(relationList, relationTraceList);
+        }
+
+        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
+            _relationList.add(ProductsOptionsDescriptionDbm.getInstance().foreignLanguages());
+            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsDbm.ProductsOptionsRelationTrace foreignProductsOptions() {
+            _relationList.add(ProductsOptionsDescriptionDbm.getInstance().foreignProductsOptions());
+            return ProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public RelationTrace columnProductsOptionsId() { return fixTrace(_relationList, ProductsOptionsDescriptionDbm.getInstance().columnProductsOptionsId()); }
+        public RelationTrace columnLanguageId() { return fixTrace(_relationList, ProductsOptionsDescriptionDbm.getInstance().columnLanguageId()); }
+        public RelationTrace columnProductsOptionsName() { return fixTrace(_relationList, ProductsOptionsDescriptionDbm.getInstance().columnProductsOptionsName()); }
+    }
+
+    // ===================================================================================
+    //                                                                       Sequence Info
+    //                                                                       =============
+    /**
+     * Has sequence?
+     * 
+     * @return Determination.
+     */
+    public boolean hasSequence() {
+        return false;
+    }
+
+    // ===================================================================================
+    //                                                                       Common Column
+    //                                                                       =============
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasCommonColumn() {
+        return false;
+    }
+
+    // ===================================================================================
+    //                                                                     Entity Handling
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                Accept
+    //                                                ------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param primaryKeyMap Primary key map. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMap(Entity entity, java.util.Map<String, ? extends Object> primaryKeyMap) {
+        final ProductsOptionsDescription myEntity = (ProductsOptionsDescription)entity;
+        MapAssertUtil.assertPrimaryKeyMapNotNullAndNotEmpty(primaryKeyMap);
+        final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(primaryKeyMap, entity.getModifiedPropertyNames());
+
+        MapAssertUtil.assertColumnExistingInPrimaryKeyMap(primaryKeyMap, "PRODUCTS_OPTIONS_ID");
+        if (analyzer.init("PRODUCTS_OPTIONS_ID", "productsOptionsId", "productsOptionsId")) { myEntity.setProductsOptionsId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        MapAssertUtil.assertColumnExistingInPrimaryKeyMap(primaryKeyMap, "LANGUAGE_ID");
+        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+
+
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param primaryKeyMapString Primary-key map-string. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMapString(Entity entity, String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param columnValueMap Column-value map. (NotNull and NotEmpty)
+     */
+    public void acceptColumnValueMap(Entity entity, java.util.Map<String, ? extends Object> columnValueMap) {
+        final ProductsOptionsDescription myEntity = (ProductsOptionsDescription)entity;
+        MapAssertUtil.assertColumnValueMapNotNullAndNotEmpty(columnValueMap);
+        final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
+
+        if (analyzer.init("PRODUCTS_OPTIONS_ID", "productsOptionsId", "productsOptionsId")) { myEntity.setProductsOptionsId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        if (analyzer.init("PRODUCTS_OPTIONS_NAME", "productsOptionsName", "productsOptionsName")) { myEntity.setProductsOptionsName(analyzer.analyzeString(String.class)); };
+
+    }
+
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param columnValueMapString Column-value map-string. (NotNull and NotEmpty)
+     */
+    public void acceptColumnValueMapString(Entity entity, String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+
+    // -----------------------------------------------------
+    //                                               Extract
+    //                                               -------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Primary-key map-string. (NotNull)
+     */
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    /**
+     * Extract primary-key map-string.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param startBrace Start-brace. (NotNull)
+     * @param endBrace End-brace. (NotNull)
+     * @param delimiter Delimiter. (NotNull)
+     * @param equal Equal. (NotNull)
+     * @return Primary-key map-string. (NotNull)
+     */
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        final ProductsOptionsDescription myEntity = (ProductsOptionsDescription)entity;
+        final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
+        final StringBuffer sb = new StringBuffer();
+        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_ID", myEntity.getProductsOptionsId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
+
+        sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
+        return sb.toString();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    /**
+     * Extract column-value map-string.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param startBrace Start-brace. (NotNull)
+     * @param endBrace End-brace. (NotNull)
+     * @param delimiter Delimiter. (NotNull)
+     * @param equal Equal. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractColumnValueMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        final ProductsOptionsDescription myEntity = (ProductsOptionsDescription)entity;
+        final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
+        final StringBuffer sb = new StringBuffer();
+        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_ID", myEntity.getProductsOptionsId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_NAME", myEntity.getProductsOptionsName());
+
+        sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
+        return sb.toString();
+    }
+
+    private void helpAppendingColumnValueString(StringBuffer sb, String delimiter, String equal, String colName, Object value) {
+        sb.append(delimiter).append(colName).append(equal);
+        sb.append(helpGettingColumnStringValue(value));
+    }
+
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractCommonColumnValueMapString(Entity entity) {
+        return "map:{}";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractCommonColumnValueMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        return "map:" + startBrace + endBrace;
+    }
+
+
+    // -----------------------------------------------------
+    //                                               Convert
+    //                                               -------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The list of column value. (NotNull)
+     */
+    public java.util.List<Object> convertToColumnValueList(Entity entity) {
+        return new java.util.ArrayList<Object>(convertToColumnValueMap(entity).values());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The map of column value. (NotNull)
+     */
+    public java.util.Map<String, Object> convertToColumnValueMap(Entity entity) {
+        final ProductsOptionsDescription myEntity = downcast(entity);
+        final java.util.Map<String, Object> valueMap = new java.util.LinkedHashMap<String, Object>();
+        valueMap.put("PRODUCTS_OPTIONS_ID", myEntity.getProductsOptionsId());
+        valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
+        valueMap.put("PRODUCTS_OPTIONS_NAME", myEntity.getProductsOptionsName());
+        return valueMap;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The list of column string-value. (NotNull)
+     */
+    public java.util.List<String> convertToColumnStringValueList(Entity entity) {
+        return new java.util.ArrayList<String>(convertToColumnStringValueMap(entity).values());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The map of column string-value. (NotNull)
+     */
+    public java.util.Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        final ProductsOptionsDescription myEntity = downcast(entity);
+        final java.util.Map<String, String> valueMap = new java.util.LinkedHashMap<String, String>();
+        valueMap.put("PRODUCTS_OPTIONS_ID", helpGettingColumnStringValue(myEntity.getProductsOptionsId()));
+        valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
+        valueMap.put("PRODUCTS_OPTIONS_NAME", helpGettingColumnStringValue(myEntity.getProductsOptionsName()));
+        return valueMap;
+    }
+
+    // ===================================================================================
+    //                                                                        JDBC Support
+    //                                                                        ============
+    /**
+     * The implementation.
+     * 
+     * @return Prepared insert clause. (NotNull and NotEmpty)
+     */
+    public String getPreparedInsertClause() {
+        return getPreparedInsertClause(new PreparedInsertClauseOption());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param preparedInsertClauseOption Prepared insert clause option. (NotNull)
+     * @return Prepared insert clause. (NotNull and NotEmpty)
+     */
+    public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
+        if (preparedInsertClauseOption.getTablePrefix() != null) {
+            final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
+            return "insert into " + tablePrefix + "PRODUCTS_OPTIONS_DESCRIPTION(PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME) values(? , ? , ? )";
+        }
+        return "insert into PRODUCTS_OPTIONS_DESCRIPTION(PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME) values(? , ? , ? )";
+    }
+
+    // ===================================================================================
+    //                                                                              Helper
+    //                                                                              ======
+    protected ProductsOptionsDescription downcast(Entity entity) {
+        assertObjectNotNull("entity", entity);
+        try {
+            return (ProductsOptionsDescription)entity;
+        } catch (ClassCastException e) {
+            String msg = "The entity should be ProductsOptionsDescription but it was: " + entity.getClass();
+            throw new RuntimeException(msg, e);
+        }
+    }
+
+    protected void checkDowncast(Entity entity) {
+        downcast(entity);
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsDescriptionDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -16,19 +16,19 @@
  *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     languages
+ *     
  * 
  * [refferer-property]
- *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
+ *     customersBasketAttributesList, productsAttributesList, productsOptionsValuesDescriptionList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesId
  * 
  * [update-date]
  *     
@@ -93,89 +93,67 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of PRODUCTS_OPTIONS_VALUES_ID. PK : INTEGER : NotNull : Default=[0] */
+    /** Db-name of PRODUCTS_OPTIONS_VALUES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_PRODUCTS_OPTIONS_VALUES_ID = "PRODUCTS_OPTIONS_VALUES_ID";
-    /** Db-name of LANGUAGE_ID. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
-    /** Db-name of PRODUCTS_OPTIONS_VALUES_NAME. VARCHAR(64) : NotNull : Default=[] */
-    public static final String DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME = "PRODUCTS_OPTIONS_VALUES_NAME";
 
     /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsValuesId. */
     public static final String COLUMN_DB_NAME_OF_ProductsOptionsValuesId = "PRODUCTS_OPTIONS_VALUES_ID";
-    /** @deprecated Deprecated! So use DB_NAME_LanguageId. */
-    public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
-    /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsValuesName. */
-    public static final String COLUMN_DB_NAME_OF_ProductsOptionsValuesName = "PRODUCTS_OPTIONS_VALUES_NAME";
 
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of productsOptionsValuesId. PK : INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of productsOptionsValuesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_productsOptionsValuesId = "productsOptionsValuesId";
-    /** Prop-name(JavaBeansRule) of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String PROPERTY_NAME_languageId = "languageId";
-    /** Prop-name(JavaBeansRule) of productsOptionsValuesName. VARCHAR(64) : NotNull : Default=[] */
-    public static final String PROPERTY_NAME_productsOptionsValuesName = "productsOptionsValuesName";
 
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of productsOptionsValuesId. PK : INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of productsOptionsValuesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ProductsOptionsValuesId = "ProductsOptionsValuesId";
-    /** Cap-prop-name of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
-    /** Cap-prop-name of productsOptionsValuesName. VARCHAR(64) : NotNull : Default=[] */
-    public static final String CAP_PROP_NAME_ProductsOptionsValuesName = "ProductsOptionsValuesName";
 
     /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsValuesId. */
     public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsValuesId = "ProductsOptionsValuesId";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguageId. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
-    /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsValuesName. */
-    public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsValuesName = "ProductsOptionsValuesName";
 
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of productsOptionsValuesId. PK : INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of productsOptionsValuesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_productsOptionsValuesId = "productsOptionsValuesId";
-    /** Uncap-prop-name of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
-    public static final String UNCAP_PROP_NAME_languageId = "languageId";
-    /** Uncap-prop-name of productsOptionsValuesName. VARCHAR(64) : NotNull : Default=[] */
-    public static final String UNCAP_PROP_NAME_productsOptionsValuesName = "productsOptionsValuesName";
 
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsValuesId. */
     public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsValuesId = "productsOptionsValuesId";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguageId. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
-    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsValuesName. */
-    public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsValuesName = "productsOptionsValuesName";
 
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
-    /** The foreign property name(JavaBeansRule) of languages. */
-    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
-    /** @deprecated Use FOREIGN_NAME_languages. */
-    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
 
-    /** @deprecated Use FOREIGN_NAME_languages. */
-    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
     /** The referer property name(JavaBeansRule) of customersBasketAttributesList. */
     public static final String REFERER_PROPERTY_NAME_customersBasketAttributesList = "customersBasketAttributesList";
+    /** The referer property name(JavaBeansRule) of productsAttributesList. */
+    public static final String REFERER_PROPERTY_NAME_productsAttributesList = "productsAttributesList";
+    /** The referer property name(JavaBeansRule) of productsOptionsValuesDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_productsOptionsValuesDescriptionList = "productsOptionsValuesDescriptionList";
     /** The referer property name(JavaBeansRule) of productsOptionsValuesToProductsOptionsList. */
     public static final String REFERER_PROPERTY_NAME_productsOptionsValuesToProductsOptionsList = "productsOptionsValuesToProductsOptionsList";
     /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
     public static final String REFERER_CAP_PROP_NAME_CustomersBasketAttributesList = "CustomersBasketAttributesList";
+    /** @deprecated Use REFERER_NAME_productsAttributesList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsAttributesList = "ProductsAttributesList";
+    /** @deprecated Use REFERER_NAME_productsOptionsValuesDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsOptionsValuesDescriptionList = "ProductsOptionsValuesDescriptionList";
     /** @deprecated Use REFERER_NAME_productsOptionsValuesToProductsOptionsList */
     public static final String REFERER_CAP_PROP_NAME_ProductsOptionsValuesToProductsOptionsList = "ProductsOptionsValuesToProductsOptionsList";
 
     /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
     public static final String REFERER_UNCAP_PROP_NAME_customersBasketAttributesList = "customersBasketAttributesList";
+    /** @deprecated Use REFERER_NAME_productsAttributesList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsAttributesList = "productsAttributesList";
+    /** @deprecated Use REFERER_NAME_productsOptionsValuesDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsOptionsValuesDescriptionList = "productsOptionsValuesDescriptionList";
     /** @deprecated Use REFERER_NAME_productsOptionsValuesToProductsOptionsList */
     public static final String REFERER_UNCAP_PROP_NAME_productsOptionsValuesToProductsOptionsList = "productsOptionsValuesToProductsOptionsList";
 
@@ -189,8 +167,6 @@
         map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
 
         map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_ID.toLowerCase(), PROPERTY_NAME_productsOptionsValuesId);
-        map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
-        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME.toLowerCase(), PROPERTY_NAME_productsOptionsValuesName);
 
         _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _dbNamePropertyNameKeyToLowerMap;
@@ -206,8 +182,6 @@
         map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
 
         map.put(PROPERTY_NAME_productsOptionsValuesId.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_VALUES_ID);
-        map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
-        map.put(PROPERTY_NAME_productsOptionsValuesName.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME);
 
         _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
         return _propertyNameDbNameKeyToLowerMap;
@@ -225,8 +199,6 @@
         map.put(TABLE_DB_NAME, TABLE_CAP_PROP_NAME);
 
         map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_ID, CAP_PROP_NAME_ProductsOptionsValuesId);
-        map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
-        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME, CAP_PROP_NAME_ProductsOptionsValuesName);
 
         _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameCapPropNameMap;
@@ -244,8 +216,6 @@
         map.put(TABLE_DB_NAME, TABLE_UNCAP_PROP_NAME);
 
         map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_ID, UNCAP_PROP_NAME_productsOptionsValuesId);
-        map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
-        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME, UNCAP_PROP_NAME_productsOptionsValuesName);
 
         _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _dbNameUncapPropNameMap;
@@ -263,8 +233,6 @@
         map.put(TABLE_CAP_PROP_NAME, TABLE_DB_NAME);
 
         map.put(CAP_PROP_NAME_ProductsOptionsValuesId, DB_NAME_PRODUCTS_OPTIONS_VALUES_ID);
-        map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
-        map.put(CAP_PROP_NAME_ProductsOptionsValuesName, DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME);
 
         _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameDbNameMap;
@@ -282,8 +250,6 @@
         map.put(TABLE_CAP_PROP_NAME, TABLE_UNCAP_PROP_NAME);
 
         map.put(CAP_PROP_NAME_ProductsOptionsValuesId, UNCAP_PROP_NAME_productsOptionsValuesId);
-        map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
-        map.put(CAP_PROP_NAME_ProductsOptionsValuesName, UNCAP_PROP_NAME_productsOptionsValuesName);
 
         _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _capPropNameUncapPropNameMap;
@@ -301,8 +267,6 @@
         map.put(TABLE_UNCAP_PROP_NAME, TABLE_DB_NAME);
 
         map.put(UNCAP_PROP_NAME_productsOptionsValuesId, DB_NAME_PRODUCTS_OPTIONS_VALUES_ID);
-        map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
-        map.put(UNCAP_PROP_NAME_productsOptionsValuesName, DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME);
 
         _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameDbNameMap;
@@ -320,8 +284,6 @@
         map.put(TABLE_UNCAP_PROP_NAME, TABLE_CAP_PROP_NAME);
 
         map.put(UNCAP_PROP_NAME_productsOptionsValuesId, CAP_PROP_NAME_ProductsOptionsValuesId);
-        map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
-        map.put(UNCAP_PROP_NAME_productsOptionsValuesName, CAP_PROP_NAME_ProductsOptionsValuesName);
 
         _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
         return _uncapPropNameCapPropNameMap;
@@ -531,8 +493,6 @@
     public java.util.List<ColumnInfo> getColumnInfoList() {
         final java.util.List<ColumnInfo> columnInfoList = new java.util.ArrayList<ColumnInfo>();
         columnInfoList.add(columnProductsOptionsValuesId());
-        columnInfoList.add(columnLanguageId());
-        columnInfoList.add(columnProductsOptionsValuesName());
         return columnInfoList;
     }
 
@@ -588,7 +548,7 @@
      * @deprecated Please use getColumnInfoList()
      */
     public String getColumnDbNameCommaString() {
-        return "PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME";
+        return "PRODUCTS_OPTIONS_VALUES_ID";
     }
 
     /**
@@ -597,18 +557,6 @@
     public ColumnInfo columnProductsOptionsValuesId() {
         return new ColumnInfo(this, "PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId", java.math.BigDecimal.class, true);
     }
-    /**
-     * @return Column information of languageId. (NotNull)
-     */
-    public ColumnInfo columnLanguageId() {
-        return new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, false);
-    }
-    /**
-     * @return Column information of productsOptionsValuesName. (NotNull)
-     */
-    public ColumnInfo columnProductsOptionsValuesName() {
-        return new ColumnInfo(this, "PRODUCTS_OPTIONS_VALUES_NAME", "productsOptionsValuesName", String.class, false);
-    }
 
     // ===================================================================================
     //                                                                         Unique Info
@@ -653,22 +601,6 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
-    /**
-     * Get foreign information of languages.
-     * 
-     * @return Referer information. (NotNull)
-     */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignLanguages() {
-        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
-        foreignInfo.setForeignPropertyName("languages");
-        foreignInfo.setLocalDBMeta(ProductsOptionsValuesDbm.getInstance());
-        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
-        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
-        foreignInfo.setLocalForeignColumnInfoMap(map);
-        foreignInfo.setOneToOne(false);
-        return foreignInfo;
-    }
 
 
     // -----------------------------------------------------
@@ -691,6 +623,38 @@
         return refererInfo;
     }
     /**
+     * Get referer information of productsAttributesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsAttributesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsAttributesList");
+        refererInfo.setLocalDBMeta(ProductsOptionsValuesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsAttributesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsValuesId(), ProductsAttributesDbm.getInstance().columnOptionsValuesId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of productsOptionsValuesDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsValuesDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsOptionsValuesDescriptionList");
+        refererInfo.setLocalDBMeta(ProductsOptionsValuesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsOptionsValuesDescriptionDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsValuesId(), ProductsOptionsValuesDescriptionDbm.getInstance().columnProductsOptionsValuesId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
      * Get referer information of productsOptionsValuesToProductsOptionsList.
      * 
      * @return Referer information. (NotNull)
@@ -754,25 +718,28 @@
         public ProductsOptionsValuesRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
-
-        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
-            _relationList.add(ProductsOptionsValuesDbm.getInstance().foreignLanguages());
-            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
-        }
-    
+        
         public CustomersBasketAttributesDbm.CustomersBasketAttributesRelationTrace refererCustomersBasketAttributesList() {
             _relationList.add(ProductsOptionsValuesDbm.getInstance().refererCustomersBasketAttributesList());
             return CustomersBasketAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public ProductsAttributesDbm.ProductsAttributesRelationTrace refererProductsAttributesList() {
+            _relationList.add(ProductsOptionsValuesDbm.getInstance().refererProductsAttributesList());
+            return ProductsAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsValuesDescriptionDbm.ProductsOptionsValuesDescriptionRelationTrace refererProductsOptionsValuesDescriptionList() {
+            _relationList.add(ProductsOptionsValuesDbm.getInstance().refererProductsOptionsValuesDescriptionList());
+            return ProductsOptionsValuesDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public ProductsOptionsValuesToProductsOptionsDbm.ProductsOptionsValuesToProductsOptionsRelationTrace refererProductsOptionsValuesToProductsOptionsList() {
             _relationList.add(ProductsOptionsValuesDbm.getInstance().refererProductsOptionsValuesToProductsOptionsList());
             return ProductsOptionsValuesToProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
         public RelationTrace columnProductsOptionsValuesId() { return fixTrace(_relationList, ProductsOptionsValuesDbm.getInstance().columnProductsOptionsValuesId()); }
-        public RelationTrace columnLanguageId() { return fixTrace(_relationList, ProductsOptionsValuesDbm.getInstance().columnLanguageId()); }
-        public RelationTrace columnProductsOptionsValuesName() { return fixTrace(_relationList, ProductsOptionsValuesDbm.getInstance().columnProductsOptionsValuesName()); }
     }
 
     // ===================================================================================
@@ -844,8 +811,6 @@
         final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
 
         if (analyzer.init("PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId", "productsOptionsValuesId")) { myEntity.setProductsOptionsValuesId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("PRODUCTS_OPTIONS_VALUES_NAME", "productsOptionsValuesName", "productsOptionsValuesName")) { myEntity.setProductsOptionsValuesName(analyzer.analyzeString(String.class)); };
 
     }
 
@@ -919,8 +884,6 @@
         final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
         final StringBuffer sb = new StringBuffer();
         helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_VALUES_ID", myEntity.getProductsOptionsValuesId());
-        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
-        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_VALUES_NAME", myEntity.getProductsOptionsValuesName());
 
         sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
         return sb.toString();
@@ -976,8 +939,6 @@
         final ProductsOptionsValues myEntity = downcast(entity);
         final java.util.Map<String, Object> valueMap = new java.util.LinkedHashMap<String, Object>();
         valueMap.put("PRODUCTS_OPTIONS_VALUES_ID", myEntity.getProductsOptionsValuesId());
-        valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
-        valueMap.put("PRODUCTS_OPTIONS_VALUES_NAME", myEntity.getProductsOptionsValuesName());
         return valueMap;
     }
 
@@ -1001,8 +962,6 @@
         final ProductsOptionsValues myEntity = downcast(entity);
         final java.util.Map<String, String> valueMap = new java.util.LinkedHashMap<String, String>();
         valueMap.put("PRODUCTS_OPTIONS_VALUES_ID", helpGettingColumnStringValue(myEntity.getProductsOptionsValuesId()));
-        valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
-        valueMap.put("PRODUCTS_OPTIONS_VALUES_NAME", helpGettingColumnStringValue(myEntity.getProductsOptionsValuesName()));
         return valueMap;
     }
 
@@ -1027,9 +986,9 @@
     public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
         if (preparedInsertClauseOption.getTablePrefix() != null) {
             final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
-            return "insert into " + tablePrefix + "PRODUCTS_OPTIONS_VALUES(PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME) values(? , ? , ? )";
+            return "insert into " + tablePrefix + "PRODUCTS_OPTIONS_VALUES(PRODUCTS_OPTIONS_VALUES_ID) values(? )";
         }
-        return "insert into PRODUCTS_OPTIONS_VALUES(PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME) values(? , ? , ? )";
+        return "insert into PRODUCTS_OPTIONS_VALUES(PRODUCTS_OPTIONS_VALUES_ID) values(? )";
     }
 
     // ===================================================================================

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDescriptionDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDescriptionDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDescriptionDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,1028 @@
+package jp.sf.pal.pompei.bsentity.dbmeta;
+
+
+import jp.sf.pal.pompei.allcommon.Entity;
+import jp.sf.pal.pompei.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.RelationInfo;
+import jp.sf.pal.pompei.allcommon.dbmeta.info.UniqueInfo;
+
+/**
+ * The dbmeta of PRODUCTS_OPTIONS_VALUES_DESCRIPTION. (Singleton)
+ * 
+ * <pre>
+ * [primary-key]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ * 
+ * [column-property]
+ *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
+ * 
+ * [foreign-property]
+ *     languages, productsOptionsValues
+ * 
+ * [refferer-property]
+ *     
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [update-date]
+ *     
+ * 
+ * [version-no]
+ *     
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescriptionDbm extends AbstractDBMeta {
+
+    // ===================================================================================
+    //                                                                          Definition
+    //                                                                          ==========
+    /** The type of entity. */
+    protected static final Class ENTITY_TYPE = ProductsOptionsValuesDescription.class;
+
+    /** Singleton instance. */
+    private static final ProductsOptionsValuesDescriptionDbm _instance = new ProductsOptionsValuesDescriptionDbm();
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    private ProductsOptionsValuesDescriptionDbm() {
+    }
+
+    // ===================================================================================
+    //                                                                           Singleton
+    //                                                                           =========
+    /**
+     * Get instance.
+     * 
+     * @return Singleton instance. (NotNull)
+     */
+    public static ProductsOptionsValuesDescriptionDbm getInstance() {
+        return _instance;
+    }
+
+    // ===================================================================================
+    //                                                                     Name Definition
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                 Table
+    //                                                 -----
+    /** Table db name. */
+    public static final String TABLE_DB_NAME = "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+
+    /** Table prop name(JavaBeansRule). */
+    public static final String TABLE_PROPERTY_NAME = "productsOptionsValuesDescription";
+
+    /** Table cap-prop name. */
+    public static final String TABLE_CAP_PROP_NAME = "ProductsOptionsValuesDescription";
+
+    /** Table uncap-prop name. */
+    public static final String TABLE_UNCAP_PROP_NAME = "productsOptionsValuesDescription";
+
+    // -----------------------------------------------------
+    //                                        Column DB-Name
+    //                                        --------------
+    /** Db-name of PRODUCTS_OPTIONS_VALUES_ID. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
+    public static final String DB_NAME_PRODUCTS_OPTIONS_VALUES_ID = "PRODUCTS_OPTIONS_VALUES_ID";
+    /** Db-name of LANGUAGE_ID. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String DB_NAME_LANGUAGE_ID = "LANGUAGE_ID";
+    /** Db-name of PRODUCTS_OPTIONS_VALUES_NAME. VARCHAR(64) : NotNull */
+    public static final String DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME = "PRODUCTS_OPTIONS_VALUES_NAME";
+
+    /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsValuesId. */
+    public static final String COLUMN_DB_NAME_OF_ProductsOptionsValuesId = "PRODUCTS_OPTIONS_VALUES_ID";
+    /** @deprecated Deprecated! So use DB_NAME_LanguageId. */
+    public static final String COLUMN_DB_NAME_OF_LanguageId = "LANGUAGE_ID";
+    /** @deprecated Deprecated! So use DB_NAME_ProductsOptionsValuesName. */
+    public static final String COLUMN_DB_NAME_OF_ProductsOptionsValuesName = "PRODUCTS_OPTIONS_VALUES_NAME";
+
+    // -----------------------------------------------------
+    //                       Column Prop-Name(JavaBeansRule)
+    //                       -------------------------------
+    /** Prop-name(JavaBeansRule) of productsOptionsValuesId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
+    public static final String PROPERTY_NAME_productsOptionsValuesId = "productsOptionsValuesId";
+    /** Prop-name(JavaBeansRule) of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String PROPERTY_NAME_languageId = "languageId";
+    /** Prop-name(JavaBeansRule) of productsOptionsValuesName. VARCHAR(64) : NotNull */
+    public static final String PROPERTY_NAME_productsOptionsValuesName = "productsOptionsValuesName";
+
+    // -----------------------------------------------------
+    //                                  Column Cap-Prop-Name
+    //                                  --------------------
+    /** Cap-prop-name of productsOptionsValuesId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
+    public static final String CAP_PROP_NAME_ProductsOptionsValuesId = "ProductsOptionsValuesId";
+    /** Cap-prop-name of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String CAP_PROP_NAME_LanguageId = "LanguageId";
+    /** Cap-prop-name of productsOptionsValuesName. VARCHAR(64) : NotNull */
+    public static final String CAP_PROP_NAME_ProductsOptionsValuesName = "ProductsOptionsValuesName";
+
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsValuesId. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsValuesId = "ProductsOptionsValuesId";
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_LanguageId. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_LanguageId = "LanguageId";
+    /** @deprecated Deprecated! So use CAP_PROP_NAME_ProductsOptionsValuesName. */
+    public static final String COLUMN_CAP_PROP_NAME_OF_ProductsOptionsValuesName = "ProductsOptionsValuesName";
+
+    // -----------------------------------------------------
+    //                                Column Uncap-Prop-Name
+    //                                ----------------------
+    /** Uncap-prop-name of productsOptionsValuesId. PK : INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
+    public static final String UNCAP_PROP_NAME_productsOptionsValuesId = "productsOptionsValuesId";
+    /** Uncap-prop-name of languageId. PK : INTEGER : NotNull : FK to LANGUAGES */
+    public static final String UNCAP_PROP_NAME_languageId = "languageId";
+    /** Uncap-prop-name of productsOptionsValuesName. VARCHAR(64) : NotNull */
+    public static final String UNCAP_PROP_NAME_productsOptionsValuesName = "productsOptionsValuesName";
+
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsValuesId. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsValuesId = "productsOptionsValuesId";
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_LanguageId. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_LanguageId = "languageId";
+    /** @deprecated Deprecated! So use UNCAP_PROP_NAME_ProductsOptionsValuesName. */
+    public static final String COLUMN_UNCAP_PROP_NAME_OF_ProductsOptionsValuesName = "productsOptionsValuesName";
+
+    // -----------------------------------------------------
+    //                                          Foreign Name
+    //                                          ------------
+    /** The foreign property name(JavaBeansRule) of languages. */
+    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
+    /** The foreign property name(JavaBeansRule) of productsOptionsValues. */
+    public static final String FOREIGN_PROPERTY_NAME_productsOptionsValues = "productsOptionsValues";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
+    /** @deprecated Use FOREIGN_NAME_productsOptionsValues. */
+    public static final String FOREIGN_CAP_PROP_NAME_ProductsOptionsValues = "ProductsOptionsValues";
+
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
+    /** @deprecated Use FOREIGN_NAME_productsOptionsValues. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_productsOptionsValues = "productsOptionsValues";
+
+    // -----------------------------------------------------
+    //                                          Referer Name
+    //                                          ------------
+
+
+    /** The map of {db-name : prop-name} key-to-lower. */
+    private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+    protected static java.util.Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap != null) {
+            return _dbNamePropertyNameKeyToLowerMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME.toLowerCase(), TABLE_PROPERTY_NAME);
+
+        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_ID.toLowerCase(), PROPERTY_NAME_productsOptionsValuesId);
+        map.put(DB_NAME_LANGUAGE_ID.toLowerCase(), PROPERTY_NAME_languageId);
+        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME.toLowerCase(), PROPERTY_NAME_productsOptionsValuesName);
+
+        _dbNamePropertyNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    /** The map of {prop-name : db-name} key-to-lower. */
+    private static java.util.Map<String, String> _propertyNameDbNameKeyToLowerMap;
+    protected static java.util.Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap != null) {
+            return _propertyNameDbNameKeyToLowerMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_PROPERTY_NAME.toLowerCase(), TABLE_DB_NAME);
+
+        map.put(PROPERTY_NAME_productsOptionsValuesId.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_VALUES_ID);
+        map.put(PROPERTY_NAME_languageId.toLowerCase(), DB_NAME_LANGUAGE_ID);
+        map.put(PROPERTY_NAME_productsOptionsValuesName.toLowerCase(), DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME);
+
+        _propertyNameDbNameKeyToLowerMap = java.util.Collections.unmodifiableMap(map);
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _dbNameCapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createDbNameCapPropNameMap() {
+        if (_dbNameCapPropNameMap != null) {
+            return _dbNameCapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME, TABLE_CAP_PROP_NAME);
+
+        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_ID, CAP_PROP_NAME_ProductsOptionsValuesId);
+        map.put(DB_NAME_LANGUAGE_ID, CAP_PROP_NAME_LanguageId);
+        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME, CAP_PROP_NAME_ProductsOptionsValuesName);
+
+        _dbNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNameCapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _dbNameUncapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createDbNameUncapPropNameMap() {
+        if (_dbNameUncapPropNameMap != null) {
+            return _dbNameUncapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_DB_NAME, TABLE_UNCAP_PROP_NAME);
+
+        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_ID, UNCAP_PROP_NAME_productsOptionsValuesId);
+        map.put(DB_NAME_LANGUAGE_ID, UNCAP_PROP_NAME_languageId);
+        map.put(DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME, UNCAP_PROP_NAME_productsOptionsValuesName);
+
+        _dbNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _dbNameUncapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _capPropNameDbNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createCapPropNameDbNameMap() {
+        if (_capPropNameDbNameMap != null) {
+            return _capPropNameDbNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_CAP_PROP_NAME, TABLE_DB_NAME);
+
+        map.put(CAP_PROP_NAME_ProductsOptionsValuesId, DB_NAME_PRODUCTS_OPTIONS_VALUES_ID);
+        map.put(CAP_PROP_NAME_LanguageId, DB_NAME_LANGUAGE_ID);
+        map.put(CAP_PROP_NAME_ProductsOptionsValuesName, DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME);
+
+        _capPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
+        return _capPropNameDbNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _capPropNameUncapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createCapPropNameUncapPropNameMap() {
+        if (_capPropNameUncapPropNameMap != null) {
+            return _capPropNameUncapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_CAP_PROP_NAME, TABLE_UNCAP_PROP_NAME);
+
+        map.put(CAP_PROP_NAME_ProductsOptionsValuesId, UNCAP_PROP_NAME_productsOptionsValuesId);
+        map.put(CAP_PROP_NAME_LanguageId, UNCAP_PROP_NAME_languageId);
+        map.put(CAP_PROP_NAME_ProductsOptionsValuesName, UNCAP_PROP_NAME_productsOptionsValuesName);
+
+        _capPropNameUncapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _capPropNameUncapPropNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _uncapPropNameDbNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createUncapPropNameDbNameMap() {
+        if (_uncapPropNameDbNameMap != null) {
+            return _uncapPropNameDbNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_UNCAP_PROP_NAME, TABLE_DB_NAME);
+
+        map.put(UNCAP_PROP_NAME_productsOptionsValuesId, DB_NAME_PRODUCTS_OPTIONS_VALUES_ID);
+        map.put(UNCAP_PROP_NAME_languageId, DB_NAME_LANGUAGE_ID);
+        map.put(UNCAP_PROP_NAME_productsOptionsValuesName, DB_NAME_PRODUCTS_OPTIONS_VALUES_NAME);
+
+        _uncapPropNameDbNameMap = java.util.Collections.unmodifiableMap(map);
+        return _uncapPropNameDbNameMap;
+    }
+
+    /** @deprecated */
+    private static java.util.Map<String, String> _uncapPropNameCapPropNameMap;
+
+    /** @deprecated */
+    protected static java.util.Map<String, String> createUncapPropNameCapPropNameMap() {
+        if (_uncapPropNameCapPropNameMap != null) {
+            return _uncapPropNameCapPropNameMap;
+        }
+        final java.util.Map<String, String> map = new java.util.LinkedHashMap<String, String>();
+        map.put(TABLE_UNCAP_PROP_NAME, TABLE_CAP_PROP_NAME);
+
+        map.put(UNCAP_PROP_NAME_productsOptionsValuesId, CAP_PROP_NAME_ProductsOptionsValuesId);
+        map.put(UNCAP_PROP_NAME_languageId, CAP_PROP_NAME_LanguageId);
+        map.put(UNCAP_PROP_NAME_productsOptionsValuesName, CAP_PROP_NAME_ProductsOptionsValuesName);
+
+        _uncapPropNameCapPropNameMap = java.util.Collections.unmodifiableMap(map);
+        return _uncapPropNameCapPropNameMap;
+    }
+
+    // ===================================================================================
+    //                                                                            Name Map
+    //                                                                            ========
+    /**
+     * The implementation.
+     * 
+     * @return The key-to-lower map of db-name(lower) and property-name. (NotNull)
+     */
+    public java.util.Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The key-to-lower map of property-name(lower) and db-name. (NotNull)
+     */
+    public java.util.Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {db-name : cap-prop-name} map.
+     * @deprecated Please use getDbNamePropNameToLowerMap()
+     */
+    public java.util.Map<String, String> getDbNameCapPropNameMap() {
+        return createDbNameCapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {db-name : uncap-prop-name} map.
+     * @deprecated Please use getDbNamePropNameToLowerMap()
+     */
+    public java.util.Map<String, String> getDbNameUncapPropNameMap() {
+        return createDbNameUncapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {cap-prop-name : db-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getCapPropNameDbNameMap() {
+        return createCapPropNameDbNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {cap-prop-name : uncap-prop-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getCapPropNameUncapPropNameMap() {
+        return createCapPropNameUncapPropNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {uncap-prop-name : db-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getUncapPropNameDbNameMap() {
+        return createUncapPropNameDbNameMap();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return {uncap-prop-name : cap-prop-name} map.
+     * @deprecated Please use getPropNameDbNameToLowerMap()
+     */
+    public java.util.Map<String, String> getUncapPropNameCapPropNameMap() {
+        return createUncapPropNameCapPropNameMap();
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    public String getTableDbName() {
+        return TABLE_DB_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table property-name(JavaBeansRule). (NotNull)
+     */
+    public String getTablePropertyName() {
+        return TABLE_PROPERTY_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table cap-prop-name. (NotNull)
+     */
+    public String getTableCapPropName() {
+        return TABLE_CAP_PROP_NAME;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table property-name. (NotNull)
+     */
+    public String getTableUncapPropName() {
+        return TABLE_UNCAP_PROP_NAME;
+    }
+
+    // ===================================================================================
+    //                                                                           Type Name
+    //                                                                           =========
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of entity. (NotNull)
+     */ 
+    public String getEntityTypeName() {
+        return "jp.sf.pal.pompei.exentity.ProductsOptionsValuesDescription";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of condition-bean. (NotNull)
+     */ 
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.pompei.cbean.bs.ProductsOptionsValuesDescriptionCB";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of dao. (NotNull)
+     */ 
+    public String getDaoTypeName() {
+        return "jp.sf.pal.pompei.exdao.ProductsOptionsValuesDescriptionDao";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The type-name of behavior. (NotNull)
+     */ 
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.pompei.exbhv.ProductsOptionsValuesDescriptionBhv";
+    }
+
+    // ===================================================================================
+    //                                                                         Object Type
+    //                                                                         ===========
+    /**
+     * The implementation.
+     * 
+     * @return The type of entity. (NotNull)
+     */ 
+    public Class getEntityType() {
+        return ENTITY_TYPE;
+    }
+
+    // ===================================================================================
+    //                                                                     Object Instance
+    //                                                                     ===============
+    /**
+     * The implementation.
+     * 
+     * @return The type of entity. (NotNull)
+     */ 
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    /**
+     * New the instance of my entity.
+     * 
+     * @return The instance of my entity. (NotNull)
+     */ 
+    public ProductsOptionsValuesDescription newMyEntity() {
+        return new ProductsOptionsValuesDescription();
+    }
+
+
+    // ===================================================================================
+    //                                                                         Column Info
+    //                                                                         ===========
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     */
+    public java.util.List<ColumnInfo> getColumnInfoList() {
+        final java.util.List<ColumnInfo> columnInfoList = new java.util.ArrayList<ColumnInfo>();
+        columnInfoList.add(columnProductsOptionsValuesId());
+        columnInfoList.add(columnLanguageId());
+        columnInfoList.add(columnProductsOptionsValuesName());
+        return columnInfoList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnDbNameList() {
+        final String[] columns = getColumnDbNameCommaString().split(",");
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (int i=0; i < columns.length; i++) {
+            resultList.add(columns[i].trim());
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnCapPropNameList() {
+        final java.util.List<String> columnDbNameList = getColumnDbNameList();
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (final java.util.Iterator ite = columnDbNameList.iterator(); ite.hasNext(); ) {
+            resultList.add(getDbNameCapPropNameMap().get((String)ite.next()));
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return The list of column db-name. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public java.util.List<String> getColumnUncapPropNameList() {
+        final java.util.List<String> columnDbNameList = getColumnDbNameList();
+        final java.util.List<String> resultList = new java.util.ArrayList<String>();
+        for (final java.util.Iterator ite = columnDbNameList.iterator(); ite.hasNext(); ) {
+            resultList.add(getDbNameUncapPropNameMap().get((String)ite.next()));
+        }
+        return resultList;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Column-db-name comma-string. (NotNull and NotEmpty)
+     * @deprecated Please use getColumnInfoList()
+     */
+    public String getColumnDbNameCommaString() {
+        return "PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME";
+    }
+
+    /**
+     * @return Column information of productsOptionsValuesId. (NotNull)
+     */
+    public ColumnInfo columnProductsOptionsValuesId() {
+        return new ColumnInfo(this, "PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId", java.math.BigDecimal.class, true);
+    }
+    /**
+     * @return Column information of languageId. (NotNull)
+     */
+    public ColumnInfo columnLanguageId() {
+        return new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, true);
+    }
+    /**
+     * @return Column information of productsOptionsValuesName. (NotNull)
+     */
+    public ColumnInfo columnProductsOptionsValuesName() {
+        return new ColumnInfo(this, "PRODUCTS_OPTIONS_VALUES_NAME", "productsOptionsValuesName", String.class, false);
+    }
+
+    // ===================================================================================
+    //                                                                         Unique Info
+    //                                                                         ===========
+    // -----------------------------------------------------
+    //                                       Primary Element
+    //                                       ---------------
+    /**
+     * The implementation.
+     * 
+     * @return The primary unique info. (NotNull)
+     */
+    public UniqueInfo getPrimaryUniqueInfo() {
+        final UniqueInfo uniqueInfo = new UniqueInfo();
+        uniqueInfo.setDBMeta(this);
+        uniqueInfo.addUniqueColumnList(new ColumnInfo(this, "PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId", java.math.BigDecimal.class, true));
+        uniqueInfo.addUniqueColumnList(new ColumnInfo(this, "LANGUAGE_ID", "languageId", java.math.BigDecimal.class, true));
+        uniqueInfo.setPrimary(true);
+        return uniqueInfo;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return true;
+    }
+
+    // ===================================================================================
+    //                                                                       Relation Info
+    //                                                                       =============
+    // -----------------------------------------------------
+    //                                       Foreign Element
+    //                                       ---------------
+    /**
+     * Get foreign information of languages.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignLanguages() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("languages");
+        foreignInfo.setLocalDBMeta(ProductsOptionsValuesDescriptionDbm.getInstance());
+        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguageId(), LanguagesDbm.getInstance().columnLanguagesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of productsOptionsValues.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProductsOptionsValues() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("productsOptionsValues");
+        foreignInfo.setLocalDBMeta(ProductsOptionsValuesDescriptionDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsOptionsValuesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsValuesId(), ProductsOptionsValuesDbm.getInstance().columnProductsOptionsValuesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+
+
+    // -----------------------------------------------------
+    //                                       Referer Element
+    //                                       ---------------
+
+    // -----------------------------------------------------
+    //                                        Relation Trace
+    //                                        --------------
+    /**
+     * Create relation trace for first step.
+     * 
+     * @param relationTraceFixHandler The handler of fixed relation trace. (Nullable)
+     * @return Relation trace. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionRelationTrace createRelationTrace(RelationTraceFixHandler relationTraceFixHandler) {
+        return new ProductsOptionsValuesDescriptionRelationTrace(relationTraceFixHandler);
+    }
+
+    /**
+     * Create relation trace for relation step.
+     * 
+     * @param relationList The list of relation. (NotNull)
+     * @param relationTraceList The list of relation trace. (NotNull)
+     * @return Relation trace. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionRelationTrace createRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
+        return new ProductsOptionsValuesDescriptionRelationTrace(relationList, relationTraceList);
+    }
+
+    /**
+     * Relation trace of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+     */
+    public static class ProductsOptionsValuesDescriptionRelationTrace extends AbstractRelationTrace {
+
+        /**
+         * Constructor for first step.
+         * 
+         * @param relationTraceFixHandler The handler of fixed relation trace. (Nullable)
+         */
+        public ProductsOptionsValuesDescriptionRelationTrace(RelationTraceFixHandler relationTraceFixHandler) {
+            super(relationTraceFixHandler);
+        }
+
+        /**
+         * Constructor for relation step.
+         * 
+         * @param relationList The list of relation. (NotNull)
+         * @param relationTraceList The list of relation trace. (NotNull)
+         */
+        public ProductsOptionsValuesDescriptionRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
+            super(relationList, relationTraceList);
+        }
+
+        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
+            _relationList.add(ProductsOptionsValuesDescriptionDbm.getInstance().foreignLanguages());
+            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsValuesDbm.ProductsOptionsValuesRelationTrace foreignProductsOptionsValues() {
+            _relationList.add(ProductsOptionsValuesDescriptionDbm.getInstance().foreignProductsOptionsValues());
+            return ProductsOptionsValuesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public RelationTrace columnProductsOptionsValuesId() { return fixTrace(_relationList, ProductsOptionsValuesDescriptionDbm.getInstance().columnProductsOptionsValuesId()); }
+        public RelationTrace columnLanguageId() { return fixTrace(_relationList, ProductsOptionsValuesDescriptionDbm.getInstance().columnLanguageId()); }
+        public RelationTrace columnProductsOptionsValuesName() { return fixTrace(_relationList, ProductsOptionsValuesDescriptionDbm.getInstance().columnProductsOptionsValuesName()); }
+    }
+
+    // ===================================================================================
+    //                                                                       Sequence Info
+    //                                                                       =============
+    /**
+     * Has sequence?
+     * 
+     * @return Determination.
+     */
+    public boolean hasSequence() {
+        return false;
+    }
+
+    // ===================================================================================
+    //                                                                       Common Column
+    //                                                                       =============
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasCommonColumn() {
+        return false;
+    }
+
+    // ===================================================================================
+    //                                                                     Entity Handling
+    //                                                                     ===============
+    // -----------------------------------------------------
+    //                                                Accept
+    //                                                ------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param primaryKeyMap Primary key map. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMap(Entity entity, java.util.Map<String, ? extends Object> primaryKeyMap) {
+        final ProductsOptionsValuesDescription myEntity = (ProductsOptionsValuesDescription)entity;
+        MapAssertUtil.assertPrimaryKeyMapNotNullAndNotEmpty(primaryKeyMap);
+        final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(primaryKeyMap, entity.getModifiedPropertyNames());
+
+        MapAssertUtil.assertColumnExistingInPrimaryKeyMap(primaryKeyMap, "PRODUCTS_OPTIONS_VALUES_ID");
+        if (analyzer.init("PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId", "productsOptionsValuesId")) { myEntity.setProductsOptionsValuesId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        MapAssertUtil.assertColumnExistingInPrimaryKeyMap(primaryKeyMap, "LANGUAGE_ID");
+        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+
+
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param primaryKeyMapString Primary-key map-string. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMapString(Entity entity, String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param columnValueMap Column-value map. (NotNull and NotEmpty)
+     */
+    public void acceptColumnValueMap(Entity entity, java.util.Map<String, ? extends Object> columnValueMap) {
+        final ProductsOptionsValuesDescription myEntity = (ProductsOptionsValuesDescription)entity;
+        MapAssertUtil.assertColumnValueMapNotNullAndNotEmpty(columnValueMap);
+        final MapStringValueAnalyzer analyzer = new MapStringValueAnalyzer(columnValueMap, entity.getModifiedPropertyNames());
+
+        if (analyzer.init("PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId", "productsOptionsValuesId")) { myEntity.setProductsOptionsValuesId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        if (analyzer.init("LANGUAGE_ID", "languageId", "languageId")) { myEntity.setLanguageId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
+        if (analyzer.init("PRODUCTS_OPTIONS_VALUES_NAME", "productsOptionsValuesName", "productsOptionsValuesName")) { myEntity.setProductsOptionsValuesName(analyzer.analyzeString(String.class)); };
+
+    }
+
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param columnValueMapString Column-value map-string. (NotNull and NotEmpty)
+     */
+    public void acceptColumnValueMapString(Entity entity, String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+
+    // -----------------------------------------------------
+    //                                               Extract
+    //                                               -------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Primary-key map-string. (NotNull)
+     */
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    /**
+     * Extract primary-key map-string.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param startBrace Start-brace. (NotNull)
+     * @param endBrace End-brace. (NotNull)
+     * @param delimiter Delimiter. (NotNull)
+     * @param equal Equal. (NotNull)
+     * @return Primary-key map-string. (NotNull)
+     */
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        final ProductsOptionsValuesDescription myEntity = (ProductsOptionsValuesDescription)entity;
+        final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
+        final StringBuffer sb = new StringBuffer();
+        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_VALUES_ID", myEntity.getProductsOptionsValuesId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
+
+        sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
+        return sb.toString();
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    /**
+     * Extract column-value map-string.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @param startBrace Start-brace. (NotNull)
+     * @param endBrace End-brace. (NotNull)
+     * @param delimiter Delimiter. (NotNull)
+     * @param equal Equal. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractColumnValueMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        final ProductsOptionsValuesDescription myEntity = (ProductsOptionsValuesDescription)entity;
+        final String mapMarkAndStartBrace = MAP_STRING_MAP_MARK + startBrace;
+        final StringBuffer sb = new StringBuffer();
+        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_VALUES_ID", myEntity.getProductsOptionsValuesId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "LANGUAGE_ID", myEntity.getLanguageId());
+        helpAppendingColumnValueString(sb, delimiter, equal, "PRODUCTS_OPTIONS_VALUES_NAME", myEntity.getProductsOptionsValuesName());
+
+        sb.delete(0, delimiter.length()).insert(0, mapMarkAndStartBrace).append(endBrace);
+        return sb.toString();
+    }
+
+    private void helpAppendingColumnValueString(StringBuffer sb, String delimiter, String equal, String colName, Object value) {
+        sb.append(delimiter).append(colName).append(equal);
+        sb.append(helpGettingColumnStringValue(value));
+    }
+
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractCommonColumnValueMapString(Entity entity) {
+        return "map:{}";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return Column-value map-string. (NotNull)
+     */
+    public String extractCommonColumnValueMapString(Entity entity, String startBrace, String endBrace, String delimiter, String equal) {
+        return "map:" + startBrace + endBrace;
+    }
+
+
+    // -----------------------------------------------------
+    //                                               Convert
+    //                                               -------
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The list of column value. (NotNull)
+     */
+    public java.util.List<Object> convertToColumnValueList(Entity entity) {
+        return new java.util.ArrayList<Object>(convertToColumnValueMap(entity).values());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The map of column value. (NotNull)
+     */
+    public java.util.Map<String, Object> convertToColumnValueMap(Entity entity) {
+        final ProductsOptionsValuesDescription myEntity = downcast(entity);
+        final java.util.Map<String, Object> valueMap = new java.util.LinkedHashMap<String, Object>();
+        valueMap.put("PRODUCTS_OPTIONS_VALUES_ID", myEntity.getProductsOptionsValuesId());
+        valueMap.put("LANGUAGE_ID", myEntity.getLanguageId());
+        valueMap.put("PRODUCTS_OPTIONS_VALUES_NAME", myEntity.getProductsOptionsValuesName());
+        return valueMap;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The list of column string-value. (NotNull)
+     */
+    public java.util.List<String> convertToColumnStringValueList(Entity entity) {
+        return new java.util.ArrayList<String>(convertToColumnStringValueMap(entity).values());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param entity Target entity. (NotNull)
+     * @return The map of column string-value. (NotNull)
+     */
+    public java.util.Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        final ProductsOptionsValuesDescription myEntity = downcast(entity);
+        final java.util.Map<String, String> valueMap = new java.util.LinkedHashMap<String, String>();
+        valueMap.put("PRODUCTS_OPTIONS_VALUES_ID", helpGettingColumnStringValue(myEntity.getProductsOptionsValuesId()));
+        valueMap.put("LANGUAGE_ID", helpGettingColumnStringValue(myEntity.getLanguageId()));
+        valueMap.put("PRODUCTS_OPTIONS_VALUES_NAME", helpGettingColumnStringValue(myEntity.getProductsOptionsValuesName()));
+        return valueMap;
+    }
+
+    // ===================================================================================
+    //                                                                        JDBC Support
+    //                                                                        ============
+    /**
+     * The implementation.
+     * 
+     * @return Prepared insert clause. (NotNull and NotEmpty)
+     */
+    public String getPreparedInsertClause() {
+        return getPreparedInsertClause(new PreparedInsertClauseOption());
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @param preparedInsertClauseOption Prepared insert clause option. (NotNull)
+     * @return Prepared insert clause. (NotNull and NotEmpty)
+     */
+    public String getPreparedInsertClause(PreparedInsertClauseOption preparedInsertClauseOption) {
+        if (preparedInsertClauseOption.getTablePrefix() != null) {
+            final String tablePrefix = preparedInsertClauseOption.getTablePrefix();
+            return "insert into " + tablePrefix + "PRODUCTS_OPTIONS_VALUES_DESCRIPTION(PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME) values(? , ? , ? )";
+        }
+        return "insert into PRODUCTS_OPTIONS_VALUES_DESCRIPTION(PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME) values(? , ? , ? )";
+    }
+
+    // ===================================================================================
+    //                                                                              Helper
+    //                                                                              ======
+    protected ProductsOptionsValuesDescription downcast(Entity entity) {
+        assertObjectNotNull("entity", entity);
+        try {
+            return (ProductsOptionsValuesDescription)entity;
+        } catch (ClassCastException e) {
+            String msg = "The entity should be ProductsOptionsValuesDescription but it was: " + entity.getClass();
+            throw new RuntimeException(msg, e);
+        }
+    }
+
+    protected void checkDowncast(Entity entity) {
+        downcast(entity);
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesDescriptionDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesToProductsOptionsDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesToProductsOptionsDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsOptionsValuesToProductsOptionsDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     productsOptionsValuesToProductsOptionsId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID. PK : INTEGER : NotNull */
+    /** Db-name of PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID = "PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID";
     /** Db-name of PRODUCTS_OPTIONS_ID. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String DB_NAME_PRODUCTS_OPTIONS_ID = "PRODUCTS_OPTIONS_ID";
@@ -110,7 +110,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of productsOptionsValuesToProductsOptionsId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of productsOptionsValuesToProductsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_productsOptionsValuesToProductsOptionsId = "productsOptionsValuesToProductsOptionsId";
     /** Prop-name(JavaBeansRule) of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String PROPERTY_NAME_productsOptionsId = "productsOptionsId";
@@ -120,7 +120,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of productsOptionsValuesToProductsOptionsId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of productsOptionsValuesToProductsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ProductsOptionsValuesToProductsOptionsId = "ProductsOptionsValuesToProductsOptionsId";
     /** Cap-prop-name of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String CAP_PROP_NAME_ProductsOptionsId = "ProductsOptionsId";
@@ -137,7 +137,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of productsOptionsValuesToProductsOptionsId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of productsOptionsValuesToProductsOptionsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_productsOptionsValuesToProductsOptionsId = "productsOptionsValuesToProductsOptionsId";
     /** Uncap-prop-name of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String UNCAP_PROP_NAME_productsOptionsId = "productsOptionsId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of REVIEWS_ID. PK : INTEGER : NotNull */
+    /** Db-name of REVIEWS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_REVIEWS_ID = "REVIEWS_ID";
     /** Db-name of PRODUCTS_ID. INTEGER : NotNull : FK to PRODUCTS */
     public static final String DB_NAME_PRODUCTS_ID = "PRODUCTS_ID";
@@ -130,7 +130,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of reviewsId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_reviewsId = "reviewsId";
     /** Prop-name(JavaBeansRule) of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String PROPERTY_NAME_productsId = "productsId";
@@ -150,7 +150,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of reviewsId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ReviewsId = "ReviewsId";
     /** Cap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_ProductsId = "ProductsId";
@@ -187,7 +187,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of reviewsId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_reviewsId = "reviewsId";
     /** Uncap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_productsId = "productsId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDescriptionDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDescriptionDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ReviewsDescriptionDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     reviewsId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of REVIEWS_ID. PK : INTEGER : NotNull : FK to REVIEWS */
+    /** Db-name of REVIEWS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS */
     public static final String DB_NAME_REVIEWS_ID = "REVIEWS_ID";
     /** Db-name of LANGUAGES_ID. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String DB_NAME_LANGUAGES_ID = "LANGUAGES_ID";
@@ -110,7 +110,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of reviewsId. PK : INTEGER : NotNull : FK to REVIEWS */
+    /** Prop-name(JavaBeansRule) of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS */
     public static final String PROPERTY_NAME_reviewsId = "reviewsId";
     /** Prop-name(JavaBeansRule) of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String PROPERTY_NAME_languagesId = "languagesId";
@@ -120,7 +120,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of reviewsId. PK : INTEGER : NotNull : FK to REVIEWS */
+    /** Cap-prop-name of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS */
     public static final String CAP_PROP_NAME_ReviewsId = "ReviewsId";
     /** Cap-prop-name of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String CAP_PROP_NAME_LanguagesId = "LanguagesId";
@@ -137,7 +137,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of reviewsId. PK : INTEGER : NotNull : FK to REVIEWS */
+    /** Uncap-prop-name of reviewsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] : FK to REVIEWS */
     public static final String UNCAP_PROP_NAME_reviewsId = "reviewsId";
     /** Uncap-prop-name of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String UNCAP_PROP_NAME_languagesId = "languagesId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/SpecialsDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/SpecialsDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/SpecialsDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     specialsId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of SPECIALS_ID. PK : INTEGER : NotNull */
+    /** Db-name of SPECIALS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_SPECIALS_ID = "SPECIALS_ID";
     /** Db-name of PRODUCTS_ID. INTEGER : NotNull : FK to PRODUCTS */
     public static final String DB_NAME_PRODUCTS_ID = "PRODUCTS_ID";
@@ -130,7 +130,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of specialsId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of specialsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_specialsId = "specialsId";
     /** Prop-name(JavaBeansRule) of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String PROPERTY_NAME_productsId = "productsId";
@@ -150,7 +150,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of specialsId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of specialsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_SpecialsId = "SpecialsId";
     /** Cap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_ProductsId = "ProductsId";
@@ -187,7 +187,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of specialsId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of specialsId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_specialsId = "specialsId";
     /** Uncap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_productsId = "productsId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxClassDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxClassDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxClassDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxClassId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of TAX_CLASS_ID. PK : INTEGER : NotNull */
+    /** Db-name of TAX_CLASS_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_TAX_CLASS_ID = "TAX_CLASS_ID";
     /** Db-name of TAX_CLASS_TITLE. VARCHAR(32) : NotNull */
     public static final String DB_NAME_TAX_CLASS_TITLE = "TAX_CLASS_TITLE";
@@ -118,7 +118,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of taxClassId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of taxClassId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_taxClassId = "taxClassId";
     /** Prop-name(JavaBeansRule) of taxClassTitle. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_taxClassTitle = "taxClassTitle";
@@ -132,7 +132,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of taxClassId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of taxClassId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_TaxClassId = "TaxClassId";
     /** Cap-prop-name of taxClassTitle. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_TaxClassTitle = "TaxClassTitle";
@@ -157,7 +157,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of taxClassId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of taxClassId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_taxClassId = "taxClassId";
     /** Uncap-prop-name of taxClassTitle. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_taxClassTitle = "taxClassTitle";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxRatesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxRatesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/TaxRatesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     taxRatesId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of TAX_RATES_ID. PK : INTEGER : NotNull */
+    /** Db-name of TAX_RATES_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_TAX_RATES_ID = "TAX_RATES_ID";
     /** Db-name of TAX_ZONE_ID. INTEGER : NotNull : FK to ZONES */
     public static final String DB_NAME_TAX_ZONE_ID = "TAX_ZONE_ID";
@@ -130,7 +130,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of taxRatesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of taxRatesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_taxRatesId = "taxRatesId";
     /** Prop-name(JavaBeansRule) of taxZoneId. INTEGER : NotNull : FK to ZONES */
     public static final String PROPERTY_NAME_taxZoneId = "taxZoneId";
@@ -150,7 +150,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of taxRatesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of taxRatesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_TaxRatesId = "TaxRatesId";
     /** Cap-prop-name of taxZoneId. INTEGER : NotNull : FK to ZONES */
     public static final String CAP_PROP_NAME_TaxZoneId = "TaxZoneId";
@@ -187,7 +187,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of taxRatesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of taxRatesId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_taxRatesId = "taxRatesId";
     /** Uncap-prop-name of taxZoneId. INTEGER : NotNull : FK to ZONES */
     public static final String UNCAP_PROP_NAME_taxZoneId = "taxZoneId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     zoneId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ZONE_ID. PK : INTEGER : NotNull */
+    /** Db-name of ZONE_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ZONE_ID = "ZONE_ID";
     /** Db-name of ZONE_COUNTRY_ID. INTEGER : NotNull : FK to COUNTRIES */
     public static final String DB_NAME_ZONE_COUNTRY_ID = "ZONE_COUNTRY_ID";
@@ -114,7 +114,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of zoneId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of zoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_zoneId = "zoneId";
     /** Prop-name(JavaBeansRule) of zoneCountryId. INTEGER : NotNull : FK to COUNTRIES */
     public static final String PROPERTY_NAME_zoneCountryId = "zoneCountryId";
@@ -126,7 +126,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of zoneId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of zoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_ZoneId = "ZoneId";
     /** Cap-prop-name of zoneCountryId. INTEGER : NotNull : FK to COUNTRIES */
     public static final String CAP_PROP_NAME_ZoneCountryId = "ZoneCountryId";
@@ -147,7 +147,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of zoneId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of zoneId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_zoneId = "zoneId";
     /** Uncap-prop-name of zoneCountryId. INTEGER : NotNull : FK to COUNTRIES */
     public static final String UNCAP_PROP_NAME_zoneCountryId = "zoneCountryId";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesToGeoZonesDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesToGeoZonesDbm.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ZonesToGeoZonesDbm.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -28,7 +28,7 @@
  *     
  * 
  * [identity]
- *     
+ *     associationId
  * 
  * [update-date]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of ASSOCIATION_ID. PK : INTEGER : NotNull */
+    /** Db-name of ASSOCIATION_ID. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String DB_NAME_ASSOCIATION_ID = "ASSOCIATION_ID";
     /** Db-name of ZONE_COUNTRY_ID. INTEGER : NotNull */
     public static final String DB_NAME_ZONE_COUNTRY_ID = "ZONE_COUNTRY_ID";
@@ -122,7 +122,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of associationId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of associationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String PROPERTY_NAME_associationId = "associationId";
     /** Prop-name(JavaBeansRule) of zoneCountryId. INTEGER : NotNull */
     public static final String PROPERTY_NAME_zoneCountryId = "zoneCountryId";
@@ -138,7 +138,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of associationId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of associationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String CAP_PROP_NAME_AssociationId = "AssociationId";
     /** Cap-prop-name of zoneCountryId. INTEGER : NotNull */
     public static final String CAP_PROP_NAME_ZoneCountryId = "ZoneCountryId";
@@ -167,7 +167,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of associationId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of associationId. PK : INC : INTEGER : NotNull : Default=[GENERATED_BY_DEFAULT] */
     public static final String UNCAP_PROP_NAME_associationId = "associationId";
     /** Uncap-prop-name of zoneCountryId. INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_zoneCountryId = "zoneCountryId";

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/OrdersStatusDescriptionCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/OrdersStatusDescriptionCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/OrdersStatusDescriptionCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.cbean;
+
+
+/**
+ * The condition-bean of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescriptionCB extends jp.sf.pal.pompei.cbean.bs.BsOrdersStatusDescriptionCB {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/OrdersStatusDescriptionCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsDescriptionCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsDescriptionCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsDescriptionCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.cbean;
+
+
+/**
+ * The condition-bean of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescriptionCB extends jp.sf.pal.pompei.cbean.bs.BsProductsOptionsDescriptionCB {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsDescriptionCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsValuesDescriptionCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsValuesDescriptionCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsValuesDescriptionCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.cbean;
+
+
+/**
+ * The condition-bean of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescriptionCB extends jp.sf.pal.pompei.cbean.bs.BsProductsOptionsValuesDescriptionCB {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/ProductsOptionsValuesDescriptionCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoriesCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoriesCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCategoriesCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -199,7 +199,51 @@
     // ===================================================================================
     //                                                                        Setup-Select
     //                                                                        ============
-                
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CATEGORIES]
+    //   ForeignProperty = [categoriesSelf]
+    // * * * * * * * * */
+
+    /** Is select for categoriesSelf? */
+    protected boolean _isSelectCategoriesSelf;
+    /** Nest select setupper for categoriesSelf. */
+    protected jp.sf.pal.pompei.cbean.nss.CategoriesNss _nssCategoriesSelf;
+    /**
+     * Is select for categoriesSelf? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectCategoriesSelf() {
+        return _isSelectCategoriesSelf;
+    }
+    /**
+     * Get nest select setupper for categoriesSelf. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.CategoriesNss getNssCategoriesSelf() {
+        if (_nssCategoriesSelf == null) {
+            _nssCategoriesSelf = new jp.sf.pal.pompei.cbean.nss.CategoriesNss(null);// for Dummy
+        }
+        return _nssCategoriesSelf;
+    }
+    /**
+     * Set up select for categoriesSelf.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for categoriesSelf. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.CategoriesNss setupSelect_CategoriesSelf() {
+        query().queryCategoriesSelf();// For setting outer join.
+        if (_nssCategoriesSelf == null || !_nssCategoriesSelf.hasConditionQuery()) {
+            _nssCategoriesSelf = new jp.sf.pal.pompei.cbean.nss.CategoriesNss(query().queryCategoriesSelf());
+        }
+        _isSelectCategoriesSelf = true;
+        limitSelect_Off();
+        return _nssCategoriesSelf;
+    }
+                      
     // ===================================================================================
     //                                                                      Basic Override
     //                                                                      ==============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -419,7 +419,7 @@
         limitSelect_Off();
         return _nssOrdersStatus;
     }
-                            
+                                  
     // ===================================================================================
     //                                                                      Basic Override
     //                                                                      ==============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -199,51 +199,7 @@
     // ===================================================================================
     //                                                                        Setup-Select
     //                                                                        ============
-  
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES]
-    //   ForeignProperty = [languages]
-    // * * * * * * * * */
-
-    /** Is select for languages? */
-    protected boolean _isSelectLanguages;
-    /** Nest select setupper for languages. */
-    protected jp.sf.pal.pompei.cbean.nss.LanguagesNss _nssLanguages;
-    /**
-     * Is select for languages? {For Internal}
-     * 
-     * @return Determination.
-     */
-    public boolean isSelectLanguages() {
-        return _isSelectLanguages;
-    }
-    /**
-     * Get nest select setupper for languages. {For Internal}
-     * 
-     * @return Nest select setupper. (NotNull)
-     */
-    public jp.sf.pal.pompei.cbean.nss.LanguagesNss getNssLanguages() {
-        if (_nssLanguages == null) {
-            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(null);// for Dummy
-        }
-        return _nssLanguages;
-    }
-    /**
-     * Set up select for languages.
-     * If you invoke this, this entity is target of select.
-     * 
-     * @return Nest select setupper for languages. (NotNull)
-     */
-    public jp.sf.pal.pompei.cbean.nss.LanguagesNss setupSelect_Languages() {
-        query().queryLanguages();// For setting outer join.
-        if (_nssLanguages == null || !_nssLanguages.hasConditionQuery()) {
-            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(query().queryLanguages());
-        }
-        _isSelectLanguages = true;
-        limitSelect_Off();
-        return _nssLanguages;
-    }
-                
+                      
     // ===================================================================================
     //                                                                      Basic Override
     //                                                                      ==============

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusDescriptionCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusDescriptionCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusDescriptionCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,329 @@
+package jp.sf.pal.pompei.cbean.bs;
+
+
+import jp.sf.pal.pompei.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.pompei.cbean.cq.*;
+
+/**
+ * The condition-bean of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class BsOrdersStatusDescriptionCB extends AbstractConditionBean {
+
+    // ===================================================================================
+    //                                                                          Annotation
+    //                                                                          ==========
+    /** TABLE-Annotation */
+    public static final String TABLE = "ORDERS_STATUS_DESCRIPTION";
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Condition query. */
+    protected OrdersStatusDescriptionCQ _conditionQuery;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsOrdersStatusDescriptionCB() {
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [ORDERS_STATUS_DESCRIPTION]
+    // * * * * * * * * */
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    final public String getTableDbName() {
+        return "ORDERS_STATUS_DESCRIPTION";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table sql-name. (NotNull)
+     */
+    final public String getTableSqlName() {
+        return "ORDERS_STATUS_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                  Accept Primary-Key
+    //                                                                  ==================
+    /**
+     * The implementation.
+     * 
+     * @param primaryKeyMap Primary key map. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMap(java.util.Map<String, ? extends Object> primaryKeyMap) {
+        if (primaryKeyMap == null) {
+            String msg = "The argument[primaryKeyMap] must not be null.";
+            throw new IllegalArgumentException(msg);
+        }
+        if (primaryKeyMap.isEmpty()) {
+            String msg = "The argument[primaryKeyMap] must not be empty.";
+            throw new IllegalArgumentException(msg);
+        }
+  
+        if (!primaryKeyMap.containsKey("ORDERS_STATUS_ID")) {
+            String msg = "The primaryKeyMap must have the value of ORDERS_STATUS_ID";
+            throw new IllegalStateException(msg + ": primaryKeyMap --> " + primaryKeyMap);
+        }
+        {
+            Object obj = primaryKeyMap.get("ORDERS_STATUS_ID");
+            if (obj instanceof java.math.BigDecimal) {
+                query().setOrdersStatusId_Equal((java.math.BigDecimal)obj);
+            } else {
+                  
+                if (obj instanceof java.math.BigDecimal) {
+                    query().setOrdersStatusId_Equal((java.math.BigDecimal)obj);
+                } else {
+                    try {
+                        query().setOrdersStatusId_Equal(new java.math.BigDecimal((String)obj));
+                    } catch (RuntimeException e) {
+                        String msg = "setOrdersStatusId(new java.math.BigDecimal((String)obj))";
+                        throw new RuntimeException(msg + " threw the exception: value=[" + obj + "]", e);
+                    }
+                }
+            }
+        }
+                    
+        if (!primaryKeyMap.containsKey("LANGUAGE_ID")) {
+            String msg = "The primaryKeyMap must have the value of LANGUAGE_ID";
+            throw new IllegalStateException(msg + ": primaryKeyMap --> " + primaryKeyMap);
+        }
+        {
+            Object obj = primaryKeyMap.get("LANGUAGE_ID");
+            if (obj instanceof java.math.BigDecimal) {
+                query().setLanguageId_Equal((java.math.BigDecimal)obj);
+            } else {
+                  
+                if (obj instanceof java.math.BigDecimal) {
+                    query().setLanguageId_Equal((java.math.BigDecimal)obj);
+                } else {
+                    try {
+                        query().setLanguageId_Equal(new java.math.BigDecimal((String)obj));
+                    } catch (RuntimeException e) {
+                        String msg = "setLanguageId(new java.math.BigDecimal((String)obj))";
+                        throw new RuntimeException(msg + " threw the exception: value=[" + obj + "]", e);
+                    }
+                }
+            }
+        }
+                    
+    }
+
+    // ===================================================================================
+    //                                                                            Order-By
+    //                                                                            ========
+    /**
+     * The implementation.
+     * 
+     * @return this. (NotNull)
+     */
+    public ConditionBean addOrderBy_PK_Asc() {
+  
+        query().addOrderBy_OrdersStatusId_Asc();
+  
+        query().addOrderBy_LanguageId_Asc();
+  
+        return this;
+
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return this. (NotNull)
+     */
+    public ConditionBean addOrderBy_PK_Desc() {
+  
+        query().addOrderBy_OrdersStatusId_Desc();
+  
+        query().addOrderBy_LanguageId_Desc();
+  
+        return this;
+
+    }
+
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+    /**
+     * Query.
+     * 
+     * @return Instance of query. (NotNull)
+     */
+    public OrdersStatusDescriptionCQ query() {
+        return getConditionQuery();
+    }
+
+    /**
+     * Get condition query. {Internal method for s2dao}
+     * 
+     * @return Instance of condition query. (NotNull)
+     */
+    public OrdersStatusDescriptionCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new OrdersStatusDescriptionCQ(null, getSqlClause(), getTableDbName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Instance of query as interface. (NotNull)
+     */
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    // ===================================================================================
+    //                                                                               Union
+    //                                                                               =====
+    /**
+     * Union. <br />
+     * Add union query to condition bean. <br />
+     * 
+     * @param unionQuery Union query. (NotNull)
+     */
+    public void union(OrdersStatusDescriptionCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * Union all. <br />
+     * Add union all query to condition bean. <br />
+     * 
+     * @param unionAllQuery Union all query. (NotNull)
+     */
+    public void unionAll(OrdersStatusDescriptionCQ unionAllQuery) {
+        query().xsetUnionAllQuery(unionAllQuery);
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    // ===================================================================================
+    //                                                                        Setup-Select
+    //                                                                        ============
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** Is select for languages? */
+    protected boolean _isSelectLanguages;
+    /** Nest select setupper for languages. */
+    protected jp.sf.pal.pompei.cbean.nss.LanguagesNss _nssLanguages;
+    /**
+     * Is select for languages? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectLanguages() {
+        return _isSelectLanguages;
+    }
+    /**
+     * Get nest select setupper for languages. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.LanguagesNss getNssLanguages() {
+        if (_nssLanguages == null) {
+            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(null);// for Dummy
+        }
+        return _nssLanguages;
+    }
+    /**
+     * Set up select for languages.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for languages. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.LanguagesNss setupSelect_Languages() {
+        query().queryLanguages();// For setting outer join.
+        if (_nssLanguages == null || !_nssLanguages.hasConditionQuery()) {
+            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(query().queryLanguages());
+        }
+        _isSelectLanguages = true;
+        limitSelect_Off();
+        return _nssLanguages;
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ORDERS_STATUS]
+    //   ForeignProperty = [ordersStatus]
+    // * * * * * * * * */
+
+    /** Is select for ordersStatus? */
+    protected boolean _isSelectOrdersStatus;
+    /** Nest select setupper for ordersStatus. */
+    protected jp.sf.pal.pompei.cbean.nss.OrdersStatusNss _nssOrdersStatus;
+    /**
+     * Is select for ordersStatus? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectOrdersStatus() {
+        return _isSelectOrdersStatus;
+    }
+    /**
+     * Get nest select setupper for ordersStatus. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.OrdersStatusNss getNssOrdersStatus() {
+        if (_nssOrdersStatus == null) {
+            _nssOrdersStatus = new jp.sf.pal.pompei.cbean.nss.OrdersStatusNss(null);// for Dummy
+        }
+        return _nssOrdersStatus;
+    }
+    /**
+     * Set up select for ordersStatus.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for ordersStatus. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.OrdersStatusNss setupSelect_OrdersStatus() {
+        query().queryOrdersStatus();// For setting outer join.
+        if (_nssOrdersStatus == null || !_nssOrdersStatus.hasConditionQuery()) {
+            _nssOrdersStatus = new jp.sf.pal.pompei.cbean.nss.OrdersStatusNss(query().queryOrdersStatus());
+        }
+        _isSelectOrdersStatus = true;
+        limitSelect_Off();
+        return _nssOrdersStatus;
+    }
+    
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+    /**
+     * This method overrides the method that is declared at super.
+     * 
+     * @return Clause string. (NotNull)
+     */
+    public String toString() {
+        return getSqlClause().getClause();
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusDescriptionCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusHistoryCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusHistoryCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersStatusHistoryCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -201,6 +201,50 @@
     //                                                                        ============
   
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ORDERS]
+    //   ForeignProperty = [orders]
+    // * * * * * * * * */
+
+    /** Is select for orders? */
+    protected boolean _isSelectOrders;
+    /** Nest select setupper for orders. */
+    protected jp.sf.pal.pompei.cbean.nss.OrdersNss _nssOrders;
+    /**
+     * Is select for orders? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectOrders() {
+        return _isSelectOrders;
+    }
+    /**
+     * Get nest select setupper for orders. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.OrdersNss getNssOrders() {
+        if (_nssOrders == null) {
+            _nssOrders = new jp.sf.pal.pompei.cbean.nss.OrdersNss(null);// for Dummy
+        }
+        return _nssOrders;
+    }
+    /**
+     * Set up select for orders.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for orders. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.OrdersNss setupSelect_Orders() {
+        query().queryOrders();// For setting outer join.
+        if (_nssOrders == null || !_nssOrders.hasConditionQuery()) {
+            _nssOrders = new jp.sf.pal.pompei.cbean.nss.OrdersNss(query().queryOrders());
+        }
+        _isSelectOrders = true;
+        limitSelect_Off();
+        return _nssOrders;
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   ForeignTable    = [ORDERS_STATUS]
     //   ForeignProperty = [ordersStatus]
     // * * * * * * * * */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsAttributesCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsAttributesCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsAttributesCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -243,6 +243,94 @@
         limitSelect_Off();
         return _nssProducts;
     }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /** Is select for productsOptions? */
+    protected boolean _isSelectProductsOptions;
+    /** Nest select setupper for productsOptions. */
+    protected jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss _nssProductsOptions;
+    /**
+     * Is select for productsOptions? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptions() {
+        return _isSelectProductsOptions;
+    }
+    /**
+     * Get nest select setupper for productsOptions. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss getNssProductsOptions() {
+        if (_nssProductsOptions == null) {
+            _nssProductsOptions = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss(null);// for Dummy
+        }
+        return _nssProductsOptions;
+    }
+    /**
+     * Set up select for productsOptions.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for productsOptions. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss setupSelect_ProductsOptions() {
+        query().queryProductsOptions();// For setting outer join.
+        if (_nssProductsOptions == null || !_nssProductsOptions.hasConditionQuery()) {
+            _nssProductsOptions = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss(query().queryProductsOptions());
+        }
+        _isSelectProductsOptions = true;
+        limitSelect_Off();
+        return _nssProductsOptions;
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /** Is select for productsOptionsValues? */
+    protected boolean _isSelectProductsOptionsValues;
+    /** Nest select setupper for productsOptionsValues. */
+    protected jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss _nssProductsOptionsValues;
+    /**
+     * Is select for productsOptionsValues? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptionsValues() {
+        return _isSelectProductsOptionsValues;
+    }
+    /**
+     * Get nest select setupper for productsOptionsValues. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss getNssProductsOptionsValues() {
+        if (_nssProductsOptionsValues == null) {
+            _nssProductsOptionsValues = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss(null);// for Dummy
+        }
+        return _nssProductsOptionsValues;
+    }
+    /**
+     * Set up select for productsOptionsValues.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for productsOptionsValues. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss setupSelect_ProductsOptionsValues() {
+        query().queryProductsOptionsValues();// For setting outer join.
+        if (_nssProductsOptionsValues == null || !_nssProductsOptionsValues.hasConditionQuery()) {
+            _nssProductsOptionsValues = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss(query().queryProductsOptionsValues());
+        }
+        _isSelectProductsOptionsValues = true;
+        limitSelect_Off();
+        return _nssProductsOptionsValues;
+    }
         
     // /* * * * * * * * * * * * * * * * * * * * * * * {as one}
     //   RefferTable    = [PRODUCTS_ATTRIBUTES_DOWNLOAD]

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -199,51 +199,7 @@
     // ===================================================================================
     //                                                                        Setup-Select
     //                                                                        ============
-  
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES]
-    //   ForeignProperty = [languages]
-    // * * * * * * * * */
-
-    /** Is select for languages? */
-    protected boolean _isSelectLanguages;
-    /** Nest select setupper for languages. */
-    protected jp.sf.pal.pompei.cbean.nss.LanguagesNss _nssLanguages;
-    /**
-     * Is select for languages? {For Internal}
-     * 
-     * @return Determination.
-     */
-    public boolean isSelectLanguages() {
-        return _isSelectLanguages;
-    }
-    /**
-     * Get nest select setupper for languages. {For Internal}
-     * 
-     * @return Nest select setupper. (NotNull)
-     */
-    public jp.sf.pal.pompei.cbean.nss.LanguagesNss getNssLanguages() {
-        if (_nssLanguages == null) {
-            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(null);// for Dummy
-        }
-        return _nssLanguages;
-    }
-    /**
-     * Set up select for languages.
-     * If you invoke this, this entity is target of select.
-     * 
-     * @return Nest select setupper for languages. (NotNull)
-     */
-    public jp.sf.pal.pompei.cbean.nss.LanguagesNss setupSelect_Languages() {
-        query().queryLanguages();// For setting outer join.
-        if (_nssLanguages == null || !_nssLanguages.hasConditionQuery()) {
-            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(query().queryLanguages());
-        }
-        _isSelectLanguages = true;
-        limitSelect_Off();
-        return _nssLanguages;
-    }
-                
+                            
     // ===================================================================================
     //                                                                      Basic Override
     //                                                                      ==============

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsDescriptionCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsDescriptionCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsDescriptionCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,329 @@
+package jp.sf.pal.pompei.cbean.bs;
+
+
+import jp.sf.pal.pompei.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.pompei.cbean.cq.*;
+
+/**
+ * The condition-bean of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class BsProductsOptionsDescriptionCB extends AbstractConditionBean {
+
+    // ===================================================================================
+    //                                                                          Annotation
+    //                                                                          ==========
+    /** TABLE-Annotation */
+    public static final String TABLE = "PRODUCTS_OPTIONS_DESCRIPTION";
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Condition query. */
+    protected ProductsOptionsDescriptionCQ _conditionQuery;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsProductsOptionsDescriptionCB() {
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_DESCRIPTION]
+    // * * * * * * * * */
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    final public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_DESCRIPTION";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table sql-name. (NotNull)
+     */
+    final public String getTableSqlName() {
+        return "PRODUCTS_OPTIONS_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                  Accept Primary-Key
+    //                                                                  ==================
+    /**
+     * The implementation.
+     * 
+     * @param primaryKeyMap Primary key map. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMap(java.util.Map<String, ? extends Object> primaryKeyMap) {
+        if (primaryKeyMap == null) {
+            String msg = "The argument[primaryKeyMap] must not be null.";
+            throw new IllegalArgumentException(msg);
+        }
+        if (primaryKeyMap.isEmpty()) {
+            String msg = "The argument[primaryKeyMap] must not be empty.";
+            throw new IllegalArgumentException(msg);
+        }
+  
+        if (!primaryKeyMap.containsKey("PRODUCTS_OPTIONS_ID")) {
+            String msg = "The primaryKeyMap must have the value of PRODUCTS_OPTIONS_ID";
+            throw new IllegalStateException(msg + ": primaryKeyMap --> " + primaryKeyMap);
+        }
+        {
+            Object obj = primaryKeyMap.get("PRODUCTS_OPTIONS_ID");
+            if (obj instanceof java.math.BigDecimal) {
+                query().setProductsOptionsId_Equal((java.math.BigDecimal)obj);
+            } else {
+                  
+                if (obj instanceof java.math.BigDecimal) {
+                    query().setProductsOptionsId_Equal((java.math.BigDecimal)obj);
+                } else {
+                    try {
+                        query().setProductsOptionsId_Equal(new java.math.BigDecimal((String)obj));
+                    } catch (RuntimeException e) {
+                        String msg = "setProductsOptionsId(new java.math.BigDecimal((String)obj))";
+                        throw new RuntimeException(msg + " threw the exception: value=[" + obj + "]", e);
+                    }
+                }
+            }
+        }
+                    
+        if (!primaryKeyMap.containsKey("LANGUAGE_ID")) {
+            String msg = "The primaryKeyMap must have the value of LANGUAGE_ID";
+            throw new IllegalStateException(msg + ": primaryKeyMap --> " + primaryKeyMap);
+        }
+        {
+            Object obj = primaryKeyMap.get("LANGUAGE_ID");
+            if (obj instanceof java.math.BigDecimal) {
+                query().setLanguageId_Equal((java.math.BigDecimal)obj);
+            } else {
+                  
+                if (obj instanceof java.math.BigDecimal) {
+                    query().setLanguageId_Equal((java.math.BigDecimal)obj);
+                } else {
+                    try {
+                        query().setLanguageId_Equal(new java.math.BigDecimal((String)obj));
+                    } catch (RuntimeException e) {
+                        String msg = "setLanguageId(new java.math.BigDecimal((String)obj))";
+                        throw new RuntimeException(msg + " threw the exception: value=[" + obj + "]", e);
+                    }
+                }
+            }
+        }
+                    
+    }
+
+    // ===================================================================================
+    //                                                                            Order-By
+    //                                                                            ========
+    /**
+     * The implementation.
+     * 
+     * @return this. (NotNull)
+     */
+    public ConditionBean addOrderBy_PK_Asc() {
+  
+        query().addOrderBy_ProductsOptionsId_Asc();
+  
+        query().addOrderBy_LanguageId_Asc();
+  
+        return this;
+
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return this. (NotNull)
+     */
+    public ConditionBean addOrderBy_PK_Desc() {
+  
+        query().addOrderBy_ProductsOptionsId_Desc();
+  
+        query().addOrderBy_LanguageId_Desc();
+  
+        return this;
+
+    }
+
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+    /**
+     * Query.
+     * 
+     * @return Instance of query. (NotNull)
+     */
+    public ProductsOptionsDescriptionCQ query() {
+        return getConditionQuery();
+    }
+
+    /**
+     * Get condition query. {Internal method for s2dao}
+     * 
+     * @return Instance of condition query. (NotNull)
+     */
+    public ProductsOptionsDescriptionCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new ProductsOptionsDescriptionCQ(null, getSqlClause(), getTableDbName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Instance of query as interface. (NotNull)
+     */
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    // ===================================================================================
+    //                                                                               Union
+    //                                                                               =====
+    /**
+     * Union. <br />
+     * Add union query to condition bean. <br />
+     * 
+     * @param unionQuery Union query. (NotNull)
+     */
+    public void union(ProductsOptionsDescriptionCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * Union all. <br />
+     * Add union all query to condition bean. <br />
+     * 
+     * @param unionAllQuery Union all query. (NotNull)
+     */
+    public void unionAll(ProductsOptionsDescriptionCQ unionAllQuery) {
+        query().xsetUnionAllQuery(unionAllQuery);
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    // ===================================================================================
+    //                                                                        Setup-Select
+    //                                                                        ============
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** Is select for languages? */
+    protected boolean _isSelectLanguages;
+    /** Nest select setupper for languages. */
+    protected jp.sf.pal.pompei.cbean.nss.LanguagesNss _nssLanguages;
+    /**
+     * Is select for languages? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectLanguages() {
+        return _isSelectLanguages;
+    }
+    /**
+     * Get nest select setupper for languages. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.LanguagesNss getNssLanguages() {
+        if (_nssLanguages == null) {
+            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(null);// for Dummy
+        }
+        return _nssLanguages;
+    }
+    /**
+     * Set up select for languages.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for languages. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.LanguagesNss setupSelect_Languages() {
+        query().queryLanguages();// For setting outer join.
+        if (_nssLanguages == null || !_nssLanguages.hasConditionQuery()) {
+            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(query().queryLanguages());
+        }
+        _isSelectLanguages = true;
+        limitSelect_Off();
+        return _nssLanguages;
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /** Is select for productsOptions? */
+    protected boolean _isSelectProductsOptions;
+    /** Nest select setupper for productsOptions. */
+    protected jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss _nssProductsOptions;
+    /**
+     * Is select for productsOptions? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptions() {
+        return _isSelectProductsOptions;
+    }
+    /**
+     * Get nest select setupper for productsOptions. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss getNssProductsOptions() {
+        if (_nssProductsOptions == null) {
+            _nssProductsOptions = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss(null);// for Dummy
+        }
+        return _nssProductsOptions;
+    }
+    /**
+     * Set up select for productsOptions.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for productsOptions. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss setupSelect_ProductsOptions() {
+        query().queryProductsOptions();// For setting outer join.
+        if (_nssProductsOptions == null || !_nssProductsOptions.hasConditionQuery()) {
+            _nssProductsOptions = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsNss(query().queryProductsOptions());
+        }
+        _isSelectProductsOptions = true;
+        limitSelect_Off();
+        return _nssProductsOptions;
+    }
+    
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+    /**
+     * This method overrides the method that is declared at super.
+     * 
+     * @return Clause string. (NotNull)
+     */
+    public String toString() {
+        return getSqlClause().getClause();
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsDescriptionCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -199,51 +199,7 @@
     // ===================================================================================
     //                                                                        Setup-Select
     //                                                                        ============
-  
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES]
-    //   ForeignProperty = [languages]
-    // * * * * * * * * */
-
-    /** Is select for languages? */
-    protected boolean _isSelectLanguages;
-    /** Nest select setupper for languages. */
-    protected jp.sf.pal.pompei.cbean.nss.LanguagesNss _nssLanguages;
-    /**
-     * Is select for languages? {For Internal}
-     * 
-     * @return Determination.
-     */
-    public boolean isSelectLanguages() {
-        return _isSelectLanguages;
-    }
-    /**
-     * Get nest select setupper for languages. {For Internal}
-     * 
-     * @return Nest select setupper. (NotNull)
-     */
-    public jp.sf.pal.pompei.cbean.nss.LanguagesNss getNssLanguages() {
-        if (_nssLanguages == null) {
-            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(null);// for Dummy
-        }
-        return _nssLanguages;
-    }
-    /**
-     * Set up select for languages.
-     * If you invoke this, this entity is target of select.
-     * 
-     * @return Nest select setupper for languages. (NotNull)
-     */
-    public jp.sf.pal.pompei.cbean.nss.LanguagesNss setupSelect_Languages() {
-        query().queryLanguages();// For setting outer join.
-        if (_nssLanguages == null || !_nssLanguages.hasConditionQuery()) {
-            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(query().queryLanguages());
-        }
-        _isSelectLanguages = true;
-        limitSelect_Off();
-        return _nssLanguages;
-    }
-                
+                            
     // ===================================================================================
     //                                                                      Basic Override
     //                                                                      ==============

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesDescriptionCB.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesDescriptionCB.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesDescriptionCB.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,329 @@
+package jp.sf.pal.pompei.cbean.bs;
+
+
+import jp.sf.pal.pompei.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionBean;
+import jp.sf.pal.pompei.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.pompei.cbean.cq.*;
+
+/**
+ * The condition-bean of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class BsProductsOptionsValuesDescriptionCB extends AbstractConditionBean {
+
+    // ===================================================================================
+    //                                                                          Annotation
+    //                                                                          ==========
+    /** TABLE-Annotation */
+    public static final String TABLE = "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Condition query. */
+    protected ProductsOptionsValuesDescriptionCQ _conditionQuery;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     */
+    public BsProductsOptionsValuesDescriptionCB() {
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION]
+    // * * * * * * * * */
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    final public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Table sql-name. (NotNull)
+     */
+    final public String getTableSqlName() {
+        return "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                  Accept Primary-Key
+    //                                                                  ==================
+    /**
+     * The implementation.
+     * 
+     * @param primaryKeyMap Primary key map. (NotNull and NotEmpty)
+     */
+    public void acceptPrimaryKeyMap(java.util.Map<String, ? extends Object> primaryKeyMap) {
+        if (primaryKeyMap == null) {
+            String msg = "The argument[primaryKeyMap] must not be null.";
+            throw new IllegalArgumentException(msg);
+        }
+        if (primaryKeyMap.isEmpty()) {
+            String msg = "The argument[primaryKeyMap] must not be empty.";
+            throw new IllegalArgumentException(msg);
+        }
+  
+        if (!primaryKeyMap.containsKey("PRODUCTS_OPTIONS_VALUES_ID")) {
+            String msg = "The primaryKeyMap must have the value of PRODUCTS_OPTIONS_VALUES_ID";
+            throw new IllegalStateException(msg + ": primaryKeyMap --> " + primaryKeyMap);
+        }
+        {
+            Object obj = primaryKeyMap.get("PRODUCTS_OPTIONS_VALUES_ID");
+            if (obj instanceof java.math.BigDecimal) {
+                query().setProductsOptionsValuesId_Equal((java.math.BigDecimal)obj);
+            } else {
+                  
+                if (obj instanceof java.math.BigDecimal) {
+                    query().setProductsOptionsValuesId_Equal((java.math.BigDecimal)obj);
+                } else {
+                    try {
+                        query().setProductsOptionsValuesId_Equal(new java.math.BigDecimal((String)obj));
+                    } catch (RuntimeException e) {
+                        String msg = "setProductsOptionsValuesId(new java.math.BigDecimal((String)obj))";
+                        throw new RuntimeException(msg + " threw the exception: value=[" + obj + "]", e);
+                    }
+                }
+            }
+        }
+                    
+        if (!primaryKeyMap.containsKey("LANGUAGE_ID")) {
+            String msg = "The primaryKeyMap must have the value of LANGUAGE_ID";
+            throw new IllegalStateException(msg + ": primaryKeyMap --> " + primaryKeyMap);
+        }
+        {
+            Object obj = primaryKeyMap.get("LANGUAGE_ID");
+            if (obj instanceof java.math.BigDecimal) {
+                query().setLanguageId_Equal((java.math.BigDecimal)obj);
+            } else {
+                  
+                if (obj instanceof java.math.BigDecimal) {
+                    query().setLanguageId_Equal((java.math.BigDecimal)obj);
+                } else {
+                    try {
+                        query().setLanguageId_Equal(new java.math.BigDecimal((String)obj));
+                    } catch (RuntimeException e) {
+                        String msg = "setLanguageId(new java.math.BigDecimal((String)obj))";
+                        throw new RuntimeException(msg + " threw the exception: value=[" + obj + "]", e);
+                    }
+                }
+            }
+        }
+                    
+    }
+
+    // ===================================================================================
+    //                                                                            Order-By
+    //                                                                            ========
+    /**
+     * The implementation.
+     * 
+     * @return this. (NotNull)
+     */
+    public ConditionBean addOrderBy_PK_Asc() {
+  
+        query().addOrderBy_ProductsOptionsValuesId_Asc();
+  
+        query().addOrderBy_LanguageId_Asc();
+  
+        return this;
+
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return this. (NotNull)
+     */
+    public ConditionBean addOrderBy_PK_Desc() {
+  
+        query().addOrderBy_ProductsOptionsValuesId_Desc();
+  
+        query().addOrderBy_LanguageId_Desc();
+  
+        return this;
+
+    }
+
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+    /**
+     * Query.
+     * 
+     * @return Instance of query. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionCQ query() {
+        return getConditionQuery();
+    }
+
+    /**
+     * Get condition query. {Internal method for s2dao}
+     * 
+     * @return Instance of condition query. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new ProductsOptionsValuesDescriptionCQ(null, getSqlClause(), getTableDbName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Instance of query as interface. (NotNull)
+     */
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    // ===================================================================================
+    //                                                                               Union
+    //                                                                               =====
+    /**
+     * Union. <br />
+     * Add union query to condition bean. <br />
+     * 
+     * @param unionQuery Union query. (NotNull)
+     */
+    public void union(ProductsOptionsValuesDescriptionCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * Union all. <br />
+     * Add union all query to condition bean. <br />
+     * 
+     * @param unionAllQuery Union all query. (NotNull)
+     */
+    public void unionAll(ProductsOptionsValuesDescriptionCQ unionAllQuery) {
+        query().xsetUnionAllQuery(unionAllQuery);
+    }
+
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    // ===================================================================================
+    //                                                                        Setup-Select
+    //                                                                        ============
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** Is select for languages? */
+    protected boolean _isSelectLanguages;
+    /** Nest select setupper for languages. */
+    protected jp.sf.pal.pompei.cbean.nss.LanguagesNss _nssLanguages;
+    /**
+     * Is select for languages? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectLanguages() {
+        return _isSelectLanguages;
+    }
+    /**
+     * Get nest select setupper for languages. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.LanguagesNss getNssLanguages() {
+        if (_nssLanguages == null) {
+            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(null);// for Dummy
+        }
+        return _nssLanguages;
+    }
+    /**
+     * Set up select for languages.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for languages. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.LanguagesNss setupSelect_Languages() {
+        query().queryLanguages();// For setting outer join.
+        if (_nssLanguages == null || !_nssLanguages.hasConditionQuery()) {
+            _nssLanguages = new jp.sf.pal.pompei.cbean.nss.LanguagesNss(query().queryLanguages());
+        }
+        _isSelectLanguages = true;
+        limitSelect_Off();
+        return _nssLanguages;
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /** Is select for productsOptionsValues? */
+    protected boolean _isSelectProductsOptionsValues;
+    /** Nest select setupper for productsOptionsValues. */
+    protected jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss _nssProductsOptionsValues;
+    /**
+     * Is select for productsOptionsValues? {For Internal}
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptionsValues() {
+        return _isSelectProductsOptionsValues;
+    }
+    /**
+     * Get nest select setupper for productsOptionsValues. {For Internal}
+     * 
+     * @return Nest select setupper. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss getNssProductsOptionsValues() {
+        if (_nssProductsOptionsValues == null) {
+            _nssProductsOptionsValues = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss(null);// for Dummy
+        }
+        return _nssProductsOptionsValues;
+    }
+    /**
+     * Set up select for productsOptionsValues.
+     * If you invoke this, this entity is target of select.
+     * 
+     * @return Nest select setupper for productsOptionsValues. (NotNull)
+     */
+    public jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss setupSelect_ProductsOptionsValues() {
+        query().queryProductsOptionsValues();// For setting outer join.
+        if (_nssProductsOptionsValues == null || !_nssProductsOptionsValues.hasConditionQuery()) {
+            _nssProductsOptionsValues = new jp.sf.pal.pompei.cbean.nss.ProductsOptionsValuesNss(query().queryProductsOptionsValues());
+        }
+        _isSelectProductsOptionsValues = true;
+        limitSelect_Off();
+        return _nssProductsOptionsValues;
+    }
+    
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+    /**
+     * This method overrides the method that is declared at super.
+     * 
+     * @return Clause string. (NotNull)
+     */
+    public String toString() {
+        return getSqlClause().getClause();
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsOptionsValuesDescriptionCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/OrdersStatusDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/OrdersStatusDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/OrdersStatusDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,29 @@
+package jp.sf.pal.pompei.cbean.cq;
+
+
+import jp.sf.pal.pompei.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.pompei.cbean.cq.bs.BsOrdersStatusDescriptionCQ;
+
+/**
+ * The condition-query of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescriptionCQ extends BsOrdersStatusDescriptionCQ {
+
+    // =====================================================================================
+    //                                                                           Constructor
+    //                                                                           ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public OrdersStatusDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/OrdersStatusDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,29 @@
+package jp.sf.pal.pompei.cbean.cq;
+
+
+import jp.sf.pal.pompei.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.pompei.cbean.cq.bs.BsProductsOptionsDescriptionCQ;
+
+/**
+ * The condition-query of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescriptionCQ extends BsProductsOptionsDescriptionCQ {
+
+    // =====================================================================================
+    //                                                                           Constructor
+    //                                                                           ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public ProductsOptionsDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsValuesDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsValuesDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsValuesDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,29 @@
+package jp.sf.pal.pompei.cbean.cq;
+
+
+import jp.sf.pal.pompei.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.pompei.cbean.cq.bs.BsProductsOptionsValuesDescriptionCQ;
+
+/**
+ * The condition-query of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescriptionCQ extends BsProductsOptionsValuesDescriptionCQ {
+
+    // =====================================================================================
+    //                                                                           Constructor
+    //                                                                           ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public ProductsOptionsValuesDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ProductsOptionsValuesDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoriesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoriesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCategoriesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -134,6 +134,23 @@
     }
                           
     /**
+     * Set the sub-query of CategoriesId_InScopeSubQuery_CategoriesSelfList using inScopeSubQuery.
+     * { in (select xxx.PARENT_ID from CATEGORIES 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 subQuery The sub-query of CategoriesId_InScopeSubQuery_CategoriesSelfList using inScopeSubQuery. (NotNull)
+     */
+    public void setCategoriesId_InScopeSubQuery_CategoriesSelfList(jp.sf.pal.pompei.cbean.cq.CategoriesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepCategoriesId_InScopeSubQuery_CategoriesSelfList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_CATEGORIES_ID, "PARENT_ID", "categoriesId_InScopeSubQuery_CategoriesSelfList");
+    }
+
+    abstract public void keepCategoriesId_InScopeSubQuery_CategoriesSelfList(jp.sf.pal.pompei.cbean.cq.CategoriesCQ subQuery);
+        
+    /**
      * Set the sub-query of CategoriesId_InScopeSubQuery_CategoriesDescriptionList using inScopeSubQuery.
      * { in (select xxx.CATEGORIES_ID from CATEGORIES_DESCRIPTION where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -166,7 +183,7 @@
     }
 
     abstract public void keepCategoriesId_InScopeSubQuery_ProductsToCategoriesList(jp.sf.pal.pompei.cbean.cq.ProductsToCategoriesCQ subQuery);
-                                      
+                                                        
     /**
      * Set the sub-query of CategoriesId_ExistsSubQuery_CategoriesDescriptionList using existsSubQuery.
      * { exists (select xxx.CATEGORIES_ID from CATEGORIES_DESCRIPTION where ...) }
@@ -463,8 +480,39 @@
     public void setParentId_NotInScope(java.util.List<java.math.BigDecimal> parentIdList) {
         registerParentId(ConditionKey.CK_NOT_IN_SCOPE, parentIdList);
     }
-                                                
+            
     /**
+     * Set the sub-query of ParentId_InScopeSubQuery_CategoriesSelf using inScopeSubQuery.
+     * { in (select xxx.CATEGORIES_ID from CATEGORIES 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 subQuery The sub-query of ParentId_InScopeSubQuery_CategoriesSelf using inScopeSubQuery. (NotNull)
+     */
+    public void setParentId_InScopeSubQuery_CategoriesSelf(jp.sf.pal.pompei.cbean.cq.CategoriesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepParentId_InScopeSubQuery_CategoriesSelf(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PARENT_ID, "CATEGORIES_ID", "parentId_InScopeSubQuery_CategoriesSelf");
+    }
+
+    abstract public void keepParentId_InScopeSubQuery_CategoriesSelf(jp.sf.pal.pompei.cbean.cq.CategoriesCQ subQuery);
+                                      
+    /**
+     * Set the value of parentId using isNull. { is null }
+     */
+    public void setParentId_IsNull() {
+        registerParentId(ConditionKey.CK_IS_NULL, DUMMY_OBJECT);
+    }
+
+    /**
+     * Set the value of parentId using isNotNull. { is not null }
+     */
+    public void setParentId_IsNotNull() {
+        registerParentId(ConditionKey.CK_IS_NOT_NULL, DUMMY_OBJECT);
+    }
+        
+    /**
      * Register condition of parentId.
      * 
      * @param key Condition key. (NotNull)

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsDeliveryMethodDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsDeliveryMethodDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsDeliveryMethodDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -254,8 +254,25 @@
     public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
         registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
     }
-                                                
+            
     /**
+     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
+     */
+    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
+    }
+
+    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
+                                          
+    /**
      * Register condition of languageId.
      * 
      * @param key Condition key. (NotNull)
@@ -420,128 +437,6 @@
     }
 
     abstract protected ConditionValue getCValueDeliveryMethodName();
-      
-    /** Column db name of languagesId. */
-    protected static final String COL_LANGUAGES_ID = "LANGUAGES_ID";
-
-    /** Column java name of languagesId. */
-    protected static final String J_LanguagesId = "LanguagesId";
-
-    /** Column uncapitalised java name of languagesId. */
-    protected static final String UJ_languagesId = "languagesId";
-            
-    /**
-     * Set the value of languagesId using equal. { = }
-     * 
-     * @param languagesId The value of languagesId as equal.
-     */
-    public void setLanguagesId_Equal(java.math.BigDecimal languagesId) {
-        registerLanguagesId(ConditionKey.CK_EQUAL, languagesId);
-    }
-            
-    /**
-     * Set the value of languagesId using notEqual. { != }
-     * 
-     * @param languagesId The value of languagesId as notEqual.
-     */
-    public void setLanguagesId_NotEqual(java.math.BigDecimal languagesId) {
-        registerLanguagesId(ConditionKey.CK_NOT_EQUAL, languagesId);
-    }
-            
-    /**
-     * Set the value of languagesId using greaterThan. { &gt; }
-     * 
-     * @param languagesId The value of languagesId as greaterThan.
-     */
-    public void setLanguagesId_GreaterThan(java.math.BigDecimal languagesId) {
-        registerLanguagesId(ConditionKey.CK_GREATER_THAN, languagesId);
-    }
-            
-    /**
-     * Set the value of languagesId using lessThan. { &lt; }
-     * 
-     * @param languagesId The value of languagesId as lessThan.
-     */
-    public void setLanguagesId_LessThan(java.math.BigDecimal languagesId) {
-        registerLanguagesId(ConditionKey.CK_LESS_THAN, languagesId);
-    }
-            
-    /**
-     * Set the value of languagesId using greaterEqual. { &gt;= }
-     * 
-     * @param languagesId The value of languagesId as greaterEqual.
-     */
-    public void setLanguagesId_GreaterEqual(java.math.BigDecimal languagesId) {
-        registerLanguagesId(ConditionKey.CK_GREATER_EQUAL, languagesId);
-    }
-            
-    /**
-     * Set the value of languagesId using lessEqual. { &lt;= }
-     * 
-     * @param languagesId The value of languagesId as lessEqual.
-     */
-    public void setLanguagesId_LessEqual(java.math.BigDecimal languagesId) {
-        registerLanguagesId(ConditionKey.CK_LESS_EQUAL, languagesId);
-    }
-                  
-    /**
-     * Set the value of languagesId using inScope. { in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languagesIdList The value of languagesId as inScope.
-     */
-    public void setLanguagesId_InScope(java.util.List<java.math.BigDecimal> languagesIdList) {
-        registerLanguagesId(ConditionKey.CK_IN_SCOPE, languagesIdList);
-    }
-            
-    /**
-     * Set the value of languagesId using notInScope. { not in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languagesIdList The value of languagesId as notInScope.
-     */
-    public void setLanguagesId_NotInScope(java.util.List<java.math.BigDecimal> languagesIdList) {
-        registerLanguagesId(ConditionKey.CK_NOT_IN_SCOPE, languagesIdList);
-    }
-            
-    /**
-     * Set the sub-query of LanguagesId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguagesId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
-     */
-    public void setLanguagesId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGES_ID", "languagesId_InScopeSubQuery_Languages");
-    }
-
-    abstract public void keepLanguagesId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
-                                          
-    /**
-     * Register condition of languagesId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languagesId. (Nullable)
-     */
-    protected void registerLanguagesId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueLanguagesId(), COL_LANGUAGES_ID, J_LanguagesId, UJ_languagesId);
-    }
-
-    /**
-     * Register inline condition of languagesId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languagesId. (Nullable)
-     */
-    protected void registerInlineLanguagesId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueLanguagesId(), COL_LANGUAGES_ID, J_LanguagesId, UJ_languagesId);
-    }
-
-    abstract protected ConditionValue getCValueLanguagesId();
   
     // ===================================================================================
     //                                                                      Basic Override

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsLanguagesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsLanguagesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsLanguagesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -152,7 +152,7 @@
         
     /**
      * Set the sub-query of LanguagesId_InScopeSubQuery_DeliveryMethodDescriptionList using inScopeSubQuery.
-     * { in (select xxx.LANGUAGES_ID from DELIVERY_METHOD_DESCRIPTION where ...) }
+     * { in (select xxx.LANGUAGE_ID from DELIVERY_METHOD_DESCRIPTION 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.
@@ -162,7 +162,7 @@
     public void setLanguagesId_InScopeSubQuery_DeliveryMethodDescriptionList(jp.sf.pal.pompei.cbean.cq.DeliveryMethodDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
         keepLanguagesId_InScopeSubQuery_DeliveryMethodDescriptionList(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGES_ID", "languagesId_InScopeSubQuery_DeliveryMethodDescriptionList");
+        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_DeliveryMethodDescriptionList");
     }
 
     abstract public void keepLanguagesId_InScopeSubQuery_DeliveryMethodDescriptionList(jp.sf.pal.pompei.cbean.cq.DeliveryMethodDescriptionCQ subQuery);
@@ -185,21 +185,21 @@
     abstract public void keepLanguagesId_InScopeSubQuery_ManufacturersInfoList(jp.sf.pal.pompei.cbean.cq.ManufacturersInfoCQ subQuery);
         
     /**
-     * Set the sub-query of LanguagesId_InScopeSubQuery_OrdersStatusList using inScopeSubQuery.
-     * { in (select xxx.LANGUAGE_ID from ORDERS_STATUS where ...) }
+     * Set the sub-query of LanguagesId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery.
+     * { in (select xxx.LANGUAGE_ID from ORDERS_STATUS_DESCRIPTION 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 subQuery The sub-query of LanguagesId_InScopeSubQuery_OrdersStatusList using inScopeSubQuery. (NotNull)
+     * @param subQuery The sub-query of LanguagesId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery. (NotNull)
      */
-    public void setLanguagesId_InScopeSubQuery_OrdersStatusList(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery) {
+    public void setLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_InScopeSubQuery_OrdersStatusList(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_OrdersStatusList");
+        keepLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_OrdersStatusDescriptionList");
     }
 
-    abstract public void keepLanguagesId_InScopeSubQuery_OrdersStatusList(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery);
+    abstract public void keepLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery);
         
     /**
      * Set the sub-query of LanguagesId_InScopeSubQuery_ProductsDescriptionList using inScopeSubQuery.
@@ -219,38 +219,38 @@
     abstract public void keepLanguagesId_InScopeSubQuery_ProductsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsDescriptionCQ subQuery);
         
     /**
-     * Set the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsList using inScopeSubQuery.
-     * { in (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS where ...) }
+     * Set the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery.
+     * { in (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS_DESCRIPTION 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 subQuery The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsList using inScopeSubQuery. (NotNull)
+     * @param subQuery The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery. (NotNull)
      */
-    public void setLanguagesId_InScopeSubQuery_ProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+    public void setLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_InScopeSubQuery_ProductsOptionsList(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_ProductsOptionsList");
+        keepLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_ProductsOptionsDescriptionList");
     }
 
-    abstract public void keepLanguagesId_InScopeSubQuery_ProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery);
+    abstract public void keepLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery);
         
     /**
-     * Set the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesList using inScopeSubQuery.
-     * { in (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS_VALUES where ...) }
+     * Set the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery.
+     * { in (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS_VALUES_DESCRIPTION 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 subQuery The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesList using inScopeSubQuery. (NotNull)
+     * @param subQuery The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery. (NotNull)
      */
-    public void setLanguagesId_InScopeSubQuery_ProductsOptionsValuesList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+    public void setLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesList(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_ProductsOptionsValuesList");
+        keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList");
     }
 
-    abstract public void keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery);
+    abstract public void keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery);
         
     /**
      * Set the sub-query of LanguagesId_InScopeSubQuery_ReviewsDescriptionList using inScopeSubQuery.
@@ -288,7 +288,7 @@
                             
     /**
      * Set the sub-query of LanguagesId_ExistsSubQuery_DeliveryMethodDescriptionList using existsSubQuery.
-     * { exists (select xxx.LANGUAGES_ID from DELIVERY_METHOD_DESCRIPTION where ...) }
+     * { exists (select xxx.LANGUAGE_ID from DELIVERY_METHOD_DESCRIPTION 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.
@@ -298,7 +298,7 @@
     public void setLanguagesId_ExistsSubQuery_DeliveryMethodDescriptionList(jp.sf.pal.pompei.cbean.cq.DeliveryMethodDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
         keepLanguagesId_ExistsSubQuery_DeliveryMethodDescriptionList(subQuery);// for saving query-value.
-        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGES_ID", "languagesId_ExistsSubQuery_DeliveryMethodDescriptionList");
+        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_DeliveryMethodDescriptionList");
     }
 
     abstract public void keepLanguagesId_ExistsSubQuery_DeliveryMethodDescriptionList(jp.sf.pal.pompei.cbean.cq.DeliveryMethodDescriptionCQ subQuery);
@@ -321,21 +321,21 @@
     abstract public void keepLanguagesId_ExistsSubQuery_ManufacturersInfoList(jp.sf.pal.pompei.cbean.cq.ManufacturersInfoCQ subQuery);
                             
     /**
-     * Set the sub-query of LanguagesId_ExistsSubQuery_OrdersStatusList using existsSubQuery.
-     * { exists (select xxx.LANGUAGE_ID from ORDERS_STATUS where ...) }
+     * Set the sub-query of LanguagesId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery.
+     * { exists (select xxx.LANGUAGE_ID from ORDERS_STATUS_DESCRIPTION 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 subQuery The sub-query of LanguagesId_ExistsSubQuery_OrdersStatusList using existsSubQuery. (NotNull)
+     * @param subQuery The sub-query of LanguagesId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery. (NotNull)
      */
-    public void setLanguagesId_ExistsSubQuery_OrdersStatusList(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery) {
+    public void setLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_ExistsSubQuery_OrdersStatusList(subQuery);// for saving query-value.
-        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_OrdersStatusList");
+        keepLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_OrdersStatusDescriptionList");
     }
 
-    abstract public void keepLanguagesId_ExistsSubQuery_OrdersStatusList(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery);
+    abstract public void keepLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery);
                             
     /**
      * Set the sub-query of LanguagesId_ExistsSubQuery_ProductsDescriptionList using existsSubQuery.
@@ -355,38 +355,38 @@
     abstract public void keepLanguagesId_ExistsSubQuery_ProductsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsDescriptionCQ subQuery);
                             
     /**
-     * Set the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsList using existsSubQuery.
-     * { exists (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS where ...) }
+     * Set the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery.
+     * { exists (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS_DESCRIPTION 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 subQuery The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsList using existsSubQuery. (NotNull)
+     * @param subQuery The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery. (NotNull)
      */
-    public void setLanguagesId_ExistsSubQuery_ProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+    public void setLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_ExistsSubQuery_ProductsOptionsList(subQuery);// for saving query-value.
-        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_ProductsOptionsList");
+        keepLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_ProductsOptionsDescriptionList");
     }
 
-    abstract public void keepLanguagesId_ExistsSubQuery_ProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery);
+    abstract public void keepLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery);
                             
     /**
-     * Set the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesList using existsSubQuery.
-     * { exists (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS_VALUES where ...) }
+     * Set the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery.
+     * { exists (select xxx.LANGUAGE_ID from PRODUCTS_OPTIONS_VALUES_DESCRIPTION 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 subQuery The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesList using existsSubQuery. (NotNull)
+     * @param subQuery The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery. (NotNull)
      */
-    public void setLanguagesId_ExistsSubQuery_ProductsOptionsValuesList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+    public void setLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
         assertObjectNotNull("subQuery", subQuery);
-        keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesList(subQuery);// for saving query-value.
-        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_ProductsOptionsValuesList");
+        keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_LANGUAGES_ID, "LANGUAGE_ID", "languagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList");
     }
 
-    abstract public void keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery);
+    abstract public void keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery);
                             
     /**
      * Set the sub-query of LanguagesId_ExistsSubQuery_ReviewsDescriptionList using existsSubQuery.

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -185,6 +185,23 @@
     abstract public void keepOrdersId_InScopeSubQuery_OrdersProductsDownloadList(jp.sf.pal.pompei.cbean.cq.OrdersProductsDownloadCQ subQuery);
         
     /**
+     * Set the sub-query of OrdersId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery.
+     * { in (select xxx.ORDERS_ID from ORDERS_STATUS_HISTORY 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 subQuery The sub-query of OrdersId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery. (NotNull)
+     */
+    public void setOrdersId_InScopeSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOrdersId_InScopeSubQuery_OrdersStatusHistoryList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_ORDERS_ID, "ORDERS_ID", "ordersId_InScopeSubQuery_OrdersStatusHistoryList");
+    }
+
+    abstract public void keepOrdersId_InScopeSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery);
+        
+    /**
      * Set the sub-query of OrdersId_InScopeSubQuery_OrdersTotalList using inScopeSubQuery.
      * { in (select xxx.ORDERS_ID from ORDERS_TOTAL where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -253,6 +270,23 @@
     abstract public void keepOrdersId_ExistsSubQuery_OrdersProductsDownloadList(jp.sf.pal.pompei.cbean.cq.OrdersProductsDownloadCQ subQuery);
                             
     /**
+     * Set the sub-query of OrdersId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery.
+     * { exists (select xxx.ORDERS_ID from ORDERS_STATUS_HISTORY 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 subQuery The sub-query of OrdersId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery. (NotNull)
+     */
+    public void setOrdersId_ExistsSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOrdersId_ExistsSubQuery_OrdersStatusHistoryList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_ORDERS_ID, "ORDERS_ID", "ordersId_ExistsSubQuery_OrdersStatusHistoryList");
+    }
+
+    abstract public void keepOrdersId_ExistsSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery);
+                            
+    /**
      * Set the sub-query of OrdersId_ExistsSubQuery_OrdersTotalList using existsSubQuery.
      * { exists (select xxx.ORDERS_ID from ORDERS_TOTAL where ...) }
      * This method use from clause and where clause of the sub-query instance.

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -151,6 +151,23 @@
     abstract public void keepOrdersStatusId_InScopeSubQuery_OrdersList(jp.sf.pal.pompei.cbean.cq.OrdersCQ subQuery);
         
     /**
+     * Set the sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery.
+     * { in (select xxx.ORDERS_STATUS_ID from ORDERS_STATUS_DESCRIPTION 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 subQuery The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery. (NotNull)
+     */
+    public void setOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_ORDERS_STATUS_ID, "ORDERS_STATUS_ID", "ordersStatusId_InScopeSubQuery_OrdersStatusDescriptionList");
+    }
+
+    abstract public void keepOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery);
+        
+    /**
      * Set the sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery.
      * { in (select xxx.ORDERS_STATUS_ID from ORDERS_STATUS_HISTORY where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -185,6 +202,23 @@
     abstract public void keepOrdersStatusId_ExistsSubQuery_OrdersList(jp.sf.pal.pompei.cbean.cq.OrdersCQ subQuery);
                             
     /**
+     * Set the sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery.
+     * { exists (select xxx.ORDERS_STATUS_ID from ORDERS_STATUS_DESCRIPTION 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 subQuery The sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery. (NotNull)
+     */
+    public void setOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_ORDERS_STATUS_ID, "ORDERS_STATUS_ID", "ordersStatusId_ExistsSubQuery_OrdersStatusDescriptionList");
+    }
+
+    abstract public void keepOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery);
+                            
+    /**
      * Set the sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery.
      * { exists (select xxx.ORDERS_STATUS_ID from ORDERS_STATUS_HISTORY where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -222,272 +256,6 @@
     }
 
     abstract protected ConditionValue getCValueOrdersStatusId();
-      
-    /** Column db name of languageId. */
-    protected static final String COL_LANGUAGE_ID = "LANGUAGE_ID";
-
-    /** Column java name of languageId. */
-    protected static final String J_LanguageId = "LanguageId";
-
-    /** Column uncapitalised java name of languageId. */
-    protected static final String UJ_languageId = "languageId";
-            
-    /**
-     * Set the value of languageId using equal. { = }
-     * 
-     * @param languageId The value of languageId as equal.
-     */
-    public void setLanguageId_Equal(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using notEqual. { != }
-     * 
-     * @param languageId The value of languageId as notEqual.
-     */
-    public void setLanguageId_NotEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_NOT_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using greaterThan. { &gt; }
-     * 
-     * @param languageId The value of languageId as greaterThan.
-     */
-    public void setLanguageId_GreaterThan(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_GREATER_THAN, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using lessThan. { &lt; }
-     * 
-     * @param languageId The value of languageId as lessThan.
-     */
-    public void setLanguageId_LessThan(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_LESS_THAN, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using greaterEqual. { &gt;= }
-     * 
-     * @param languageId The value of languageId as greaterEqual.
-     */
-    public void setLanguageId_GreaterEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_GREATER_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using lessEqual. { &lt;= }
-     * 
-     * @param languageId The value of languageId as lessEqual.
-     */
-    public void setLanguageId_LessEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_LESS_EQUAL, languageId);
-    }
-                  
-    /**
-     * Set the value of languageId using inScope. { in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languageIdList The value of languageId as inScope.
-     */
-    public void setLanguageId_InScope(java.util.List<java.math.BigDecimal> languageIdList) {
-        registerLanguageId(ConditionKey.CK_IN_SCOPE, languageIdList);
-    }
-            
-    /**
-     * Set the value of languageId using notInScope. { not in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languageIdList The value of languageId as notInScope.
-     */
-    public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
-        registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
-    }
-            
-    /**
-     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
-     */
-    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        assertObjectNotNull("subQuery", subQuery);
-        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
-    }
-
-    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
-                                          
-    /**
-     * Register condition of languageId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languageId. (Nullable)
-     */
-    protected void registerLanguageId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
-    }
-
-    /**
-     * Register inline condition of languageId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languageId. (Nullable)
-     */
-    protected void registerInlineLanguageId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
-    }
-
-    abstract protected ConditionValue getCValueLanguageId();
-      
-    /** Column db name of ordersStatusName. */
-    protected static final String COL_ORDERS_STATUS_NAME = "ORDERS_STATUS_NAME";
-
-    /** Column java name of ordersStatusName. */
-    protected static final String J_OrdersStatusName = "OrdersStatusName";
-
-    /** Column uncapitalised java name of ordersStatusName. */
-    protected static final String UJ_ordersStatusName = "ordersStatusName";
-    
-    /**
-     * Set the value of ordersStatusName using equal. { = }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as equal.
-     */
-    public void setOrdersStatusName_Equal(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(ordersStatusName));
-    }
-                  
-    /**
-     * Set the value of ordersStatusName using notEqual. { != }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as notEqual.
-     */
-    public void setOrdersStatusName_NotEqual(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(ordersStatusName));
-    }
-            
-    /**
-     * Set the value of ordersStatusName using greaterThan. { &gt; }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as greaterThan.
-     */
-    public void setOrdersStatusName_GreaterThan(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(ordersStatusName));
-    }
-            
-    /**
-     * Set the value of ordersStatusName using lessThan. { &lt; }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as lessThan.
-     */
-    public void setOrdersStatusName_LessThan(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(ordersStatusName));
-    }
-            
-    /**
-     * Set the value of ordersStatusName using greaterEqual. { &gt;= }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as greaterEqual.
-     */
-    public void setOrdersStatusName_GreaterEqual(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(ordersStatusName));
-    }
-            
-    /**
-     * Set the value of ordersStatusName using lessEqual. { &lt;= }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as lessEqual.
-     */
-    public void setOrdersStatusName_LessEqual(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(ordersStatusName));
-    }
-            
-    /**
-     * Set the value of ordersStatusName using prefixSearch. { like 'xxx%' }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as prefixSearch.
-     */
-    public void setOrdersStatusName_PrefixSearch(String ordersStatusName) {
-        registerOrdersStatusName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(ordersStatusName));
-    }
-            
-    /**
-     * Set the value of ordersStatusName 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 ordersStatusName The value of ordersStatusName as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setOrdersStatusName_LikeSearch(String ordersStatusName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(ordersStatusName), getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName, likeSearchOption);
-    }
-            
-    /**
-     * Set the value of ordersStatusName using inScope. { in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param ordersStatusNameList The value of ordersStatusName as inScope.
-     */
-    public void setOrdersStatusName_InScope(java.util.List<String> ordersStatusNameList) {
-        registerOrdersStatusName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(ordersStatusNameList));
-    }
-
-    /**
-     * Set the value of ordersStatusName using inScope. { in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param ordersStatusName The value of ordersStatusName as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setOrdersStatusName_InScope(String ordersStatusName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(ordersStatusName), getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName, inScopeOption);
-    }
-            
-    /**
-     * Set the value of ordersStatusName using notInScope. { not in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param ordersStatusNameList The value of ordersStatusName as notInScope.
-     */
-    public void setOrdersStatusName_NotInScope(java.util.List<String> ordersStatusNameList) {
-        registerOrdersStatusName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(ordersStatusNameList));
-    }
-                                                    
-    /**
-     * Register condition of ordersStatusName.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of ordersStatusName. (Nullable)
-     */
-    protected void registerOrdersStatusName(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName);
-    }
-
-    /**
-     * Register inline condition of ordersStatusName.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of ordersStatusName. (Nullable)
-     */
-    protected void registerInlineOrdersStatusName(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName);
-    }
-
-    abstract protected ConditionValue getCValueOrdersStatusName();
   
     // ===================================================================================
     //                                                                      Basic Override

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,452 @@
+package jp.sf.pal.pompei.cbean.cq.bs;
+
+
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.ckey.*;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+
+/**
+ * The condition-query of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class AbstractBsOrdersStatusDescriptionCQ extends AbstractConditionQuery {
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public AbstractBsOrdersStatusDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    final public String getTableDbName() {
+        return "ORDERS_STATUS_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [ORDERS_STATUS_DESCRIPTION]
+    // * * * * * * * * */
+
+      
+    /** Column db name of ordersStatusId. */
+    protected static final String COL_ORDERS_STATUS_ID = "ORDERS_STATUS_ID";
+
+    /** Column java name of ordersStatusId. */
+    protected static final String J_OrdersStatusId = "OrdersStatusId";
+
+    /** Column uncapitalised java name of ordersStatusId. */
+    protected static final String UJ_ordersStatusId = "ordersStatusId";
+            
+    /**
+     * Set the value of ordersStatusId using equal. { = }
+     * 
+     * @param ordersStatusId The value of ordersStatusId as equal.
+     */
+    public void setOrdersStatusId_Equal(java.math.BigDecimal ordersStatusId) {
+        registerOrdersStatusId(ConditionKey.CK_EQUAL, ordersStatusId);
+    }
+            
+    /**
+     * Set the value of ordersStatusId using notEqual. { != }
+     * 
+     * @param ordersStatusId The value of ordersStatusId as notEqual.
+     */
+    public void setOrdersStatusId_NotEqual(java.math.BigDecimal ordersStatusId) {
+        registerOrdersStatusId(ConditionKey.CK_NOT_EQUAL, ordersStatusId);
+    }
+            
+    /**
+     * Set the value of ordersStatusId using greaterThan. { &gt; }
+     * 
+     * @param ordersStatusId The value of ordersStatusId as greaterThan.
+     */
+    public void setOrdersStatusId_GreaterThan(java.math.BigDecimal ordersStatusId) {
+        registerOrdersStatusId(ConditionKey.CK_GREATER_THAN, ordersStatusId);
+    }
+            
+    /**
+     * Set the value of ordersStatusId using lessThan. { &lt; }
+     * 
+     * @param ordersStatusId The value of ordersStatusId as lessThan.
+     */
+    public void setOrdersStatusId_LessThan(java.math.BigDecimal ordersStatusId) {
+        registerOrdersStatusId(ConditionKey.CK_LESS_THAN, ordersStatusId);
+    }
+            
+    /**
+     * Set the value of ordersStatusId using greaterEqual. { &gt;= }
+     * 
+     * @param ordersStatusId The value of ordersStatusId as greaterEqual.
+     */
+    public void setOrdersStatusId_GreaterEqual(java.math.BigDecimal ordersStatusId) {
+        registerOrdersStatusId(ConditionKey.CK_GREATER_EQUAL, ordersStatusId);
+    }
+            
+    /**
+     * Set the value of ordersStatusId using lessEqual. { &lt;= }
+     * 
+     * @param ordersStatusId The value of ordersStatusId as lessEqual.
+     */
+    public void setOrdersStatusId_LessEqual(java.math.BigDecimal ordersStatusId) {
+        registerOrdersStatusId(ConditionKey.CK_LESS_EQUAL, ordersStatusId);
+    }
+                  
+    /**
+     * Set the value of ordersStatusId using inScope. { in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param ordersStatusIdList The value of ordersStatusId as inScope.
+     */
+    public void setOrdersStatusId_InScope(java.util.List<java.math.BigDecimal> ordersStatusIdList) {
+        registerOrdersStatusId(ConditionKey.CK_IN_SCOPE, ordersStatusIdList);
+    }
+            
+    /**
+     * Set the value of ordersStatusId using notInScope. { not in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param ordersStatusIdList The value of ordersStatusId as notInScope.
+     */
+    public void setOrdersStatusId_NotInScope(java.util.List<java.math.BigDecimal> ordersStatusIdList) {
+        registerOrdersStatusId(ConditionKey.CK_NOT_IN_SCOPE, ordersStatusIdList);
+    }
+            
+    /**
+     * Set the sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatus using inScopeSubQuery.
+     * { in (select xxx.ORDERS_STATUS_ID from ORDERS_STATUS 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 subQuery The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatus using inScopeSubQuery. (NotNull)
+     */
+    public void setOrdersStatusId_InScopeSubQuery_OrdersStatus(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOrdersStatusId_InScopeSubQuery_OrdersStatus(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_ORDERS_STATUS_ID, "ORDERS_STATUS_ID", "ordersStatusId_InScopeSubQuery_OrdersStatus");
+    }
+
+    abstract public void keepOrdersStatusId_InScopeSubQuery_OrdersStatus(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery);
+                                          
+    /**
+     * Register condition of ordersStatusId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of ordersStatusId. (Nullable)
+     */
+    protected void registerOrdersStatusId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueOrdersStatusId(), COL_ORDERS_STATUS_ID, J_OrdersStatusId, UJ_ordersStatusId);
+    }
+
+    /**
+     * Register inline condition of ordersStatusId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of ordersStatusId. (Nullable)
+     */
+    protected void registerInlineOrdersStatusId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueOrdersStatusId(), COL_ORDERS_STATUS_ID, J_OrdersStatusId, UJ_ordersStatusId);
+    }
+
+    abstract protected ConditionValue getCValueOrdersStatusId();
+      
+    /** Column db name of languageId. */
+    protected static final String COL_LANGUAGE_ID = "LANGUAGE_ID";
+
+    /** Column java name of languageId. */
+    protected static final String J_LanguageId = "LanguageId";
+
+    /** Column uncapitalised java name of languageId. */
+    protected static final String UJ_languageId = "languageId";
+            
+    /**
+     * Set the value of languageId using equal. { = }
+     * 
+     * @param languageId The value of languageId as equal.
+     */
+    public void setLanguageId_Equal(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using notEqual. { != }
+     * 
+     * @param languageId The value of languageId as notEqual.
+     */
+    public void setLanguageId_NotEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_NOT_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using greaterThan. { &gt; }
+     * 
+     * @param languageId The value of languageId as greaterThan.
+     */
+    public void setLanguageId_GreaterThan(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_GREATER_THAN, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using lessThan. { &lt; }
+     * 
+     * @param languageId The value of languageId as lessThan.
+     */
+    public void setLanguageId_LessThan(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_LESS_THAN, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using greaterEqual. { &gt;= }
+     * 
+     * @param languageId The value of languageId as greaterEqual.
+     */
+    public void setLanguageId_GreaterEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_GREATER_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using lessEqual. { &lt;= }
+     * 
+     * @param languageId The value of languageId as lessEqual.
+     */
+    public void setLanguageId_LessEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_LESS_EQUAL, languageId);
+    }
+                  
+    /**
+     * Set the value of languageId using inScope. { in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param languageIdList The value of languageId as inScope.
+     */
+    public void setLanguageId_InScope(java.util.List<java.math.BigDecimal> languageIdList) {
+        registerLanguageId(ConditionKey.CK_IN_SCOPE, languageIdList);
+    }
+            
+    /**
+     * Set the value of languageId using notInScope. { not in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param languageIdList The value of languageId as notInScope.
+     */
+    public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
+        registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
+    }
+            
+    /**
+     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
+     */
+    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
+    }
+
+    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
+                                          
+    /**
+     * Register condition of languageId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of languageId. (Nullable)
+     */
+    protected void registerLanguageId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
+    }
+
+    /**
+     * Register inline condition of languageId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of languageId. (Nullable)
+     */
+    protected void registerInlineLanguageId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
+    }
+
+    abstract protected ConditionValue getCValueLanguageId();
+      
+    /** Column db name of ordersStatusName. */
+    protected static final String COL_ORDERS_STATUS_NAME = "ORDERS_STATUS_NAME";
+
+    /** Column java name of ordersStatusName. */
+    protected static final String J_OrdersStatusName = "OrdersStatusName";
+
+    /** Column uncapitalised java name of ordersStatusName. */
+    protected static final String UJ_ordersStatusName = "ordersStatusName";
+    
+    /**
+     * Set the value of ordersStatusName using equal. { = }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as equal.
+     */
+    public void setOrdersStatusName_Equal(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(ordersStatusName));
+    }
+                  
+    /**
+     * Set the value of ordersStatusName using notEqual. { != }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as notEqual.
+     */
+    public void setOrdersStatusName_NotEqual(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(ordersStatusName));
+    }
+            
+    /**
+     * Set the value of ordersStatusName using greaterThan. { &gt; }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as greaterThan.
+     */
+    public void setOrdersStatusName_GreaterThan(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(ordersStatusName));
+    }
+            
+    /**
+     * Set the value of ordersStatusName using lessThan. { &lt; }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as lessThan.
+     */
+    public void setOrdersStatusName_LessThan(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(ordersStatusName));
+    }
+            
+    /**
+     * Set the value of ordersStatusName using greaterEqual. { &gt;= }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as greaterEqual.
+     */
+    public void setOrdersStatusName_GreaterEqual(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(ordersStatusName));
+    }
+            
+    /**
+     * Set the value of ordersStatusName using lessEqual. { &lt;= }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as lessEqual.
+     */
+    public void setOrdersStatusName_LessEqual(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(ordersStatusName));
+    }
+            
+    /**
+     * Set the value of ordersStatusName using prefixSearch. { like 'xxx%' }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as prefixSearch.
+     */
+    public void setOrdersStatusName_PrefixSearch(String ordersStatusName) {
+        registerOrdersStatusName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(ordersStatusName));
+    }
+            
+    /**
+     * Set the value of ordersStatusName 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 ordersStatusName The value of ordersStatusName as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setOrdersStatusName_LikeSearch(String ordersStatusName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(ordersStatusName), getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName, likeSearchOption);
+    }
+            
+    /**
+     * Set the value of ordersStatusName using inScope. { in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param ordersStatusNameList The value of ordersStatusName as inScope.
+     */
+    public void setOrdersStatusName_InScope(java.util.List<String> ordersStatusNameList) {
+        registerOrdersStatusName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(ordersStatusNameList));
+    }
+
+    /**
+     * Set the value of ordersStatusName using inScope. { in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param ordersStatusName The value of ordersStatusName as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setOrdersStatusName_InScope(String ordersStatusName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(ordersStatusName), getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName, inScopeOption);
+    }
+            
+    /**
+     * Set the value of ordersStatusName using notInScope. { not in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param ordersStatusNameList The value of ordersStatusName as notInScope.
+     */
+    public void setOrdersStatusName_NotInScope(java.util.List<String> ordersStatusNameList) {
+        registerOrdersStatusName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(ordersStatusNameList));
+    }
+                                                    
+    /**
+     * Register condition of ordersStatusName.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of ordersStatusName. (Nullable)
+     */
+    protected void registerOrdersStatusName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName);
+    }
+
+    /**
+     * Register inline condition of ordersStatusName.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of ordersStatusName. (Nullable)
+     */
+    protected void registerInlineOrdersStatusName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueOrdersStatusName(), COL_ORDERS_STATUS_NAME, J_OrdersStatusName, UJ_ordersStatusName);
+    }
+
+    abstract protected ConditionValue getCValueOrdersStatusName();
+  
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+    /**
+     * This method overrides the method that is declared at super.
+     * 
+     * @return Clause string. (NotNull)
+     */
+    public String toString() {
+        return getSqlClause().getClause();
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusHistoryCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusHistoryCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersStatusHistoryCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -237,8 +237,25 @@
     public void setOrdersId_NotInScope(java.util.List<java.math.BigDecimal> ordersIdList) {
         registerOrdersId(ConditionKey.CK_NOT_IN_SCOPE, ordersIdList);
     }
-                                                
+            
     /**
+     * Set the sub-query of OrdersId_InScopeSubQuery_Orders using inScopeSubQuery.
+     * { in (select xxx.ORDERS_ID from ORDERS 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 subQuery The sub-query of OrdersId_InScopeSubQuery_Orders using inScopeSubQuery. (NotNull)
+     */
+    public void setOrdersId_InScopeSubQuery_Orders(jp.sf.pal.pompei.cbean.cq.OrdersCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOrdersId_InScopeSubQuery_Orders(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_ORDERS_ID, "ORDERS_ID", "ordersId_InScopeSubQuery_Orders");
+    }
+
+    abstract public void keepOrdersId_InScopeSubQuery_Orders(jp.sf.pal.pompei.cbean.cq.OrdersCQ subQuery);
+                                          
+    /**
      * Register condition of ordersId.
      * 
      * @param key Condition key. (NotNull)

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsAttributesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsAttributesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsAttributesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -393,8 +393,25 @@
     public void setOptionsId_NotInScope(java.util.List<java.math.BigDecimal> optionsIdList) {
         registerOptionsId(ConditionKey.CK_NOT_IN_SCOPE, optionsIdList);
     }
-                                                
+            
     /**
+     * Set the sub-query of OptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery.
+     * { in (select xxx.PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS 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 subQuery The sub-query of OptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery. (NotNull)
+     */
+    public void setOptionsId_InScopeSubQuery_ProductsOptions(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOptionsId_InScopeSubQuery_ProductsOptions(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_OPTIONS_ID, "PRODUCTS_OPTIONS_ID", "optionsId_InScopeSubQuery_ProductsOptions");
+    }
+
+    abstract public void keepOptionsId_InScopeSubQuery_ProductsOptions(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery);
+                                          
+    /**
      * Register condition of optionsId.
      * 
      * @param key Condition key. (NotNull)
@@ -498,8 +515,25 @@
     public void setOptionsValuesId_NotInScope(java.util.List<java.math.BigDecimal> optionsValuesIdList) {
         registerOptionsValuesId(ConditionKey.CK_NOT_IN_SCOPE, optionsValuesIdList);
     }
-                                                
+            
     /**
+     * Set the sub-query of OptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery.
+     * { in (select xxx.PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES 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 subQuery The sub-query of OptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery. (NotNull)
+     */
+    public void setOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_OPTIONS_VALUES_ID, "PRODUCTS_OPTIONS_VALUES_ID", "optionsValuesId_InScopeSubQuery_ProductsOptionsValues");
+    }
+
+    abstract public void keepOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery);
+                                          
+    /**
      * Register condition of optionsValuesId.
      * 
      * @param key Condition key. (NotNull)

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -151,6 +151,40 @@
     abstract public void keepProductsOptionsId_InScopeSubQuery_CustomersBasketAttributesList(jp.sf.pal.pompei.cbean.cq.CustomersBasketAttributesCQ subQuery);
         
     /**
+     * Set the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery.
+     * { in (select xxx.OPTIONS_ID from PRODUCTS_ATTRIBUTES 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 subQuery The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery. (NotNull)
+     */
+    public void setProductsOptionsId_InScopeSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsId_InScopeSubQuery_ProductsAttributesList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PRODUCTS_OPTIONS_ID, "OPTIONS_ID", "productsOptionsId_InScopeSubQuery_ProductsAttributesList");
+    }
+
+    abstract public void keepProductsOptionsId_InScopeSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery);
+        
+    /**
+     * Set the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery.
+     * { in (select xxx.PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS_DESCRIPTION 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 subQuery The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery. (NotNull)
+     */
+    public void setProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PRODUCTS_OPTIONS_ID, "PRODUCTS_OPTIONS_ID", "productsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList");
+    }
+
+    abstract public void keepProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery);
+        
+    /**
      * Set the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList using inScopeSubQuery.
      * { in (select xxx.PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -185,6 +219,40 @@
     abstract public void keepProductsOptionsId_ExistsSubQuery_CustomersBasketAttributesList(jp.sf.pal.pompei.cbean.cq.CustomersBasketAttributesCQ subQuery);
                             
     /**
+     * Set the sub-query of ProductsOptionsId_ExistsSubQuery_ProductsAttributesList using existsSubQuery.
+     * { exists (select xxx.OPTIONS_ID from PRODUCTS_ATTRIBUTES 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 subQuery The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsAttributesList using existsSubQuery. (NotNull)
+     */
+    public void setProductsOptionsId_ExistsSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsId_ExistsSubQuery_ProductsAttributesList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_PRODUCTS_OPTIONS_ID, "OPTIONS_ID", "productsOptionsId_ExistsSubQuery_ProductsAttributesList");
+    }
+
+    abstract public void keepProductsOptionsId_ExistsSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery);
+                            
+    /**
+     * Set the sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery.
+     * { exists (select xxx.PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS_DESCRIPTION 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 subQuery The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery. (NotNull)
+     */
+    public void setProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_PRODUCTS_OPTIONS_ID, "PRODUCTS_OPTIONS_ID", "productsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList");
+    }
+
+    abstract public void keepProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery);
+                            
+    /**
      * Set the sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList using existsSubQuery.
      * { exists (select xxx.PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -222,272 +290,6 @@
     }
 
     abstract protected ConditionValue getCValueProductsOptionsId();
-      
-    /** Column db name of languageId. */
-    protected static final String COL_LANGUAGE_ID = "LANGUAGE_ID";
-
-    /** Column java name of languageId. */
-    protected static final String J_LanguageId = "LanguageId";
-
-    /** Column uncapitalised java name of languageId. */
-    protected static final String UJ_languageId = "languageId";
-            
-    /**
-     * Set the value of languageId using equal. { = }
-     * 
-     * @param languageId The value of languageId as equal.
-     */
-    public void setLanguageId_Equal(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using notEqual. { != }
-     * 
-     * @param languageId The value of languageId as notEqual.
-     */
-    public void setLanguageId_NotEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_NOT_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using greaterThan. { &gt; }
-     * 
-     * @param languageId The value of languageId as greaterThan.
-     */
-    public void setLanguageId_GreaterThan(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_GREATER_THAN, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using lessThan. { &lt; }
-     * 
-     * @param languageId The value of languageId as lessThan.
-     */
-    public void setLanguageId_LessThan(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_LESS_THAN, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using greaterEqual. { &gt;= }
-     * 
-     * @param languageId The value of languageId as greaterEqual.
-     */
-    public void setLanguageId_GreaterEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_GREATER_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using lessEqual. { &lt;= }
-     * 
-     * @param languageId The value of languageId as lessEqual.
-     */
-    public void setLanguageId_LessEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_LESS_EQUAL, languageId);
-    }
-                  
-    /**
-     * Set the value of languageId using inScope. { in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languageIdList The value of languageId as inScope.
-     */
-    public void setLanguageId_InScope(java.util.List<java.math.BigDecimal> languageIdList) {
-        registerLanguageId(ConditionKey.CK_IN_SCOPE, languageIdList);
-    }
-            
-    /**
-     * Set the value of languageId using notInScope. { not in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languageIdList The value of languageId as notInScope.
-     */
-    public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
-        registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
-    }
-            
-    /**
-     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
-     */
-    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        assertObjectNotNull("subQuery", subQuery);
-        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
-    }
-
-    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
-                                          
-    /**
-     * Register condition of languageId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languageId. (Nullable)
-     */
-    protected void registerLanguageId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
-    }
-
-    /**
-     * Register inline condition of languageId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languageId. (Nullable)
-     */
-    protected void registerInlineLanguageId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
-    }
-
-    abstract protected ConditionValue getCValueLanguageId();
-      
-    /** Column db name of productsOptionsName. */
-    protected static final String COL_PRODUCTS_OPTIONS_NAME = "PRODUCTS_OPTIONS_NAME";
-
-    /** Column java name of productsOptionsName. */
-    protected static final String J_ProductsOptionsName = "ProductsOptionsName";
-
-    /** Column uncapitalised java name of productsOptionsName. */
-    protected static final String UJ_productsOptionsName = "productsOptionsName";
-    
-    /**
-     * Set the value of productsOptionsName using equal. { = }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as equal.
-     */
-    public void setProductsOptionsName_Equal(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(productsOptionsName));
-    }
-                  
-    /**
-     * Set the value of productsOptionsName using notEqual. { != }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as notEqual.
-     */
-    public void setProductsOptionsName_NotEqual(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(productsOptionsName));
-    }
-            
-    /**
-     * Set the value of productsOptionsName using greaterThan. { &gt; }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as greaterThan.
-     */
-    public void setProductsOptionsName_GreaterThan(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(productsOptionsName));
-    }
-            
-    /**
-     * Set the value of productsOptionsName using lessThan. { &lt; }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as lessThan.
-     */
-    public void setProductsOptionsName_LessThan(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(productsOptionsName));
-    }
-            
-    /**
-     * Set the value of productsOptionsName using greaterEqual. { &gt;= }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as greaterEqual.
-     */
-    public void setProductsOptionsName_GreaterEqual(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(productsOptionsName));
-    }
-            
-    /**
-     * Set the value of productsOptionsName using lessEqual. { &lt;= }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as lessEqual.
-     */
-    public void setProductsOptionsName_LessEqual(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(productsOptionsName));
-    }
-            
-    /**
-     * Set the value of productsOptionsName using prefixSearch. { like 'xxx%' }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as prefixSearch.
-     */
-    public void setProductsOptionsName_PrefixSearch(String productsOptionsName) {
-        registerProductsOptionsName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(productsOptionsName));
-    }
-            
-    /**
-     * Set the value of productsOptionsName 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 productsOptionsName The value of productsOptionsName as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setProductsOptionsName_LikeSearch(String productsOptionsName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(productsOptionsName), getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName, likeSearchOption);
-    }
-            
-    /**
-     * Set the value of productsOptionsName using inScope. { in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param productsOptionsNameList The value of productsOptionsName as inScope.
-     */
-    public void setProductsOptionsName_InScope(java.util.List<String> productsOptionsNameList) {
-        registerProductsOptionsName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsNameList));
-    }
-
-    /**
-     * Set the value of productsOptionsName using inScope. { in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param productsOptionsName The value of productsOptionsName as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setProductsOptionsName_InScope(String productsOptionsName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(productsOptionsName), getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName, inScopeOption);
-    }
-            
-    /**
-     * Set the value of productsOptionsName using notInScope. { not in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param productsOptionsNameList The value of productsOptionsName as notInScope.
-     */
-    public void setProductsOptionsName_NotInScope(java.util.List<String> productsOptionsNameList) {
-        registerProductsOptionsName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsNameList));
-    }
-                                                    
-    /**
-     * Register condition of productsOptionsName.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of productsOptionsName. (Nullable)
-     */
-    protected void registerProductsOptionsName(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName);
-    }
-
-    /**
-     * Register inline condition of productsOptionsName.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of productsOptionsName. (Nullable)
-     */
-    protected void registerInlineProductsOptionsName(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName);
-    }
-
-    abstract protected ConditionValue getCValueProductsOptionsName();
   
     // ===================================================================================
     //                                                                      Basic Override

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,452 @@
+package jp.sf.pal.pompei.cbean.cq.bs;
+
+
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.ckey.*;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+
+/**
+ * The condition-query of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class AbstractBsProductsOptionsDescriptionCQ extends AbstractConditionQuery {
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public AbstractBsProductsOptionsDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    final public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_DESCRIPTION]
+    // * * * * * * * * */
+
+      
+    /** Column db name of productsOptionsId. */
+    protected static final String COL_PRODUCTS_OPTIONS_ID = "PRODUCTS_OPTIONS_ID";
+
+    /** Column java name of productsOptionsId. */
+    protected static final String J_ProductsOptionsId = "ProductsOptionsId";
+
+    /** Column uncapitalised java name of productsOptionsId. */
+    protected static final String UJ_productsOptionsId = "productsOptionsId";
+            
+    /**
+     * Set the value of productsOptionsId using equal. { = }
+     * 
+     * @param productsOptionsId The value of productsOptionsId as equal.
+     */
+    public void setProductsOptionsId_Equal(java.math.BigDecimal productsOptionsId) {
+        registerProductsOptionsId(ConditionKey.CK_EQUAL, productsOptionsId);
+    }
+            
+    /**
+     * Set the value of productsOptionsId using notEqual. { != }
+     * 
+     * @param productsOptionsId The value of productsOptionsId as notEqual.
+     */
+    public void setProductsOptionsId_NotEqual(java.math.BigDecimal productsOptionsId) {
+        registerProductsOptionsId(ConditionKey.CK_NOT_EQUAL, productsOptionsId);
+    }
+            
+    /**
+     * Set the value of productsOptionsId using greaterThan. { &gt; }
+     * 
+     * @param productsOptionsId The value of productsOptionsId as greaterThan.
+     */
+    public void setProductsOptionsId_GreaterThan(java.math.BigDecimal productsOptionsId) {
+        registerProductsOptionsId(ConditionKey.CK_GREATER_THAN, productsOptionsId);
+    }
+            
+    /**
+     * Set the value of productsOptionsId using lessThan. { &lt; }
+     * 
+     * @param productsOptionsId The value of productsOptionsId as lessThan.
+     */
+    public void setProductsOptionsId_LessThan(java.math.BigDecimal productsOptionsId) {
+        registerProductsOptionsId(ConditionKey.CK_LESS_THAN, productsOptionsId);
+    }
+            
+    /**
+     * Set the value of productsOptionsId using greaterEqual. { &gt;= }
+     * 
+     * @param productsOptionsId The value of productsOptionsId as greaterEqual.
+     */
+    public void setProductsOptionsId_GreaterEqual(java.math.BigDecimal productsOptionsId) {
+        registerProductsOptionsId(ConditionKey.CK_GREATER_EQUAL, productsOptionsId);
+    }
+            
+    /**
+     * Set the value of productsOptionsId using lessEqual. { &lt;= }
+     * 
+     * @param productsOptionsId The value of productsOptionsId as lessEqual.
+     */
+    public void setProductsOptionsId_LessEqual(java.math.BigDecimal productsOptionsId) {
+        registerProductsOptionsId(ConditionKey.CK_LESS_EQUAL, productsOptionsId);
+    }
+                  
+    /**
+     * Set the value of productsOptionsId using inScope. { in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsIdList The value of productsOptionsId as inScope.
+     */
+    public void setProductsOptionsId_InScope(java.util.List<java.math.BigDecimal> productsOptionsIdList) {
+        registerProductsOptionsId(ConditionKey.CK_IN_SCOPE, productsOptionsIdList);
+    }
+            
+    /**
+     * Set the value of productsOptionsId using notInScope. { not in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsIdList The value of productsOptionsId as notInScope.
+     */
+    public void setProductsOptionsId_NotInScope(java.util.List<java.math.BigDecimal> productsOptionsIdList) {
+        registerProductsOptionsId(ConditionKey.CK_NOT_IN_SCOPE, productsOptionsIdList);
+    }
+            
+    /**
+     * Set the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery.
+     * { in (select xxx.PRODUCTS_OPTIONS_ID from PRODUCTS_OPTIONS 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 subQuery The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery. (NotNull)
+     */
+    public void setProductsOptionsId_InScopeSubQuery_ProductsOptions(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsId_InScopeSubQuery_ProductsOptions(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PRODUCTS_OPTIONS_ID, "PRODUCTS_OPTIONS_ID", "productsOptionsId_InScopeSubQuery_ProductsOptions");
+    }
+
+    abstract public void keepProductsOptionsId_InScopeSubQuery_ProductsOptions(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery);
+                                          
+    /**
+     * Register condition of productsOptionsId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsId. (Nullable)
+     */
+    protected void registerProductsOptionsId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueProductsOptionsId(), COL_PRODUCTS_OPTIONS_ID, J_ProductsOptionsId, UJ_productsOptionsId);
+    }
+
+    /**
+     * Register inline condition of productsOptionsId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsId. (Nullable)
+     */
+    protected void registerInlineProductsOptionsId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueProductsOptionsId(), COL_PRODUCTS_OPTIONS_ID, J_ProductsOptionsId, UJ_productsOptionsId);
+    }
+
+    abstract protected ConditionValue getCValueProductsOptionsId();
+      
+    /** Column db name of languageId. */
+    protected static final String COL_LANGUAGE_ID = "LANGUAGE_ID";
+
+    /** Column java name of languageId. */
+    protected static final String J_LanguageId = "LanguageId";
+
+    /** Column uncapitalised java name of languageId. */
+    protected static final String UJ_languageId = "languageId";
+            
+    /**
+     * Set the value of languageId using equal. { = }
+     * 
+     * @param languageId The value of languageId as equal.
+     */
+    public void setLanguageId_Equal(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using notEqual. { != }
+     * 
+     * @param languageId The value of languageId as notEqual.
+     */
+    public void setLanguageId_NotEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_NOT_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using greaterThan. { &gt; }
+     * 
+     * @param languageId The value of languageId as greaterThan.
+     */
+    public void setLanguageId_GreaterThan(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_GREATER_THAN, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using lessThan. { &lt; }
+     * 
+     * @param languageId The value of languageId as lessThan.
+     */
+    public void setLanguageId_LessThan(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_LESS_THAN, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using greaterEqual. { &gt;= }
+     * 
+     * @param languageId The value of languageId as greaterEqual.
+     */
+    public void setLanguageId_GreaterEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_GREATER_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using lessEqual. { &lt;= }
+     * 
+     * @param languageId The value of languageId as lessEqual.
+     */
+    public void setLanguageId_LessEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_LESS_EQUAL, languageId);
+    }
+                  
+    /**
+     * Set the value of languageId using inScope. { in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param languageIdList The value of languageId as inScope.
+     */
+    public void setLanguageId_InScope(java.util.List<java.math.BigDecimal> languageIdList) {
+        registerLanguageId(ConditionKey.CK_IN_SCOPE, languageIdList);
+    }
+            
+    /**
+     * Set the value of languageId using notInScope. { not in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param languageIdList The value of languageId as notInScope.
+     */
+    public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
+        registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
+    }
+            
+    /**
+     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
+     */
+    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
+    }
+
+    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
+                                          
+    /**
+     * Register condition of languageId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of languageId. (Nullable)
+     */
+    protected void registerLanguageId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
+    }
+
+    /**
+     * Register inline condition of languageId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of languageId. (Nullable)
+     */
+    protected void registerInlineLanguageId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
+    }
+
+    abstract protected ConditionValue getCValueLanguageId();
+      
+    /** Column db name of productsOptionsName. */
+    protected static final String COL_PRODUCTS_OPTIONS_NAME = "PRODUCTS_OPTIONS_NAME";
+
+    /** Column java name of productsOptionsName. */
+    protected static final String J_ProductsOptionsName = "ProductsOptionsName";
+
+    /** Column uncapitalised java name of productsOptionsName. */
+    protected static final String UJ_productsOptionsName = "productsOptionsName";
+    
+    /**
+     * Set the value of productsOptionsName using equal. { = }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as equal.
+     */
+    public void setProductsOptionsName_Equal(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(productsOptionsName));
+    }
+                  
+    /**
+     * Set the value of productsOptionsName using notEqual. { != }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as notEqual.
+     */
+    public void setProductsOptionsName_NotEqual(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(productsOptionsName));
+    }
+            
+    /**
+     * Set the value of productsOptionsName using greaterThan. { &gt; }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as greaterThan.
+     */
+    public void setProductsOptionsName_GreaterThan(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(productsOptionsName));
+    }
+            
+    /**
+     * Set the value of productsOptionsName using lessThan. { &lt; }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as lessThan.
+     */
+    public void setProductsOptionsName_LessThan(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(productsOptionsName));
+    }
+            
+    /**
+     * Set the value of productsOptionsName using greaterEqual. { &gt;= }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as greaterEqual.
+     */
+    public void setProductsOptionsName_GreaterEqual(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(productsOptionsName));
+    }
+            
+    /**
+     * Set the value of productsOptionsName using lessEqual. { &lt;= }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as lessEqual.
+     */
+    public void setProductsOptionsName_LessEqual(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(productsOptionsName));
+    }
+            
+    /**
+     * Set the value of productsOptionsName using prefixSearch. { like 'xxx%' }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as prefixSearch.
+     */
+    public void setProductsOptionsName_PrefixSearch(String productsOptionsName) {
+        registerProductsOptionsName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(productsOptionsName));
+    }
+            
+    /**
+     * Set the value of productsOptionsName 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 productsOptionsName The value of productsOptionsName as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setProductsOptionsName_LikeSearch(String productsOptionsName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(productsOptionsName), getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName, likeSearchOption);
+    }
+            
+    /**
+     * Set the value of productsOptionsName using inScope. { in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsNameList The value of productsOptionsName as inScope.
+     */
+    public void setProductsOptionsName_InScope(java.util.List<String> productsOptionsNameList) {
+        registerProductsOptionsName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsNameList));
+    }
+
+    /**
+     * Set the value of productsOptionsName using inScope. { in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsName The value of productsOptionsName as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setProductsOptionsName_InScope(String productsOptionsName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(productsOptionsName), getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName, inScopeOption);
+    }
+            
+    /**
+     * Set the value of productsOptionsName using notInScope. { not in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsNameList The value of productsOptionsName as notInScope.
+     */
+    public void setProductsOptionsName_NotInScope(java.util.List<String> productsOptionsNameList) {
+        registerProductsOptionsName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsNameList));
+    }
+                                                    
+    /**
+     * Register condition of productsOptionsName.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsName. (Nullable)
+     */
+    protected void registerProductsOptionsName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName);
+    }
+
+    /**
+     * Register inline condition of productsOptionsName.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsName. (Nullable)
+     */
+    protected void registerInlineProductsOptionsName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueProductsOptionsName(), COL_PRODUCTS_OPTIONS_NAME, J_ProductsOptionsName, UJ_productsOptionsName);
+    }
+
+    abstract protected ConditionValue getCValueProductsOptionsName();
+  
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+    /**
+     * This method overrides the method that is declared at super.
+     * 
+     * @return Clause string. (NotNull)
+     */
+    public String toString() {
+        return getSqlClause().getClause();
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -151,6 +151,40 @@
     abstract public void keepProductsOptionsValuesId_InScopeSubQuery_CustomersBasketAttributesList(jp.sf.pal.pompei.cbean.cq.CustomersBasketAttributesCQ subQuery);
         
     /**
+     * Set the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery.
+     * { in (select xxx.OPTIONS_VALUES_ID from PRODUCTS_ATTRIBUTES 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 subQuery The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery. (NotNull)
+     */
+    public void setProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PRODUCTS_OPTIONS_VALUES_ID, "OPTIONS_VALUES_ID", "productsOptionsValuesId_InScopeSubQuery_ProductsAttributesList");
+    }
+
+    abstract public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery);
+        
+    /**
+     * Set the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery.
+     * { in (select xxx.PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES_DESCRIPTION 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 subQuery The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery. (NotNull)
+     */
+    public void setProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PRODUCTS_OPTIONS_VALUES_ID, "PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList");
+    }
+
+    abstract public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery);
+        
+    /**
      * Set the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList using inScopeSubQuery.
      * { in (select xxx.PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -185,6 +219,40 @@
     abstract public void keepProductsOptionsValuesId_ExistsSubQuery_CustomersBasketAttributesList(jp.sf.pal.pompei.cbean.cq.CustomersBasketAttributesCQ subQuery);
                             
     /**
+     * Set the sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList using existsSubQuery.
+     * { exists (select xxx.OPTIONS_VALUES_ID from PRODUCTS_ATTRIBUTES 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 subQuery The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList using existsSubQuery. (NotNull)
+     */
+    public void setProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_PRODUCTS_OPTIONS_VALUES_ID, "OPTIONS_VALUES_ID", "productsOptionsValuesId_ExistsSubQuery_ProductsAttributesList");
+    }
+
+    abstract public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery);
+                            
+    /**
+     * Set the sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery.
+     * { exists (select xxx.PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES_DESCRIPTION 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 subQuery The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery. (NotNull)
+     */
+    public void setProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(subQuery);// for saving query-value.
+        registerExistsSubQuery(subQuery, COL_PRODUCTS_OPTIONS_VALUES_ID, "PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList");
+    }
+
+    abstract public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery);
+                            
+    /**
      * Set the sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList using existsSubQuery.
      * { exists (select xxx.PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS where ...) }
      * This method use from clause and where clause of the sub-query instance.
@@ -222,272 +290,6 @@
     }
 
     abstract protected ConditionValue getCValueProductsOptionsValuesId();
-      
-    /** Column db name of languageId. */
-    protected static final String COL_LANGUAGE_ID = "LANGUAGE_ID";
-
-    /** Column java name of languageId. */
-    protected static final String J_LanguageId = "LanguageId";
-
-    /** Column uncapitalised java name of languageId. */
-    protected static final String UJ_languageId = "languageId";
-            
-    /**
-     * Set the value of languageId using equal. { = }
-     * 
-     * @param languageId The value of languageId as equal.
-     */
-    public void setLanguageId_Equal(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using notEqual. { != }
-     * 
-     * @param languageId The value of languageId as notEqual.
-     */
-    public void setLanguageId_NotEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_NOT_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using greaterThan. { &gt; }
-     * 
-     * @param languageId The value of languageId as greaterThan.
-     */
-    public void setLanguageId_GreaterThan(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_GREATER_THAN, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using lessThan. { &lt; }
-     * 
-     * @param languageId The value of languageId as lessThan.
-     */
-    public void setLanguageId_LessThan(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_LESS_THAN, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using greaterEqual. { &gt;= }
-     * 
-     * @param languageId The value of languageId as greaterEqual.
-     */
-    public void setLanguageId_GreaterEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_GREATER_EQUAL, languageId);
-    }
-            
-    /**
-     * Set the value of languageId using lessEqual. { &lt;= }
-     * 
-     * @param languageId The value of languageId as lessEqual.
-     */
-    public void setLanguageId_LessEqual(java.math.BigDecimal languageId) {
-        registerLanguageId(ConditionKey.CK_LESS_EQUAL, languageId);
-    }
-                  
-    /**
-     * Set the value of languageId using inScope. { in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languageIdList The value of languageId as inScope.
-     */
-    public void setLanguageId_InScope(java.util.List<java.math.BigDecimal> languageIdList) {
-        registerLanguageId(ConditionKey.CK_IN_SCOPE, languageIdList);
-    }
-            
-    /**
-     * Set the value of languageId using notInScope. { not in (a, b) }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param languageIdList The value of languageId as notInScope.
-     */
-    public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
-        registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
-    }
-            
-    /**
-     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
-     */
-    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        assertObjectNotNull("subQuery", subQuery);
-        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
-        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
-    }
-
-    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
-                                          
-    /**
-     * Register condition of languageId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languageId. (Nullable)
-     */
-    protected void registerLanguageId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
-    }
-
-    /**
-     * Register inline condition of languageId.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of languageId. (Nullable)
-     */
-    protected void registerInlineLanguageId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
-    }
-
-    abstract protected ConditionValue getCValueLanguageId();
-      
-    /** Column db name of productsOptionsValuesName. */
-    protected static final String COL_PRODUCTS_OPTIONS_VALUES_NAME = "PRODUCTS_OPTIONS_VALUES_NAME";
-
-    /** Column java name of productsOptionsValuesName. */
-    protected static final String J_ProductsOptionsValuesName = "ProductsOptionsValuesName";
-
-    /** Column uncapitalised java name of productsOptionsValuesName. */
-    protected static final String UJ_productsOptionsValuesName = "productsOptionsValuesName";
-    
-    /**
-     * Set the value of productsOptionsValuesName using equal. { = }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as equal.
-     */
-    public void setProductsOptionsValuesName_Equal(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-                  
-    /**
-     * Set the value of productsOptionsValuesName using notEqual. { != }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as notEqual.
-     */
-    public void setProductsOptionsValuesName_NotEqual(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using greaterThan. { &gt; }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as greaterThan.
-     */
-    public void setProductsOptionsValuesName_GreaterThan(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using lessThan. { &lt; }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as lessThan.
-     */
-    public void setProductsOptionsValuesName_LessThan(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using greaterEqual. { &gt;= }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as greaterEqual.
-     */
-    public void setProductsOptionsValuesName_GreaterEqual(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using lessEqual. { &lt;= }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as lessEqual.
-     */
-    public void setProductsOptionsValuesName_LessEqual(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using prefixSearch. { like 'xxx%' }
-     * If the value is null or empty-string, this condition is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as prefixSearch.
-     */
-    public void setProductsOptionsValuesName_PrefixSearch(String productsOptionsValuesName) {
-        registerProductsOptionsValuesName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(productsOptionsValuesName));
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName 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 productsOptionsValuesName The value of productsOptionsValuesName as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setProductsOptionsValuesName_LikeSearch(String productsOptionsValuesName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(productsOptionsValuesName), getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName, likeSearchOption);
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using inScope. { in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param productsOptionsValuesNameList The value of productsOptionsValuesName as inScope.
-     */
-    public void setProductsOptionsValuesName_InScope(java.util.List<String> productsOptionsValuesNameList) {
-        registerProductsOptionsValuesName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsValuesNameList));
-    }
-
-    /**
-     * Set the value of productsOptionsValuesName using inScope. { in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param productsOptionsValuesName The value of productsOptionsValuesName as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setProductsOptionsValuesName_InScope(String productsOptionsValuesName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(productsOptionsValuesName), getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName, inScopeOption);
-    }
-            
-    /**
-     * Set the value of productsOptionsValuesName using notInScope. { not in ('a', 'b') }
-     * If the element in the list is null or empty-string, the condition-element is ignored.
-     * 
-     * @param productsOptionsValuesNameList The value of productsOptionsValuesName as notInScope.
-     */
-    public void setProductsOptionsValuesName_NotInScope(java.util.List<String> productsOptionsValuesNameList) {
-        registerProductsOptionsValuesName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsValuesNameList));
-    }
-                                                    
-    /**
-     * Register condition of productsOptionsValuesName.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of productsOptionsValuesName. (Nullable)
-     */
-    protected void registerProductsOptionsValuesName(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName);
-    }
-
-    /**
-     * Register inline condition of productsOptionsValuesName.
-     * 
-     * @param key Condition key. (NotNull)
-     * @param value The value of productsOptionsValuesName. (Nullable)
-     */
-    protected void registerInlineProductsOptionsValuesName(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName);
-    }
-
-    abstract protected ConditionValue getCValueProductsOptionsValuesName();
   
     // ===================================================================================
     //                                                                      Basic Override

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,452 @@
+package jp.sf.pal.pompei.cbean.cq.bs;
+
+
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.ckey.*;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+
+/**
+ * The condition-query of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class AbstractBsProductsOptionsValuesDescriptionCQ extends AbstractConditionQuery {
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public AbstractBsProductsOptionsValuesDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    // ===================================================================================
+    //                                                                          Table Name
+    //                                                                          ==========
+    /**
+     * The implementation.
+     * 
+     * @return Table db-name. (NotNull)
+     */
+    final public String getTableDbName() {
+        return "PRODUCTS_OPTIONS_VALUES_DESCRIPTION";
+    }
+
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION]
+    // * * * * * * * * */
+
+      
+    /** Column db name of productsOptionsValuesId. */
+    protected static final String COL_PRODUCTS_OPTIONS_VALUES_ID = "PRODUCTS_OPTIONS_VALUES_ID";
+
+    /** Column java name of productsOptionsValuesId. */
+    protected static final String J_ProductsOptionsValuesId = "ProductsOptionsValuesId";
+
+    /** Column uncapitalised java name of productsOptionsValuesId. */
+    protected static final String UJ_productsOptionsValuesId = "productsOptionsValuesId";
+            
+    /**
+     * Set the value of productsOptionsValuesId using equal. { = }
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId as equal.
+     */
+    public void setProductsOptionsValuesId_Equal(java.math.BigDecimal productsOptionsValuesId) {
+        registerProductsOptionsValuesId(ConditionKey.CK_EQUAL, productsOptionsValuesId);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesId using notEqual. { != }
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId as notEqual.
+     */
+    public void setProductsOptionsValuesId_NotEqual(java.math.BigDecimal productsOptionsValuesId) {
+        registerProductsOptionsValuesId(ConditionKey.CK_NOT_EQUAL, productsOptionsValuesId);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesId using greaterThan. { &gt; }
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId as greaterThan.
+     */
+    public void setProductsOptionsValuesId_GreaterThan(java.math.BigDecimal productsOptionsValuesId) {
+        registerProductsOptionsValuesId(ConditionKey.CK_GREATER_THAN, productsOptionsValuesId);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesId using lessThan. { &lt; }
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId as lessThan.
+     */
+    public void setProductsOptionsValuesId_LessThan(java.math.BigDecimal productsOptionsValuesId) {
+        registerProductsOptionsValuesId(ConditionKey.CK_LESS_THAN, productsOptionsValuesId);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesId using greaterEqual. { &gt;= }
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId as greaterEqual.
+     */
+    public void setProductsOptionsValuesId_GreaterEqual(java.math.BigDecimal productsOptionsValuesId) {
+        registerProductsOptionsValuesId(ConditionKey.CK_GREATER_EQUAL, productsOptionsValuesId);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesId using lessEqual. { &lt;= }
+     * 
+     * @param productsOptionsValuesId The value of productsOptionsValuesId as lessEqual.
+     */
+    public void setProductsOptionsValuesId_LessEqual(java.math.BigDecimal productsOptionsValuesId) {
+        registerProductsOptionsValuesId(ConditionKey.CK_LESS_EQUAL, productsOptionsValuesId);
+    }
+                  
+    /**
+     * Set the value of productsOptionsValuesId using inScope. { in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsValuesIdList The value of productsOptionsValuesId as inScope.
+     */
+    public void setProductsOptionsValuesId_InScope(java.util.List<java.math.BigDecimal> productsOptionsValuesIdList) {
+        registerProductsOptionsValuesId(ConditionKey.CK_IN_SCOPE, productsOptionsValuesIdList);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesId using notInScope. { not in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsValuesIdList The value of productsOptionsValuesId as notInScope.
+     */
+    public void setProductsOptionsValuesId_NotInScope(java.util.List<java.math.BigDecimal> productsOptionsValuesIdList) {
+        registerProductsOptionsValuesId(ConditionKey.CK_NOT_IN_SCOPE, productsOptionsValuesIdList);
+    }
+            
+    /**
+     * Set the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery.
+     * { in (select xxx.PRODUCTS_OPTIONS_VALUES_ID from PRODUCTS_OPTIONS_VALUES 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 subQuery The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery. (NotNull)
+     */
+    public void setProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_PRODUCTS_OPTIONS_VALUES_ID, "PRODUCTS_OPTIONS_VALUES_ID", "productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues");
+    }
+
+    abstract public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery);
+                                          
+    /**
+     * Register condition of productsOptionsValuesId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsValuesId. (Nullable)
+     */
+    protected void registerProductsOptionsValuesId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueProductsOptionsValuesId(), COL_PRODUCTS_OPTIONS_VALUES_ID, J_ProductsOptionsValuesId, UJ_productsOptionsValuesId);
+    }
+
+    /**
+     * Register inline condition of productsOptionsValuesId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsValuesId. (Nullable)
+     */
+    protected void registerInlineProductsOptionsValuesId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueProductsOptionsValuesId(), COL_PRODUCTS_OPTIONS_VALUES_ID, J_ProductsOptionsValuesId, UJ_productsOptionsValuesId);
+    }
+
+    abstract protected ConditionValue getCValueProductsOptionsValuesId();
+      
+    /** Column db name of languageId. */
+    protected static final String COL_LANGUAGE_ID = "LANGUAGE_ID";
+
+    /** Column java name of languageId. */
+    protected static final String J_LanguageId = "LanguageId";
+
+    /** Column uncapitalised java name of languageId. */
+    protected static final String UJ_languageId = "languageId";
+            
+    /**
+     * Set the value of languageId using equal. { = }
+     * 
+     * @param languageId The value of languageId as equal.
+     */
+    public void setLanguageId_Equal(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using notEqual. { != }
+     * 
+     * @param languageId The value of languageId as notEqual.
+     */
+    public void setLanguageId_NotEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_NOT_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using greaterThan. { &gt; }
+     * 
+     * @param languageId The value of languageId as greaterThan.
+     */
+    public void setLanguageId_GreaterThan(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_GREATER_THAN, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using lessThan. { &lt; }
+     * 
+     * @param languageId The value of languageId as lessThan.
+     */
+    public void setLanguageId_LessThan(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_LESS_THAN, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using greaterEqual. { &gt;= }
+     * 
+     * @param languageId The value of languageId as greaterEqual.
+     */
+    public void setLanguageId_GreaterEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_GREATER_EQUAL, languageId);
+    }
+            
+    /**
+     * Set the value of languageId using lessEqual. { &lt;= }
+     * 
+     * @param languageId The value of languageId as lessEqual.
+     */
+    public void setLanguageId_LessEqual(java.math.BigDecimal languageId) {
+        registerLanguageId(ConditionKey.CK_LESS_EQUAL, languageId);
+    }
+                  
+    /**
+     * Set the value of languageId using inScope. { in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param languageIdList The value of languageId as inScope.
+     */
+    public void setLanguageId_InScope(java.util.List<java.math.BigDecimal> languageIdList) {
+        registerLanguageId(ConditionKey.CK_IN_SCOPE, languageIdList);
+    }
+            
+    /**
+     * Set the value of languageId using notInScope. { not in (a, b) }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param languageIdList The value of languageId as notInScope.
+     */
+    public void setLanguageId_NotInScope(java.util.List<java.math.BigDecimal> languageIdList) {
+        registerLanguageId(ConditionKey.CK_NOT_IN_SCOPE, languageIdList);
+    }
+            
+    /**
+     * Set the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * { in (select xxx.LANGUAGES_ID from LANGUAGES 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 subQuery The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (NotNull)
+     */
+    public void setLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        assertObjectNotNull("subQuery", subQuery);
+        keepLanguageId_InScopeSubQuery_Languages(subQuery);// for saving query-value.
+        registerInScopeSubQuery(subQuery, COL_LANGUAGE_ID, "LANGUAGES_ID", "languageId_InScopeSubQuery_Languages");
+    }
+
+    abstract public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery);
+                                          
+    /**
+     * Register condition of languageId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of languageId. (Nullable)
+     */
+    protected void registerLanguageId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
+    }
+
+    /**
+     * Register inline condition of languageId.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of languageId. (Nullable)
+     */
+    protected void registerInlineLanguageId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueLanguageId(), COL_LANGUAGE_ID, J_LanguageId, UJ_languageId);
+    }
+
+    abstract protected ConditionValue getCValueLanguageId();
+      
+    /** Column db name of productsOptionsValuesName. */
+    protected static final String COL_PRODUCTS_OPTIONS_VALUES_NAME = "PRODUCTS_OPTIONS_VALUES_NAME";
+
+    /** Column java name of productsOptionsValuesName. */
+    protected static final String J_ProductsOptionsValuesName = "ProductsOptionsValuesName";
+
+    /** Column uncapitalised java name of productsOptionsValuesName. */
+    protected static final String UJ_productsOptionsValuesName = "productsOptionsValuesName";
+    
+    /**
+     * Set the value of productsOptionsValuesName using equal. { = }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as equal.
+     */
+    public void setProductsOptionsValuesName_Equal(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+                  
+    /**
+     * Set the value of productsOptionsValuesName using notEqual. { != }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as notEqual.
+     */
+    public void setProductsOptionsValuesName_NotEqual(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_NOT_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using greaterThan. { &gt; }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as greaterThan.
+     */
+    public void setProductsOptionsValuesName_GreaterThan(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_GREATER_THAN, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using lessThan. { &lt; }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as lessThan.
+     */
+    public void setProductsOptionsValuesName_LessThan(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_LESS_THAN, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using greaterEqual. { &gt;= }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as greaterEqual.
+     */
+    public void setProductsOptionsValuesName_GreaterEqual(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_GREATER_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using lessEqual. { &lt;= }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as lessEqual.
+     */
+    public void setProductsOptionsValuesName_LessEqual(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_LESS_EQUAL, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using prefixSearch. { like 'xxx%' }
+     * If the value is null or empty-string, this condition is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as prefixSearch.
+     */
+    public void setProductsOptionsValuesName_PrefixSearch(String productsOptionsValuesName) {
+        registerProductsOptionsValuesName(ConditionKey.CK_PREFIX_SEARCH, filterRemoveEmptyString(productsOptionsValuesName));
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName 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 productsOptionsValuesName The value of productsOptionsValuesName as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setProductsOptionsValuesName_LikeSearch(String productsOptionsValuesName, jp.sf.pal.pompei.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(ConditionKey.CK_LIKE_SEARCH, filterRemoveEmptyString(productsOptionsValuesName), getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName, likeSearchOption);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using inScope. { in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsValuesNameList The value of productsOptionsValuesName as inScope.
+     */
+    public void setProductsOptionsValuesName_InScope(java.util.List<String> productsOptionsValuesNameList) {
+        registerProductsOptionsValuesName(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsValuesNameList));
+    }
+
+    /**
+     * Set the value of productsOptionsValuesName using inScope. { in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsValuesName The value of productsOptionsValuesName as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setProductsOptionsValuesName_InScope(String productsOptionsValuesName, jp.sf.pal.pompei.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(ConditionKey.CK_IN_SCOPE, filterRemoveEmptyString(productsOptionsValuesName), getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName, inScopeOption);
+    }
+            
+    /**
+     * Set the value of productsOptionsValuesName using notInScope. { not in ('a', 'b') }
+     * If the element in the list is null or empty-string, the condition-element is ignored.
+     * 
+     * @param productsOptionsValuesNameList The value of productsOptionsValuesName as notInScope.
+     */
+    public void setProductsOptionsValuesName_NotInScope(java.util.List<String> productsOptionsValuesNameList) {
+        registerProductsOptionsValuesName(ConditionKey.CK_NOT_IN_SCOPE, filterRemoveEmptyStringFromList(productsOptionsValuesNameList));
+    }
+                                                    
+    /**
+     * Register condition of productsOptionsValuesName.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsValuesName. (Nullable)
+     */
+    protected void registerProductsOptionsValuesName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName);
+    }
+
+    /**
+     * Register inline condition of productsOptionsValuesName.
+     * 
+     * @param key Condition key. (NotNull)
+     * @param value The value of productsOptionsValuesName. (Nullable)
+     */
+    protected void registerInlineProductsOptionsValuesName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueProductsOptionsValuesName(), COL_PRODUCTS_OPTIONS_VALUES_NAME, J_ProductsOptionsValuesName, UJ_productsOptionsValuesName);
+    }
+
+    abstract protected ConditionValue getCValueProductsOptionsValuesName();
+  
+    // ===================================================================================
+    //                                                                      Basic Override
+    //                                                                      ==============
+    /**
+     * This method overrides the method that is declared at super.
+     * 
+     * @return Clause string. (NotNull)
+     */
+    public String toString() {
+        return getSqlClause().getClause();
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsOptionsValuesDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoriesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoriesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCategoriesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -193,6 +193,22 @@
     }
 
                             
+    /** The sub-query of CategoriesId_InScopeSubQuery_CategoriesSelfList using inScopeSubQuery. */
+    protected CategoriesCQ _categoriesId_InScopeSubQuery_CategoriesSelfList;
+
+    /**
+     * Get the sub-query of CategoriesId_InScopeSubQuery_CategoriesSelfList using inScopeSubQuery.
+     * 
+     * @return The sub-query of CategoriesId_InScopeSubQuery_CategoriesSelfList using inScopeSubQuery. (Nullable)
+     */
+    public CategoriesCQ getCategoriesId_InScopeSubQuery_CategoriesSelfList() {
+        return _categoriesId_InScopeSubQuery_CategoriesSelfList;
+    }
+
+    public void keepCategoriesId_InScopeSubQuery_CategoriesSelfList(CategoriesCQ subQuery) {
+        _categoriesId_InScopeSubQuery_CategoriesSelfList = subQuery;
+    }
+        
     /** The sub-query of CategoriesId_InScopeSubQuery_CategoriesDescriptionList using inScopeSubQuery. */
     protected CategoriesDescriptionCQ _categoriesId_InScopeSubQuery_CategoriesDescriptionList;
 
@@ -224,7 +240,7 @@
     public void keepCategoriesId_InScopeSubQuery_ProductsToCategoriesList(ProductsToCategoriesCQ subQuery) {
         _categoriesId_InScopeSubQuery_ProductsToCategoriesList = subQuery;
     }
-                                      
+                                                        
     /** The sub-query of CategoriesId_ExistsSubQuery_CategoriesDescriptionList using existsSubQuery. */
     protected CategoriesDescriptionCQ _categoriesId_ExistsSubQuery_CategoriesDescriptionList;
 
@@ -340,8 +356,24 @@
         return getParentId();
     }
 
-                                                  
+              
+    /** The sub-query of ParentId_InScopeSubQuery_CategoriesSelf using inScopeSubQuery. */
+    protected CategoriesCQ _parentId_InScopeSubQuery_CategoriesSelf;
+
     /**
+     * Get the sub-query of ParentId_InScopeSubQuery_CategoriesSelf using inScopeSubQuery.
+     * 
+     * @return The sub-query of ParentId_InScopeSubQuery_CategoriesSelf using inScopeSubQuery. (Nullable)
+     */
+    public CategoriesCQ getParentId_InScopeSubQuery_CategoriesSelf() {
+        return _parentId_InScopeSubQuery_CategoriesSelf;
+    }
+
+    public void keepParentId_InScopeSubQuery_CategoriesSelf(CategoriesCQ subQuery) {
+        _parentId_InScopeSubQuery_CategoriesSelf = subQuery;
+    }
+                                              
+    /**
      * Add order-by of parentId as ASC.
      * 
      * @return this. (NotNull)
@@ -489,12 +521,82 @@
     //                                                                         Union Query
     //                                                                         ===========
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        final CategoriesCQ baseQuery = (CategoriesCQ)baseQueryAsSuper;
+        final CategoriesCQ unionQuery = (CategoriesCQ)unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryCategoriesSelf()) {
+            unionQuery.queryCategoriesSelf().reflectRelationOnUnionQuery(baseQuery.queryCategoriesSelf(), unionQuery.queryCategoriesSelf());
+        }
 
     }
 
     // ===================================================================================
     //                                                                       Foreign Query
     //                                                                       =============
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CATEGORIES]
+    //   ForeignProperty = [categoriesSelf]
+    // * * * * * * * * */
+
+    /**
+     * Query for categoriesSelf.
+     * 
+     * @return Instance of CategoriesCQ as categoriesSelf. (NotNull)
+     */
+    public CategoriesCQ queryCategoriesSelf() {
+        return getConditionQueryCategoriesSelf();
+    }
+
+    /** Condition-query for categoriesSelf. */
+    protected CategoriesCQ _conditionQueryCategoriesSelf;
+
+    /**
+     * Get condition-query for categoriesSelf.
+     * 
+     * @return Instance of CategoriesCQ as categoriesSelf. (NotNull)
+     */
+    public CategoriesCQ getConditionQueryCategoriesSelf() {
+        if (_conditionQueryCategoriesSelf == null) {
+            _conditionQueryCategoriesSelf = newQueryCategoriesSelf();
+            setupOuterJoin_CategoriesSelf();
+        }
+        return _conditionQueryCategoriesSelf;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_CategoriesSelf() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("PARENT_ID");
+        value = getConditionQueryCategoriesSelf().getRealColumnName("CATEGORIES_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "CATEGORIES";
+        final String aliasName = getConditionQueryCategoriesSelf().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for categoriesSelf.
+     * 
+     * @return Query for categoriesSelf. (NotNull)
+     */
+    protected CategoriesCQ newQueryCategoriesSelf() {
+        return new CategoriesCQ(this, getSqlClause(), "CategoriesSelf", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryCategoriesSelf() {
+        return _conditionQueryCategoriesSelf != null;
+    }
   
-              
+                    
 }

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsDeliveryMethodDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsDeliveryMethodDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsDeliveryMethodDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -108,24 +108,6 @@
         registerIncludedSelectColumn(aliasName, getRealColumnName("DELIVERY_METHOD_NAME"));
     }
   
-    /**
-     * Include select-column of languagesId as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_LanguagesId() {
-        registerIncludedSelectColumn("LanguagesId", getRealColumnName("LANGUAGES_ID"));
-    }
-
-    /**
-     * Include select-column of languagesId as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_LanguagesId(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGES_ID"));
-    }
-  
     // ===================================================================================
     //                                                                               Query
     //                                                                               =====
@@ -214,8 +196,24 @@
         return getLanguageId();
     }
 
-                                                  
+              
+    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
+    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
+
     /**
+     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * 
+     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
+     */
+    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
+        return _languageId_InScopeSubQuery_Languages;
+    }
+
+    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
+        _languageId_InScopeSubQuery_Languages = subQuery;
+    }
+                                          
+    /**
      * Add order-by of languageId as ASC.
      * 
      * @return this. (NotNull)
@@ -275,64 +273,6 @@
         getSqlClause().registerOrderBy(getRealColumnName(COL_DELIVERY_METHOD_NAME), null, false);return this;
     }
       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGES_ID]
-    // - - - - - - - - -/
-
-    /** The attribute of languagesId. */
-    protected ConditionValue _languagesId;
-
-    /**
-     * Get the value of languagesId.
-     * 
-     * @return The value of languagesId.
-     */
-    public ConditionValue getLanguagesId() {
-        if (_languagesId == null) {
-            _languagesId = new ConditionValue();
-        }
-        return _languagesId;
-    }
-
-    protected ConditionValue getCValueLanguagesId() {
-        return getLanguagesId();
-    }
-
-              
-    /** The sub-query of LanguagesId_InScopeSubQuery_Languages using inScopeSubQuery. */
-    protected LanguagesCQ _languagesId_InScopeSubQuery_Languages;
-
-    /**
-     * Get the sub-query of LanguagesId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * 
-     * @return The sub-query of LanguagesId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
-     */
-    public LanguagesCQ getLanguagesId_InScopeSubQuery_Languages() {
-        return _languagesId_InScopeSubQuery_Languages;
-    }
-
-    public void keepLanguagesId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
-        _languagesId_InScopeSubQuery_Languages = subQuery;
-    }
-                                          
-    /**
-     * Add order-by of languagesId as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsDeliveryMethodDescriptionCQ addOrderBy_LanguagesId_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGES_ID), null, true);return this;
-    }
-
-    /**
-     * Add order-by of languagesId as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsDeliveryMethodDescriptionCQ addOrderBy_LanguagesId_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGES_ID), null, false);return this;
-    }
-      
     // ===================================================================================
     //                                                                         Union Query
     //                                                                         ===========
@@ -455,7 +395,7 @@
         String key = null;
         String value = null;
     
-        key = getRealColumnName("LANGUAGES_ID");
+        key = getRealColumnName("LANGUAGE_ID");
         value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
         joinOnMap.put(key, value);
     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsLanguagesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsLanguagesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsLanguagesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -241,20 +241,20 @@
         _languagesId_InScopeSubQuery_ManufacturersInfoList = subQuery;
     }
         
-    /** The sub-query of LanguagesId_InScopeSubQuery_OrdersStatusList using inScopeSubQuery. */
-    protected OrdersStatusCQ _languagesId_InScopeSubQuery_OrdersStatusList;
+    /** The sub-query of LanguagesId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery. */
+    protected OrdersStatusDescriptionCQ _languagesId_InScopeSubQuery_OrdersStatusDescriptionList;
 
     /**
-     * Get the sub-query of LanguagesId_InScopeSubQuery_OrdersStatusList using inScopeSubQuery.
+     * Get the sub-query of LanguagesId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery.
      * 
-     * @return The sub-query of LanguagesId_InScopeSubQuery_OrdersStatusList using inScopeSubQuery. (Nullable)
+     * @return The sub-query of LanguagesId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery. (Nullable)
      */
-    public OrdersStatusCQ getLanguagesId_InScopeSubQuery_OrdersStatusList() {
-        return _languagesId_InScopeSubQuery_OrdersStatusList;
+    public OrdersStatusDescriptionCQ getLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList() {
+        return _languagesId_InScopeSubQuery_OrdersStatusDescriptionList;
     }
 
-    public void keepLanguagesId_InScopeSubQuery_OrdersStatusList(OrdersStatusCQ subQuery) {
-        _languagesId_InScopeSubQuery_OrdersStatusList = subQuery;
+    public void keepLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList(OrdersStatusDescriptionCQ subQuery) {
+        _languagesId_InScopeSubQuery_OrdersStatusDescriptionList = subQuery;
     }
         
     /** The sub-query of LanguagesId_InScopeSubQuery_ProductsDescriptionList using inScopeSubQuery. */
@@ -273,36 +273,36 @@
         _languagesId_InScopeSubQuery_ProductsDescriptionList = subQuery;
     }
         
-    /** The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsList using inScopeSubQuery. */
-    protected ProductsOptionsCQ _languagesId_InScopeSubQuery_ProductsOptionsList;
+    /** The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery. */
+    protected ProductsOptionsDescriptionCQ _languagesId_InScopeSubQuery_ProductsOptionsDescriptionList;
 
     /**
-     * Get the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsList using inScopeSubQuery.
+     * Get the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery.
      * 
-     * @return The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsList using inScopeSubQuery. (Nullable)
+     * @return The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery. (Nullable)
      */
-    public ProductsOptionsCQ getLanguagesId_InScopeSubQuery_ProductsOptionsList() {
-        return _languagesId_InScopeSubQuery_ProductsOptionsList;
+    public ProductsOptionsDescriptionCQ getLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList() {
+        return _languagesId_InScopeSubQuery_ProductsOptionsDescriptionList;
     }
 
-    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsList(ProductsOptionsCQ subQuery) {
-        _languagesId_InScopeSubQuery_ProductsOptionsList = subQuery;
+    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList(ProductsOptionsDescriptionCQ subQuery) {
+        _languagesId_InScopeSubQuery_ProductsOptionsDescriptionList = subQuery;
     }
         
-    /** The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesList using inScopeSubQuery. */
-    protected ProductsOptionsValuesCQ _languagesId_InScopeSubQuery_ProductsOptionsValuesList;
+    /** The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery. */
+    protected ProductsOptionsValuesDescriptionCQ _languagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList;
 
     /**
-     * Get the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesList using inScopeSubQuery.
+     * Get the sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery.
      * 
-     * @return The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesList using inScopeSubQuery. (Nullable)
+     * @return The sub-query of LanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery. (Nullable)
      */
-    public ProductsOptionsValuesCQ getLanguagesId_InScopeSubQuery_ProductsOptionsValuesList() {
-        return _languagesId_InScopeSubQuery_ProductsOptionsValuesList;
+    public ProductsOptionsValuesDescriptionCQ getLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList() {
+        return _languagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList;
     }
 
-    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesList(ProductsOptionsValuesCQ subQuery) {
-        _languagesId_InScopeSubQuery_ProductsOptionsValuesList = subQuery;
+    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(ProductsOptionsValuesDescriptionCQ subQuery) {
+        _languagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList = subQuery;
     }
         
     /** The sub-query of LanguagesId_InScopeSubQuery_ReviewsDescriptionList using inScopeSubQuery. */
@@ -369,20 +369,20 @@
         _languagesId_ExistsSubQuery_ManufacturersInfoList = subQuery;
     }
                             
-    /** The sub-query of LanguagesId_ExistsSubQuery_OrdersStatusList using existsSubQuery. */
-    protected OrdersStatusCQ _languagesId_ExistsSubQuery_OrdersStatusList;
+    /** The sub-query of LanguagesId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery. */
+    protected OrdersStatusDescriptionCQ _languagesId_ExistsSubQuery_OrdersStatusDescriptionList;
 
     /**
-     * Get the sub-query of LanguagesId_ExistsSubQuery_OrdersStatusList using existsSubQuery.
+     * Get the sub-query of LanguagesId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery.
      * 
-     * @return The sub-query of LanguagesId_ExistsSubQuery_OrdersStatusList using existsSubQuery. (Nullable)
+     * @return The sub-query of LanguagesId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery. (Nullable)
      */
-    public OrdersStatusCQ getLanguagesId_ExistsSubQuery_OrdersStatusList() {
-        return _languagesId_ExistsSubQuery_OrdersStatusList;
+    public OrdersStatusDescriptionCQ getLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList() {
+        return _languagesId_ExistsSubQuery_OrdersStatusDescriptionList;
     }
 
-    public void keepLanguagesId_ExistsSubQuery_OrdersStatusList(OrdersStatusCQ subQuery) {
-        _languagesId_ExistsSubQuery_OrdersStatusList = subQuery;
+    public void keepLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList(OrdersStatusDescriptionCQ subQuery) {
+        _languagesId_ExistsSubQuery_OrdersStatusDescriptionList = subQuery;
     }
                             
     /** The sub-query of LanguagesId_ExistsSubQuery_ProductsDescriptionList using existsSubQuery. */
@@ -401,36 +401,36 @@
         _languagesId_ExistsSubQuery_ProductsDescriptionList = subQuery;
     }
                             
-    /** The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsList using existsSubQuery. */
-    protected ProductsOptionsCQ _languagesId_ExistsSubQuery_ProductsOptionsList;
+    /** The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery. */
+    protected ProductsOptionsDescriptionCQ _languagesId_ExistsSubQuery_ProductsOptionsDescriptionList;
 
     /**
-     * Get the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsList using existsSubQuery.
+     * Get the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery.
      * 
-     * @return The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsList using existsSubQuery. (Nullable)
+     * @return The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery. (Nullable)
      */
-    public ProductsOptionsCQ getLanguagesId_ExistsSubQuery_ProductsOptionsList() {
-        return _languagesId_ExistsSubQuery_ProductsOptionsList;
+    public ProductsOptionsDescriptionCQ getLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList() {
+        return _languagesId_ExistsSubQuery_ProductsOptionsDescriptionList;
     }
 
-    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsList(ProductsOptionsCQ subQuery) {
-        _languagesId_ExistsSubQuery_ProductsOptionsList = subQuery;
+    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList(ProductsOptionsDescriptionCQ subQuery) {
+        _languagesId_ExistsSubQuery_ProductsOptionsDescriptionList = subQuery;
     }
                             
-    /** The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesList using existsSubQuery. */
-    protected ProductsOptionsValuesCQ _languagesId_ExistsSubQuery_ProductsOptionsValuesList;
+    /** The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery. */
+    protected ProductsOptionsValuesDescriptionCQ _languagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList;
 
     /**
-     * Get the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesList using existsSubQuery.
+     * Get the sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery.
      * 
-     * @return The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesList using existsSubQuery. (Nullable)
+     * @return The sub-query of LanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery. (Nullable)
      */
-    public ProductsOptionsValuesCQ getLanguagesId_ExistsSubQuery_ProductsOptionsValuesList() {
-        return _languagesId_ExistsSubQuery_ProductsOptionsValuesList;
+    public ProductsOptionsValuesDescriptionCQ getLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList() {
+        return _languagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList;
     }
 
-    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesList(ProductsOptionsValuesCQ subQuery) {
-        _languagesId_ExistsSubQuery_ProductsOptionsValuesList = subQuery;
+    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(ProductsOptionsValuesDescriptionCQ subQuery) {
+        _languagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList = subQuery;
     }
                             
     /** The sub-query of LanguagesId_ExistsSubQuery_ReviewsDescriptionList using existsSubQuery. */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -997,6 +997,22 @@
         _ordersId_InScopeSubQuery_OrdersProductsDownloadList = subQuery;
     }
         
+    /** The sub-query of OrdersId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery. */
+    protected OrdersStatusHistoryCQ _ordersId_InScopeSubQuery_OrdersStatusHistoryList;
+
+    /**
+     * Get the sub-query of OrdersId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery.
+     * 
+     * @return The sub-query of OrdersId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery. (Nullable)
+     */
+    public OrdersStatusHistoryCQ getOrdersId_InScopeSubQuery_OrdersStatusHistoryList() {
+        return _ordersId_InScopeSubQuery_OrdersStatusHistoryList;
+    }
+
+    public void keepOrdersId_InScopeSubQuery_OrdersStatusHistoryList(OrdersStatusHistoryCQ subQuery) {
+        _ordersId_InScopeSubQuery_OrdersStatusHistoryList = subQuery;
+    }
+        
     /** The sub-query of OrdersId_InScopeSubQuery_OrdersTotalList using inScopeSubQuery. */
     protected OrdersTotalCQ _ordersId_InScopeSubQuery_OrdersTotalList;
 
@@ -1061,6 +1077,22 @@
         _ordersId_ExistsSubQuery_OrdersProductsDownloadList = subQuery;
     }
                             
+    /** The sub-query of OrdersId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery. */
+    protected OrdersStatusHistoryCQ _ordersId_ExistsSubQuery_OrdersStatusHistoryList;
+
+    /**
+     * Get the sub-query of OrdersId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery.
+     * 
+     * @return The sub-query of OrdersId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery. (Nullable)
+     */
+    public OrdersStatusHistoryCQ getOrdersId_ExistsSubQuery_OrdersStatusHistoryList() {
+        return _ordersId_ExistsSubQuery_OrdersStatusHistoryList;
+    }
+
+    public void keepOrdersId_ExistsSubQuery_OrdersStatusHistoryList(OrdersStatusHistoryCQ subQuery) {
+        _ordersId_ExistsSubQuery_OrdersStatusHistoryList = subQuery;
+    }
+                            
     /** The sub-query of OrdersId_ExistsSubQuery_OrdersTotalList using existsSubQuery. */
     protected OrdersTotalCQ _ordersId_ExistsSubQuery_OrdersTotalList;
 
@@ -3502,5 +3534,5 @@
         return _conditionQueryOrdersStatus != null;
     }
   
-                          
+                                
 }

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -72,42 +72,6 @@
         registerIncludedSelectColumn(aliasName, getRealColumnName("ORDERS_STATUS_ID"));
     }
   
-    /**
-     * Include select-column of languageId as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_LanguageId() {
-        registerIncludedSelectColumn("LanguageId", getRealColumnName("LANGUAGE_ID"));
-    }
-
-    /**
-     * Include select-column of languageId as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_LanguageId(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE_ID"));
-    }
-  
-    /**
-     * Include select-column of ordersStatusName as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_OrdersStatusName() {
-        registerIncludedSelectColumn("OrdersStatusName", getRealColumnName("ORDERS_STATUS_NAME"));
-    }
-
-    /**
-     * Include select-column of ordersStatusName as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_OrdersStatusName(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("ORDERS_STATUS_NAME"));
-    }
-  
     // ===================================================================================
     //                                                                               Query
     //                                                                               =====
@@ -155,6 +119,22 @@
         _ordersStatusId_InScopeSubQuery_OrdersList = subQuery;
     }
         
+    /** The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery. */
+    protected OrdersStatusDescriptionCQ _ordersStatusId_InScopeSubQuery_OrdersStatusDescriptionList;
+
+    /**
+     * Get the sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery.
+     * 
+     * @return The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList using inScopeSubQuery. (Nullable)
+     */
+    public OrdersStatusDescriptionCQ getOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList() {
+        return _ordersStatusId_InScopeSubQuery_OrdersStatusDescriptionList;
+    }
+
+    public void keepOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList(OrdersStatusDescriptionCQ subQuery) {
+        _ordersStatusId_InScopeSubQuery_OrdersStatusDescriptionList = subQuery;
+    }
+        
     /** The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatusHistoryList using inScopeSubQuery. */
     protected OrdersStatusHistoryCQ _ordersStatusId_InScopeSubQuery_OrdersStatusHistoryList;
 
@@ -187,6 +167,22 @@
         _ordersStatusId_ExistsSubQuery_OrdersList = subQuery;
     }
                             
+    /** The sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery. */
+    protected OrdersStatusDescriptionCQ _ordersStatusId_ExistsSubQuery_OrdersStatusDescriptionList;
+
+    /**
+     * Get the sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery.
+     * 
+     * @return The sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList using existsSubQuery. (Nullable)
+     */
+    public OrdersStatusDescriptionCQ getOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList() {
+        return _ordersStatusId_ExistsSubQuery_OrdersStatusDescriptionList;
+    }
+
+    public void keepOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList(OrdersStatusDescriptionCQ subQuery) {
+        _ordersStatusId_ExistsSubQuery_OrdersStatusDescriptionList = subQuery;
+    }
+                            
     /** The sub-query of OrdersStatusId_ExistsSubQuery_OrdersStatusHistoryList using existsSubQuery. */
     protected OrdersStatusHistoryCQ _ordersStatusId_ExistsSubQuery_OrdersStatusHistoryList;
 
@@ -221,186 +217,16 @@
         getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_ID), null, false);return this;
     }
       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGE_ID]
-    // - - - - - - - - -/
-
-    /** The attribute of languageId. */
-    protected ConditionValue _languageId;
-
-    /**
-     * Get the value of languageId.
-     * 
-     * @return The value of languageId.
-     */
-    public ConditionValue getLanguageId() {
-        if (_languageId == null) {
-            _languageId = new ConditionValue();
-        }
-        return _languageId;
-    }
-
-    protected ConditionValue getCValueLanguageId() {
-        return getLanguageId();
-    }
-
-              
-    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
-    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
-
-    /**
-     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * 
-     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
-     */
-    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
-        return _languageId_InScopeSubQuery_Languages;
-    }
-
-    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
-        _languageId_InScopeSubQuery_Languages = subQuery;
-    }
-                                          
-    /**
-     * Add order-by of languageId as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsOrdersStatusCQ addOrderBy_LanguageId_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, true);return this;
-    }
-
-    /**
-     * Add order-by of languageId as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsOrdersStatusCQ addOrderBy_LanguageId_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, false);return this;
-    }
-      
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [ORDERS_STATUS_NAME]
-    // - - - - - - - - -/
-
-    /** The attribute of ordersStatusName. */
-    protected ConditionValue _ordersStatusName;
-
-    /**
-     * Get the value of ordersStatusName.
-     * 
-     * @return The value of ordersStatusName.
-     */
-    public ConditionValue getOrdersStatusName() {
-        if (_ordersStatusName == null) {
-            _ordersStatusName = new ConditionValue();
-        }
-        return _ordersStatusName;
-    }
-
-    protected ConditionValue getCValueOrdersStatusName() {
-        return getOrdersStatusName();
-    }
-
-                                                  
-    /**
-     * Add order-by of ordersStatusName as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsOrdersStatusCQ addOrderBy_OrdersStatusName_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_NAME), null, true);return this;
-    }
-
-    /**
-     * Add order-by of ordersStatusName as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsOrdersStatusCQ addOrderBy_OrdersStatusName_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_NAME), null, false);return this;
-    }
-      
     // ===================================================================================
     //                                                                         Union Query
     //                                                                         ===========
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
-        final OrdersStatusCQ baseQuery = (OrdersStatusCQ)baseQueryAsSuper;
-        final OrdersStatusCQ unionQuery = (OrdersStatusCQ)unionQueryAsSuper;
-        if (baseQuery.hasConditionQueryLanguages()) {
-            unionQuery.queryLanguages().reflectRelationOnUnionQuery(baseQuery.queryLanguages(), unionQuery.queryLanguages());
-        }
 
     }
 
     // ===================================================================================
     //                                                                       Foreign Query
     //                                                                       =============
-      
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES]
-    //   ForeignProperty = [languages]
-    // * * * * * * * * */
-
-    /**
-     * Query for languages.
-     * 
-     * @return Instance of LanguagesCQ as languages. (NotNull)
-     */
-    public LanguagesCQ queryLanguages() {
-        return getConditionQueryLanguages();
-    }
-
-    /** Condition-query for languages. */
-    protected LanguagesCQ _conditionQueryLanguages;
-
-    /**
-     * Get condition-query for languages.
-     * 
-     * @return Instance of LanguagesCQ as languages. (NotNull)
-     */
-    public LanguagesCQ getConditionQueryLanguages() {
-        if (_conditionQueryLanguages == null) {
-            _conditionQueryLanguages = newQueryLanguages();
-            setupOuterJoin_Languages();
-        }
-        return _conditionQueryLanguages;
-    }
-
-    /**
-     * Setup outer join for ${foreignPropertyName}.
-     */
-    protected void setupOuterJoin_Languages() {
-        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
-        String key = null;
-        String value = null;
-    
-        key = getRealColumnName("LANGUAGE_ID");
-        value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
-        joinOnMap.put(key, value);
-    
-        final String joinTableName = "LANGUAGES";
-        final String aliasName = getConditionQueryLanguages().getRealAliasName();
-        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
-    }
-
-    /**
-     * New query for languages.
-     * 
-     * @return Query for languages. (NotNull)
-     */
-    protected LanguagesCQ newQueryLanguages() {
-        return new LanguagesCQ(this, getSqlClause(), "Languages", getNextNestLevel());
-    }
-
-    /**
-     * Has condition query?
-     * 
-     * @return Determination.
-     */
-    public boolean hasConditionQueryLanguages() {
-        return _conditionQueryLanguages != null;
-    }
   
-              
+                    
 }

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,426 @@
+package jp.sf.pal.pompei.cbean.cq.bs;
+
+import jp.sf.pal.pompei.cbean.cq.*;
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.pompei.cbean.cq.ciq.*;
+
+/**
+ * The condition-query of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class BsOrdersStatusDescriptionCQ extends AbstractBsOrdersStatusDescriptionCQ {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Corresponding inline query. */
+    protected OrdersStatusDescriptionCIQ _inlineQuery;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public BsOrdersStatusDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    // ===================================================================================
+    //                                                                              Inline
+    //                                                                              ======
+    /**
+     * Get inline query.
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public OrdersStatusDescriptionCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new OrdersStatusDescriptionCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);
+        }
+        return _inlineQuery;
+    }
+
+    // ===================================================================================
+    //                                                                     Include-as-Mine
+    //                                                                     ===============
+  
+    /**
+     * Include select-column of ordersStatusId as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_OrdersStatusId() {
+        registerIncludedSelectColumn("OrdersStatusId", getRealColumnName("ORDERS_STATUS_ID"));
+    }
+
+    /**
+     * Include select-column of ordersStatusId as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_OrdersStatusId(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("ORDERS_STATUS_ID"));
+    }
+  
+    /**
+     * Include select-column of languageId as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_LanguageId() {
+        registerIncludedSelectColumn("LanguageId", getRealColumnName("LANGUAGE_ID"));
+    }
+
+    /**
+     * Include select-column of languageId as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_LanguageId(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE_ID"));
+    }
+  
+    /**
+     * Include select-column of ordersStatusName as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_OrdersStatusName() {
+        registerIncludedSelectColumn("OrdersStatusName", getRealColumnName("ORDERS_STATUS_NAME"));
+    }
+
+    /**
+     * Include select-column of ordersStatusName as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_OrdersStatusName(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("ORDERS_STATUS_NAME"));
+    }
+  
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [ORDERS_STATUS_DESCRIPTION]
+    // * * * * * * * * */
+  
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [ORDERS_STATUS_ID]
+    // - - - - - - - - -/
+
+    /** The attribute of ordersStatusId. */
+    protected ConditionValue _ordersStatusId;
+
+    /**
+     * Get the value of ordersStatusId.
+     * 
+     * @return The value of ordersStatusId.
+     */
+    public ConditionValue getOrdersStatusId() {
+        if (_ordersStatusId == null) {
+            _ordersStatusId = new ConditionValue();
+        }
+        return _ordersStatusId;
+    }
+
+    protected ConditionValue getCValueOrdersStatusId() {
+        return getOrdersStatusId();
+    }
+
+              
+    /** The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatus using inScopeSubQuery. */
+    protected OrdersStatusCQ _ordersStatusId_InScopeSubQuery_OrdersStatus;
+
+    /**
+     * Get the sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatus using inScopeSubQuery.
+     * 
+     * @return The sub-query of OrdersStatusId_InScopeSubQuery_OrdersStatus using inScopeSubQuery. (Nullable)
+     */
+    public OrdersStatusCQ getOrdersStatusId_InScopeSubQuery_OrdersStatus() {
+        return _ordersStatusId_InScopeSubQuery_OrdersStatus;
+    }
+
+    public void keepOrdersStatusId_InScopeSubQuery_OrdersStatus(OrdersStatusCQ subQuery) {
+        _ordersStatusId_InScopeSubQuery_OrdersStatus = subQuery;
+    }
+                                          
+    /**
+     * Add order-by of ordersStatusId as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsOrdersStatusDescriptionCQ addOrderBy_OrdersStatusId_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_ID), null, true);return this;
+    }
+
+    /**
+     * Add order-by of ordersStatusId as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsOrdersStatusDescriptionCQ addOrderBy_OrdersStatusId_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_ID), null, false);return this;
+    }
+      
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [LANGUAGE_ID]
+    // - - - - - - - - -/
+
+    /** The attribute of languageId. */
+    protected ConditionValue _languageId;
+
+    /**
+     * Get the value of languageId.
+     * 
+     * @return The value of languageId.
+     */
+    public ConditionValue getLanguageId() {
+        if (_languageId == null) {
+            _languageId = new ConditionValue();
+        }
+        return _languageId;
+    }
+
+    protected ConditionValue getCValueLanguageId() {
+        return getLanguageId();
+    }
+
+              
+    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
+    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
+
+    /**
+     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * 
+     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
+     */
+    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
+        return _languageId_InScopeSubQuery_Languages;
+    }
+
+    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
+        _languageId_InScopeSubQuery_Languages = subQuery;
+    }
+                                          
+    /**
+     * Add order-by of languageId as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsOrdersStatusDescriptionCQ addOrderBy_LanguageId_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, true);return this;
+    }
+
+    /**
+     * Add order-by of languageId as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsOrdersStatusDescriptionCQ addOrderBy_LanguageId_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, false);return this;
+    }
+      
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [ORDERS_STATUS_NAME]
+    // - - - - - - - - -/
+
+    /** The attribute of ordersStatusName. */
+    protected ConditionValue _ordersStatusName;
+
+    /**
+     * Get the value of ordersStatusName.
+     * 
+     * @return The value of ordersStatusName.
+     */
+    public ConditionValue getOrdersStatusName() {
+        if (_ordersStatusName == null) {
+            _ordersStatusName = new ConditionValue();
+        }
+        return _ordersStatusName;
+    }
+
+    protected ConditionValue getCValueOrdersStatusName() {
+        return getOrdersStatusName();
+    }
+
+                                                  
+    /**
+     * Add order-by of ordersStatusName as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsOrdersStatusDescriptionCQ addOrderBy_OrdersStatusName_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_NAME), null, true);return this;
+    }
+
+    /**
+     * Add order-by of ordersStatusName as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsOrdersStatusDescriptionCQ addOrderBy_OrdersStatusName_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_ORDERS_STATUS_NAME), null, false);return this;
+    }
+      
+    // ===================================================================================
+    //                                                                         Union Query
+    //                                                                         ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        final OrdersStatusDescriptionCQ baseQuery = (OrdersStatusDescriptionCQ)baseQueryAsSuper;
+        final OrdersStatusDescriptionCQ unionQuery = (OrdersStatusDescriptionCQ)unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryLanguages()) {
+            unionQuery.queryLanguages().reflectRelationOnUnionQuery(baseQuery.queryLanguages(), unionQuery.queryLanguages());
+        }
+        if (baseQuery.hasConditionQueryOrdersStatus()) {
+            unionQuery.queryOrdersStatus().reflectRelationOnUnionQuery(baseQuery.queryOrdersStatus(), unionQuery.queryOrdersStatus());
+        }
+
+    }
+
+    // ===================================================================================
+    //                                                                       Foreign Query
+    //                                                                       =============
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /**
+     * Query for languages.
+     * 
+     * @return Instance of LanguagesCQ as languages. (NotNull)
+     */
+    public LanguagesCQ queryLanguages() {
+        return getConditionQueryLanguages();
+    }
+
+    /** Condition-query for languages. */
+    protected LanguagesCQ _conditionQueryLanguages;
+
+    /**
+     * Get condition-query for languages.
+     * 
+     * @return Instance of LanguagesCQ as languages. (NotNull)
+     */
+    public LanguagesCQ getConditionQueryLanguages() {
+        if (_conditionQueryLanguages == null) {
+            _conditionQueryLanguages = newQueryLanguages();
+            setupOuterJoin_Languages();
+        }
+        return _conditionQueryLanguages;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_Languages() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("LANGUAGE_ID");
+        value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "LANGUAGES";
+        final String aliasName = getConditionQueryLanguages().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for languages.
+     * 
+     * @return Query for languages. (NotNull)
+     */
+    protected LanguagesCQ newQueryLanguages() {
+        return new LanguagesCQ(this, getSqlClause(), "Languages", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryLanguages() {
+        return _conditionQueryLanguages != null;
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ORDERS_STATUS]
+    //   ForeignProperty = [ordersStatus]
+    // * * * * * * * * */
+
+    /**
+     * Query for ordersStatus.
+     * 
+     * @return Instance of OrdersStatusCQ as ordersStatus. (NotNull)
+     */
+    public OrdersStatusCQ queryOrdersStatus() {
+        return getConditionQueryOrdersStatus();
+    }
+
+    /** Condition-query for ordersStatus. */
+    protected OrdersStatusCQ _conditionQueryOrdersStatus;
+
+    /**
+     * Get condition-query for ordersStatus.
+     * 
+     * @return Instance of OrdersStatusCQ as ordersStatus. (NotNull)
+     */
+    public OrdersStatusCQ getConditionQueryOrdersStatus() {
+        if (_conditionQueryOrdersStatus == null) {
+            _conditionQueryOrdersStatus = newQueryOrdersStatus();
+            setupOuterJoin_OrdersStatus();
+        }
+        return _conditionQueryOrdersStatus;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_OrdersStatus() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("ORDERS_STATUS_ID");
+        value = getConditionQueryOrdersStatus().getRealColumnName("ORDERS_STATUS_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "ORDERS_STATUS";
+        final String aliasName = getConditionQueryOrdersStatus().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for ordersStatus.
+     * 
+     * @return Query for ordersStatus. (NotNull)
+     */
+    protected OrdersStatusCQ newQueryOrdersStatus() {
+        return new OrdersStatusCQ(this, getSqlClause(), "OrdersStatus", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryOrdersStatus() {
+        return _conditionQueryOrdersStatus != null;
+    }
+  
+  
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusHistoryCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusHistoryCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersStatusHistoryCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -234,8 +234,24 @@
         return getOrdersId();
     }
 
-                                                  
+              
+    /** The sub-query of OrdersId_InScopeSubQuery_Orders using inScopeSubQuery. */
+    protected OrdersCQ _ordersId_InScopeSubQuery_Orders;
+
     /**
+     * Get the sub-query of OrdersId_InScopeSubQuery_Orders using inScopeSubQuery.
+     * 
+     * @return The sub-query of OrdersId_InScopeSubQuery_Orders using inScopeSubQuery. (Nullable)
+     */
+    public OrdersCQ getOrdersId_InScopeSubQuery_Orders() {
+        return _ordersId_InScopeSubQuery_Orders;
+    }
+
+    public void keepOrdersId_InScopeSubQuery_Orders(OrdersCQ subQuery) {
+        _ordersId_InScopeSubQuery_Orders = subQuery;
+    }
+                                          
+    /**
      * Add order-by of ordersId as ASC.
      * 
      * @return this. (NotNull)
@@ -443,6 +459,9 @@
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
         final OrdersStatusHistoryCQ baseQuery = (OrdersStatusHistoryCQ)baseQueryAsSuper;
         final OrdersStatusHistoryCQ unionQuery = (OrdersStatusHistoryCQ)unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryOrders()) {
+            unionQuery.queryOrders().reflectRelationOnUnionQuery(baseQuery.queryOrders(), unionQuery.queryOrders());
+        }
         if (baseQuery.hasConditionQueryOrdersStatus()) {
             unionQuery.queryOrdersStatus().reflectRelationOnUnionQuery(baseQuery.queryOrdersStatus(), unionQuery.queryOrdersStatus());
         }
@@ -454,6 +473,71 @@
     //                                                                       =============
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ORDERS]
+    //   ForeignProperty = [orders]
+    // * * * * * * * * */
+
+    /**
+     * Query for orders.
+     * 
+     * @return Instance of OrdersCQ as orders. (NotNull)
+     */
+    public OrdersCQ queryOrders() {
+        return getConditionQueryOrders();
+    }
+
+    /** Condition-query for orders. */
+    protected OrdersCQ _conditionQueryOrders;
+
+    /**
+     * Get condition-query for orders.
+     * 
+     * @return Instance of OrdersCQ as orders. (NotNull)
+     */
+    public OrdersCQ getConditionQueryOrders() {
+        if (_conditionQueryOrders == null) {
+            _conditionQueryOrders = newQueryOrders();
+            setupOuterJoin_Orders();
+        }
+        return _conditionQueryOrders;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_Orders() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("ORDERS_ID");
+        value = getConditionQueryOrders().getRealColumnName("ORDERS_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "ORDERS";
+        final String aliasName = getConditionQueryOrders().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for orders.
+     * 
+     * @return Query for orders. (NotNull)
+     */
+    protected OrdersCQ newQueryOrders() {
+        return new OrdersCQ(this, getSqlClause(), "Orders", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryOrders() {
+        return _conditionQueryOrders != null;
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   ForeignTable    = [ORDERS_STATUS]
     //   ForeignProperty = [ordersStatus]
     // * * * * * * * * */

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsAttributesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsAttributesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsAttributesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -324,8 +324,24 @@
         return getOptionsId();
     }
 
-                                                  
+              
+    /** The sub-query of OptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery. */
+    protected ProductsOptionsCQ _optionsId_InScopeSubQuery_ProductsOptions;
+
     /**
+     * Get the sub-query of OptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery.
+     * 
+     * @return The sub-query of OptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery. (Nullable)
+     */
+    public ProductsOptionsCQ getOptionsId_InScopeSubQuery_ProductsOptions() {
+        return _optionsId_InScopeSubQuery_ProductsOptions;
+    }
+
+    public void keepOptionsId_InScopeSubQuery_ProductsOptions(ProductsOptionsCQ subQuery) {
+        _optionsId_InScopeSubQuery_ProductsOptions = subQuery;
+    }
+                                          
+    /**
      * Add order-by of optionsId as ASC.
      * 
      * @return this. (NotNull)
@@ -366,8 +382,24 @@
         return getOptionsValuesId();
     }
 
-                                                  
+              
+    /** The sub-query of OptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery. */
+    protected ProductsOptionsValuesCQ _optionsValuesId_InScopeSubQuery_ProductsOptionsValues;
+
     /**
+     * Get the sub-query of OptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery.
+     * 
+     * @return The sub-query of OptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery. (Nullable)
+     */
+    public ProductsOptionsValuesCQ getOptionsValuesId_InScopeSubQuery_ProductsOptionsValues() {
+        return _optionsValuesId_InScopeSubQuery_ProductsOptionsValues;
+    }
+
+    public void keepOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(ProductsOptionsValuesCQ subQuery) {
+        _optionsValuesId_InScopeSubQuery_ProductsOptionsValues = subQuery;
+    }
+                                          
+    /**
      * Add order-by of optionsValuesId as ASC.
      * 
      * @return this. (NotNull)
@@ -478,6 +510,12 @@
         if (baseQuery.hasConditionQueryProducts()) {
             unionQuery.queryProducts().reflectRelationOnUnionQuery(baseQuery.queryProducts(), unionQuery.queryProducts());
         }
+        if (baseQuery.hasConditionQueryProductsOptions()) {
+            unionQuery.queryProductsOptions().reflectRelationOnUnionQuery(baseQuery.queryProductsOptions(), unionQuery.queryProductsOptions());
+        }
+        if (baseQuery.hasConditionQueryProductsOptionsValues()) {
+            unionQuery.queryProductsOptionsValues().reflectRelationOnUnionQuery(baseQuery.queryProductsOptionsValues(), unionQuery.queryProductsOptionsValues());
+        }
         if (baseQuery.hasConditionQueryProductsAttributesDownloadAsOne()) {
             unionQuery.queryProductsAttributesDownloadAsOne().reflectRelationOnUnionQuery(baseQuery.queryProductsAttributesDownloadAsOne(), unionQuery.queryProductsAttributesDownloadAsOne());
         }
@@ -552,6 +590,136 @@
     public boolean hasConditionQueryProducts() {
         return _conditionQueryProducts != null;
     }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /**
+     * Query for productsOptions.
+     * 
+     * @return Instance of ProductsOptionsCQ as productsOptions. (NotNull)
+     */
+    public ProductsOptionsCQ queryProductsOptions() {
+        return getConditionQueryProductsOptions();
+    }
+
+    /** Condition-query for productsOptions. */
+    protected ProductsOptionsCQ _conditionQueryProductsOptions;
+
+    /**
+     * Get condition-query for productsOptions.
+     * 
+     * @return Instance of ProductsOptionsCQ as productsOptions. (NotNull)
+     */
+    public ProductsOptionsCQ getConditionQueryProductsOptions() {
+        if (_conditionQueryProductsOptions == null) {
+            _conditionQueryProductsOptions = newQueryProductsOptions();
+            setupOuterJoin_ProductsOptions();
+        }
+        return _conditionQueryProductsOptions;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_ProductsOptions() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("OPTIONS_ID");
+        value = getConditionQueryProductsOptions().getRealColumnName("PRODUCTS_OPTIONS_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "PRODUCTS_OPTIONS";
+        final String aliasName = getConditionQueryProductsOptions().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for productsOptions.
+     * 
+     * @return Query for productsOptions. (NotNull)
+     */
+    protected ProductsOptionsCQ newQueryProductsOptions() {
+        return new ProductsOptionsCQ(this, getSqlClause(), "ProductsOptions", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryProductsOptions() {
+        return _conditionQueryProductsOptions != null;
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /**
+     * Query for productsOptionsValues.
+     * 
+     * @return Instance of ProductsOptionsValuesCQ as productsOptionsValues. (NotNull)
+     */
+    public ProductsOptionsValuesCQ queryProductsOptionsValues() {
+        return getConditionQueryProductsOptionsValues();
+    }
+
+    /** Condition-query for productsOptionsValues. */
+    protected ProductsOptionsValuesCQ _conditionQueryProductsOptionsValues;
+
+    /**
+     * Get condition-query for productsOptionsValues.
+     * 
+     * @return Instance of ProductsOptionsValuesCQ as productsOptionsValues. (NotNull)
+     */
+    public ProductsOptionsValuesCQ getConditionQueryProductsOptionsValues() {
+        if (_conditionQueryProductsOptionsValues == null) {
+            _conditionQueryProductsOptionsValues = newQueryProductsOptionsValues();
+            setupOuterJoin_ProductsOptionsValues();
+        }
+        return _conditionQueryProductsOptionsValues;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_ProductsOptionsValues() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("OPTIONS_VALUES_ID");
+        value = getConditionQueryProductsOptionsValues().getRealColumnName("PRODUCTS_OPTIONS_VALUES_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "PRODUCTS_OPTIONS_VALUES";
+        final String aliasName = getConditionQueryProductsOptionsValues().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for productsOptionsValues.
+     * 
+     * @return Query for productsOptionsValues. (NotNull)
+     */
+    protected ProductsOptionsValuesCQ newQueryProductsOptionsValues() {
+        return new ProductsOptionsValuesCQ(this, getSqlClause(), "ProductsOptionsValues", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryProductsOptionsValues() {
+        return _conditionQueryProductsOptionsValues != null;
+    }
   
       
     // /* * * * * * * * * * * * * * * * * * * * * * * {as one}

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -72,42 +72,6 @@
         registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_ID"));
     }
   
-    /**
-     * Include select-column of languageId as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_LanguageId() {
-        registerIncludedSelectColumn("LanguageId", getRealColumnName("LANGUAGE_ID"));
-    }
-
-    /**
-     * Include select-column of languageId as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_LanguageId(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE_ID"));
-    }
-  
-    /**
-     * Include select-column of productsOptionsName as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_ProductsOptionsName() {
-        registerIncludedSelectColumn("ProductsOptionsName", getRealColumnName("PRODUCTS_OPTIONS_NAME"));
-    }
-
-    /**
-     * Include select-column of productsOptionsName as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_ProductsOptionsName(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_NAME"));
-    }
-  
     // ===================================================================================
     //                                                                               Query
     //                                                                               =====
@@ -155,6 +119,38 @@
         _productsOptionsId_InScopeSubQuery_CustomersBasketAttributesList = subQuery;
     }
         
+    /** The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery. */
+    protected ProductsAttributesCQ _productsOptionsId_InScopeSubQuery_ProductsAttributesList;
+
+    /**
+     * Get the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery. (Nullable)
+     */
+    public ProductsAttributesCQ getProductsOptionsId_InScopeSubQuery_ProductsAttributesList() {
+        return _productsOptionsId_InScopeSubQuery_ProductsAttributesList;
+    }
+
+    public void keepProductsOptionsId_InScopeSubQuery_ProductsAttributesList(ProductsAttributesCQ subQuery) {
+        _productsOptionsId_InScopeSubQuery_ProductsAttributesList = subQuery;
+    }
+        
+    /** The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery. */
+    protected ProductsOptionsDescriptionCQ _productsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList;
+
+    /**
+     * Get the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList using inScopeSubQuery. (Nullable)
+     */
+    public ProductsOptionsDescriptionCQ getProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList() {
+        return _productsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList;
+    }
+
+    public void keepProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList(ProductsOptionsDescriptionCQ subQuery) {
+        _productsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList = subQuery;
+    }
+        
     /** The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList using inScopeSubQuery. */
     protected ProductsOptionsValuesToProductsOptionsCQ _productsOptionsId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList;
 
@@ -187,6 +183,38 @@
         _productsOptionsId_ExistsSubQuery_CustomersBasketAttributesList = subQuery;
     }
                             
+    /** The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsAttributesList using existsSubQuery. */
+    protected ProductsAttributesCQ _productsOptionsId_ExistsSubQuery_ProductsAttributesList;
+
+    /**
+     * Get the sub-query of ProductsOptionsId_ExistsSubQuery_ProductsAttributesList using existsSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsAttributesList using existsSubQuery. (Nullable)
+     */
+    public ProductsAttributesCQ getProductsOptionsId_ExistsSubQuery_ProductsAttributesList() {
+        return _productsOptionsId_ExistsSubQuery_ProductsAttributesList;
+    }
+
+    public void keepProductsOptionsId_ExistsSubQuery_ProductsAttributesList(ProductsAttributesCQ subQuery) {
+        _productsOptionsId_ExistsSubQuery_ProductsAttributesList = subQuery;
+    }
+                            
+    /** The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery. */
+    protected ProductsOptionsDescriptionCQ _productsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList;
+
+    /**
+     * Get the sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList using existsSubQuery. (Nullable)
+     */
+    public ProductsOptionsDescriptionCQ getProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList() {
+        return _productsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList;
+    }
+
+    public void keepProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList(ProductsOptionsDescriptionCQ subQuery) {
+        _productsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList = subQuery;
+    }
+                            
     /** The sub-query of ProductsOptionsId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList using existsSubQuery. */
     protected ProductsOptionsValuesToProductsOptionsCQ _productsOptionsId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList;
 
@@ -221,186 +249,16 @@
         getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_ID), null, false);return this;
     }
       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGE_ID]
-    // - - - - - - - - -/
-
-    /** The attribute of languageId. */
-    protected ConditionValue _languageId;
-
-    /**
-     * Get the value of languageId.
-     * 
-     * @return The value of languageId.
-     */
-    public ConditionValue getLanguageId() {
-        if (_languageId == null) {
-            _languageId = new ConditionValue();
-        }
-        return _languageId;
-    }
-
-    protected ConditionValue getCValueLanguageId() {
-        return getLanguageId();
-    }
-
-              
-    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
-    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
-
-    /**
-     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * 
-     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
-     */
-    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
-        return _languageId_InScopeSubQuery_Languages;
-    }
-
-    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
-        _languageId_InScopeSubQuery_Languages = subQuery;
-    }
-                                          
-    /**
-     * Add order-by of languageId as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsCQ addOrderBy_LanguageId_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, true);return this;
-    }
-
-    /**
-     * Add order-by of languageId as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsCQ addOrderBy_LanguageId_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, false);return this;
-    }
-      
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [PRODUCTS_OPTIONS_NAME]
-    // - - - - - - - - -/
-
-    /** The attribute of productsOptionsName. */
-    protected ConditionValue _productsOptionsName;
-
-    /**
-     * Get the value of productsOptionsName.
-     * 
-     * @return The value of productsOptionsName.
-     */
-    public ConditionValue getProductsOptionsName() {
-        if (_productsOptionsName == null) {
-            _productsOptionsName = new ConditionValue();
-        }
-        return _productsOptionsName;
-    }
-
-    protected ConditionValue getCValueProductsOptionsName() {
-        return getProductsOptionsName();
-    }
-
-                                                  
-    /**
-     * Add order-by of productsOptionsName as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsCQ addOrderBy_ProductsOptionsName_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_NAME), null, true);return this;
-    }
-
-    /**
-     * Add order-by of productsOptionsName as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsCQ addOrderBy_ProductsOptionsName_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_NAME), null, false);return this;
-    }
-      
     // ===================================================================================
     //                                                                         Union Query
     //                                                                         ===========
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
-        final ProductsOptionsCQ baseQuery = (ProductsOptionsCQ)baseQueryAsSuper;
-        final ProductsOptionsCQ unionQuery = (ProductsOptionsCQ)unionQueryAsSuper;
-        if (baseQuery.hasConditionQueryLanguages()) {
-            unionQuery.queryLanguages().reflectRelationOnUnionQuery(baseQuery.queryLanguages(), unionQuery.queryLanguages());
-        }
 
     }
 
     // ===================================================================================
     //                                                                       Foreign Query
     //                                                                       =============
-      
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES]
-    //   ForeignProperty = [languages]
-    // * * * * * * * * */
-
-    /**
-     * Query for languages.
-     * 
-     * @return Instance of LanguagesCQ as languages. (NotNull)
-     */
-    public LanguagesCQ queryLanguages() {
-        return getConditionQueryLanguages();
-    }
-
-    /** Condition-query for languages. */
-    protected LanguagesCQ _conditionQueryLanguages;
-
-    /**
-     * Get condition-query for languages.
-     * 
-     * @return Instance of LanguagesCQ as languages. (NotNull)
-     */
-    public LanguagesCQ getConditionQueryLanguages() {
-        if (_conditionQueryLanguages == null) {
-            _conditionQueryLanguages = newQueryLanguages();
-            setupOuterJoin_Languages();
-        }
-        return _conditionQueryLanguages;
-    }
-
-    /**
-     * Setup outer join for ${foreignPropertyName}.
-     */
-    protected void setupOuterJoin_Languages() {
-        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
-        String key = null;
-        String value = null;
-    
-        key = getRealColumnName("LANGUAGE_ID");
-        value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
-        joinOnMap.put(key, value);
-    
-        final String joinTableName = "LANGUAGES";
-        final String aliasName = getConditionQueryLanguages().getRealAliasName();
-        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
-    }
-
-    /**
-     * New query for languages.
-     * 
-     * @return Query for languages. (NotNull)
-     */
-    protected LanguagesCQ newQueryLanguages() {
-        return new LanguagesCQ(this, getSqlClause(), "Languages", getNextNestLevel());
-    }
-
-    /**
-     * Has condition query?
-     * 
-     * @return Determination.
-     */
-    public boolean hasConditionQueryLanguages() {
-        return _conditionQueryLanguages != null;
-    }
   
-              
+                          
 }

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,426 @@
+package jp.sf.pal.pompei.cbean.cq.bs;
+
+import jp.sf.pal.pompei.cbean.cq.*;
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.pompei.cbean.cq.ciq.*;
+
+/**
+ * The condition-query of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class BsProductsOptionsDescriptionCQ extends AbstractBsProductsOptionsDescriptionCQ {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Corresponding inline query. */
+    protected ProductsOptionsDescriptionCIQ _inlineQuery;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public BsProductsOptionsDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    // ===================================================================================
+    //                                                                              Inline
+    //                                                                              ======
+    /**
+     * Get inline query.
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public ProductsOptionsDescriptionCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new ProductsOptionsDescriptionCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);
+        }
+        return _inlineQuery;
+    }
+
+    // ===================================================================================
+    //                                                                     Include-as-Mine
+    //                                                                     ===============
+  
+    /**
+     * Include select-column of productsOptionsId as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_ProductsOptionsId() {
+        registerIncludedSelectColumn("ProductsOptionsId", getRealColumnName("PRODUCTS_OPTIONS_ID"));
+    }
+
+    /**
+     * Include select-column of productsOptionsId as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_ProductsOptionsId(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_ID"));
+    }
+  
+    /**
+     * Include select-column of languageId as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_LanguageId() {
+        registerIncludedSelectColumn("LanguageId", getRealColumnName("LANGUAGE_ID"));
+    }
+
+    /**
+     * Include select-column of languageId as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_LanguageId(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE_ID"));
+    }
+  
+    /**
+     * Include select-column of productsOptionsName as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_ProductsOptionsName() {
+        registerIncludedSelectColumn("ProductsOptionsName", getRealColumnName("PRODUCTS_OPTIONS_NAME"));
+    }
+
+    /**
+     * Include select-column of productsOptionsName as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_ProductsOptionsName(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_NAME"));
+    }
+  
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_DESCRIPTION]
+    // * * * * * * * * */
+  
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_ID]
+    // - - - - - - - - -/
+
+    /** The attribute of productsOptionsId. */
+    protected ConditionValue _productsOptionsId;
+
+    /**
+     * Get the value of productsOptionsId.
+     * 
+     * @return The value of productsOptionsId.
+     */
+    public ConditionValue getProductsOptionsId() {
+        if (_productsOptionsId == null) {
+            _productsOptionsId = new ConditionValue();
+        }
+        return _productsOptionsId;
+    }
+
+    protected ConditionValue getCValueProductsOptionsId() {
+        return getProductsOptionsId();
+    }
+
+              
+    /** The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery. */
+    protected ProductsOptionsCQ _productsOptionsId_InScopeSubQuery_ProductsOptions;
+
+    /**
+     * Get the sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsId_InScopeSubQuery_ProductsOptions using inScopeSubQuery. (Nullable)
+     */
+    public ProductsOptionsCQ getProductsOptionsId_InScopeSubQuery_ProductsOptions() {
+        return _productsOptionsId_InScopeSubQuery_ProductsOptions;
+    }
+
+    public void keepProductsOptionsId_InScopeSubQuery_ProductsOptions(ProductsOptionsCQ subQuery) {
+        _productsOptionsId_InScopeSubQuery_ProductsOptions = subQuery;
+    }
+                                          
+    /**
+     * Add order-by of productsOptionsId as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsDescriptionCQ addOrderBy_ProductsOptionsId_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_ID), null, true);return this;
+    }
+
+    /**
+     * Add order-by of productsOptionsId as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsDescriptionCQ addOrderBy_ProductsOptionsId_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_ID), null, false);return this;
+    }
+      
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [LANGUAGE_ID]
+    // - - - - - - - - -/
+
+    /** The attribute of languageId. */
+    protected ConditionValue _languageId;
+
+    /**
+     * Get the value of languageId.
+     * 
+     * @return The value of languageId.
+     */
+    public ConditionValue getLanguageId() {
+        if (_languageId == null) {
+            _languageId = new ConditionValue();
+        }
+        return _languageId;
+    }
+
+    protected ConditionValue getCValueLanguageId() {
+        return getLanguageId();
+    }
+
+              
+    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
+    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
+
+    /**
+     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * 
+     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
+     */
+    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
+        return _languageId_InScopeSubQuery_Languages;
+    }
+
+    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
+        _languageId_InScopeSubQuery_Languages = subQuery;
+    }
+                                          
+    /**
+     * Add order-by of languageId as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsDescriptionCQ addOrderBy_LanguageId_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, true);return this;
+    }
+
+    /**
+     * Add order-by of languageId as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsDescriptionCQ addOrderBy_LanguageId_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, false);return this;
+    }
+      
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_NAME]
+    // - - - - - - - - -/
+
+    /** The attribute of productsOptionsName. */
+    protected ConditionValue _productsOptionsName;
+
+    /**
+     * Get the value of productsOptionsName.
+     * 
+     * @return The value of productsOptionsName.
+     */
+    public ConditionValue getProductsOptionsName() {
+        if (_productsOptionsName == null) {
+            _productsOptionsName = new ConditionValue();
+        }
+        return _productsOptionsName;
+    }
+
+    protected ConditionValue getCValueProductsOptionsName() {
+        return getProductsOptionsName();
+    }
+
+                                                  
+    /**
+     * Add order-by of productsOptionsName as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsDescriptionCQ addOrderBy_ProductsOptionsName_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_NAME), null, true);return this;
+    }
+
+    /**
+     * Add order-by of productsOptionsName as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsDescriptionCQ addOrderBy_ProductsOptionsName_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_NAME), null, false);return this;
+    }
+      
+    // ===================================================================================
+    //                                                                         Union Query
+    //                                                                         ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        final ProductsOptionsDescriptionCQ baseQuery = (ProductsOptionsDescriptionCQ)baseQueryAsSuper;
+        final ProductsOptionsDescriptionCQ unionQuery = (ProductsOptionsDescriptionCQ)unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryLanguages()) {
+            unionQuery.queryLanguages().reflectRelationOnUnionQuery(baseQuery.queryLanguages(), unionQuery.queryLanguages());
+        }
+        if (baseQuery.hasConditionQueryProductsOptions()) {
+            unionQuery.queryProductsOptions().reflectRelationOnUnionQuery(baseQuery.queryProductsOptions(), unionQuery.queryProductsOptions());
+        }
+
+    }
+
+    // ===================================================================================
+    //                                                                       Foreign Query
+    //                                                                       =============
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /**
+     * Query for languages.
+     * 
+     * @return Instance of LanguagesCQ as languages. (NotNull)
+     */
+    public LanguagesCQ queryLanguages() {
+        return getConditionQueryLanguages();
+    }
+
+    /** Condition-query for languages. */
+    protected LanguagesCQ _conditionQueryLanguages;
+
+    /**
+     * Get condition-query for languages.
+     * 
+     * @return Instance of LanguagesCQ as languages. (NotNull)
+     */
+    public LanguagesCQ getConditionQueryLanguages() {
+        if (_conditionQueryLanguages == null) {
+            _conditionQueryLanguages = newQueryLanguages();
+            setupOuterJoin_Languages();
+        }
+        return _conditionQueryLanguages;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_Languages() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("LANGUAGE_ID");
+        value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "LANGUAGES";
+        final String aliasName = getConditionQueryLanguages().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for languages.
+     * 
+     * @return Query for languages. (NotNull)
+     */
+    protected LanguagesCQ newQueryLanguages() {
+        return new LanguagesCQ(this, getSqlClause(), "Languages", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryLanguages() {
+        return _conditionQueryLanguages != null;
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /**
+     * Query for productsOptions.
+     * 
+     * @return Instance of ProductsOptionsCQ as productsOptions. (NotNull)
+     */
+    public ProductsOptionsCQ queryProductsOptions() {
+        return getConditionQueryProductsOptions();
+    }
+
+    /** Condition-query for productsOptions. */
+    protected ProductsOptionsCQ _conditionQueryProductsOptions;
+
+    /**
+     * Get condition-query for productsOptions.
+     * 
+     * @return Instance of ProductsOptionsCQ as productsOptions. (NotNull)
+     */
+    public ProductsOptionsCQ getConditionQueryProductsOptions() {
+        if (_conditionQueryProductsOptions == null) {
+            _conditionQueryProductsOptions = newQueryProductsOptions();
+            setupOuterJoin_ProductsOptions();
+        }
+        return _conditionQueryProductsOptions;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_ProductsOptions() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("PRODUCTS_OPTIONS_ID");
+        value = getConditionQueryProductsOptions().getRealColumnName("PRODUCTS_OPTIONS_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "PRODUCTS_OPTIONS";
+        final String aliasName = getConditionQueryProductsOptions().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for productsOptions.
+     * 
+     * @return Query for productsOptions. (NotNull)
+     */
+    protected ProductsOptionsCQ newQueryProductsOptions() {
+        return new ProductsOptionsCQ(this, getSqlClause(), "ProductsOptions", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryProductsOptions() {
+        return _conditionQueryProductsOptions != null;
+    }
+  
+  
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -72,42 +72,6 @@
         registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_VALUES_ID"));
     }
   
-    /**
-     * Include select-column of languageId as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_LanguageId() {
-        registerIncludedSelectColumn("LanguageId", getRealColumnName("LANGUAGE_ID"));
-    }
-
-    /**
-     * Include select-column of languageId as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_LanguageId(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE_ID"));
-    }
-  
-    /**
-     * Include select-column of productsOptionsValuesName as mine.
-     * Alias name is java-name of this column.
-     * Be careful to whether your table have the same column.
-     */
-    public void includeAsMine_ProductsOptionsValuesName() {
-        registerIncludedSelectColumn("ProductsOptionsValuesName", getRealColumnName("PRODUCTS_OPTIONS_VALUES_NAME"));
-    }
-
-    /**
-     * Include select-column of productsOptionsValuesName as mine.
-     * 
-     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
-     */
-    public void includeAsMine_ProductsOptionsValuesName(String aliasName) {
-        registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_VALUES_NAME"));
-    }
-  
     // ===================================================================================
     //                                                                               Query
     //                                                                               =====
@@ -155,6 +119,38 @@
         _productsOptionsValuesId_InScopeSubQuery_CustomersBasketAttributesList = subQuery;
     }
         
+    /** The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery. */
+    protected ProductsAttributesCQ _productsOptionsValuesId_InScopeSubQuery_ProductsAttributesList;
+
+    /**
+     * Get the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList using inScopeSubQuery. (Nullable)
+     */
+    public ProductsAttributesCQ getProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList() {
+        return _productsOptionsValuesId_InScopeSubQuery_ProductsAttributesList;
+    }
+
+    public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList(ProductsAttributesCQ subQuery) {
+        _productsOptionsValuesId_InScopeSubQuery_ProductsAttributesList = subQuery;
+    }
+        
+    /** The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery. */
+    protected ProductsOptionsValuesDescriptionCQ _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList;
+
+    /**
+     * Get the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList using inScopeSubQuery. (Nullable)
+     */
+    public ProductsOptionsValuesDescriptionCQ getProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList() {
+        return _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList;
+    }
+
+    public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(ProductsOptionsValuesDescriptionCQ subQuery) {
+        _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList = subQuery;
+    }
+        
     /** The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList using inScopeSubQuery. */
     protected ProductsOptionsValuesToProductsOptionsCQ _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList;
 
@@ -187,6 +183,38 @@
         _productsOptionsValuesId_ExistsSubQuery_CustomersBasketAttributesList = subQuery;
     }
                             
+    /** The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList using existsSubQuery. */
+    protected ProductsAttributesCQ _productsOptionsValuesId_ExistsSubQuery_ProductsAttributesList;
+
+    /**
+     * Get the sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList using existsSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList using existsSubQuery. (Nullable)
+     */
+    public ProductsAttributesCQ getProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList() {
+        return _productsOptionsValuesId_ExistsSubQuery_ProductsAttributesList;
+    }
+
+    public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList(ProductsAttributesCQ subQuery) {
+        _productsOptionsValuesId_ExistsSubQuery_ProductsAttributesList = subQuery;
+    }
+                            
+    /** The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery. */
+    protected ProductsOptionsValuesDescriptionCQ _productsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList;
+
+    /**
+     * Get the sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList using existsSubQuery. (Nullable)
+     */
+    public ProductsOptionsValuesDescriptionCQ getProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList() {
+        return _productsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList;
+    }
+
+    public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(ProductsOptionsValuesDescriptionCQ subQuery) {
+        _productsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList = subQuery;
+    }
+                            
     /** The sub-query of ProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList using existsSubQuery. */
     protected ProductsOptionsValuesToProductsOptionsCQ _productsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList;
 
@@ -221,186 +249,16 @@
         getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_ID), null, false);return this;
     }
       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGE_ID]
-    // - - - - - - - - -/
-
-    /** The attribute of languageId. */
-    protected ConditionValue _languageId;
-
-    /**
-     * Get the value of languageId.
-     * 
-     * @return The value of languageId.
-     */
-    public ConditionValue getLanguageId() {
-        if (_languageId == null) {
-            _languageId = new ConditionValue();
-        }
-        return _languageId;
-    }
-
-    protected ConditionValue getCValueLanguageId() {
-        return getLanguageId();
-    }
-
-              
-    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
-    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
-
-    /**
-     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
-     * 
-     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
-     */
-    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
-        return _languageId_InScopeSubQuery_Languages;
-    }
-
-    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
-        _languageId_InScopeSubQuery_Languages = subQuery;
-    }
-                                          
-    /**
-     * Add order-by of languageId as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsValuesCQ addOrderBy_LanguageId_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, true);return this;
-    }
-
-    /**
-     * Add order-by of languageId as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsValuesCQ addOrderBy_LanguageId_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, false);return this;
-    }
-      
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [PRODUCTS_OPTIONS_VALUES_NAME]
-    // - - - - - - - - -/
-
-    /** The attribute of productsOptionsValuesName. */
-    protected ConditionValue _productsOptionsValuesName;
-
-    /**
-     * Get the value of productsOptionsValuesName.
-     * 
-     * @return The value of productsOptionsValuesName.
-     */
-    public ConditionValue getProductsOptionsValuesName() {
-        if (_productsOptionsValuesName == null) {
-            _productsOptionsValuesName = new ConditionValue();
-        }
-        return _productsOptionsValuesName;
-    }
-
-    protected ConditionValue getCValueProductsOptionsValuesName() {
-        return getProductsOptionsValuesName();
-    }
-
-                                                  
-    /**
-     * Add order-by of productsOptionsValuesName as ASC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsValuesCQ addOrderBy_ProductsOptionsValuesName_Asc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_NAME), null, true);return this;
-    }
-
-    /**
-     * Add order-by of productsOptionsValuesName as DESC.
-     * 
-     * @return this. (NotNull)
-     */
-    public BsProductsOptionsValuesCQ addOrderBy_ProductsOptionsValuesName_Desc() {
-        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_NAME), null, false);return this;
-    }
-      
     // ===================================================================================
     //                                                                         Union Query
     //                                                                         ===========
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
-        final ProductsOptionsValuesCQ baseQuery = (ProductsOptionsValuesCQ)baseQueryAsSuper;
-        final ProductsOptionsValuesCQ unionQuery = (ProductsOptionsValuesCQ)unionQueryAsSuper;
-        if (baseQuery.hasConditionQueryLanguages()) {
-            unionQuery.queryLanguages().reflectRelationOnUnionQuery(baseQuery.queryLanguages(), unionQuery.queryLanguages());
-        }
 
     }
 
     // ===================================================================================
     //                                                                       Foreign Query
     //                                                                       =============
-      
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [LANGUAGES]
-    //   ForeignProperty = [languages]
-    // * * * * * * * * */
-
-    /**
-     * Query for languages.
-     * 
-     * @return Instance of LanguagesCQ as languages. (NotNull)
-     */
-    public LanguagesCQ queryLanguages() {
-        return getConditionQueryLanguages();
-    }
-
-    /** Condition-query for languages. */
-    protected LanguagesCQ _conditionQueryLanguages;
-
-    /**
-     * Get condition-query for languages.
-     * 
-     * @return Instance of LanguagesCQ as languages. (NotNull)
-     */
-    public LanguagesCQ getConditionQueryLanguages() {
-        if (_conditionQueryLanguages == null) {
-            _conditionQueryLanguages = newQueryLanguages();
-            setupOuterJoin_Languages();
-        }
-        return _conditionQueryLanguages;
-    }
-
-    /**
-     * Setup outer join for ${foreignPropertyName}.
-     */
-    protected void setupOuterJoin_Languages() {
-        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
-        String key = null;
-        String value = null;
-    
-        key = getRealColumnName("LANGUAGE_ID");
-        value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
-        joinOnMap.put(key, value);
-    
-        final String joinTableName = "LANGUAGES";
-        final String aliasName = getConditionQueryLanguages().getRealAliasName();
-        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
-    }
-
-    /**
-     * New query for languages.
-     * 
-     * @return Query for languages. (NotNull)
-     */
-    protected LanguagesCQ newQueryLanguages() {
-        return new LanguagesCQ(this, getSqlClause(), "Languages", getNextNestLevel());
-    }
-
-    /**
-     * Has condition query?
-     * 
-     * @return Determination.
-     */
-    public boolean hasConditionQueryLanguages() {
-        return _conditionQueryLanguages != null;
-    }
   
-              
+                          
 }

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesDescriptionCQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesDescriptionCQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesDescriptionCQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,426 @@
+package jp.sf.pal.pompei.cbean.cq.bs;
+
+import jp.sf.pal.pompei.cbean.cq.*;
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.pompei.cbean.cq.ciq.*;
+
+/**
+ * The condition-query of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class BsProductsOptionsValuesDescriptionCQ extends AbstractBsProductsOptionsValuesDescriptionCQ {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Corresponding inline query. */
+    protected ProductsOptionsValuesDescriptionCIQ _inlineQuery;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public BsProductsOptionsValuesDescriptionCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    // ===================================================================================
+    //                                                                              Inline
+    //                                                                              ======
+    /**
+     * Get inline query.
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new ProductsOptionsValuesDescriptionCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);
+        }
+        return _inlineQuery;
+    }
+
+    // ===================================================================================
+    //                                                                     Include-as-Mine
+    //                                                                     ===============
+  
+    /**
+     * Include select-column of productsOptionsValuesId as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_ProductsOptionsValuesId() {
+        registerIncludedSelectColumn("ProductsOptionsValuesId", getRealColumnName("PRODUCTS_OPTIONS_VALUES_ID"));
+    }
+
+    /**
+     * Include select-column of productsOptionsValuesId as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_ProductsOptionsValuesId(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_VALUES_ID"));
+    }
+  
+    /**
+     * Include select-column of languageId as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_LanguageId() {
+        registerIncludedSelectColumn("LanguageId", getRealColumnName("LANGUAGE_ID"));
+    }
+
+    /**
+     * Include select-column of languageId as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_LanguageId(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("LANGUAGE_ID"));
+    }
+  
+    /**
+     * Include select-column of productsOptionsValuesName as mine.
+     * Alias name is java-name of this column.
+     * Be careful to whether your table have the same column.
+     */
+    public void includeAsMine_ProductsOptionsValuesName() {
+        registerIncludedSelectColumn("ProductsOptionsValuesName", getRealColumnName("PRODUCTS_OPTIONS_VALUES_NAME"));
+    }
+
+    /**
+     * Include select-column of productsOptionsValuesName as mine.
+     * 
+     * @param aliasName Alias name. {select columnName as aliasName from ...} This should not contain comma. (NotNull)
+     */
+    public void includeAsMine_ProductsOptionsValuesName(String aliasName) {
+        registerIncludedSelectColumn(aliasName, getRealColumnName("PRODUCTS_OPTIONS_VALUES_NAME"));
+    }
+  
+    // ===================================================================================
+    //                                                                               Query
+    //                                                                               =====
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION]
+    // * * * * * * * * */
+  
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_VALUES_ID]
+    // - - - - - - - - -/
+
+    /** The attribute of productsOptionsValuesId. */
+    protected ConditionValue _productsOptionsValuesId;
+
+    /**
+     * Get the value of productsOptionsValuesId.
+     * 
+     * @return The value of productsOptionsValuesId.
+     */
+    public ConditionValue getProductsOptionsValuesId() {
+        if (_productsOptionsValuesId == null) {
+            _productsOptionsValuesId = new ConditionValue();
+        }
+        return _productsOptionsValuesId;
+    }
+
+    protected ConditionValue getCValueProductsOptionsValuesId() {
+        return getProductsOptionsValuesId();
+    }
+
+              
+    /** The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery. */
+    protected ProductsOptionsValuesCQ _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues;
+
+    /**
+     * Get the sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery.
+     * 
+     * @return The sub-query of ProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues using inScopeSubQuery. (Nullable)
+     */
+    public ProductsOptionsValuesCQ getProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues() {
+        return _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues;
+    }
+
+    public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(ProductsOptionsValuesCQ subQuery) {
+        _productsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues = subQuery;
+    }
+                                          
+    /**
+     * Add order-by of productsOptionsValuesId as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsValuesDescriptionCQ addOrderBy_ProductsOptionsValuesId_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_ID), null, true);return this;
+    }
+
+    /**
+     * Add order-by of productsOptionsValuesId as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsValuesDescriptionCQ addOrderBy_ProductsOptionsValuesId_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_ID), null, false);return this;
+    }
+      
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [LANGUAGE_ID]
+    // - - - - - - - - -/
+
+    /** The attribute of languageId. */
+    protected ConditionValue _languageId;
+
+    /**
+     * Get the value of languageId.
+     * 
+     * @return The value of languageId.
+     */
+    public ConditionValue getLanguageId() {
+        if (_languageId == null) {
+            _languageId = new ConditionValue();
+        }
+        return _languageId;
+    }
+
+    protected ConditionValue getCValueLanguageId() {
+        return getLanguageId();
+    }
+
+              
+    /** The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. */
+    protected LanguagesCQ _languageId_InScopeSubQuery_Languages;
+
+    /**
+     * Get the sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery.
+     * 
+     * @return The sub-query of LanguageId_InScopeSubQuery_Languages using inScopeSubQuery. (Nullable)
+     */
+    public LanguagesCQ getLanguageId_InScopeSubQuery_Languages() {
+        return _languageId_InScopeSubQuery_Languages;
+    }
+
+    public void keepLanguageId_InScopeSubQuery_Languages(LanguagesCQ subQuery) {
+        _languageId_InScopeSubQuery_Languages = subQuery;
+    }
+                                          
+    /**
+     * Add order-by of languageId as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsValuesDescriptionCQ addOrderBy_LanguageId_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, true);return this;
+    }
+
+    /**
+     * Add order-by of languageId as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsValuesDescriptionCQ addOrderBy_LanguageId_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_LANGUAGE_ID), null, false);return this;
+    }
+      
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_VALUES_NAME]
+    // - - - - - - - - -/
+
+    /** The attribute of productsOptionsValuesName. */
+    protected ConditionValue _productsOptionsValuesName;
+
+    /**
+     * Get the value of productsOptionsValuesName.
+     * 
+     * @return The value of productsOptionsValuesName.
+     */
+    public ConditionValue getProductsOptionsValuesName() {
+        if (_productsOptionsValuesName == null) {
+            _productsOptionsValuesName = new ConditionValue();
+        }
+        return _productsOptionsValuesName;
+    }
+
+    protected ConditionValue getCValueProductsOptionsValuesName() {
+        return getProductsOptionsValuesName();
+    }
+
+                                                  
+    /**
+     * Add order-by of productsOptionsValuesName as ASC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsValuesDescriptionCQ addOrderBy_ProductsOptionsValuesName_Asc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_NAME), null, true);return this;
+    }
+
+    /**
+     * Add order-by of productsOptionsValuesName as DESC.
+     * 
+     * @return this. (NotNull)
+     */
+    public BsProductsOptionsValuesDescriptionCQ addOrderBy_ProductsOptionsValuesName_Desc() {
+        getSqlClause().registerOrderBy(getRealColumnName(COL_PRODUCTS_OPTIONS_VALUES_NAME), null, false);return this;
+    }
+      
+    // ===================================================================================
+    //                                                                         Union Query
+    //                                                                         ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        final ProductsOptionsValuesDescriptionCQ baseQuery = (ProductsOptionsValuesDescriptionCQ)baseQueryAsSuper;
+        final ProductsOptionsValuesDescriptionCQ unionQuery = (ProductsOptionsValuesDescriptionCQ)unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryLanguages()) {
+            unionQuery.queryLanguages().reflectRelationOnUnionQuery(baseQuery.queryLanguages(), unionQuery.queryLanguages());
+        }
+        if (baseQuery.hasConditionQueryProductsOptionsValues()) {
+            unionQuery.queryProductsOptionsValues().reflectRelationOnUnionQuery(baseQuery.queryProductsOptionsValues(), unionQuery.queryProductsOptionsValues());
+        }
+
+    }
+
+    // ===================================================================================
+    //                                                                       Foreign Query
+    //                                                                       =============
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /**
+     * Query for languages.
+     * 
+     * @return Instance of LanguagesCQ as languages. (NotNull)
+     */
+    public LanguagesCQ queryLanguages() {
+        return getConditionQueryLanguages();
+    }
+
+    /** Condition-query for languages. */
+    protected LanguagesCQ _conditionQueryLanguages;
+
+    /**
+     * Get condition-query for languages.
+     * 
+     * @return Instance of LanguagesCQ as languages. (NotNull)
+     */
+    public LanguagesCQ getConditionQueryLanguages() {
+        if (_conditionQueryLanguages == null) {
+            _conditionQueryLanguages = newQueryLanguages();
+            setupOuterJoin_Languages();
+        }
+        return _conditionQueryLanguages;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_Languages() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("LANGUAGE_ID");
+        value = getConditionQueryLanguages().getRealColumnName("LANGUAGES_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "LANGUAGES";
+        final String aliasName = getConditionQueryLanguages().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for languages.
+     * 
+     * @return Query for languages. (NotNull)
+     */
+    protected LanguagesCQ newQueryLanguages() {
+        return new LanguagesCQ(this, getSqlClause(), "Languages", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryLanguages() {
+        return _conditionQueryLanguages != null;
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /**
+     * Query for productsOptionsValues.
+     * 
+     * @return Instance of ProductsOptionsValuesCQ as productsOptionsValues. (NotNull)
+     */
+    public ProductsOptionsValuesCQ queryProductsOptionsValues() {
+        return getConditionQueryProductsOptionsValues();
+    }
+
+    /** Condition-query for productsOptionsValues. */
+    protected ProductsOptionsValuesCQ _conditionQueryProductsOptionsValues;
+
+    /**
+     * Get condition-query for productsOptionsValues.
+     * 
+     * @return Instance of ProductsOptionsValuesCQ as productsOptionsValues. (NotNull)
+     */
+    public ProductsOptionsValuesCQ getConditionQueryProductsOptionsValues() {
+        if (_conditionQueryProductsOptionsValues == null) {
+            _conditionQueryProductsOptionsValues = newQueryProductsOptionsValues();
+            setupOuterJoin_ProductsOptionsValues();
+        }
+        return _conditionQueryProductsOptionsValues;
+    }
+
+    /**
+     * Setup outer join for ${foreignPropertyName}.
+     */
+    protected void setupOuterJoin_ProductsOptionsValues() {
+        final java.util.Map<String, String> joinOnMap = new java.util.LinkedHashMap<String, String>();
+        String key = null;
+        String value = null;
+    
+        key = getRealColumnName("PRODUCTS_OPTIONS_VALUES_ID");
+        value = getConditionQueryProductsOptionsValues().getRealColumnName("PRODUCTS_OPTIONS_VALUES_ID");
+        joinOnMap.put(key, value);
+    
+        final String joinTableName = "PRODUCTS_OPTIONS_VALUES";
+        final String aliasName = getConditionQueryProductsOptionsValues().getRealAliasName();
+        getSqlClause().registerOuterJoin(joinTableName, aliasName, joinOnMap);
+    }
+
+    /**
+     * New query for productsOptionsValues.
+     * 
+     * @return Query for productsOptionsValues. (NotNull)
+     */
+    protected ProductsOptionsValuesCQ newQueryProductsOptionsValues() {
+        return new ProductsOptionsValuesCQ(this, getSqlClause(), "ProductsOptionsValues", getNextNestLevel());
+    }
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQueryProductsOptionsValues() {
+        return _conditionQueryProductsOptionsValues != null;
+    }
+  
+  
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsOptionsValuesDescriptionCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoriesCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoriesCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CategoriesCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -84,6 +84,10 @@
     }
 
                             
+    public void keepCategoriesId_InScopeSubQuery_CategoriesSelfList(jp.sf.pal.pompei.cbean.cq.CategoriesCQ subQuery) {
+        _myCQ.keepCategoriesId_InScopeSubQuery_CategoriesSelfList(subQuery);
+    }
+        
     public void keepCategoriesId_InScopeSubQuery_CategoriesDescriptionList(jp.sf.pal.pompei.cbean.cq.CategoriesDescriptionCQ subQuery) {
         _myCQ.keepCategoriesId_InScopeSubQuery_CategoriesDescriptionList(subQuery);
     }
@@ -91,7 +95,7 @@
     public void keepCategoriesId_InScopeSubQuery_ProductsToCategoriesList(jp.sf.pal.pompei.cbean.cq.ProductsToCategoriesCQ subQuery) {
         _myCQ.keepCategoriesId_InScopeSubQuery_ProductsToCategoriesList(subQuery);
     }
-                                      
+                                                        
     public void keepCategoriesId_ExistsSubQuery_CategoriesDescriptionList(jp.sf.pal.pompei.cbean.cq.CategoriesDescriptionCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
         // _myCQ.keepCategoriesId_ExistsSubQuery_CategoriesDescriptionList(subQuery);
@@ -117,7 +121,11 @@
         return _myCQ.getParentId();
     }
 
-                                                        
+              
+    public void keepParentId_InScopeSubQuery_CategoriesSelf(jp.sf.pal.pompei.cbean.cq.CategoriesCQ subQuery) {
+        _myCQ.keepParentId_InScopeSubQuery_CategoriesSelf(subQuery);
+    }
+                                                    
     // /- - - - - - - - - - - - - - - - - - - - - - -
     //   Column = [SORT_ORDER]
     // - - - - - - - - -/

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/DeliveryMethodDescriptionCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/DeliveryMethodDescriptionCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/DeliveryMethodDescriptionCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -95,7 +95,11 @@
         return _myCQ.getLanguageId();
     }
 
-                                                        
+              
+    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
+    }
+                                                
     // /- - - - - - - - - - - - - - - - - - - - - - -
     //   Column = [DELIVERY_METHOD_NAME]
     // - - - - - - - - -/
@@ -104,16 +108,4 @@
     }
 
                                                         
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGES_ID]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueLanguagesId() {
-        return _myCQ.getLanguagesId();
-    }
-
-              
-    public void keepLanguagesId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        _myCQ.keepLanguagesId_InScopeSubQuery_Languages(subQuery);
-    }
-                                                
 }

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/LanguagesCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/LanguagesCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/LanguagesCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -96,20 +96,20 @@
         _myCQ.keepLanguagesId_InScopeSubQuery_ManufacturersInfoList(subQuery);
     }
         
-    public void keepLanguagesId_InScopeSubQuery_OrdersStatusList(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery) {
-        _myCQ.keepLanguagesId_InScopeSubQuery_OrdersStatusList(subQuery);
+    public void keepLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
+        _myCQ.keepLanguagesId_InScopeSubQuery_OrdersStatusDescriptionList(subQuery);
     }
         
     public void keepLanguagesId_InScopeSubQuery_ProductsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsDescriptionCQ subQuery) {
         _myCQ.keepLanguagesId_InScopeSubQuery_ProductsDescriptionList(subQuery);
     }
         
-    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
-        _myCQ.keepLanguagesId_InScopeSubQuery_ProductsOptionsList(subQuery);
+    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
+        _myCQ.keepLanguagesId_InScopeSubQuery_ProductsOptionsDescriptionList(subQuery);
     }
         
-    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
-        _myCQ.keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesList(subQuery);
+    public void keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
+        _myCQ.keepLanguagesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(subQuery);
     }
         
     public void keepLanguagesId_InScopeSubQuery_ReviewsDescriptionList(jp.sf.pal.pompei.cbean.cq.ReviewsDescriptionCQ subQuery) {
@@ -131,9 +131,9 @@
         // _myCQ.keepLanguagesId_ExistsSubQuery_ManufacturersInfoList(subQuery);
     }
                             
-    public void keepLanguagesId_ExistsSubQuery_OrdersStatusList(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery) {
+    public void keepLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
-        // _myCQ.keepLanguagesId_ExistsSubQuery_OrdersStatusList(subQuery);
+        // _myCQ.keepLanguagesId_ExistsSubQuery_OrdersStatusDescriptionList(subQuery);
     }
                             
     public void keepLanguagesId_ExistsSubQuery_ProductsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsDescriptionCQ subQuery) {
@@ -141,14 +141,14 @@
         // _myCQ.keepLanguagesId_ExistsSubQuery_ProductsDescriptionList(subQuery);
     }
                             
-    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
-        // _myCQ.keepLanguagesId_ExistsSubQuery_ProductsOptionsList(subQuery);
+        // _myCQ.keepLanguagesId_ExistsSubQuery_ProductsOptionsDescriptionList(subQuery);
     }
                             
-    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+    public void keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
-        // _myCQ.keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesList(subQuery);
+        // _myCQ.keepLanguagesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(subQuery);
     }
                             
     public void keepLanguagesId_ExistsSubQuery_ReviewsDescriptionList(jp.sf.pal.pompei.cbean.cq.ReviewsDescriptionCQ subQuery) {

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -96,6 +96,10 @@
         _myCQ.keepOrdersId_InScopeSubQuery_OrdersProductsDownloadList(subQuery);
     }
         
+    public void keepOrdersId_InScopeSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery) {
+        _myCQ.keepOrdersId_InScopeSubQuery_OrdersStatusHistoryList(subQuery);
+    }
+        
     public void keepOrdersId_InScopeSubQuery_OrdersTotalList(jp.sf.pal.pompei.cbean.cq.OrdersTotalCQ subQuery) {
         _myCQ.keepOrdersId_InScopeSubQuery_OrdersTotalList(subQuery);
     }
@@ -115,6 +119,11 @@
         // _myCQ.keepOrdersId_ExistsSubQuery_OrdersProductsDownloadList(subQuery);
     }
                             
+    public void keepOrdersId_ExistsSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery) {
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+        // _myCQ.keepOrdersId_ExistsSubQuery_OrdersStatusHistoryList(subQuery);
+    }
+                            
     public void keepOrdersId_ExistsSubQuery_OrdersTotalList(jp.sf.pal.pompei.cbean.cq.OrdersTotalCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
         // _myCQ.keepOrdersId_ExistsSubQuery_OrdersTotalList(subQuery);

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -88,6 +88,10 @@
         _myCQ.keepOrdersStatusId_InScopeSubQuery_OrdersList(subQuery);
     }
         
+    public void keepOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
+        _myCQ.keepOrdersStatusId_InScopeSubQuery_OrdersStatusDescriptionList(subQuery);
+    }
+        
     public void keepOrdersStatusId_InScopeSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery) {
         _myCQ.keepOrdersStatusId_InScopeSubQuery_OrdersStatusHistoryList(subQuery);
     }
@@ -97,29 +101,14 @@
         // _myCQ.keepOrdersStatusId_ExistsSubQuery_OrdersList(subQuery);
     }
                             
+    public void keepOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList(jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ subQuery) {
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+        // _myCQ.keepOrdersStatusId_ExistsSubQuery_OrdersStatusDescriptionList(subQuery);
+    }
+                            
     public void keepOrdersStatusId_ExistsSubQuery_OrdersStatusHistoryList(jp.sf.pal.pompei.cbean.cq.OrdersStatusHistoryCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
         // _myCQ.keepOrdersStatusId_ExistsSubQuery_OrdersStatusHistoryList(subQuery);
     }
                                                       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGE_ID]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueLanguageId() {
-        return _myCQ.getLanguageId();
-    }
-
-              
-    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
-    }
-                                                
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [ORDERS_STATUS_NAME]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueOrdersStatusName() {
-        return _myCQ.getOrdersStatusName();
-    }
-
-                                                        
 }

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusDescriptionCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusDescriptionCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusDescriptionCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,111 @@
+package jp.sf.pal.pompei.cbean.cq.ciq;
+
+import jp.sf.pal.pompei.cbean.cq.bs.*;
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.ckey.*;
+import jp.sf.pal.pompei.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+
+/**
+ * The condition-inline-query of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescriptionCIQ extends AbstractBsOrdersStatusDescriptionCQ {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Corresponding condition query. */
+    protected BsOrdersStatusDescriptionCQ _myCQ;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     * @param myCQ Target wrapped condition-qyery. (NotNull)
+     */
+    public OrdersStatusDescriptionCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsOrdersStatusDescriptionCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+    }
+
+    // ===================================================================================
+    //                                                             Override about Register
+    //                                                             =======================
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException("InlineQuery must not need UNION method: " + baseQueryAsSuper + " : " + unionQueryAsSuper);
+    }
+
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
+                                                             , String colName, String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName);
+    }
+
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
+                                                             , String colName, String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName, option);
+    }
+
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        return columnName;// No append alias name!
+    }
+
+    protected void registerExistsSubQuery(ConditionQuery subQuery
+                                 , String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException("Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    // ===================================================================================
+    //                                                                Override about Query
+    //                                                                ====================
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [ORDERS_STATUS_DESCRIPTION]
+    // * * * * * * * * */
+
+  
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [ORDERS_STATUS_ID]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueOrdersStatusId() {
+        return _myCQ.getOrdersStatusId();
+    }
+
+              
+    public void keepOrdersStatusId_InScopeSubQuery_OrdersStatus(jp.sf.pal.pompei.cbean.cq.OrdersStatusCQ subQuery) {
+        _myCQ.keepOrdersStatusId_InScopeSubQuery_OrdersStatus(subQuery);
+    }
+                                                
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [LANGUAGE_ID]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueLanguageId() {
+        return _myCQ.getLanguageId();
+    }
+
+              
+    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
+    }
+                                                
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [ORDERS_STATUS_NAME]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueOrdersStatusName() {
+        return _myCQ.getOrdersStatusName();
+    }
+
+                                                        
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusDescriptionCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusHistoryCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusHistoryCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersStatusHistoryCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -91,7 +91,11 @@
         return _myCQ.getOrdersId();
     }
 
-                                                        
+              
+    public void keepOrdersId_InScopeSubQuery_Orders(jp.sf.pal.pompei.cbean.cq.OrdersCQ subQuery) {
+        _myCQ.keepOrdersId_InScopeSubQuery_Orders(subQuery);
+    }
+                                                
     // /- - - - - - - - - - - - - - - - - - - - - - -
     //   Column = [ORDERS_STATUS_ID]
     // - - - - - - - - -/

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsAttributesCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsAttributesCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsAttributesCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -112,7 +112,11 @@
         return _myCQ.getOptionsId();
     }
 
-                                                        
+              
+    public void keepOptionsId_InScopeSubQuery_ProductsOptions(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+        _myCQ.keepOptionsId_InScopeSubQuery_ProductsOptions(subQuery);
+    }
+                                                
     // /- - - - - - - - - - - - - - - - - - - - - - -
     //   Column = [OPTIONS_VALUES_ID]
     // - - - - - - - - -/
@@ -120,7 +124,11 @@
         return _myCQ.getOptionsValuesId();
     }
 
-                                                        
+              
+    public void keepOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+        _myCQ.keepOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(subQuery);
+    }
+                                                
     // /- - - - - - - - - - - - - - - - - - - - - - -
     //   Column = [OPTIONS_VALUES_PRICE]
     // - - - - - - - - -/

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -88,6 +88,14 @@
         _myCQ.keepProductsOptionsId_InScopeSubQuery_CustomersBasketAttributesList(subQuery);
     }
         
+    public void keepProductsOptionsId_InScopeSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        _myCQ.keepProductsOptionsId_InScopeSubQuery_ProductsAttributesList(subQuery);
+    }
+        
+    public void keepProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
+        _myCQ.keepProductsOptionsId_InScopeSubQuery_ProductsOptionsDescriptionList(subQuery);
+    }
+        
     public void keepProductsOptionsId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesToProductsOptionsCQ subQuery) {
         _myCQ.keepProductsOptionsId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList(subQuery);
     }
@@ -97,29 +105,19 @@
         // _myCQ.keepProductsOptionsId_ExistsSubQuery_CustomersBasketAttributesList(subQuery);
     }
                             
+    public void keepProductsOptionsId_ExistsSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+        // _myCQ.keepProductsOptionsId_ExistsSubQuery_ProductsAttributesList(subQuery);
+    }
+                            
+    public void keepProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ subQuery) {
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+        // _myCQ.keepProductsOptionsId_ExistsSubQuery_ProductsOptionsDescriptionList(subQuery);
+    }
+                            
     public void keepProductsOptionsId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesToProductsOptionsCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
         // _myCQ.keepProductsOptionsId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList(subQuery);
     }
                                                       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGE_ID]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueLanguageId() {
-        return _myCQ.getLanguageId();
-    }
-
-              
-    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
-    }
-                                                
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [PRODUCTS_OPTIONS_NAME]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueProductsOptionsName() {
-        return _myCQ.getProductsOptionsName();
-    }
-
-                                                        
 }

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsDescriptionCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsDescriptionCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsDescriptionCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,111 @@
+package jp.sf.pal.pompei.cbean.cq.ciq;
+
+import jp.sf.pal.pompei.cbean.cq.bs.*;
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.ckey.*;
+import jp.sf.pal.pompei.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+
+/**
+ * The condition-inline-query of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescriptionCIQ extends AbstractBsProductsOptionsDescriptionCQ {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Corresponding condition query. */
+    protected BsProductsOptionsDescriptionCQ _myCQ;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     * @param myCQ Target wrapped condition-qyery. (NotNull)
+     */
+    public ProductsOptionsDescriptionCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsProductsOptionsDescriptionCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+    }
+
+    // ===================================================================================
+    //                                                             Override about Register
+    //                                                             =======================
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException("InlineQuery must not need UNION method: " + baseQueryAsSuper + " : " + unionQueryAsSuper);
+    }
+
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
+                                                             , String colName, String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName);
+    }
+
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
+                                                             , String colName, String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName, option);
+    }
+
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        return columnName;// No append alias name!
+    }
+
+    protected void registerExistsSubQuery(ConditionQuery subQuery
+                                 , String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException("Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    // ===================================================================================
+    //                                                                Override about Query
+    //                                                                ====================
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_DESCRIPTION]
+    // * * * * * * * * */
+
+  
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_ID]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueProductsOptionsId() {
+        return _myCQ.getProductsOptionsId();
+    }
+
+              
+    public void keepProductsOptionsId_InScopeSubQuery_ProductsOptions(jp.sf.pal.pompei.cbean.cq.ProductsOptionsCQ subQuery) {
+        _myCQ.keepProductsOptionsId_InScopeSubQuery_ProductsOptions(subQuery);
+    }
+                                                
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [LANGUAGE_ID]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueLanguageId() {
+        return _myCQ.getLanguageId();
+    }
+
+              
+    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
+    }
+                                                
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_NAME]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueProductsOptionsName() {
+        return _myCQ.getProductsOptionsName();
+    }
+
+                                                        
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsDescriptionCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -88,6 +88,14 @@
         _myCQ.keepProductsOptionsValuesId_InScopeSubQuery_CustomersBasketAttributesList(subQuery);
     }
         
+    public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        _myCQ.keepProductsOptionsValuesId_InScopeSubQuery_ProductsAttributesList(subQuery);
+    }
+        
+    public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
+        _myCQ.keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesDescriptionList(subQuery);
+    }
+        
     public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesToProductsOptionsCQ subQuery) {
         _myCQ.keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValuesToProductsOptionsList(subQuery);
     }
@@ -97,29 +105,19 @@
         // _myCQ.keepProductsOptionsValuesId_ExistsSubQuery_CustomersBasketAttributesList(subQuery);
     }
                             
+    public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList(jp.sf.pal.pompei.cbean.cq.ProductsAttributesCQ subQuery) {
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+        // _myCQ.keepProductsOptionsValuesId_ExistsSubQuery_ProductsAttributesList(subQuery);
+    }
+                            
+    public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ subQuery) {
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
+        // _myCQ.keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesDescriptionList(subQuery);
+    }
+                            
     public void keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesToProductsOptionsCQ subQuery) {
         throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
         // _myCQ.keepProductsOptionsValuesId_ExistsSubQuery_ProductsOptionsValuesToProductsOptionsList(subQuery);
     }
                                                       
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [LANGUAGE_ID]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueLanguageId() {
-        return _myCQ.getLanguageId();
-    }
-
-              
-    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
-        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
-    }
-                                                
-    // /- - - - - - - - - - - - - - - - - - - - - - -
-    //   Column = [PRODUCTS_OPTIONS_VALUES_NAME]
-    // - - - - - - - - -/
-    protected ConditionValue getCValueProductsOptionsValuesName() {
-        return _myCQ.getProductsOptionsValuesName();
-    }
-
-                                                        
 }

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesDescriptionCIQ.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesDescriptionCIQ.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesDescriptionCIQ.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,111 @@
+package jp.sf.pal.pompei.cbean.cq.ciq;
+
+import jp.sf.pal.pompei.cbean.cq.bs.*;
+
+import jp.sf.pal.pompei.allcommon.cbean.*;
+import jp.sf.pal.pompei.allcommon.cbean.ckey.*;
+import jp.sf.pal.pompei.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.pompei.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.pompei.allcommon.cbean.sqlclause.SqlClause;
+
+/**
+ * The condition-inline-query of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescriptionCIQ extends AbstractBsProductsOptionsValuesDescriptionCQ {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Corresponding condition query. */
+    protected BsProductsOptionsValuesDescriptionCQ _myCQ;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     * @param myCQ Target wrapped condition-qyery. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsProductsOptionsValuesDescriptionCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+    }
+
+    // ===================================================================================
+    //                                                             Override about Register
+    //                                                             =======================
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException("InlineQuery must not need UNION method: " + baseQueryAsSuper + " : " + unionQueryAsSuper);
+    }
+
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
+                                                             , String colName, String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName);
+    }
+
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
+                                                             , String colName, String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName, option);
+    }
+
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        return columnName;// No append alias name!
+    }
+
+    protected void registerExistsSubQuery(ConditionQuery subQuery
+                                 , String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException("Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    // ===================================================================================
+    //                                                                Override about Query
+    //                                                                ====================
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   MyTable = [PRODUCTS_OPTIONS_VALUES_DESCRIPTION]
+    // * * * * * * * * */
+
+  
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_VALUES_ID]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueProductsOptionsValuesId() {
+        return _myCQ.getProductsOptionsValuesId();
+    }
+
+              
+    public void keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesCQ subQuery) {
+        _myCQ.keepProductsOptionsValuesId_InScopeSubQuery_ProductsOptionsValues(subQuery);
+    }
+                                                
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [LANGUAGE_ID]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueLanguageId() {
+        return _myCQ.getLanguageId();
+    }
+
+              
+    public void keepLanguageId_InScopeSubQuery_Languages(jp.sf.pal.pompei.cbean.cq.LanguagesCQ subQuery) {
+        _myCQ.keepLanguageId_InScopeSubQuery_Languages(subQuery);
+    }
+                                                
+    // /- - - - - - - - - - - - - - - - - - - - - - -
+    //   Column = [PRODUCTS_OPTIONS_VALUES_NAME]
+    // - - - - - - - - -/
+    protected ConditionValue getCValueProductsOptionsValuesName() {
+        return _myCQ.getProductsOptionsValuesName();
+    }
+
+                                                        
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsOptionsValuesDescriptionCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoriesNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoriesNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoriesNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -45,7 +45,28 @@
     // ===================================================================================
     //                                                                             With...
     //                                                                             =======
-    
+
+    /** Is select categoriesSelf? */
+    protected boolean _isSelectCategoriesSelf;
+
+    /**
+     * Is select categoriesSelf?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectCategoriesSelf() {
+        return _isSelectCategoriesSelf;
+    }
+
+    /**
+     * Set up select with categoriesSelf.
+     */
+    public void withCategoriesSelf() {
+        assertConditionQuery();
+        _query.queryCategoriesSelf();
+        _isSelectCategoriesSelf = true;
+    }
+      
     // ===================================================================================
     //                                                                              Helper
     //                                                                              ======

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -150,7 +150,7 @@
         _query.queryOrdersStatus();
         _isSelectOrdersStatus = true;
     }
-        
+          
     // ===================================================================================
     //                                                                              Helper
     //                                                                              ======

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusDescriptionNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusDescriptionNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusDescriptionNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,100 @@
+package jp.sf.pal.pompei.cbean.nss;
+
+
+import jp.sf.pal.pompei.cbean.cq.OrdersStatusDescriptionCQ;
+
+
+/**
+ * The nest select setupper of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescriptionNss {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Base query. */
+    protected OrdersStatusDescriptionCQ _query;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param query Base query. (NotNull)
+     */
+    public OrdersStatusDescriptionNss(OrdersStatusDescriptionCQ query) {
+        _query = query;
+    }
+
+    // ===================================================================================
+    //                                                                            Accessor
+    //                                                                            ========
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    // ===================================================================================
+    //                                                                             With...
+    //                                                                             =======
+
+    /** Is select languages? */
+    protected boolean _isSelectLanguages;
+
+    /**
+     * Is select languages?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectLanguages() {
+        return _isSelectLanguages;
+    }
+
+    /**
+     * Set up select with languages.
+     */
+    public void withLanguages() {
+        assertConditionQuery();
+        _query.queryLanguages();
+        _isSelectLanguages = true;
+    }
+
+    /** Is select ordersStatus? */
+    protected boolean _isSelectOrdersStatus;
+
+    /**
+     * Is select ordersStatus?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectOrdersStatus() {
+        return _isSelectOrdersStatus;
+    }
+
+    /**
+     * Set up select with ordersStatus.
+     */
+    public void withOrdersStatus() {
+        assertConditionQuery();
+        _query.queryOrdersStatus();
+        _isSelectOrdersStatus = true;
+    }
+
+    // ===================================================================================
+    //                                                                              Helper
+    //                                                                              ======
+    protected void assertConditionQuery() {
+        if (!hasConditionQuery()) {
+            String msg = "The query should not be null.";
+            throw new IllegalStateException(msg);
+        }
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusDescriptionNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusHistoryNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusHistoryNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusHistoryNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -46,6 +46,27 @@
     //                                                                             With...
     //                                                                             =======
 
+    /** Is select orders? */
+    protected boolean _isSelectOrders;
+
+    /**
+     * Is select orders?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectOrders() {
+        return _isSelectOrders;
+    }
+
+    /**
+     * Set up select with orders.
+     */
+    public void withOrders() {
+        assertConditionQuery();
+        _query.queryOrders();
+        _isSelectOrders = true;
+    }
+
     /** Is select ordersStatus? */
     protected boolean _isSelectOrdersStatus;
 

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersStatusNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -45,28 +45,7 @@
     // ===================================================================================
     //                                                                             With...
     //                                                                             =======
-
-    /** Is select languages? */
-    protected boolean _isSelectLanguages;
-
-    /**
-     * Is select languages?
-     * 
-     * @return Determination.
-     */
-    public boolean isSelectLanguages() {
-        return _isSelectLanguages;
-    }
-
-    /**
-     * Set up select with languages.
-     */
-    public void withLanguages() {
-        assertConditionQuery();
-        _query.queryLanguages();
-        _isSelectLanguages = true;
-    }
-    
+      
     // ===================================================================================
     //                                                                              Helper
     //                                                                              ======

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsAttributesNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsAttributesNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsAttributesNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -66,6 +66,48 @@
         _query.queryProducts();
         _isSelectProducts = true;
     }
+
+    /** Is select productsOptions? */
+    protected boolean _isSelectProductsOptions;
+
+    /**
+     * Is select productsOptions?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptions() {
+        return _isSelectProductsOptions;
+    }
+
+    /**
+     * Set up select with productsOptions.
+     */
+    public void withProductsOptions() {
+        assertConditionQuery();
+        _query.queryProductsOptions();
+        _isSelectProductsOptions = true;
+    }
+
+    /** Is select productsOptionsValues? */
+    protected boolean _isSelectProductsOptionsValues;
+
+    /**
+     * Is select productsOptionsValues?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptionsValues() {
+        return _isSelectProductsOptionsValues;
+    }
+
+    /**
+     * Set up select with productsOptionsValues.
+     */
+    public void withProductsOptionsValues() {
+        assertConditionQuery();
+        _query.queryProductsOptionsValues();
+        _isSelectProductsOptionsValues = true;
+    }
   
     /** Is select productsAttributesDownloadAsOne? */
     protected boolean _isSelectProductsAttributesDownloadAsOne;

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsDescriptionNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsDescriptionNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsDescriptionNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,100 @@
+package jp.sf.pal.pompei.cbean.nss;
+
+
+import jp.sf.pal.pompei.cbean.cq.ProductsOptionsDescriptionCQ;
+
+
+/**
+ * The nest select setupper of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescriptionNss {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Base query. */
+    protected ProductsOptionsDescriptionCQ _query;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param query Base query. (NotNull)
+     */
+    public ProductsOptionsDescriptionNss(ProductsOptionsDescriptionCQ query) {
+        _query = query;
+    }
+
+    // ===================================================================================
+    //                                                                            Accessor
+    //                                                                            ========
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    // ===================================================================================
+    //                                                                             With...
+    //                                                                             =======
+
+    /** Is select languages? */
+    protected boolean _isSelectLanguages;
+
+    /**
+     * Is select languages?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectLanguages() {
+        return _isSelectLanguages;
+    }
+
+    /**
+     * Set up select with languages.
+     */
+    public void withLanguages() {
+        assertConditionQuery();
+        _query.queryLanguages();
+        _isSelectLanguages = true;
+    }
+
+    /** Is select productsOptions? */
+    protected boolean _isSelectProductsOptions;
+
+    /**
+     * Is select productsOptions?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptions() {
+        return _isSelectProductsOptions;
+    }
+
+    /**
+     * Set up select with productsOptions.
+     */
+    public void withProductsOptions() {
+        assertConditionQuery();
+        _query.queryProductsOptions();
+        _isSelectProductsOptions = true;
+    }
+
+    // ===================================================================================
+    //                                                                              Helper
+    //                                                                              ======
+    protected void assertConditionQuery() {
+        if (!hasConditionQuery()) {
+            String msg = "The query should not be null.";
+            throw new IllegalStateException(msg);
+        }
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsDescriptionNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -45,28 +45,7 @@
     // ===================================================================================
     //                                                                             With...
     //                                                                             =======
-
-    /** Is select languages? */
-    protected boolean _isSelectLanguages;
-
-    /**
-     * Is select languages?
-     * 
-     * @return Determination.
-     */
-    public boolean isSelectLanguages() {
-        return _isSelectLanguages;
-    }
-
-    /**
-     * Set up select with languages.
-     */
-    public void withLanguages() {
-        assertConditionQuery();
-        _query.queryLanguages();
-        _isSelectLanguages = true;
-    }
-    
+        
     // ===================================================================================
     //                                                                              Helper
     //                                                                              ======

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesDescriptionNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesDescriptionNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesDescriptionNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,100 @@
+package jp.sf.pal.pompei.cbean.nss;
+
+
+import jp.sf.pal.pompei.cbean.cq.ProductsOptionsValuesDescriptionCQ;
+
+
+/**
+ * The nest select setupper of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescriptionNss {
+
+    // ===================================================================================
+    //                                                                           Attribute
+    //                                                                           =========
+    /** Base query. */
+    protected ProductsOptionsValuesDescriptionCQ _query;
+
+    // ===================================================================================
+    //                                                                         Constructor
+    //                                                                         ===========
+    /**
+     * Constructor.
+     * 
+     * @param query Base query. (NotNull)
+     */
+    public ProductsOptionsValuesDescriptionNss(ProductsOptionsValuesDescriptionCQ query) {
+        _query = query;
+    }
+
+    // ===================================================================================
+    //                                                                            Accessor
+    //                                                                            ========
+
+    /**
+     * Has condition query?
+     * 
+     * @return Determination.
+     */
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    // ===================================================================================
+    //                                                                             With...
+    //                                                                             =======
+
+    /** Is select languages? */
+    protected boolean _isSelectLanguages;
+
+    /**
+     * Is select languages?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectLanguages() {
+        return _isSelectLanguages;
+    }
+
+    /**
+     * Set up select with languages.
+     */
+    public void withLanguages() {
+        assertConditionQuery();
+        _query.queryLanguages();
+        _isSelectLanguages = true;
+    }
+
+    /** Is select productsOptionsValues? */
+    protected boolean _isSelectProductsOptionsValues;
+
+    /**
+     * Is select productsOptionsValues?
+     * 
+     * @return Determination.
+     */
+    public boolean isSelectProductsOptionsValues() {
+        return _isSelectProductsOptionsValues;
+    }
+
+    /**
+     * Set up select with productsOptionsValues.
+     */
+    public void withProductsOptionsValues() {
+        assertConditionQuery();
+        _query.queryProductsOptionsValues();
+        _isSelectProductsOptionsValues = true;
+    }
+
+    // ===================================================================================
+    //                                                                              Helper
+    //                                                                              ======
+    protected void assertConditionQuery() {
+        if (!hasConditionQuery()) {
+            String msg = "The query should not be null.";
+            throw new IllegalStateException(msg);
+        }
+    }
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesDescriptionNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesNss.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesNss.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsOptionsValuesNss.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -45,28 +45,7 @@
     // ===================================================================================
     //                                                                             With...
     //                                                                             =======
-
-    /** Is select languages? */
-    protected boolean _isSelectLanguages;
-
-    /**
-     * Is select languages?
-     * 
-     * @return Determination.
-     */
-    public boolean isSelectLanguages() {
-        return _isSelectLanguages;
-    }
-
-    /**
-     * Set up select with languages.
-     */
-    public void withLanguages() {
-        assertConditionQuery();
-        _query.queryLanguages();
-        _isSelectLanguages = true;
-    }
-    
+        
     // ===================================================================================
     //                                                                              Helper
     //                                                                              ======

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/OrdersStatusDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/OrdersStatusDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/OrdersStatusDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.exbhv;
+
+
+/**
+ * The behavior of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescriptionBhv extends jp.sf.pal.pompei.bsbhv.BsOrdersStatusDescriptionBhv {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/OrdersStatusDescriptionBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.exbhv;
+
+
+/**
+ * The behavior of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescriptionBhv extends jp.sf.pal.pompei.bsbhv.BsProductsOptionsDescriptionBhv {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsDescriptionBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsValuesDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsValuesDescriptionBhv.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsValuesDescriptionBhv.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.exbhv;
+
+
+/**
+ * The behavior of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescriptionBhv extends jp.sf.pal.pompei.bsbhv.BsProductsOptionsValuesDescriptionBhv {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exbhv/ProductsOptionsValuesDescriptionBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/OrdersStatusDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/OrdersStatusDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/OrdersStatusDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.exdao;
+
+
+/**
+ * The dao interface of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface OrdersStatusDescriptionDao extends jp.sf.pal.pompei.bsdao.BsOrdersStatusDescriptionDao {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/OrdersStatusDescriptionDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.exdao;
+
+
+/**
+ * The dao interface of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface ProductsOptionsDescriptionDao extends jp.sf.pal.pompei.bsdao.BsProductsOptionsDescriptionDao {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsDescriptionDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsValuesDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsValuesDescriptionDao.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsValuesDescriptionDao.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,10 @@
+package jp.sf.pal.pompei.exdao;
+
+
+/**
+ * The dao interface of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface ProductsOptionsValuesDescriptionDao extends jp.sf.pal.pompei.bsdao.BsProductsOptionsValuesDescriptionDao {
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exdao/ProductsOptionsValuesDescriptionDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrdersStatusDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrdersStatusDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrdersStatusDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,13 @@
+package jp.sf.pal.pompei.exentity;
+
+
+/**
+ * The entity of ORDERS_STATUS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class OrdersStatusDescription extends jp.sf.pal.pompei.bsentity.BsOrdersStatusDescription {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/OrdersStatusDescription.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,13 @@
+package jp.sf.pal.pompei.exentity;
+
+
+/**
+ * The entity of PRODUCTS_OPTIONS_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsDescription extends jp.sf.pal.pompei.bsentity.BsProductsOptionsDescription {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsDescription.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsValuesDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsValuesDescription.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsValuesDescription.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -0,0 +1,13 @@
+package jp.sf.pal.pompei.exentity;
+
+
+/**
+ * The entity of PRODUCTS_OPTIONS_VALUES_DESCRIPTION.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class ProductsOptionsValuesDescription extends jp.sf.pal.pompei.bsentity.BsProductsOptionsValuesDescription {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/exentity/ProductsOptionsValuesDescription.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -19,9 +19,9 @@
 
     public List<Orders> getOrdersList() {
         OrdersCB ordersCB = new OrdersCB();
-        ordersCB.setupSelect_OrdersStatus();
-        ordersCB.query().queryOrdersStatus().setLanguageId_Equal(
-                new BigDecimal("1"));
+        //        ordersCB.setupSelect_OrdersStatus();
+        //        ordersCB.query().queryOrdersStatus().setLanguageId_Equal(
+        //                new BigDecimal("1"));
         return ordersBhv.selectList(ordersCB);
     }
 
@@ -32,7 +32,7 @@
     }
 
     public void updateOrders(Orders orders) {
-        ordersBhv.insertOrUpdate(orders);
+        //        ordersBhv.insertOrUpdate(orders);
     }
 
     public OrdersBhv getOrdersBhv() {

Modified: 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/DeliveryMethodEditAction.java	2007-09-04 08:17:50 UTC (rev 531)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/order/DeliveryMethodEditAction.java	2007-09-04 08:24:39 UTC (rev 532)
@@ -1,6 +1,7 @@
 package jp.sf.pal.pompei.web.admin.order;
 
 import java.io.Serializable;
+import java.math.BigDecimal;
 import java.sql.Timestamp;
 import java.util.Date;
 
@@ -72,6 +73,8 @@
             getDeliveryMethodDxo().convert(getDeliveryMethodEditPage(),
                     dmd.getDeliveryMethod());
             getDeliveryMethodDxo().convert(getDeliveryMethodEditPage(), dmd);
+            //TODO LANGUAGE_ID
+            dmd.setLanguageId(new BigDecimal(1));
             getDeliveryMethodSerivce().addDeliveryMethod(dmd);
             FacesMessageUtil.addInfoMessage("added.delivery.method");
             return DeliveryMethodListPage.class;


pal-cvs メーリングリストの案内
Back to archive index