[pal-cvs 2784] [526] sync up with the latest db

svnno****@sourc***** svnno****@sourc*****
2007年 9月 3日 (月) 15:43:41 JST


Revision: 526
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=526
Author:   shinsuke
Date:     2007-09-03 15:43:34 +0900 (Mon, 03 Sep 2007)

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

Modified Paths:
--------------
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressBookBhv.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/BsCategoriesDescriptionBhv.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/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/BsCustomersBhv.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/BsManufacturersInfoBhv.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/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/BsProductsAttributesDownloadBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsDescriptionBhv.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsNotificationsBhv.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/BsProductsToCategoriesBhv.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/BsWhosOnlineBhv.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/BsAddressBookDao.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/BsCategoriesDescriptionDao.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/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/BsCustomersDao.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/BsManufacturersInfoDao.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/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/BsProductsAttributesDownloadDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDescriptionDao.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsNotificationsDao.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/BsProductsToCategoriesDao.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/BsWhosOnlineDao.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/BsCategoriesDescription.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/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/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/BsManufacturersInfo.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/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/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/BsProductsAttributesDownload.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsDescription.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsNotifications.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/BsProductsToCategories.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/BsWhosOnline.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/CategoriesDescriptionDbm.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/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/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/ManufacturersInfoDbm.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/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/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/ProductsAttributesDownloadDbm.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/ProductsDescriptionDbm.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsNotificationsDbm.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/ProductsToCategoriesDbm.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/WhosOnlineDbm.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/BsAddressBookCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsAddressFormatCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsBannersCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsBannersHistoryCB.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/BsCategoriesDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsConfigurationCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsConfigurationGroupCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCountriesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCustomersBasketAttributesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCustomersBasketCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCustomersCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsCustomersInfoCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsDeliveryMethodDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsGeoZonesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsLanguagesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsManufacturersInfoCB.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/BsOrdersProductsAttributesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsOrdersProductsDownloadCB.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/BsOrdersTotalCB.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/BsProductsAttributesDownloadCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsNotificationsCB.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/bs/BsProductsOptionsValuesToProductsOptionsCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsProductsToCategoriesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsReviewsCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsReviewsDescriptionCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsSpecialsCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsTaxClassCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsTaxRatesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsWhosOnlineCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsZonesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/bs/BsZonesToGeoZonesCB.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsAddressBookCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsAddressFormatCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsBannersCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsBannersHistoryCQ.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/AbstractBsCategoriesDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsConfigurationCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsConfigurationGroupCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCountriesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCustomersBasketAttributesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCustomersBasketCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCustomersCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsCustomersInfoCQ.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/AbstractBsGeoZonesCQ.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/AbstractBsManufacturersInfoCQ.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/AbstractBsOrdersProductsAttributesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsOrdersProductsDownloadCQ.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/AbstractBsOrdersTotalCQ.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/AbstractBsProductsAttributesDownloadCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsNotificationsCQ.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/AbstractBsProductsOptionsValuesToProductsOptionsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsProductsToCategoriesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsReviewsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsReviewsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsSpecialsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsTaxClassCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsTaxRatesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsWhosOnlineCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsZonesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/AbstractBsZonesToGeoZonesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsAddressBookCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsAddressFormatCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsBannersCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsBannersHistoryCQ.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/BsCategoriesDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsConfigurationCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsConfigurationGroupCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCountriesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCustomersBasketAttributesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCustomersBasketCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCustomersCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsCustomersInfoCQ.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/BsGeoZonesCQ.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/BsManufacturersInfoCQ.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/BsOrdersProductsAttributesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsOrdersProductsDownloadCQ.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/BsOrdersTotalCQ.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/BsProductsAttributesDownloadCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsNotificationsCQ.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/bs/BsProductsOptionsValuesToProductsOptionsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsProductsToCategoriesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsReviewsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsReviewsDescriptionCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsSpecialsCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsTaxClassCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsTaxRatesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsWhosOnlineCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsZonesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/bs/BsZonesToGeoZonesCQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/AddressBookCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/AddressFormatCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/BannersCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/BannersHistoryCIQ.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/CategoriesDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ConfigurationCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ConfigurationGroupCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CountriesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CustomersBasketAttributesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CustomersBasketCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CustomersCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/CustomersInfoCIQ.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/GeoZonesCIQ.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/ManufacturersInfoCIQ.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/OrdersProductsAttributesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/OrdersProductsDownloadCIQ.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/OrdersTotalCIQ.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/ProductsAttributesDownloadCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsNotificationsCIQ.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/cq/ciq/ProductsOptionsValuesToProductsOptionsCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ProductsToCategoriesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ReviewsCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ReviewsDescriptionCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/SpecialsCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/TaxClassCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/TaxRatesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/WhosOnlineCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ZonesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/cq/ciq/ZonesToGeoZonesCIQ.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/AddressBookNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/AddressFormatNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/BannersHistoryNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/BannersNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CategoriesDescriptionNss.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/ConfigurationGroupNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ConfigurationNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CountriesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CustomersBasketAttributesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CustomersBasketNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CustomersInfoNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/CustomersNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/DeliveryMethodDescriptionNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/GeoZonesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/LanguagesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ManufacturersInfoNss.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/OrdersProductsAttributesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/OrdersProductsDownloadNss.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/OrdersTotalNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsAttributesDownloadNss.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/ProductsDescriptionNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsNotificationsNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsNss.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/cbean/nss/ProductsOptionsValuesToProductsOptionsNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ProductsToCategoriesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ReviewsDescriptionNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ReviewsNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/SpecialsNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/TaxClassNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/TaxRatesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/WhosOnlineNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ZonesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/cbean/nss/ZonesToGeoZonesNss.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/service/impl/MemberServiceImpl.java
    pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/web/admin/member/MemberConfirmAction.java


-------------- next part --------------
Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressBookBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressBookBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressBookBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,8 +13,6 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
-import jp.sf.pal.pompei.exbhv.*;
-  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -33,10 +31,10 @@
  *     ADDRESS_BOOK_ID, CUSTOMERS_ID, ENTRY_GENDER, ENTRY_COMPANY, ENTRY_DEPARTMENT, ENTRY_FIRSTNAME, ENTRY_LASTNAME, ENTRY_STREET_ADDRESS, ENTRY_SUBURB, ENTRY_POSTCODE, ENTRY_CITY, ENTRY_STATE, ENTRY_TELEPHONE, ENTRY_FAX, ENTRY_CELLPHONE, ENTRY_COUNTRY_ID, ENTRY_ZONE_ID
  * 
  * [foreign-property]
- *     customers
+ *     countries, customers, zones
  * 
  * [refferer-property]
- *     customersList
+ *     
  * 
  * [sequence]
  *     
@@ -472,176 +470,70 @@
     //                                                                        Load Referer
     //                                                                        ============
   
-    // /* * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [CUSTOMERS]
-    //   RefererProperty = [customersList]
-    // * * * * * * * * */
-    
-    /**
-     * Load referer of customersList.
-     * <pre>
-     *   You can load referer.
-     * 
-     *   ex) {Client Example}
-     *     final AddressBookCB cb = new AddressBookCB();
-     *     cb.query().setXxx_Equal("xxx");
-     *     final List&lt;AddressBook&gt; addressBookList = addressBookBhv.selectList(cb);
-     *     addressBookBhv.loadCustomersList(addressBookList);
-     * 
-     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
-     * </pre>
-     * 
-     * @param addressBookList Entity list of addressBook. (NotNull)
-     */
-    public void loadCustomersList(java.util.List<AddressBook> addressBookList) {
-        final ConditionBeanSetupper<CustomersCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersCB>() {
-            public void setup(CustomersCB cb) {
-            }
-        };
-        loadCustomersList(addressBookList, conditionBeanSetupper);
-    }
+    // ===================================================================================
+    //                                                                    Pull Out Foreign
+    //                                                                    ================
 
     /**
-     * Load referer of customersList.
-     * <pre>
-     *   You can load referer with your original condition.
+     * Pull out the list of foreign table 'Countries'.
      * 
-     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
-     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-     *     final AddressBookCB cb = new AddressBookCB();
-     *     cb.query().setXxx_Equal("xxx");
-     *     final List&lt;AddressBook&gt; addressBookList = addressBookBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;CustomersCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersCB&gt;() {
-     *         public void setup(CustomersCB cb) {
-     *             cb.query().setXxx_IsNotNull();
-     *             cb.query().addOrderBy_Yyy_Desc();
-     *         }
-     *     };
-     *     addressBookBhv.loadCustomersList(addressBookList, conditionBeanSetupper);
-     *     - - - - - - - - - -/
-     * 
-     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
-     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-     *     cb.query().setCustomersDefaultAddressId_InScope(pkList);
-     *     cb.query().addOrderBy_CustomersDefaultAddressId_Asc();
-     *     - - - - - - - - - -/
-     * 
-     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
-     * </pre>
-     * 
-     * @param addressBookList Entity list of addressBook. (NotNull)
-     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     * @param addressBookList The list of addressBook. (NotNull)
+     * @return The list of foreign table. (NotNull)
      */
-    public void loadCustomersList(java.util.List<AddressBook> addressBookList, ConditionBeanSetupper<CustomersCB> conditionBeanSetupper) {
-        assertObjectNotNull("addressBookList<AddressBook>", addressBookList);
-        assertObjectNotNull("conditionBeanSetupper<CustomersCB>", conditionBeanSetupper);
-        if (addressBookList.isEmpty()) {
-            return;
+    public java.util.List<Countries> pulloutCountries(java.util.List<AddressBook> addressBookList) {
+        assertObjectNotNull("addressBookList", addressBookList);
+        final java.util.Set<Countries> foreignSet = new java.util.LinkedHashSet<Countries>();
+        for (java.util.Iterator ite = addressBookList.iterator(); ite.hasNext(); ) {
+            final AddressBook addressBook = (AddressBook)ite.next();
+            final Countries foreignEntity = addressBook.getCountries();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
         }
-        loadCustomersList(addressBookList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersCB, Customers>(conditionBeanSetupper));
+        return new java.util.ArrayList<Countries>(foreignSet);
     }
 
     /**
-     * Load referer of customersList.
-     * <pre>
-     *   You can load referer with your original condition.
+     * Pull out the list of foreign table 'Customers'.
      * 
-     *   ex) {Client Example}: Referer conditions are 'Xxx' is not null and order-by 'Yyy' desc
-     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-     *     final AddressBookCB cb = new AddressBookCB();
-     *     cb.query().setXxx_Equal("xxx");
-     *     final List&lt;AddressBook&gt; addressBookList = addressBookBhv.selectList(cb);
-     *     final ConditionBeanSetupper&lt;CustomersCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersCB&gt;() {
-     *         public void setup(CustomersCB cb) {
-     *             cb.query().setXxx_IsNotNull();
-     *             cb.query().addOrderBy_Yyy_Desc();
-     *         }
-     *     };
-     *     addressBookBhv.loadCustomersList(addressBookList, new LoadRefererOption<CustomersCB, Customers>(cbSetupper));
-     *     - - - - - - - - - -/
-     * 
-     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
-     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-     *     cb.query().setCustomersDefaultAddressId_InScope(pkList);
-     *     cb.query().addOrderBy_CustomersDefaultAddressId_Asc();
-     *     - - - - - - - - - -/
-     * 
-     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
-     * </pre>
-     * 
-     * @param addressBookList Entity list of addressBook. (NotNull)
-     * @param loadRefererOption Load-referer option. (NotNull)
+     * @param addressBookList The list of addressBook. (NotNull)
+     * @return The list of foreign table. (NotNull)
      */
-    public void loadCustomersList(java.util.List<AddressBook> addressBookList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersCB, Customers> loadRefererOption) {
-        assertObjectNotNull("addressBookList<AddressBook>", addressBookList);
-        assertObjectNotNull("loadRefererOption<Customers, CustomersCB>", loadRefererOption);
-        if (addressBookList.isEmpty()) {
-            return;
-        }
-
-        final java.util.Map<java.math.BigDecimal, AddressBook> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, AddressBook>();
-        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
-        for (AddressBook addressBook : addressBookList) {
-            pkList.add(addressBook.getAddressBookId());
-            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(addressBook.getAddressBookId()), addressBook);
-        }
-        final CustomersBhv refererBhv = getDaoSelector().getBehavior(CustomersBhv.class);
-        final CustomersCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
-        cb.query().setCustomersDefaultAddressId_InScope(pkList);
-        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
-        if (!loadRefererOption.isStopOrderByKey()) {
-            cb.query().addOrderBy_CustomersDefaultAddressId_Asc();
-            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
-        }
-        loadRefererOption.delegateConditionBeanSettingUp(cb);
-        final java.util.List<Customers> reffererList = refererBhv.selectList(cb);
-        loadRefererOption.delegateEntitySettingUp(reffererList);
-
-        final java.util.Map<java.math.BigDecimal, java.util.List<Customers>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Customers>>();
-        for (Customers reffererEntity : reffererList) {
-            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomersDefaultAddressId()))) {
-                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomersDefaultAddressId()), new java.util.ArrayList<Customers>());
+    public java.util.List<Customers> pulloutCustomers(java.util.List<AddressBook> addressBookList) {
+        assertObjectNotNull("addressBookList", addressBookList);
+        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        for (java.util.Iterator ite = addressBookList.iterator(); ite.hasNext(); ) {
+            final AddressBook addressBook = (AddressBook)ite.next();
+            final Customers foreignEntity = addressBook.getCustomers();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
             }
-            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomersDefaultAddressId()))).add(reffererEntity);
-
-            // for Reverse Reference.
-            final AddressBook myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomersDefaultAddressId()));
-            reffererEntity.setAddressBook(myEntity);
+            foreignSet.add(foreignEntity);
         }
-
-        for (AddressBook addressBook : addressBookList) {
-            if (pkReffererListMap.containsKey(toLowerCaseIfString(addressBook.getAddressBookId()))) {
-                addressBook.setCustomersList((java.util.List<Customers>)pkReffererListMap.get(toLowerCaseIfString(addressBook.getAddressBookId())));
-            } else {
-                addressBook.setCustomersList(new java.util.ArrayList<Customers>());
-            }
-        }
+        return new java.util.ArrayList<Customers>(foreignSet);
     }
-      
-    // ===================================================================================
-    //                                                                    Pull Out Foreign
-    //                                                                    ================
 
     /**
-     * Pull out the list of foreign table 'Customers'.
+     * Pull out the list of foreign table 'Zones'.
      * 
      * @param addressBookList The list of addressBook. (NotNull)
      * @return The list of foreign table. (NotNull)
      */
-    public java.util.List<Customers> pulloutCustomers(java.util.List<AddressBook> addressBookList) {
+    public java.util.List<Zones> pulloutZones(java.util.List<AddressBook> addressBookList) {
         assertObjectNotNull("addressBookList", addressBookList);
-        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        final java.util.Set<Zones> foreignSet = new java.util.LinkedHashSet<Zones>();
         for (java.util.Iterator ite = addressBookList.iterator(); ite.hasNext(); ) {
             final AddressBook addressBook = (AddressBook)ite.next();
-            final Customers foreignEntity = addressBook.getCustomers();
+            final Zones foreignEntity = addressBook.getZones();
             if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
                 continue;
             }
             foreignSet.add(foreignEntity);
         }
-        return new java.util.ArrayList<Customers>(foreignSet);
+        return new java.util.ArrayList<Zones>(foreignSet);
     }
-  
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsAddressFormatBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     ordersByCustomersAddressFormatIdList, ordersByDeliveryAddressFormatIdList, ordersByBillingAddressFormatIdList
  * 
  * [sequence]
  *     
@@ -470,10 +472,448 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS]
+    //   RefererProperty = [ordersByCustomersAddressFormatIdList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersByCustomersAddressFormatIdList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     addressFormatBhv.loadOrdersByCustomersAddressFormatIdList(addressFormatList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     */
+    public void loadOrdersByCustomersAddressFormatIdList(java.util.List<AddressFormat> addressFormatList) {
+        final ConditionBeanSetupper<OrdersCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersCB>() {
+            public void setup(OrdersCB cb) {
+            }
+        };
+        loadOrdersByCustomersAddressFormatIdList(addressFormatList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersByCustomersAddressFormatIdList.
+     * <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 AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersCB&gt;() {
+     *         public void setup(OrdersCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     addressFormatBhv.loadOrdersByCustomersAddressFormatIdList(addressFormatList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersAddressFormatId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersAddressFormatId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersByCustomersAddressFormatIdList(java.util.List<AddressFormat> addressFormatList, ConditionBeanSetupper<OrdersCB> conditionBeanSetupper) {
+        assertObjectNotNull("addressFormatList<AddressFormat>", addressFormatList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersCB>", conditionBeanSetupper);
+        if (addressFormatList.isEmpty()) {
+            return;
+        }
+        loadOrdersByCustomersAddressFormatIdList(addressFormatList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersCB, Orders>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersByCustomersAddressFormatIdList.
+     * <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 AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersCB&gt;() {
+     *         public void setup(OrdersCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     addressFormatBhv.loadOrdersByCustomersAddressFormatIdList(addressFormatList, new LoadRefererOption<OrdersCB, Orders>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersAddressFormatId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersAddressFormatId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersByCustomersAddressFormatIdList(java.util.List<AddressFormat> addressFormatList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersCB, Orders> loadRefererOption) {
+        assertObjectNotNull("addressFormatList<AddressFormat>", addressFormatList);
+        assertObjectNotNull("loadRefererOption<Orders, OrdersCB>", loadRefererOption);
+        if (addressFormatList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, AddressFormat> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, AddressFormat>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (AddressFormat addressFormat : addressFormatList) {
+            pkList.add(addressFormat.getAddressFormatId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(addressFormat.getAddressFormatId()), addressFormat);
+        }
+        final OrdersBhv refererBhv = getDaoSelector().getBehavior(OrdersBhv.class);
+        final OrdersCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCustomersAddressFormatId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CustomersAddressFormatId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Orders> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Orders>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Orders>>();
+        for (Orders reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomersAddressFormatId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomersAddressFormatId()), new java.util.ArrayList<Orders>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomersAddressFormatId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final AddressFormat myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomersAddressFormatId()));
+            reffererEntity.setAddressFormatByCustomersAddressFormatId(myEntity);
+        }
+
+        for (AddressFormat addressFormat : addressFormatList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(addressFormat.getAddressFormatId()))) {
+                addressFormat.setOrdersByCustomersAddressFormatIdList((java.util.List<Orders>)pkReffererListMap.get(toLowerCaseIfString(addressFormat.getAddressFormatId())));
+            } else {
+                addressFormat.setOrdersByCustomersAddressFormatIdList(new java.util.ArrayList<Orders>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS]
+    //   RefererProperty = [ordersByDeliveryAddressFormatIdList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersByDeliveryAddressFormatIdList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     addressFormatBhv.loadOrdersByDeliveryAddressFormatIdList(addressFormatList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     */
+    public void loadOrdersByDeliveryAddressFormatIdList(java.util.List<AddressFormat> addressFormatList) {
+        final ConditionBeanSetupper<OrdersCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersCB>() {
+            public void setup(OrdersCB cb) {
+            }
+        };
+        loadOrdersByDeliveryAddressFormatIdList(addressFormatList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersByDeliveryAddressFormatIdList.
+     * <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 AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersCB&gt;() {
+     *         public void setup(OrdersCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     addressFormatBhv.loadOrdersByDeliveryAddressFormatIdList(addressFormatList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setDeliveryAddressFormatId_InScope(pkList);
+     *     cb.query().addOrderBy_DeliveryAddressFormatId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersByDeliveryAddressFormatIdList(java.util.List<AddressFormat> addressFormatList, ConditionBeanSetupper<OrdersCB> conditionBeanSetupper) {
+        assertObjectNotNull("addressFormatList<AddressFormat>", addressFormatList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersCB>", conditionBeanSetupper);
+        if (addressFormatList.isEmpty()) {
+            return;
+        }
+        loadOrdersByDeliveryAddressFormatIdList(addressFormatList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersCB, Orders>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersByDeliveryAddressFormatIdList.
+     * <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 AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersCB&gt;() {
+     *         public void setup(OrdersCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     addressFormatBhv.loadOrdersByDeliveryAddressFormatIdList(addressFormatList, new LoadRefererOption<OrdersCB, Orders>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setDeliveryAddressFormatId_InScope(pkList);
+     *     cb.query().addOrderBy_DeliveryAddressFormatId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersByDeliveryAddressFormatIdList(java.util.List<AddressFormat> addressFormatList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersCB, Orders> loadRefererOption) {
+        assertObjectNotNull("addressFormatList<AddressFormat>", addressFormatList);
+        assertObjectNotNull("loadRefererOption<Orders, OrdersCB>", loadRefererOption);
+        if (addressFormatList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, AddressFormat> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, AddressFormat>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (AddressFormat addressFormat : addressFormatList) {
+            pkList.add(addressFormat.getAddressFormatId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(addressFormat.getAddressFormatId()), addressFormat);
+        }
+        final OrdersBhv refererBhv = getDaoSelector().getBehavior(OrdersBhv.class);
+        final OrdersCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setDeliveryAddressFormatId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_DeliveryAddressFormatId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Orders> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Orders>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Orders>>();
+        for (Orders reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getDeliveryAddressFormatId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getDeliveryAddressFormatId()), new java.util.ArrayList<Orders>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getDeliveryAddressFormatId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final AddressFormat myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getDeliveryAddressFormatId()));
+            reffererEntity.setAddressFormatByDeliveryAddressFormatId(myEntity);
+        }
+
+        for (AddressFormat addressFormat : addressFormatList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(addressFormat.getAddressFormatId()))) {
+                addressFormat.setOrdersByDeliveryAddressFormatIdList((java.util.List<Orders>)pkReffererListMap.get(toLowerCaseIfString(addressFormat.getAddressFormatId())));
+            } else {
+                addressFormat.setOrdersByDeliveryAddressFormatIdList(new java.util.ArrayList<Orders>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS]
+    //   RefererProperty = [ordersByBillingAddressFormatIdList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersByBillingAddressFormatIdList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     addressFormatBhv.loadOrdersByBillingAddressFormatIdList(addressFormatList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     */
+    public void loadOrdersByBillingAddressFormatIdList(java.util.List<AddressFormat> addressFormatList) {
+        final ConditionBeanSetupper<OrdersCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersCB>() {
+            public void setup(OrdersCB cb) {
+            }
+        };
+        loadOrdersByBillingAddressFormatIdList(addressFormatList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersByBillingAddressFormatIdList.
+     * <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 AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersCB&gt;() {
+     *         public void setup(OrdersCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     addressFormatBhv.loadOrdersByBillingAddressFormatIdList(addressFormatList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setBillingAddressFormatId_InScope(pkList);
+     *     cb.query().addOrderBy_BillingAddressFormatId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersByBillingAddressFormatIdList(java.util.List<AddressFormat> addressFormatList, ConditionBeanSetupper<OrdersCB> conditionBeanSetupper) {
+        assertObjectNotNull("addressFormatList<AddressFormat>", addressFormatList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersCB>", conditionBeanSetupper);
+        if (addressFormatList.isEmpty()) {
+            return;
+        }
+        loadOrdersByBillingAddressFormatIdList(addressFormatList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersCB, Orders>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersByBillingAddressFormatIdList.
+     * <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 AddressFormatCB cb = new AddressFormatCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;AddressFormat&gt; addressFormatList = addressFormatBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersCB&gt;() {
+     *         public void setup(OrdersCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     addressFormatBhv.loadOrdersByBillingAddressFormatIdList(addressFormatList, new LoadRefererOption<OrdersCB, Orders>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setBillingAddressFormatId_InScope(pkList);
+     *     cb.query().addOrderBy_BillingAddressFormatId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param addressFormatList Entity list of addressFormat. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersByBillingAddressFormatIdList(java.util.List<AddressFormat> addressFormatList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersCB, Orders> loadRefererOption) {
+        assertObjectNotNull("addressFormatList<AddressFormat>", addressFormatList);
+        assertObjectNotNull("loadRefererOption<Orders, OrdersCB>", loadRefererOption);
+        if (addressFormatList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, AddressFormat> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, AddressFormat>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (AddressFormat addressFormat : addressFormatList) {
+            pkList.add(addressFormat.getAddressFormatId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(addressFormat.getAddressFormatId()), addressFormat);
+        }
+        final OrdersBhv refererBhv = getDaoSelector().getBehavior(OrdersBhv.class);
+        final OrdersCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setBillingAddressFormatId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_BillingAddressFormatId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Orders> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Orders>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Orders>>();
+        for (Orders reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getBillingAddressFormatId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getBillingAddressFormatId()), new java.util.ArrayList<Orders>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getBillingAddressFormatId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final AddressFormat myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getBillingAddressFormatId()));
+            reffererEntity.setAddressFormatByBillingAddressFormatId(myEntity);
+        }
+
+        for (AddressFormat addressFormat : addressFormatList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(addressFormat.getAddressFormatId()))) {
+                addressFormat.setOrdersByBillingAddressFormatIdList((java.util.List<Orders>)pkReffererListMap.get(toLowerCaseIfString(addressFormat.getAddressFormatId())));
+            } else {
+                addressFormat.setOrdersByBillingAddressFormatIdList(new java.util.ArrayList<Orders>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+      
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     bannersHistoryList
  * 
  * [sequence]
  *     
@@ -470,10 +472,156 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [BANNERS_HISTORY]
+    //   RefererProperty = [bannersHistoryList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of bannersHistoryList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final BannersCB cb = new BannersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Banners&gt; bannersList = bannersBhv.selectList(cb);
+     *     bannersBhv.loadBannersHistoryList(bannersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param bannersList Entity list of banners. (NotNull)
+     */
+    public void loadBannersHistoryList(java.util.List<Banners> bannersList) {
+        final ConditionBeanSetupper<BannersHistoryCB> conditionBeanSetupper = new ConditionBeanSetupper<BannersHistoryCB>() {
+            public void setup(BannersHistoryCB cb) {
+            }
+        };
+        loadBannersHistoryList(bannersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of bannersHistoryList.
+     * <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 BannersCB cb = new BannersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Banners&gt; bannersList = bannersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;BannersHistoryCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;BannersHistoryCB&gt;() {
+     *         public void setup(BannersHistoryCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     bannersBhv.loadBannersHistoryList(bannersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setBannersId_InScope(pkList);
+     *     cb.query().addOrderBy_BannersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param bannersList Entity list of banners. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadBannersHistoryList(java.util.List<Banners> bannersList, ConditionBeanSetupper<BannersHistoryCB> conditionBeanSetupper) {
+        assertObjectNotNull("bannersList<Banners>", bannersList);
+        assertObjectNotNull("conditionBeanSetupper<BannersHistoryCB>", conditionBeanSetupper);
+        if (bannersList.isEmpty()) {
+            return;
+        }
+        loadBannersHistoryList(bannersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<BannersHistoryCB, BannersHistory>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of bannersHistoryList.
+     * <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 BannersCB cb = new BannersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Banners&gt; bannersList = bannersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;BannersHistoryCB&gt; cbSetupper = new ConditionBeanSetupper&lt;BannersHistoryCB&gt;() {
+     *         public void setup(BannersHistoryCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     bannersBhv.loadBannersHistoryList(bannersList, new LoadRefererOption<BannersHistoryCB, BannersHistory>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setBannersId_InScope(pkList);
+     *     cb.query().addOrderBy_BannersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param bannersList Entity list of banners. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadBannersHistoryList(java.util.List<Banners> bannersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<BannersHistoryCB, BannersHistory> loadRefererOption) {
+        assertObjectNotNull("bannersList<Banners>", bannersList);
+        assertObjectNotNull("loadRefererOption<BannersHistory, BannersHistoryCB>", loadRefererOption);
+        if (bannersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Banners> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Banners>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Banners banners : bannersList) {
+            pkList.add(banners.getBannersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(banners.getBannersId()), banners);
+        }
+        final BannersHistoryBhv refererBhv = getDaoSelector().getBehavior(BannersHistoryBhv.class);
+        final BannersHistoryCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setBannersId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_BannersId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<BannersHistory> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<BannersHistory>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<BannersHistory>>();
+        for (BannersHistory reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getBannersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getBannersId()), new java.util.ArrayList<BannersHistory>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getBannersId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Banners myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getBannersId()));
+            reffererEntity.setBanners(myEntity);
+        }
+
+        for (Banners banners : bannersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(banners.getBannersId()))) {
+                banners.setBannersHistoryList((java.util.List<BannersHistory>)pkReffererListMap.get(toLowerCaseIfString(banners.getBannersId())));
+            } else {
+                banners.setBannersHistoryList(new java.util.ArrayList<BannersHistory>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+  
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsBannersHistoryBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     BANNERS_HISTORY_ID, BANNERS_ID, BANNERS_SHOWN, BANNERS_CLICKED, BANNERS_HISTORY_DATE
  * 
  * [foreign-property]
- *     
+ *     banners
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,26 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Banners'.
+     * 
+     * @param bannersHistoryList The list of bannersHistory. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Banners> pulloutBanners(java.util.List<BannersHistory> bannersHistoryList) {
+        assertObjectNotNull("bannersHistoryList", bannersHistoryList);
+        final java.util.Set<Banners> foreignSet = new java.util.LinkedHashSet<Banners>();
+        for (java.util.Iterator ite = bannersHistoryList.iterator(); ite.hasNext(); ) {
+            final BannersHistory bannersHistory = (BannersHistory)ite.next();
+            final Banners foreignEntity = bannersHistory.getBanners();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Banners>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -36,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList
+ *     categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     
@@ -618,10 +618,156 @@
         }
     }
       
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_TO_CATEGORIES]
+    //   RefererProperty = [productsToCategoriesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsToCategoriesList.
+     * <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.loadProductsToCategoriesList(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 loadProductsToCategoriesList(java.util.List<Categories> categoriesList) {
+        final ConditionBeanSetupper<ProductsToCategoriesCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsToCategoriesCB>() {
+            public void setup(ProductsToCategoriesCB cb) {
+            }
+        };
+        loadProductsToCategoriesList(categoriesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsToCategoriesList.
+     * <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;ProductsToCategoriesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsToCategoriesCB&gt;() {
+     *         public void setup(ProductsToCategoriesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     categoriesBhv.loadProductsToCategoriesList(categoriesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCategoriesId_InScope(pkList);
+     *     cb.query().addOrderBy_CategoriesId_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 loadProductsToCategoriesList(java.util.List<Categories> categoriesList, ConditionBeanSetupper<ProductsToCategoriesCB> conditionBeanSetupper) {
+        assertObjectNotNull("categoriesList<Categories>", categoriesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsToCategoriesCB>", conditionBeanSetupper);
+        if (categoriesList.isEmpty()) {
+            return;
+        }
+        loadProductsToCategoriesList(categoriesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsToCategoriesCB, ProductsToCategories>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsToCategoriesList.
+     * <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;ProductsToCategoriesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsToCategoriesCB&gt;() {
+     *         public void setup(ProductsToCategoriesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     categoriesBhv.loadProductsToCategoriesList(categoriesList, new LoadRefererOption<ProductsToCategoriesCB, ProductsToCategories>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCategoriesId_InScope(pkList);
+     *     cb.query().addOrderBy_CategoriesId_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 loadProductsToCategoriesList(java.util.List<Categories> categoriesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsToCategoriesCB, ProductsToCategories> loadRefererOption) {
+        assertObjectNotNull("categoriesList<Categories>", categoriesList);
+        assertObjectNotNull("loadRefererOption<ProductsToCategories, ProductsToCategoriesCB>", 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 ProductsToCategoriesBhv refererBhv = getDaoSelector().getBehavior(ProductsToCategoriesBhv.class);
+        final ProductsToCategoriesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCategoriesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CategoriesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsToCategories> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsToCategories>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsToCategories>>();
+        for (ProductsToCategories reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCategoriesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCategoriesId()), new java.util.ArrayList<ProductsToCategories>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCategoriesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Categories myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCategoriesId()));
+            reffererEntity.setCategories(myEntity);
+        }
+
+        for (Categories categories : categoriesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(categories.getCategoriesId()))) {
+                categories.setProductsToCategoriesList((java.util.List<ProductsToCategories>)pkReffererListMap.get(toLowerCaseIfString(categories.getCategoriesId())));
+            } else {
+                categories.setProductsToCategoriesList(new java.util.ArrayList<ProductsToCategories>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-  
+    
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesDescriptionBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCategoriesDescriptionBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     CATEGORIES_ID, LANGUAGE_ID, CATEGORIES_NAME
  * 
  * [foreign-property]
- *     categories
+ *     categories, languages
  * 
  * [refferer-property]
  *     
@@ -490,6 +490,26 @@
         return new java.util.ArrayList<Categories>(foreignSet);
     }
 
+    /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param categoriesDescriptionList The list of categoriesDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<CategoriesDescription> categoriesDescriptionList) {
+        assertObjectNotNull("categoriesDescriptionList", categoriesDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = categoriesDescriptionList.iterator(); ite.hasNext(); ) {
+            final CategoriesDescription categoriesDescription = (CategoriesDescription)ite.next();
+            final Languages foreignEntity = categoriesDescription.getLanguages();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Languages>(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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     CONFIGURATION_ID, CONFIGURATION_TITLE, CONFIGURATION_KEY, CONFIGURATION_VALUE, CONFIGURATION_DESCRIPTION, CONFIGURATION_GROUP_ID, SORT_ORDER, LAST_MODIFIED, DATE_ADDED, USE_FUNCTION, SET_FUNCTION
  * 
  * [foreign-property]
- *     
+ *     configurationGroup
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,26 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'ConfigurationGroup'.
+     * 
+     * @param configurationList The list of configuration. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ConfigurationGroup> pulloutConfigurationGroup(java.util.List<Configuration> configurationList) {
+        assertObjectNotNull("configurationList", configurationList);
+        final java.util.Set<ConfigurationGroup> foreignSet = new java.util.LinkedHashSet<ConfigurationGroup>();
+        for (java.util.Iterator ite = configurationList.iterator(); ite.hasNext(); ) {
+            final Configuration configuration = (Configuration)ite.next();
+            final ConfigurationGroup foreignEntity = configuration.getConfigurationGroup();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ConfigurationGroup>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsConfigurationGroupBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     configurationList
  * 
  * [sequence]
  *     
@@ -470,10 +472,156 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CONFIGURATION]
+    //   RefererProperty = [configurationList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of configurationList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ConfigurationGroupCB cb = new ConfigurationGroupCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ConfigurationGroup&gt; configurationGroupList = configurationGroupBhv.selectList(cb);
+     *     configurationGroupBhv.loadConfigurationList(configurationGroupList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param configurationGroupList Entity list of configurationGroup. (NotNull)
+     */
+    public void loadConfigurationList(java.util.List<ConfigurationGroup> configurationGroupList) {
+        final ConditionBeanSetupper<ConfigurationCB> conditionBeanSetupper = new ConditionBeanSetupper<ConfigurationCB>() {
+            public void setup(ConfigurationCB cb) {
+            }
+        };
+        loadConfigurationList(configurationGroupList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of configurationList.
+     * <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 ConfigurationGroupCB cb = new ConfigurationGroupCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ConfigurationGroup&gt; configurationGroupList = configurationGroupBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ConfigurationCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ConfigurationCB&gt;() {
+     *         public void setup(ConfigurationCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     configurationGroupBhv.loadConfigurationList(configurationGroupList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setConfigurationGroupId_InScope(pkList);
+     *     cb.query().addOrderBy_ConfigurationGroupId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param configurationGroupList Entity list of configurationGroup. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadConfigurationList(java.util.List<ConfigurationGroup> configurationGroupList, ConditionBeanSetupper<ConfigurationCB> conditionBeanSetupper) {
+        assertObjectNotNull("configurationGroupList<ConfigurationGroup>", configurationGroupList);
+        assertObjectNotNull("conditionBeanSetupper<ConfigurationCB>", conditionBeanSetupper);
+        if (configurationGroupList.isEmpty()) {
+            return;
+        }
+        loadConfigurationList(configurationGroupList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ConfigurationCB, Configuration>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of configurationList.
+     * <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 ConfigurationGroupCB cb = new ConfigurationGroupCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ConfigurationGroup&gt; configurationGroupList = configurationGroupBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ConfigurationCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ConfigurationCB&gt;() {
+     *         public void setup(ConfigurationCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     configurationGroupBhv.loadConfigurationList(configurationGroupList, new LoadRefererOption<ConfigurationCB, Configuration>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setConfigurationGroupId_InScope(pkList);
+     *     cb.query().addOrderBy_ConfigurationGroupId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param configurationGroupList Entity list of configurationGroup. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadConfigurationList(java.util.List<ConfigurationGroup> configurationGroupList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ConfigurationCB, Configuration> loadRefererOption) {
+        assertObjectNotNull("configurationGroupList<ConfigurationGroup>", configurationGroupList);
+        assertObjectNotNull("loadRefererOption<Configuration, ConfigurationCB>", loadRefererOption);
+        if (configurationGroupList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, ConfigurationGroup> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, ConfigurationGroup>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (ConfigurationGroup configurationGroup : configurationGroupList) {
+            pkList.add(configurationGroup.getConfigurationGroupId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(configurationGroup.getConfigurationGroupId()), configurationGroup);
+        }
+        final ConfigurationBhv refererBhv = getDaoSelector().getBehavior(ConfigurationBhv.class);
+        final ConfigurationCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setConfigurationGroupId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ConfigurationGroupId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Configuration> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Configuration>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Configuration>>();
+        for (Configuration reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getConfigurationGroupId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getConfigurationGroupId()), new java.util.ArrayList<Configuration>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getConfigurationGroupId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ConfigurationGroup myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getConfigurationGroupId()));
+            reffererEntity.setConfigurationGroup(myEntity);
+        }
+
+        for (ConfigurationGroup configurationGroup : configurationGroupList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(configurationGroup.getConfigurationGroupId()))) {
+                configurationGroup.setConfigurationList((java.util.List<Configuration>)pkReffererListMap.get(toLowerCaseIfString(configurationGroup.getConfigurationGroupId())));
+            } else {
+                configurationGroup.setConfigurationList(new java.util.ArrayList<Configuration>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+  
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCountriesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     addressBookList, zonesList
  * 
  * [sequence]
  *     
@@ -470,10 +472,302 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ADDRESS_BOOK]
+    //   RefererProperty = [addressBookList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of addressBookList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CountriesCB cb = new CountriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Countries&gt; countriesList = countriesBhv.selectList(cb);
+     *     countriesBhv.loadAddressBookList(countriesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param countriesList Entity list of countries. (NotNull)
+     */
+    public void loadAddressBookList(java.util.List<Countries> countriesList) {
+        final ConditionBeanSetupper<AddressBookCB> conditionBeanSetupper = new ConditionBeanSetupper<AddressBookCB>() {
+            public void setup(AddressBookCB cb) {
+            }
+        };
+        loadAddressBookList(countriesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of addressBookList.
+     * <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 CountriesCB cb = new CountriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Countries&gt; countriesList = countriesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;AddressBookCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;AddressBookCB&gt;() {
+     *         public void setup(AddressBookCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     countriesBhv.loadAddressBookList(countriesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setEntryCountryId_InScope(pkList);
+     *     cb.query().addOrderBy_EntryCountryId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param countriesList Entity list of countries. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadAddressBookList(java.util.List<Countries> countriesList, ConditionBeanSetupper<AddressBookCB> conditionBeanSetupper) {
+        assertObjectNotNull("countriesList<Countries>", countriesList);
+        assertObjectNotNull("conditionBeanSetupper<AddressBookCB>", conditionBeanSetupper);
+        if (countriesList.isEmpty()) {
+            return;
+        }
+        loadAddressBookList(countriesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<AddressBookCB, AddressBook>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of addressBookList.
+     * <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 CountriesCB cb = new CountriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Countries&gt; countriesList = countriesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;AddressBookCB&gt; cbSetupper = new ConditionBeanSetupper&lt;AddressBookCB&gt;() {
+     *         public void setup(AddressBookCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     countriesBhv.loadAddressBookList(countriesList, new LoadRefererOption<AddressBookCB, AddressBook>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setEntryCountryId_InScope(pkList);
+     *     cb.query().addOrderBy_EntryCountryId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param countriesList Entity list of countries. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadAddressBookList(java.util.List<Countries> countriesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<AddressBookCB, AddressBook> loadRefererOption) {
+        assertObjectNotNull("countriesList<Countries>", countriesList);
+        assertObjectNotNull("loadRefererOption<AddressBook, AddressBookCB>", loadRefererOption);
+        if (countriesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Countries> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Countries>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Countries countries : countriesList) {
+            pkList.add(countries.getCountriesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(countries.getCountriesId()), countries);
+        }
+        final AddressBookBhv refererBhv = getDaoSelector().getBehavior(AddressBookBhv.class);
+        final AddressBookCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setEntryCountryId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_EntryCountryId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<AddressBook> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<AddressBook>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<AddressBook>>();
+        for (AddressBook reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getEntryCountryId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getEntryCountryId()), new java.util.ArrayList<AddressBook>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getEntryCountryId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Countries myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getEntryCountryId()));
+            reffererEntity.setCountries(myEntity);
+        }
+
+        for (Countries countries : countriesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(countries.getCountriesId()))) {
+                countries.setAddressBookList((java.util.List<AddressBook>)pkReffererListMap.get(toLowerCaseIfString(countries.getCountriesId())));
+            } else {
+                countries.setAddressBookList(new java.util.ArrayList<AddressBook>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ZONES]
+    //   RefererProperty = [zonesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of zonesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CountriesCB cb = new CountriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Countries&gt; countriesList = countriesBhv.selectList(cb);
+     *     countriesBhv.loadZonesList(countriesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param countriesList Entity list of countries. (NotNull)
+     */
+    public void loadZonesList(java.util.List<Countries> countriesList) {
+        final ConditionBeanSetupper<ZonesCB> conditionBeanSetupper = new ConditionBeanSetupper<ZonesCB>() {
+            public void setup(ZonesCB cb) {
+            }
+        };
+        loadZonesList(countriesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of zonesList.
+     * <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 CountriesCB cb = new CountriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Countries&gt; countriesList = countriesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ZonesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ZonesCB&gt;() {
+     *         public void setup(ZonesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     countriesBhv.loadZonesList(countriesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setZoneCountryId_InScope(pkList);
+     *     cb.query().addOrderBy_ZoneCountryId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param countriesList Entity list of countries. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadZonesList(java.util.List<Countries> countriesList, ConditionBeanSetupper<ZonesCB> conditionBeanSetupper) {
+        assertObjectNotNull("countriesList<Countries>", countriesList);
+        assertObjectNotNull("conditionBeanSetupper<ZonesCB>", conditionBeanSetupper);
+        if (countriesList.isEmpty()) {
+            return;
+        }
+        loadZonesList(countriesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ZonesCB, Zones>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of zonesList.
+     * <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 CountriesCB cb = new CountriesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Countries&gt; countriesList = countriesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ZonesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ZonesCB&gt;() {
+     *         public void setup(ZonesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     countriesBhv.loadZonesList(countriesList, new LoadRefererOption<ZonesCB, Zones>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setZoneCountryId_InScope(pkList);
+     *     cb.query().addOrderBy_ZoneCountryId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param countriesList Entity list of countries. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadZonesList(java.util.List<Countries> countriesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ZonesCB, Zones> loadRefererOption) {
+        assertObjectNotNull("countriesList<Countries>", countriesList);
+        assertObjectNotNull("loadRefererOption<Zones, ZonesCB>", loadRefererOption);
+        if (countriesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Countries> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Countries>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Countries countries : countriesList) {
+            pkList.add(countries.getCountriesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(countries.getCountriesId()), countries);
+        }
+        final ZonesBhv refererBhv = getDaoSelector().getBehavior(ZonesBhv.class);
+        final ZonesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setZoneCountryId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ZoneCountryId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Zones> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Zones>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Zones>>();
+        for (Zones reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getZoneCountryId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getZoneCountryId()), new java.util.ArrayList<Zones>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getZoneCountryId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Countries myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getZoneCountryId()));
+            reffererEntity.setCountries(myEntity);
+        }
+
+        for (Countries countries : countriesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(countries.getCountriesId()))) {
+                countries.setZonesList((java.util.List<Zones>)pkReffererListMap.get(toLowerCaseIfString(countries.getCountriesId())));
+            } else {
+                countries.setZonesList(new java.util.ArrayList<Zones>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+    
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketAttributesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     CUSTOMERS_BASKET_ATTRIBUTES_ID, CUSTOMERS_ID, PRODUCTS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUE_ID
  * 
  * [foreign-property]
- *     
+ *     customers, products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,86 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Customers'.
+     * 
+     * @param customersBasketAttributesList The list of customersBasketAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Customers> pulloutCustomers(java.util.List<CustomersBasketAttributes> customersBasketAttributesList) {
+        assertObjectNotNull("customersBasketAttributesList", customersBasketAttributesList);
+        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        for (java.util.Iterator ite = customersBasketAttributesList.iterator(); ite.hasNext(); ) {
+            final CustomersBasketAttributes customersBasketAttributes = (CustomersBasketAttributes)ite.next();
+            final Customers foreignEntity = customersBasketAttributes.getCustomers();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Customers>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'Products'.
+     * 
+     * @param customersBasketAttributesList The list of customersBasketAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<CustomersBasketAttributes> customersBasketAttributesList) {
+        assertObjectNotNull("customersBasketAttributesList", customersBasketAttributesList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = customersBasketAttributesList.iterator(); ite.hasNext(); ) {
+            final CustomersBasketAttributes customersBasketAttributes = (CustomersBasketAttributes)ite.next();
+            final Products foreignEntity = customersBasketAttributes.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'ProductsOptions'.
+     * 
+     * @param customersBasketAttributesList The list of customersBasketAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptions> pulloutProductsOptions(java.util.List<CustomersBasketAttributes> customersBasketAttributesList) {
+        assertObjectNotNull("customersBasketAttributesList", customersBasketAttributesList);
+        final java.util.Set<ProductsOptions> foreignSet = new java.util.LinkedHashSet<ProductsOptions>();
+        for (java.util.Iterator ite = customersBasketAttributesList.iterator(); ite.hasNext(); ) {
+            final CustomersBasketAttributes customersBasketAttributes = (CustomersBasketAttributes)ite.next();
+            final ProductsOptions foreignEntity = customersBasketAttributes.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 customersBasketAttributesList The list of customersBasketAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValues> pulloutProductsOptionsValues(java.util.List<CustomersBasketAttributes> customersBasketAttributesList) {
+        assertObjectNotNull("customersBasketAttributesList", customersBasketAttributesList);
+        final java.util.Set<ProductsOptionsValues> foreignSet = new java.util.LinkedHashSet<ProductsOptionsValues>();
+        for (java.util.Iterator ite = customersBasketAttributesList.iterator(); ite.hasNext(); ) {
+            final CustomersBasketAttributes customersBasketAttributes = (CustomersBasketAttributes)ite.next();
+            final ProductsOptionsValues foreignEntity = customersBasketAttributes.getProductsOptionsValues();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsOptionsValues>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBasketBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     CUSTOMERS_BASKET_ID, CUSTOMERS_ID, PRODUCTS_ID, CUSTOMERS_BASKET_QUANTITY, FINAL_PRICE, CUSTOMERS_BASKET_DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Customers'.
+     * 
+     * @param customersBasketList The list of customersBasket. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Customers> pulloutCustomers(java.util.List<CustomersBasket> customersBasketList) {
+        assertObjectNotNull("customersBasketList", customersBasketList);
+        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        for (java.util.Iterator ite = customersBasketList.iterator(); ite.hasNext(); ) {
+            final CustomersBasket customersBasket = (CustomersBasket)ite.next();
+            final Customers foreignEntity = customersBasket.getCustomers();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Customers>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'Products'.
+     * 
+     * @param customersBasketList The list of customersBasket. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<CustomersBasket> customersBasketList) {
+        assertObjectNotNull("customersBasketList", customersBasketList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = customersBasketList.iterator(); ite.hasNext(); ) {
+            final CustomersBasket customersBasket = (CustomersBasket)ite.next();
+            final Products foreignEntity = customersBasket.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -33,10 +33,10 @@
  *     CUSTOMERS_ID, CUSTOMERS_PORTAL_ID, CUSTOMERS_GENDER, CUSTOMERS_FIRSTNAME, CUSTOMERS_LASTNAME, CUSTOMERS_DOB, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_DEFAULT_ADDRESS_ID, CUSTOMERS_TELEPHONE, CUSTOMERS_FAX, CUSTOMERS_CELLPHONE, CUSTOMERS_NEWSLETTER
  * 
  * [foreign-property]
- *     addressBook
+ *     
  * 
  * [refferer-property]
- *     addressBookList, ordersList
+ *     addressBookList, customersBasketList, customersBasketAttributesList, customersInfoList, ordersList, productsNotificationsList, whosOnlineList
  * 
  * [sequence]
  *     
@@ -619,6 +619,444 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET]
+    //   RefererProperty = [customersBasketList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersBasketList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     customersBhv.loadCustomersBasketList(customersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     */
+    public void loadCustomersBasketList(java.util.List<Customers> customersList) {
+        final ConditionBeanSetupper<CustomersBasketCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersBasketCB>() {
+            public void setup(CustomersBasketCB cb) {
+            }
+        };
+        loadCustomersBasketList(customersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersBasketList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersBasketCB&gt;() {
+     *         public void setup(CustomersBasketCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadCustomersBasketList(customersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCustomersBasketList(java.util.List<Customers> customersList, ConditionBeanSetupper<CustomersBasketCB> conditionBeanSetupper) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersBasketCB>", conditionBeanSetupper);
+        if (customersList.isEmpty()) {
+            return;
+        }
+        loadCustomersBasketList(customersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketCB, CustomersBasket>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersBasketList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersBasketCB&gt;() {
+     *         public void setup(CustomersBasketCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadCustomersBasketList(customersList, new LoadRefererOption<CustomersBasketCB, CustomersBasket>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCustomersBasketList(java.util.List<Customers> customersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketCB, CustomersBasket> loadRefererOption) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("loadRefererOption<CustomersBasket, CustomersBasketCB>", loadRefererOption);
+        if (customersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Customers> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Customers>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Customers customers : customersList) {
+            pkList.add(customers.getCustomersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(customers.getCustomersId()), customers);
+        }
+        final CustomersBasketBhv refererBhv = getDaoSelector().getBehavior(CustomersBasketBhv.class);
+        final CustomersBasketCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCustomersId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CustomersId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CustomersBasket> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersBasket>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersBasket>>();
+        for (CustomersBasket reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomersId()), new java.util.ArrayList<CustomersBasket>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomersId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Customers myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomersId()));
+            reffererEntity.setCustomers(myEntity);
+        }
+
+        for (Customers customers : customersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(customers.getCustomersId()))) {
+                customers.setCustomersBasketList((java.util.List<CustomersBasket>)pkReffererListMap.get(toLowerCaseIfString(customers.getCustomersId())));
+            } else {
+                customers.setCustomersBasketList(new java.util.ArrayList<CustomersBasket>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     customersBhv.loadCustomersBasketAttributesList(customersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     */
+    public void loadCustomersBasketAttributesList(java.util.List<Customers> customersList) {
+        final ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersBasketAttributesCB>() {
+            public void setup(CustomersBasketAttributesCB cb) {
+            }
+        };
+        loadCustomersBasketAttributesList(customersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadCustomersBasketAttributesList(customersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCustomersBasketAttributesList(java.util.List<Customers> customersList, ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersBasketAttributesCB>", conditionBeanSetupper);
+        if (customersList.isEmpty()) {
+            return;
+        }
+        loadCustomersBasketAttributesList(customersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadCustomersBasketAttributesList(customersList, new LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCustomersBasketAttributesList(java.util.List<Customers> customersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes> loadRefererOption) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("loadRefererOption<CustomersBasketAttributes, CustomersBasketAttributesCB>", loadRefererOption);
+        if (customersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Customers> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Customers>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Customers customers : customersList) {
+            pkList.add(customers.getCustomersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(customers.getCustomersId()), customers);
+        }
+        final CustomersBasketAttributesBhv refererBhv = getDaoSelector().getBehavior(CustomersBasketAttributesBhv.class);
+        final CustomersBasketAttributesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCustomersId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CustomersId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CustomersBasketAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>>();
+        for (CustomersBasketAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomersId()), new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomersId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Customers myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomersId()));
+            reffererEntity.setCustomers(myEntity);
+        }
+
+        for (Customers customers : customersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(customers.getCustomersId()))) {
+                customers.setCustomersBasketAttributesList((java.util.List<CustomersBasketAttributes>)pkReffererListMap.get(toLowerCaseIfString(customers.getCustomersId())));
+            } else {
+                customers.setCustomersBasketAttributesList(new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_INFO]
+    //   RefererProperty = [customersInfoList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersInfoList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     customersBhv.loadCustomersInfoList(customersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     */
+    public void loadCustomersInfoList(java.util.List<Customers> customersList) {
+        final ConditionBeanSetupper<CustomersInfoCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersInfoCB>() {
+            public void setup(CustomersInfoCB cb) {
+            }
+        };
+        loadCustomersInfoList(customersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersInfoList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersInfoCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersInfoCB&gt;() {
+     *         public void setup(CustomersInfoCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadCustomersInfoList(customersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersInfoId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersInfoId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCustomersInfoList(java.util.List<Customers> customersList, ConditionBeanSetupper<CustomersInfoCB> conditionBeanSetupper) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersInfoCB>", conditionBeanSetupper);
+        if (customersList.isEmpty()) {
+            return;
+        }
+        loadCustomersInfoList(customersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersInfoCB, CustomersInfo>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersInfoList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersInfoCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersInfoCB&gt;() {
+     *         public void setup(CustomersInfoCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadCustomersInfoList(customersList, new LoadRefererOption<CustomersInfoCB, CustomersInfo>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersInfoId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersInfoId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCustomersInfoList(java.util.List<Customers> customersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersInfoCB, CustomersInfo> loadRefererOption) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("loadRefererOption<CustomersInfo, CustomersInfoCB>", loadRefererOption);
+        if (customersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Customers> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Customers>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Customers customers : customersList) {
+            pkList.add(customers.getCustomersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(customers.getCustomersId()), customers);
+        }
+        final CustomersInfoBhv refererBhv = getDaoSelector().getBehavior(CustomersInfoBhv.class);
+        final CustomersInfoCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCustomersInfoId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CustomersInfoId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CustomersInfo> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersInfo>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersInfo>>();
+        for (CustomersInfo reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomersInfoId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomersInfoId()), new java.util.ArrayList<CustomersInfo>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomersInfoId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Customers myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomersInfoId()));
+            reffererEntity.setCustomers(myEntity);
+        }
+
+        for (Customers customers : customersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(customers.getCustomersId()))) {
+                customers.setCustomersInfoList((java.util.List<CustomersInfo>)pkReffererListMap.get(toLowerCaseIfString(customers.getCustomersId())));
+            } else {
+                customers.setCustomersInfoList(new java.util.ArrayList<CustomersInfo>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS]
     //   RefererProperty = [ordersList]
     // * * * * * * * * */
@@ -764,30 +1202,321 @@
         }
     }
       
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_NOTIFICATIONS]
+    //   RefererProperty = [productsNotificationsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsNotificationsList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     customersBhv.loadProductsNotificationsList(customersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     */
+    public void loadProductsNotificationsList(java.util.List<Customers> customersList) {
+        final ConditionBeanSetupper<ProductsNotificationsCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsNotificationsCB>() {
+            public void setup(ProductsNotificationsCB cb) {
+            }
+        };
+        loadProductsNotificationsList(customersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsNotificationsList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsNotificationsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsNotificationsCB&gt;() {
+     *         public void setup(ProductsNotificationsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadProductsNotificationsList(customersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsNotificationsList(java.util.List<Customers> customersList, ConditionBeanSetupper<ProductsNotificationsCB> conditionBeanSetupper) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsNotificationsCB>", conditionBeanSetupper);
+        if (customersList.isEmpty()) {
+            return;
+        }
+        loadProductsNotificationsList(customersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsNotificationsCB, ProductsNotifications>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsNotificationsList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsNotificationsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsNotificationsCB&gt;() {
+     *         public void setup(ProductsNotificationsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadProductsNotificationsList(customersList, new LoadRefererOption<ProductsNotificationsCB, ProductsNotifications>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomersId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomersId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsNotificationsList(java.util.List<Customers> customersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsNotificationsCB, ProductsNotifications> loadRefererOption) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("loadRefererOption<ProductsNotifications, ProductsNotificationsCB>", loadRefererOption);
+        if (customersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Customers> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Customers>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Customers customers : customersList) {
+            pkList.add(customers.getCustomersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(customers.getCustomersId()), customers);
+        }
+        final ProductsNotificationsBhv refererBhv = getDaoSelector().getBehavior(ProductsNotificationsBhv.class);
+        final ProductsNotificationsCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCustomersId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CustomersId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsNotifications> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsNotifications>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsNotifications>>();
+        for (ProductsNotifications reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomersId()), new java.util.ArrayList<ProductsNotifications>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomersId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Customers myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomersId()));
+            reffererEntity.setCustomers(myEntity);
+        }
+
+        for (Customers customers : customersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(customers.getCustomersId()))) {
+                customers.setProductsNotificationsList((java.util.List<ProductsNotifications>)pkReffererListMap.get(toLowerCaseIfString(customers.getCustomersId())));
+            } else {
+                customers.setProductsNotificationsList(new java.util.ArrayList<ProductsNotifications>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [WHOS_ONLINE]
+    //   RefererProperty = [whosOnlineList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of whosOnlineList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     customersBhv.loadWhosOnlineList(customersList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     */
+    public void loadWhosOnlineList(java.util.List<Customers> customersList) {
+        final ConditionBeanSetupper<WhosOnlineCB> conditionBeanSetupper = new ConditionBeanSetupper<WhosOnlineCB>() {
+            public void setup(WhosOnlineCB cb) {
+            }
+        };
+        loadWhosOnlineList(customersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of whosOnlineList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;WhosOnlineCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;WhosOnlineCB&gt;() {
+     *         public void setup(WhosOnlineCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadWhosOnlineList(customersList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomerId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomerId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadWhosOnlineList(java.util.List<Customers> customersList, ConditionBeanSetupper<WhosOnlineCB> conditionBeanSetupper) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("conditionBeanSetupper<WhosOnlineCB>", conditionBeanSetupper);
+        if (customersList.isEmpty()) {
+            return;
+        }
+        loadWhosOnlineList(customersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<WhosOnlineCB, WhosOnline>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of whosOnlineList.
+     * <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 CustomersCB cb = new CustomersCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Customers&gt; customersList = customersBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;WhosOnlineCB&gt; cbSetupper = new ConditionBeanSetupper&lt;WhosOnlineCB&gt;() {
+     *         public void setup(WhosOnlineCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     customersBhv.loadWhosOnlineList(customersList, new LoadRefererOption<WhosOnlineCB, WhosOnline>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setCustomerId_InScope(pkList);
+     *     cb.query().addOrderBy_CustomerId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param customersList Entity list of customers. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadWhosOnlineList(java.util.List<Customers> customersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<WhosOnlineCB, WhosOnline> loadRefererOption) {
+        assertObjectNotNull("customersList<Customers>", customersList);
+        assertObjectNotNull("loadRefererOption<WhosOnline, WhosOnlineCB>", loadRefererOption);
+        if (customersList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Customers> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Customers>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Customers customers : customersList) {
+            pkList.add(customers.getCustomersId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(customers.getCustomersId()), customers);
+        }
+        final WhosOnlineBhv refererBhv = getDaoSelector().getBehavior(WhosOnlineBhv.class);
+        final WhosOnlineCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setCustomerId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_CustomerId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<WhosOnline> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<WhosOnline>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<WhosOnline>>();
+        for (WhosOnline reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getCustomerId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getCustomerId()), new java.util.ArrayList<WhosOnline>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getCustomerId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Customers myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getCustomerId()));
+            reffererEntity.setCustomers(myEntity);
+        }
+
+        for (Customers customers : customersList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(customers.getCustomersId()))) {
+                customers.setWhosOnlineList((java.util.List<WhosOnline>)pkReffererListMap.get(toLowerCaseIfString(customers.getCustomersId())));
+            } else {
+                customers.setWhosOnlineList(new java.util.ArrayList<WhosOnline>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+        
     /**
-     * Pull out the list of foreign table 'AddressBook'.
+     * Pull out the list of referer-as-one table '${foreignEntityClassName}'.
      * 
      * @param customersList The list of customers. (NotNull)
-     * @return The list of foreign table. (NotNull)
+     * @return The list of referer-as-one table. (NotNull)
      */
-    public java.util.List<AddressBook> pulloutAddressBook(java.util.List<Customers> customersList) {
-        assertObjectNotNull("customersList", customersList);
-        final java.util.Set<AddressBook> foreignSet = new java.util.LinkedHashSet<AddressBook>();
+    public java.util.List<CustomersInfo> pulloutCustomersInfoAsOne(java.util.List<Customers> customersList) {
+        final java.util.Set<CustomersInfo> reffererAsOneSet = new java.util.LinkedHashSet<CustomersInfo>();
         for (java.util.Iterator ite = customersList.iterator(); ite.hasNext(); ) {
             final Customers customers = (Customers)ite.next();
-            final AddressBook foreignEntity = customers.getAddressBook();
-            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+            final CustomersInfo refererEntity = customers.getCustomersInfoAsOne();
+            if (refererEntity == null || reffererAsOneSet.contains(refererEntity)) {
                 continue;
             }
-            foreignSet.add(foreignEntity);
+            reffererAsOneSet.add(refererEntity);
         }
-        return new java.util.ArrayList<AddressBook>(foreignSet);
+        return new java.util.ArrayList<CustomersInfo>(reffererAsOneSet);
     }
-    
+        
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsCustomersInfoBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     CUSTOMERS_INFO_ID, CUSTOMERS_INFO_DATE_OF_LAST_LOGON, CUSTOMERS_INFO_NUMBER_OF_LOGONS, CUSTOMERS_INFO_DATE_ACCOUNT_CREATED, CUSTOMERS_INFO_DATE_ACCOUNT_LAST_MODIFIED, GLOBAL_PRODUCT_NOTIFICATIONS
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,26 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Customers'.
+     * 
+     * @param customersInfoList The list of customersInfo. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Customers> pulloutCustomers(java.util.List<CustomersInfo> customersInfoList) {
+        assertObjectNotNull("customersInfoList", customersInfoList);
+        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        for (java.util.Iterator ite = customersInfoList.iterator(); ite.hasNext(); ) {
+            final CustomersInfo customersInfo = (CustomersInfo)ite.next();
+            final Customers foreignEntity = customersInfo.getCustomers();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Customers>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsDeliveryMethodDescriptionBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -28,10 +28,10 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
  * 
  * [foreign-property]
- *     deliveryMethod
+ *     deliveryMethod, languages
  * 
  * [refferer-property]
  *     
@@ -490,6 +490,26 @@
         return new java.util.ArrayList<DeliveryMethod>(foreignSet);
     }
 
+    /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param deliveryMethodDescriptionList The list of deliveryMethodDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<DeliveryMethodDescription> deliveryMethodDescriptionList) {
+        assertObjectNotNull("deliveryMethodDescriptionList", deliveryMethodDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = deliveryMethodDescriptionList.iterator(); ite.hasNext(); ) {
+            final DeliveryMethodDescription deliveryMethodDescription = (DeliveryMethodDescription)ite.next();
+            final Languages foreignEntity = deliveryMethodDescription.getLanguages();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Languages>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================
@@ -657,6 +677,7 @@
         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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsGeoZonesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     zonesToGeoZonesList
  * 
  * [sequence]
  *     
@@ -470,10 +472,156 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ZONES_TO_GEO_ZONES]
+    //   RefererProperty = [zonesToGeoZonesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of zonesToGeoZonesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final GeoZonesCB cb = new GeoZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;GeoZones&gt; geoZonesList = geoZonesBhv.selectList(cb);
+     *     geoZonesBhv.loadZonesToGeoZonesList(geoZonesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param geoZonesList Entity list of geoZones. (NotNull)
+     */
+    public void loadZonesToGeoZonesList(java.util.List<GeoZones> geoZonesList) {
+        final ConditionBeanSetupper<ZonesToGeoZonesCB> conditionBeanSetupper = new ConditionBeanSetupper<ZonesToGeoZonesCB>() {
+            public void setup(ZonesToGeoZonesCB cb) {
+            }
+        };
+        loadZonesToGeoZonesList(geoZonesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of zonesToGeoZonesList.
+     * <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 GeoZonesCB cb = new GeoZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;GeoZones&gt; geoZonesList = geoZonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt;() {
+     *         public void setup(ZonesToGeoZonesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     geoZonesBhv.loadZonesToGeoZonesList(geoZonesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setGeoZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_GeoZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param geoZonesList Entity list of geoZones. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadZonesToGeoZonesList(java.util.List<GeoZones> geoZonesList, ConditionBeanSetupper<ZonesToGeoZonesCB> conditionBeanSetupper) {
+        assertObjectNotNull("geoZonesList<GeoZones>", geoZonesList);
+        assertObjectNotNull("conditionBeanSetupper<ZonesToGeoZonesCB>", conditionBeanSetupper);
+        if (geoZonesList.isEmpty()) {
+            return;
+        }
+        loadZonesToGeoZonesList(geoZonesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ZonesToGeoZonesCB, ZonesToGeoZones>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of zonesToGeoZonesList.
+     * <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 GeoZonesCB cb = new GeoZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;GeoZones&gt; geoZonesList = geoZonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt;() {
+     *         public void setup(ZonesToGeoZonesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     geoZonesBhv.loadZonesToGeoZonesList(geoZonesList, new LoadRefererOption<ZonesToGeoZonesCB, ZonesToGeoZones>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setGeoZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_GeoZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param geoZonesList Entity list of geoZones. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadZonesToGeoZonesList(java.util.List<GeoZones> geoZonesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ZonesToGeoZonesCB, ZonesToGeoZones> loadRefererOption) {
+        assertObjectNotNull("geoZonesList<GeoZones>", geoZonesList);
+        assertObjectNotNull("loadRefererOption<ZonesToGeoZones, ZonesToGeoZonesCB>", loadRefererOption);
+        if (geoZonesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, GeoZones> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, GeoZones>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (GeoZones geoZones : geoZonesList) {
+            pkList.add(geoZones.getGeoZoneId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(geoZones.getGeoZoneId()), geoZones);
+        }
+        final ZonesToGeoZonesBhv refererBhv = getDaoSelector().getBehavior(ZonesToGeoZonesBhv.class);
+        final ZonesToGeoZonesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setGeoZoneId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_GeoZoneId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ZonesToGeoZones> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ZonesToGeoZones>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ZonesToGeoZones>>();
+        for (ZonesToGeoZones reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getGeoZoneId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getGeoZoneId()), new java.util.ArrayList<ZonesToGeoZones>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getGeoZoneId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final GeoZones myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getGeoZoneId()));
+            reffererEntity.setGeoZones(myEntity);
+        }
+
+        for (GeoZones geoZones : geoZonesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(geoZones.getGeoZoneId()))) {
+                geoZones.setZonesToGeoZonesList((java.util.List<ZonesToGeoZones>)pkReffererListMap.get(toLowerCaseIfString(geoZones.getGeoZoneId())));
+            } else {
+                geoZones.setZonesToGeoZonesList(new java.util.ArrayList<ZonesToGeoZones>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+  
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsLanguagesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
  * 
  * [sequence]
  *     
@@ -470,10 +472,1178 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CATEGORIES_DESCRIPTION]
+    //   RefererProperty = [categoriesDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of categoriesDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadCategoriesDescriptionList(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 loadCategoriesDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<CategoriesDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<CategoriesDescriptionCB>() {
+            public void setup(CategoriesDescriptionCB cb) {
+            }
+        };
+        loadCategoriesDescriptionList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of categoriesDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CategoriesDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CategoriesDescriptionCB&gt;() {
+     *         public void setup(CategoriesDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadCategoriesDescriptionList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCategoriesDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<CategoriesDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<CategoriesDescriptionCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadCategoriesDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CategoriesDescriptionCB, CategoriesDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of categoriesDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CategoriesDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CategoriesDescriptionCB&gt;() {
+     *         public void setup(CategoriesDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadCategoriesDescriptionList(languagesList, new LoadRefererOption<CategoriesDescriptionCB, CategoriesDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCategoriesDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CategoriesDescriptionCB, CategoriesDescription> loadRefererOption) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<CategoriesDescription, CategoriesDescriptionCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            pkList.add(languages.getLanguagesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
+        }
+        final CategoriesDescriptionBhv refererBhv = getDaoSelector().getBehavior(CategoriesDescriptionBhv.class);
+        final CategoriesDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setLanguageId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguageId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CategoriesDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CategoriesDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CategoriesDescription>>();
+        for (CategoriesDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<CategoriesDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setCategoriesDescriptionList((java.util.List<CategoriesDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setCategoriesDescriptionList(new java.util.ArrayList<CategoriesDescription>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [DELIVERY_METHOD_DESCRIPTION]
+    //   RefererProperty = [deliveryMethodDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of deliveryMethodDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadDeliveryMethodDescriptionList(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 loadDeliveryMethodDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<DeliveryMethodDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<DeliveryMethodDescriptionCB>() {
+            public void setup(DeliveryMethodDescriptionCB cb) {
+            }
+        };
+        loadDeliveryMethodDescriptionList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of deliveryMethodDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;DeliveryMethodDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;DeliveryMethodDescriptionCB&gt;() {
+     *         public void setup(DeliveryMethodDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadDeliveryMethodDescriptionList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   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();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadDeliveryMethodDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<DeliveryMethodDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<DeliveryMethodDescriptionCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadDeliveryMethodDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<DeliveryMethodDescriptionCB, DeliveryMethodDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of deliveryMethodDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;DeliveryMethodDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;DeliveryMethodDescriptionCB&gt;() {
+     *         public void setup(DeliveryMethodDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadDeliveryMethodDescriptionList(languagesList, new LoadRefererOption<DeliveryMethodDescriptionCB, DeliveryMethodDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   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();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadDeliveryMethodDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<DeliveryMethodDescriptionCB, DeliveryMethodDescription> loadRefererOption) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<DeliveryMethodDescription, DeliveryMethodDescriptionCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            pkList.add(languages.getLanguagesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
+        }
+        final DeliveryMethodDescriptionBhv refererBhv = getDaoSelector().getBehavior(DeliveryMethodDescriptionBhv.class);
+        final DeliveryMethodDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setLanguagesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguagesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<DeliveryMethodDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        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>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setDeliveryMethodDescriptionList((java.util.List<DeliveryMethodDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setDeliveryMethodDescriptionList(new java.util.ArrayList<DeliveryMethodDescription>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [MANUFACTURERS_INFO]
+    //   RefererProperty = [manufacturersInfoList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of manufacturersInfoList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadManufacturersInfoList(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 loadManufacturersInfoList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<ManufacturersInfoCB> conditionBeanSetupper = new ConditionBeanSetupper<ManufacturersInfoCB>() {
+            public void setup(ManufacturersInfoCB cb) {
+            }
+        };
+        loadManufacturersInfoList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of manufacturersInfoList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ManufacturersInfoCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ManufacturersInfoCB&gt;() {
+     *         public void setup(ManufacturersInfoCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadManufacturersInfoList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   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();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadManufacturersInfoList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ManufacturersInfoCB> conditionBeanSetupper) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<ManufacturersInfoCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadManufacturersInfoList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ManufacturersInfoCB, ManufacturersInfo>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of manufacturersInfoList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ManufacturersInfoCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ManufacturersInfoCB&gt;() {
+     *         public void setup(ManufacturersInfoCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadManufacturersInfoList(languagesList, new LoadRefererOption<ManufacturersInfoCB, ManufacturersInfo>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   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();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadManufacturersInfoList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ManufacturersInfoCB, ManufacturersInfo> loadRefererOption) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<ManufacturersInfo, ManufacturersInfoCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            pkList.add(languages.getLanguagesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
+        }
+        final ManufacturersInfoBhv refererBhv = getDaoSelector().getBehavior(ManufacturersInfoBhv.class);
+        final ManufacturersInfoCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setLanguagesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguagesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ManufacturersInfo> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ManufacturersInfo>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ManufacturersInfo>>();
+        for (ManufacturersInfo reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguagesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguagesId()), new java.util.ArrayList<ManufacturersInfo>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setManufacturersInfoList((java.util.List<ManufacturersInfo>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setManufacturersInfoList(new java.util.ArrayList<ManufacturersInfo>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_STATUS]
+    //   RefererProperty = [ordersStatusList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersStatusList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadOrdersStatusList(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) {
+            }
+        };
+        loadOrdersStatusList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersStatusList.
+     * <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 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) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadOrdersStatusList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @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) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersStatusCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadOrdersStatusList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersStatusCB, OrdersStatus>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersStatusList.
+     * <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 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) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadOrdersStatusList(languagesList, new LoadRefererOption<OrdersStatusCB, OrdersStatus>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @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) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<OrdersStatus, OrdersStatusCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            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();
+        cb.query().setLanguageId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguageId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<OrdersStatus> 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) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<OrdersStatus>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setOrdersStatusList((java.util.List<OrdersStatus>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setOrdersStatusList(new java.util.ArrayList<OrdersStatus>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_DESCRIPTION]
+    //   RefererProperty = [productsDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadProductsDescriptionList(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 loadProductsDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<ProductsDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsDescriptionCB>() {
+            public void setup(ProductsDescriptionCB cb) {
+            }
+        };
+        loadProductsDescriptionList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsDescriptionCB&gt;() {
+     *         public void setup(ProductsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadProductsDescriptionList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ProductsDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsDescriptionCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadProductsDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsDescriptionCB, ProductsDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsDescriptionCB&gt;() {
+     *         public void setup(ProductsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadProductsDescriptionList(languagesList, new LoadRefererOption<ProductsDescriptionCB, ProductsDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsDescriptionCB, ProductsDescription> loadRefererOption) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<ProductsDescription, ProductsDescriptionCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            pkList.add(languages.getLanguagesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
+        }
+        final ProductsDescriptionBhv refererBhv = getDaoSelector().getBehavior(ProductsDescriptionBhv.class);
+        final ProductsDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setLanguageId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguageId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsDescription>>();
+        for (ProductsDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setProductsDescriptionList((java.util.List<ProductsDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setProductsDescriptionList(new java.util.ArrayList<ProductsDescription>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS]
+    //   RefererProperty = [productsOptionsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsOptionsList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadProductsOptionsList(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) {
+            }
+        };
+        loadProductsOptionsList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsOptionsList.
+     * <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 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) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadProductsOptionsList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @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) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadProductsOptionsList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsCB, ProductsOptions>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsOptionsList.
+     * <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 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) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadProductsOptionsList(languagesList, new LoadRefererOption<ProductsOptionsCB, ProductsOptions>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @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) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<ProductsOptions, ProductsOptionsCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            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();
+        cb.query().setLanguageId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguageId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsOptions> 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) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsOptions>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setProductsOptionsList((java.util.List<ProductsOptions>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setProductsOptionsList(new java.util.ArrayList<ProductsOptions>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES]
+    //   RefererProperty = [productsOptionsValuesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsOptionsValuesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadProductsOptionsValuesList(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) {
+            }
+        };
+        loadProductsOptionsValuesList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsOptionsValuesList.
+     * <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 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) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadProductsOptionsValuesList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @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) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsValuesCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadProductsOptionsValuesList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesCB, ProductsOptionsValues>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsOptionsValuesList.
+     * <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 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) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadProductsOptionsValuesList(languagesList, new LoadRefererOption<ProductsOptionsValuesCB, ProductsOptionsValues>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     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.
+     * </pre>
+     * 
+     * @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) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsValues, ProductsOptionsValuesCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            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();
+        cb.query().setLanguageId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguageId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsOptionsValues> 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) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguageId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguageId()), new java.util.ArrayList<ProductsOptionsValues>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguageId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setProductsOptionsValuesList((java.util.List<ProductsOptionsValues>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setProductsOptionsValuesList(new java.util.ArrayList<ProductsOptionsValues>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [REVIEWS_DESCRIPTION]
+    //   RefererProperty = [reviewsDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of reviewsDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     languagesBhv.loadReviewsDescriptionList(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 loadReviewsDescriptionList(java.util.List<Languages> languagesList) {
+        final ConditionBeanSetupper<ReviewsDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ReviewsDescriptionCB>() {
+            public void setup(ReviewsDescriptionCB cb) {
+            }
+        };
+        loadReviewsDescriptionList(languagesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of reviewsDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt;() {
+     *         public void setup(ReviewsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadReviewsDescriptionList(languagesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   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();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadReviewsDescriptionList(java.util.List<Languages> languagesList, ConditionBeanSetupper<ReviewsDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("conditionBeanSetupper<ReviewsDescriptionCB>", conditionBeanSetupper);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+        loadReviewsDescriptionList(languagesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ReviewsDescriptionCB, ReviewsDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of reviewsDescriptionList.
+     * <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 LanguagesCB cb = new LanguagesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Languages&gt; languagesList = languagesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt;() {
+     *         public void setup(ReviewsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     languagesBhv.loadReviewsDescriptionList(languagesList, new LoadRefererOption<ReviewsDescriptionCB, ReviewsDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   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();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param languagesList Entity list of languages. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadReviewsDescriptionList(java.util.List<Languages> languagesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ReviewsDescriptionCB, ReviewsDescription> loadRefererOption) {
+        assertObjectNotNull("languagesList<Languages>", languagesList);
+        assertObjectNotNull("loadRefererOption<ReviewsDescription, ReviewsDescriptionCB>", loadRefererOption);
+        if (languagesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Languages> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Languages>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Languages languages : languagesList) {
+            pkList.add(languages.getLanguagesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(languages.getLanguagesId()), languages);
+        }
+        final ReviewsDescriptionBhv refererBhv = getDaoSelector().getBehavior(ReviewsDescriptionBhv.class);
+        final ReviewsDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setLanguagesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_LanguagesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ReviewsDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ReviewsDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ReviewsDescription>>();
+        for (ReviewsDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getLanguagesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getLanguagesId()), new java.util.ArrayList<ReviewsDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Languages myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getLanguagesId()));
+            reffererEntity.setLanguages(myEntity);
+        }
+
+        for (Languages languages : languagesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(languages.getLanguagesId()))) {
+                languages.setReviewsDescriptionList((java.util.List<ReviewsDescription>)pkReffererListMap.get(toLowerCaseIfString(languages.getLanguagesId())));
+            } else {
+                languages.setReviewsDescriptionList(new java.util.ArrayList<ReviewsDescription>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+                
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturersInfoBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturersInfoBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsManufacturersInfoBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     MANUFACTURERS_ID, LANGUAGES_ID, MANUFACTURERS_URL, MANUFACTURERS_SHORT_DESC, MANUFACTURERS_LONG_DESC, URL_CLICKED, DATE_LAST_CLICK
  * 
  * [foreign-property]
- *     manufacturers
+ *     languages, manufacturers
  * 
  * [refferer-property]
  *     
@@ -471,6 +471,26 @@
     //                                                                    ================
 
     /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param manufacturersInfoList The list of manufacturersInfo. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<ManufacturersInfo> manufacturersInfoList) {
+        assertObjectNotNull("manufacturersInfoList", manufacturersInfoList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = manufacturersInfoList.iterator(); ite.hasNext(); ) {
+            final ManufacturersInfo manufacturersInfo = (ManufacturersInfo)ite.next();
+            final Languages foreignEntity = manufacturersInfo.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 'Manufacturers'.
      * 
      * @param manufacturersInfoList The list of manufacturersInfo. (NotNull)

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -33,10 +33,10 @@
  *     ORDERS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, CUSTOMERS_COMPANY, CUSTOMERS_STREET_ADDRESS, CUSTOMERS_SUBURB, CUSTOMERS_CITY, CUSTOMERS_POSTCODE, CUSTOMERS_STATE, CUSTOMERS_COUNTRY, CUSTOMERS_TELEPHONE, CUSTOMERS_CELLPHONE, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_ADDRESS_FORMAT_ID, DELIVERY_NAME, DELIVERY_COMPANY, DELIVERY_DEPARTMENT, DELIVERY_STREET_ADDRESS, DELIVERY_SUBURB, DELIVERY_CITY, DELIVERY_POSTCODE, DELIVERY_STATE, DELIVERY_COUNTRY, DELIVERY_TELEPHONE, DELIVERY_ADDRESS_FORMAT_ID, BILLING_NAME, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_POSTCODE, BILLING_STATE, BILLING_COUNTRY, BILLING_TELEPHONE, BILLING_ADDRESS_FORMAT_ID, PAYMENT_METHOD, CC_TYPE, CC_OWNER, CC_NUMBER, CC_EXPIRES, DELIVERY_CLASS, LAST_MODIFIED, DATE_PURCHASED, ORDERS_STATUS_ID, ORDERS_DATE_FINISHED, CURRENCY, CURRENCY_VALUE
  * 
  * [foreign-property]
- *     customers, ordersStatus
+ *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
  * 
  * [sequence]
  *     
@@ -618,11 +618,509 @@
         }
     }
       
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_ATTRIBUTES]
+    //   RefererProperty = [ordersProductsAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersProductsAttributesList.
+     * <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.loadOrdersProductsAttributesList(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 loadOrdersProductsAttributesList(java.util.List<Orders> ordersList) {
+        final ConditionBeanSetupper<OrdersProductsAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersProductsAttributesCB>() {
+            public void setup(OrdersProductsAttributesCB cb) {
+            }
+        };
+        loadOrdersProductsAttributesList(ordersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersProductsAttributesList.
+     * <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;OrdersProductsAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersProductsAttributesCB&gt;() {
+     *         public void setup(OrdersProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersProductsAttributesList(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 loadOrdersProductsAttributesList(java.util.List<Orders> ordersList, ConditionBeanSetupper<OrdersProductsAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersProductsAttributesCB>", conditionBeanSetupper);
+        if (ordersList.isEmpty()) {
+            return;
+        }
+        loadOrdersProductsAttributesList(ordersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsAttributesCB, OrdersProductsAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersProductsAttributesList.
+     * <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;OrdersProductsAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersProductsAttributesCB&gt;() {
+     *         public void setup(OrdersProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersProductsAttributesList(ordersList, new LoadRefererOption<OrdersProductsAttributesCB, OrdersProductsAttributes>(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 loadOrdersProductsAttributesList(java.util.List<Orders> ordersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsAttributesCB, OrdersProductsAttributes> loadRefererOption) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("loadRefererOption<OrdersProductsAttributes, OrdersProductsAttributesCB>", 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 OrdersProductsAttributesBhv refererBhv = getDaoSelector().getBehavior(OrdersProductsAttributesBhv.class);
+        final OrdersProductsAttributesCB 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<OrdersProductsAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersProductsAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersProductsAttributes>>();
+        for (OrdersProductsAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersId()), new java.util.ArrayList<OrdersProductsAttributes>());
+            }
+            (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.setOrdersProductsAttributesList((java.util.List<OrdersProductsAttributes>)pkReffererListMap.get(toLowerCaseIfString(orders.getOrdersId())));
+            } else {
+                orders.setOrdersProductsAttributesList(new java.util.ArrayList<OrdersProductsAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_DOWNLOAD]
+    //   RefererProperty = [ordersProductsDownloadList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersProductsDownloadList.
+     * <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.loadOrdersProductsDownloadList(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 loadOrdersProductsDownloadList(java.util.List<Orders> ordersList) {
+        final ConditionBeanSetupper<OrdersProductsDownloadCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersProductsDownloadCB>() {
+            public void setup(OrdersProductsDownloadCB cb) {
+            }
+        };
+        loadOrdersProductsDownloadList(ordersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersProductsDownloadList.
+     * <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;OrdersProductsDownloadCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersProductsDownloadCB&gt;() {
+     *         public void setup(OrdersProductsDownloadCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersProductsDownloadList(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 loadOrdersProductsDownloadList(java.util.List<Orders> ordersList, ConditionBeanSetupper<OrdersProductsDownloadCB> conditionBeanSetupper) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersProductsDownloadCB>", conditionBeanSetupper);
+        if (ordersList.isEmpty()) {
+            return;
+        }
+        loadOrdersProductsDownloadList(ordersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsDownloadCB, OrdersProductsDownload>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersProductsDownloadList.
+     * <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;OrdersProductsDownloadCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersProductsDownloadCB&gt;() {
+     *         public void setup(OrdersProductsDownloadCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersProductsDownloadList(ordersList, new LoadRefererOption<OrdersProductsDownloadCB, OrdersProductsDownload>(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 loadOrdersProductsDownloadList(java.util.List<Orders> ordersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsDownloadCB, OrdersProductsDownload> loadRefererOption) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("loadRefererOption<OrdersProductsDownload, OrdersProductsDownloadCB>", 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 OrdersProductsDownloadBhv refererBhv = getDaoSelector().getBehavior(OrdersProductsDownloadBhv.class);
+        final OrdersProductsDownloadCB 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<OrdersProductsDownload> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersProductsDownload>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersProductsDownload>>();
+        for (OrdersProductsDownload reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersId()), new java.util.ArrayList<OrdersProductsDownload>());
+            }
+            (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.setOrdersProductsDownloadList((java.util.List<OrdersProductsDownload>)pkReffererListMap.get(toLowerCaseIfString(orders.getOrdersId())));
+            } else {
+                orders.setOrdersProductsDownloadList(new java.util.ArrayList<OrdersProductsDownload>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_TOTAL]
+    //   RefererProperty = [ordersTotalList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersTotalList.
+     * <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.loadOrdersTotalList(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 loadOrdersTotalList(java.util.List<Orders> ordersList) {
+        final ConditionBeanSetupper<OrdersTotalCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersTotalCB>() {
+            public void setup(OrdersTotalCB cb) {
+            }
+        };
+        loadOrdersTotalList(ordersList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersTotalList.
+     * <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;OrdersTotalCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersTotalCB&gt;() {
+     *         public void setup(OrdersTotalCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersTotalList(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 loadOrdersTotalList(java.util.List<Orders> ordersList, ConditionBeanSetupper<OrdersTotalCB> conditionBeanSetupper) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersTotalCB>", conditionBeanSetupper);
+        if (ordersList.isEmpty()) {
+            return;
+        }
+        loadOrdersTotalList(ordersList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersTotalCB, OrdersTotal>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersTotalList.
+     * <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;OrdersTotalCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersTotalCB&gt;() {
+     *         public void setup(OrdersTotalCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     ordersBhv.loadOrdersTotalList(ordersList, new LoadRefererOption<OrdersTotalCB, OrdersTotal>(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 loadOrdersTotalList(java.util.List<Orders> ordersList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersTotalCB, OrdersTotal> loadRefererOption) {
+        assertObjectNotNull("ordersList<Orders>", ordersList);
+        assertObjectNotNull("loadRefererOption<OrdersTotal, OrdersTotalCB>", 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 OrdersTotalBhv refererBhv = getDaoSelector().getBehavior(OrdersTotalBhv.class);
+        final OrdersTotalCB 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<OrdersTotal> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersTotal>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersTotal>>();
+        for (OrdersTotal reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersId()), new java.util.ArrayList<OrdersTotal>());
+            }
+            (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.setOrdersTotalList((java.util.List<OrdersTotal>)pkReffererListMap.get(toLowerCaseIfString(orders.getOrdersId())));
+            } else {
+                orders.setOrdersTotalList(new java.util.ArrayList<OrdersTotal>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
     /**
+     * Pull out the list of foreign table 'AddressFormat'.
+     * 
+     * @param ordersList The list of orders. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<AddressFormat> pulloutAddressFormatByCustomersAddressFormatId(java.util.List<Orders> ordersList) {
+        assertObjectNotNull("ordersList", ordersList);
+        final java.util.Set<AddressFormat> foreignSet = new java.util.LinkedHashSet<AddressFormat>();
+        for (java.util.Iterator ite = ordersList.iterator(); ite.hasNext(); ) {
+            final Orders orders = (Orders)ite.next();
+            final AddressFormat foreignEntity = orders.getAddressFormatByCustomersAddressFormatId();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<AddressFormat>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'AddressFormat'.
+     * 
+     * @param ordersList The list of orders. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<AddressFormat> pulloutAddressFormatByDeliveryAddressFormatId(java.util.List<Orders> ordersList) {
+        assertObjectNotNull("ordersList", ordersList);
+        final java.util.Set<AddressFormat> foreignSet = new java.util.LinkedHashSet<AddressFormat>();
+        for (java.util.Iterator ite = ordersList.iterator(); ite.hasNext(); ) {
+            final Orders orders = (Orders)ite.next();
+            final AddressFormat foreignEntity = orders.getAddressFormatByDeliveryAddressFormatId();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<AddressFormat>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'AddressFormat'.
+     * 
+     * @param ordersList The list of orders. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<AddressFormat> pulloutAddressFormatByBillingAddressFormatId(java.util.List<Orders> ordersList) {
+        assertObjectNotNull("ordersList", ordersList);
+        final java.util.Set<AddressFormat> foreignSet = new java.util.LinkedHashSet<AddressFormat>();
+        for (java.util.Iterator ite = ordersList.iterator(); ite.hasNext(); ) {
+            final Orders orders = (Orders)ite.next();
+            final AddressFormat foreignEntity = orders.getAddressFormatByBillingAddressFormatId();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<AddressFormat>(foreignSet);
+    }
+
+    /**
      * Pull out the list of foreign table 'Customers'.
      * 
      * @param ordersList The list of orders. (NotNull)
@@ -661,7 +1159,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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsAttributesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     ORDERS_PRODUCTS_ATTRIBUTES_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, PRODUCTS_OPTIONS, PRODUCTS_OPTIONS_VALUES, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Orders'.
+     * 
+     * @param ordersProductsAttributesList The list of ordersProductsAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Orders> pulloutOrders(java.util.List<OrdersProductsAttributes> ordersProductsAttributesList) {
+        assertObjectNotNull("ordersProductsAttributesList", ordersProductsAttributesList);
+        final java.util.Set<Orders> foreignSet = new java.util.LinkedHashSet<Orders>();
+        for (java.util.Iterator ite = ordersProductsAttributesList.iterator(); ite.hasNext(); ) {
+            final OrdersProductsAttributes ordersProductsAttributes = (OrdersProductsAttributes)ite.next();
+            final Orders foreignEntity = ordersProductsAttributes.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 'Products'.
+     * 
+     * @param ordersProductsAttributesList The list of ordersProductsAttributes. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<OrdersProductsAttributes> ordersProductsAttributesList) {
+        assertObjectNotNull("ordersProductsAttributesList", ordersProductsAttributesList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = ordersProductsAttributesList.iterator(); ite.hasNext(); ) {
+            final OrdersProductsAttributes ordersProductsAttributes = (OrdersProductsAttributes)ite.next();
+            final Products foreignEntity = ordersProductsAttributes.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersProductsDownloadBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     ORDERS_PRODUCTS_DOWNLOAD_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, ORDERS_PRODUCTS_FILENAME, DOWNLOAD_MAXDAYS, DOWNLOAD_COUNT
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Orders'.
+     * 
+     * @param ordersProductsDownloadList The list of ordersProductsDownload. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Orders> pulloutOrders(java.util.List<OrdersProductsDownload> ordersProductsDownloadList) {
+        assertObjectNotNull("ordersProductsDownloadList", ordersProductsDownloadList);
+        final java.util.Set<Orders> foreignSet = new java.util.LinkedHashSet<Orders>();
+        for (java.util.Iterator ite = ordersProductsDownloadList.iterator(); ite.hasNext(); ) {
+            final OrdersProductsDownload ordersProductsDownload = (OrdersProductsDownload)ite.next();
+            final Orders foreignEntity = ordersProductsDownload.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 'Products'.
+     * 
+     * @param ordersProductsDownloadList The list of ordersProductsDownload. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<OrdersProductsDownload> ordersProductsDownloadList) {
+        assertObjectNotNull("ordersProductsDownloadList", ordersProductsDownloadList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = ordersProductsDownloadList.iterator(); ite.hasNext(); ) {
+            final OrdersProductsDownload ordersProductsDownload = (OrdersProductsDownload)ite.next();
+            final Products foreignEntity = ordersProductsDownload.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersStatusBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -33,7 +33,7 @@
  *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
  *     ordersList, ordersStatusHistoryList
@@ -767,6 +767,26 @@
     // ===================================================================================
     //                                                                    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

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsOrdersTotalBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     ORDERS_TOTAL_ID, ORDERS_ID, TITLE, TEXT, VALUE, OT_CLASS, SORT_ORDER
  * 
  * [foreign-property]
- *     
+ *     orders
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,26 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Orders'.
+     * 
+     * @param ordersTotalList The list of ordersTotal. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Orders> pulloutOrders(java.util.List<OrdersTotal> ordersTotalList) {
+        assertObjectNotNull("ordersTotalList", ordersTotalList);
+        final java.util.Set<Orders> foreignSet = new java.util.LinkedHashSet<Orders>();
+        for (java.util.Iterator ite = ordersTotalList.iterator(); ite.hasNext(); ) {
+            final OrdersTotal ordersTotal = (OrdersTotal)ite.next();
+            final Orders foreignEntity = ordersTotal.getOrders();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Orders>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     products
  * 
  * [refferer-property]
- *     
+ *     productsAttributesDownloadList
  * 
  * [sequence]
  *     
@@ -470,6 +472,152 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_ATTRIBUTES_DOWNLOAD]
+    //   RefererProperty = [productsAttributesDownloadList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsAttributesDownloadList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsAttributesCB cb = new ProductsAttributesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsAttributes&gt; productsAttributesList = productsAttributesBhv.selectList(cb);
+     *     productsAttributesBhv.loadProductsAttributesDownloadList(productsAttributesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsAttributesList Entity list of productsAttributes. (NotNull)
+     */
+    public void loadProductsAttributesDownloadList(java.util.List<ProductsAttributes> productsAttributesList) {
+        final ConditionBeanSetupper<ProductsAttributesDownloadCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsAttributesDownloadCB>() {
+            public void setup(ProductsAttributesDownloadCB cb) {
+            }
+        };
+        loadProductsAttributesDownloadList(productsAttributesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsAttributesDownloadList.
+     * <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 ProductsAttributesCB cb = new ProductsAttributesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsAttributes&gt; productsAttributesList = productsAttributesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsAttributesDownloadCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsAttributesDownloadCB&gt;() {
+     *         public void setup(ProductsAttributesDownloadCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsAttributesBhv.loadProductsAttributesDownloadList(productsAttributesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsAttributesId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsAttributesId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsAttributesList Entity list of productsAttributes. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsAttributesDownloadList(java.util.List<ProductsAttributes> productsAttributesList, ConditionBeanSetupper<ProductsAttributesDownloadCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsAttributesList<ProductsAttributes>", productsAttributesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsAttributesDownloadCB>", conditionBeanSetupper);
+        if (productsAttributesList.isEmpty()) {
+            return;
+        }
+        loadProductsAttributesDownloadList(productsAttributesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsAttributesDownloadCB, ProductsAttributesDownload>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsAttributesDownloadList.
+     * <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 ProductsAttributesCB cb = new ProductsAttributesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;ProductsAttributes&gt; productsAttributesList = productsAttributesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsAttributesDownloadCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsAttributesDownloadCB&gt;() {
+     *         public void setup(ProductsAttributesDownloadCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsAttributesBhv.loadProductsAttributesDownloadList(productsAttributesList, new LoadRefererOption<ProductsAttributesDownloadCB, ProductsAttributesDownload>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsAttributesId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsAttributesId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsAttributesList Entity list of productsAttributes. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsAttributesDownloadList(java.util.List<ProductsAttributes> productsAttributesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsAttributesDownloadCB, ProductsAttributesDownload> loadRefererOption) {
+        assertObjectNotNull("productsAttributesList<ProductsAttributes>", productsAttributesList);
+        assertObjectNotNull("loadRefererOption<ProductsAttributesDownload, ProductsAttributesDownloadCB>", loadRefererOption);
+        if (productsAttributesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, ProductsAttributes> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, ProductsAttributes>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (ProductsAttributes productsAttributes : productsAttributesList) {
+            pkList.add(productsAttributes.getProductsAttributesId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(productsAttributes.getProductsAttributesId()), productsAttributes);
+        }
+        final ProductsAttributesDownloadBhv refererBhv = getDaoSelector().getBehavior(ProductsAttributesDownloadBhv.class);
+        final ProductsAttributesDownloadCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsAttributesId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsAttributesId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsAttributesDownload> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsAttributesDownload>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsAttributesDownload>>();
+        for (ProductsAttributesDownload reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsAttributesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsAttributesId()), new java.util.ArrayList<ProductsAttributesDownload>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsAttributesId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ProductsAttributes myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsAttributesId()));
+            reffererEntity.setProductsAttributes(myEntity);
+        }
+
+        for (ProductsAttributes productsAttributes : productsAttributesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(productsAttributes.getProductsAttributesId()))) {
+                productsAttributes.setProductsAttributesDownloadList((java.util.List<ProductsAttributesDownload>)pkReffererListMap.get(toLowerCaseIfString(productsAttributes.getProductsAttributesId())));
+            } else {
+                productsAttributes.setProductsAttributesDownloadList(new java.util.ArrayList<ProductsAttributesDownload>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
@@ -493,7 +641,26 @@
         }
         return new java.util.ArrayList<Products>(foreignSet);
     }
-
+  
+    /**
+     * Pull out the list of referer-as-one table 'Products'.
+     * 
+     * @param productsAttributesList The list of productsAttributes. (NotNull)
+     * @return The list of referer-as-one table. (NotNull)
+     */
+    public java.util.List<ProductsAttributesDownload> pulloutProductsAttributesDownloadAsOne(java.util.List<ProductsAttributes> productsAttributesList) {
+        final java.util.Set<ProductsAttributesDownload> reffererAsOneSet = new java.util.LinkedHashSet<ProductsAttributesDownload>();
+        for (java.util.Iterator ite = productsAttributesList.iterator(); ite.hasNext(); ) {
+            final ProductsAttributes productsAttributes = (ProductsAttributes)ite.next();
+            final ProductsAttributesDownload refererEntity = productsAttributes.getProductsAttributesDownloadAsOne();
+            if (refererEntity == null || reffererAsOneSet.contains(refererEntity)) {
+                continue;
+            }
+            reffererAsOneSet.add(refererEntity);
+        }
+        return new java.util.ArrayList<ProductsAttributesDownload>(reffererAsOneSet);
+    }
+  
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesDownloadBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesDownloadBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsAttributesDownloadBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ATTRIBUTES_FILENAME, PRODUCTS_ATTRIBUTES_MAXDAYS, PRODUCTS_ATTRIBUTES_MAXCOUNT
  * 
  * [foreign-property]
- *     
+ *     productsAttributes
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,26 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'ProductsAttributes'.
+     * 
+     * @param productsAttributesDownloadList The list of productsAttributesDownload. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsAttributes> pulloutProductsAttributes(java.util.List<ProductsAttributesDownload> productsAttributesDownloadList) {
+        assertObjectNotNull("productsAttributesDownloadList", productsAttributesDownloadList);
+        final java.util.Set<ProductsAttributes> foreignSet = new java.util.LinkedHashSet<ProductsAttributes>();
+        for (java.util.Iterator ite = productsAttributesDownloadList.iterator(); ite.hasNext(); ) {
+            final ProductsAttributesDownload productsAttributesDownload = (ProductsAttributesDownload)ite.next();
+            final ProductsAttributes foreignEntity = productsAttributesDownload.getProductsAttributes();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsAttributes>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -33,10 +33,10 @@
  *     PRODUCTS_ID, PRODUCTS_QUANTITY, PRODUCTS_MODEL, PRODUCTS_IMAGE, PRODUCTS_PRICE, PRODUCTS_DATE_ADDED, PRODUCTS_LAST_MODIFIED, PRODUCTS_DATE_AVAILABLE, PRODUCTS_WEIGHT, PRODUCTS_STATUS, PRODUCTS_TAX_CLASS_ID, MANUFACTURERS_ID, PRODUCTS_ORDERED
  * 
  * [foreign-property]
- *     manufacturers
+ *     manufacturers, taxClass
  * 
  * [refferer-property]
- *     ordersProductsList, productsAttributesList, productsDescriptionList, productsToCategoriesList
+ *     customersBasketList, customersBasketAttributesList, ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, productsAttributesList, productsDescriptionList, productsNotificationsList, productsToCategoriesList, reviewsList, specialsList
  * 
  * [sequence]
  *     
@@ -473,6 +473,298 @@
     //                                                                        ============
   
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET]
+    //   RefererProperty = [customersBasketList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersBasketList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadCustomersBasketList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadCustomersBasketList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<CustomersBasketCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersBasketCB>() {
+            public void setup(CustomersBasketCB cb) {
+            }
+        };
+        loadCustomersBasketList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersBasketList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersBasketCB&gt;() {
+     *         public void setup(CustomersBasketCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadCustomersBasketList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCustomersBasketList(java.util.List<Products> productsList, ConditionBeanSetupper<CustomersBasketCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersBasketCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadCustomersBasketList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketCB, CustomersBasket>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersBasketList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersBasketCB&gt;() {
+     *         public void setup(CustomersBasketCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadCustomersBasketList(productsList, new LoadRefererOption<CustomersBasketCB, CustomersBasket>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCustomersBasketList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketCB, CustomersBasket> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<CustomersBasket, CustomersBasketCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final CustomersBasketBhv refererBhv = getDaoSelector().getBehavior(CustomersBasketBhv.class);
+        final CustomersBasketCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CustomersBasket> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersBasket>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersBasket>>();
+        for (CustomersBasket reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsId()), new java.util.ArrayList<CustomersBasket>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setCustomersBasketList((java.util.List<CustomersBasket>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setCustomersBasketList(new java.util.ArrayList<CustomersBasket>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadCustomersBasketAttributesList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadCustomersBasketAttributesList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersBasketAttributesCB>() {
+            public void setup(CustomersBasketAttributesCB cb) {
+            }
+        };
+        loadCustomersBasketAttributesList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadCustomersBasketAttributesList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadCustomersBasketAttributesList(java.util.List<Products> productsList, ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersBasketAttributesCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadCustomersBasketAttributesList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadCustomersBasketAttributesList(productsList, new LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadCustomersBasketAttributesList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<CustomersBasketAttributes, CustomersBasketAttributesCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final CustomersBasketAttributesBhv refererBhv = getDaoSelector().getBehavior(CustomersBasketAttributesBhv.class);
+        final CustomersBasketAttributesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CustomersBasketAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>>();
+        for (CustomersBasketAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsId()), new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setCustomersBasketAttributesList((java.util.List<CustomersBasketAttributes>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setCustomersBasketAttributesList(new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS_PRODUCTS]
     //   RefererProperty = [ordersProductsList]
     // * * * * * * * * */
@@ -619,6 +911,298 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_ATTRIBUTES]
+    //   RefererProperty = [ordersProductsAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersProductsAttributesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadOrdersProductsAttributesList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadOrdersProductsAttributesList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<OrdersProductsAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersProductsAttributesCB>() {
+            public void setup(OrdersProductsAttributesCB cb) {
+            }
+        };
+        loadOrdersProductsAttributesList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersProductsAttributesList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersProductsAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersProductsAttributesCB&gt;() {
+     *         public void setup(OrdersProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadOrdersProductsAttributesList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersProductsAttributesList(java.util.List<Products> productsList, ConditionBeanSetupper<OrdersProductsAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersProductsAttributesCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadOrdersProductsAttributesList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsAttributesCB, OrdersProductsAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersProductsAttributesList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersProductsAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersProductsAttributesCB&gt;() {
+     *         public void setup(OrdersProductsAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadOrdersProductsAttributesList(productsList, new LoadRefererOption<OrdersProductsAttributesCB, OrdersProductsAttributes>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersProductsAttributesList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsAttributesCB, OrdersProductsAttributes> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<OrdersProductsAttributes, OrdersProductsAttributesCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final OrdersProductsAttributesBhv refererBhv = getDaoSelector().getBehavior(OrdersProductsAttributesBhv.class);
+        final OrdersProductsAttributesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setOrdersProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_OrdersProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<OrdersProductsAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersProductsAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersProductsAttributes>>();
+        for (OrdersProductsAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersProductsId()), new java.util.ArrayList<OrdersProductsAttributes>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getOrdersProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getOrdersProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setOrdersProductsAttributesList((java.util.List<OrdersProductsAttributes>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setOrdersProductsAttributesList(new java.util.ArrayList<OrdersProductsAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_DOWNLOAD]
+    //   RefererProperty = [ordersProductsDownloadList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of ordersProductsDownloadList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadOrdersProductsDownloadList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadOrdersProductsDownloadList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<OrdersProductsDownloadCB> conditionBeanSetupper = new ConditionBeanSetupper<OrdersProductsDownloadCB>() {
+            public void setup(OrdersProductsDownloadCB cb) {
+            }
+        };
+        loadOrdersProductsDownloadList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of ordersProductsDownloadList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersProductsDownloadCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;OrdersProductsDownloadCB&gt;() {
+     *         public void setup(OrdersProductsDownloadCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadOrdersProductsDownloadList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadOrdersProductsDownloadList(java.util.List<Products> productsList, ConditionBeanSetupper<OrdersProductsDownloadCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<OrdersProductsDownloadCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadOrdersProductsDownloadList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsDownloadCB, OrdersProductsDownload>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of ordersProductsDownloadList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;OrdersProductsDownloadCB&gt; cbSetupper = new ConditionBeanSetupper&lt;OrdersProductsDownloadCB&gt;() {
+     *         public void setup(OrdersProductsDownloadCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadOrdersProductsDownloadList(productsList, new LoadRefererOption<OrdersProductsDownloadCB, OrdersProductsDownload>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setOrdersProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_OrdersProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadOrdersProductsDownloadList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<OrdersProductsDownloadCB, OrdersProductsDownload> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<OrdersProductsDownload, OrdersProductsDownloadCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final OrdersProductsDownloadBhv refererBhv = getDaoSelector().getBehavior(OrdersProductsDownloadBhv.class);
+        final OrdersProductsDownloadCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setOrdersProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_OrdersProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<OrdersProductsDownload> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<OrdersProductsDownload>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<OrdersProductsDownload>>();
+        for (OrdersProductsDownload reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getOrdersProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getOrdersProductsId()), new java.util.ArrayList<OrdersProductsDownload>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getOrdersProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getOrdersProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setOrdersProductsDownloadList((java.util.List<OrdersProductsDownload>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setOrdersProductsDownloadList(new java.util.ArrayList<OrdersProductsDownload>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [PRODUCTS_ATTRIBUTES]
     //   RefererProperty = [productsAttributesList]
     // * * * * * * * * */
@@ -911,6 +1495,152 @@
     }
       
     // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_NOTIFICATIONS]
+    //   RefererProperty = [productsNotificationsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsNotificationsList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadProductsNotificationsList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadProductsNotificationsList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<ProductsNotificationsCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsNotificationsCB>() {
+            public void setup(ProductsNotificationsCB cb) {
+            }
+        };
+        loadProductsNotificationsList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsNotificationsList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsNotificationsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsNotificationsCB&gt;() {
+     *         public void setup(ProductsNotificationsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadProductsNotificationsList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsNotificationsList(java.util.List<Products> productsList, ConditionBeanSetupper<ProductsNotificationsCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsNotificationsCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadProductsNotificationsList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsNotificationsCB, ProductsNotifications>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsNotificationsList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsNotificationsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsNotificationsCB&gt;() {
+     *         public void setup(ProductsNotificationsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadProductsNotificationsList(productsList, new LoadRefererOption<ProductsNotificationsCB, ProductsNotifications>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsNotificationsList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsNotificationsCB, ProductsNotifications> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<ProductsNotifications, ProductsNotificationsCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final ProductsNotificationsBhv refererBhv = getDaoSelector().getBehavior(ProductsNotificationsBhv.class);
+        final ProductsNotificationsCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ProductsNotifications> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsNotifications>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsNotifications>>();
+        for (ProductsNotifications reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsId()), new java.util.ArrayList<ProductsNotifications>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setProductsNotificationsList((java.util.List<ProductsNotifications>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setProductsNotificationsList(new java.util.ArrayList<ProductsNotifications>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [PRODUCTS_TO_CATEGORIES]
     //   RefererProperty = [productsToCategoriesList]
     // * * * * * * * * */
@@ -1056,6 +1786,298 @@
         }
     }
       
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [REVIEWS]
+    //   RefererProperty = [reviewsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of reviewsList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadReviewsList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadReviewsList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<ReviewsCB> conditionBeanSetupper = new ConditionBeanSetupper<ReviewsCB>() {
+            public void setup(ReviewsCB cb) {
+            }
+        };
+        loadReviewsList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of reviewsList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ReviewsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ReviewsCB&gt;() {
+     *         public void setup(ReviewsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadReviewsList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadReviewsList(java.util.List<Products> productsList, ConditionBeanSetupper<ReviewsCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<ReviewsCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadReviewsList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ReviewsCB, Reviews>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of reviewsList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ReviewsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ReviewsCB&gt;() {
+     *         public void setup(ReviewsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadReviewsList(productsList, new LoadRefererOption<ReviewsCB, Reviews>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadReviewsList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ReviewsCB, Reviews> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<Reviews, ReviewsCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final ReviewsBhv refererBhv = getDaoSelector().getBehavior(ReviewsBhv.class);
+        final ReviewsCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Reviews> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Reviews>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Reviews>>();
+        for (Reviews reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsId()), new java.util.ArrayList<Reviews>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setReviewsList((java.util.List<Reviews>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setReviewsList(new java.util.ArrayList<Reviews>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [SPECIALS]
+    //   RefererProperty = [specialsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of specialsList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     productsBhv.loadSpecialsList(productsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     */
+    public void loadSpecialsList(java.util.List<Products> productsList) {
+        final ConditionBeanSetupper<SpecialsCB> conditionBeanSetupper = new ConditionBeanSetupper<SpecialsCB>() {
+            public void setup(SpecialsCB cb) {
+            }
+        };
+        loadSpecialsList(productsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of specialsList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;SpecialsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;SpecialsCB&gt;() {
+     *         public void setup(SpecialsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadSpecialsList(productsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadSpecialsList(java.util.List<Products> productsList, ConditionBeanSetupper<SpecialsCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("conditionBeanSetupper<SpecialsCB>", conditionBeanSetupper);
+        if (productsList.isEmpty()) {
+            return;
+        }
+        loadSpecialsList(productsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<SpecialsCB, Specials>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of specialsList.
+     * <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 ProductsCB cb = new ProductsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Products&gt; productsList = productsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;SpecialsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;SpecialsCB&gt;() {
+     *         public void setup(SpecialsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsBhv.loadSpecialsList(productsList, new LoadRefererOption<SpecialsCB, Specials>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param productsList Entity list of products. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadSpecialsList(java.util.List<Products> productsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<SpecialsCB, Specials> loadRefererOption) {
+        assertObjectNotNull("productsList<Products>", productsList);
+        assertObjectNotNull("loadRefererOption<Specials, SpecialsCB>", loadRefererOption);
+        if (productsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Products> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Products>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Products products : productsList) {
+            pkList.add(products.getProductsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(products.getProductsId()), products);
+        }
+        final SpecialsBhv refererBhv = getDaoSelector().getBehavior(SpecialsBhv.class);
+        final SpecialsCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Specials> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Specials>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Specials>>();
+        for (Specials reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsId()), new java.util.ArrayList<Specials>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Products myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsId()));
+            reffererEntity.setProducts(myEntity);
+        }
+
+        for (Products products : productsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(products.getProductsId()))) {
+                products.setSpecialsList((java.util.List<Specials>)pkReffererListMap.get(toLowerCaseIfString(products.getProductsId())));
+            } else {
+                products.setSpecialsList(new java.util.ArrayList<Specials>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
@@ -1079,7 +2101,27 @@
         }
         return new java.util.ArrayList<Manufacturers>(foreignSet);
     }
-        
+
+    /**
+     * Pull out the list of foreign table 'TaxClass'.
+     * 
+     * @param productsList The list of products. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<TaxClass> pulloutTaxClass(java.util.List<Products> productsList) {
+        assertObjectNotNull("productsList", productsList);
+        final java.util.Set<TaxClass> foreignSet = new java.util.LinkedHashSet<TaxClass>();
+        for (java.util.Iterator ite = productsList.iterator(); ite.hasNext(); ) {
+            final Products products = (Products)ite.next();
+            final TaxClass foreignEntity = products.getTaxClass();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<TaxClass>(foreignSet);
+    }
+                      
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsDescriptionBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsDescriptionBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsDescriptionBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     PRODUCTS_ID, LANGUAGE_ID, PRODUCTS_NAME, PRODUCTS_DESCRIPTION, PRODUCTS_URL, PRODUCTS_VIEWED
  * 
  * [foreign-property]
- *     products
+ *     languages, products
  * 
  * [refferer-property]
  *     
@@ -471,6 +471,26 @@
     //                                                                    ================
 
     /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param productsDescriptionList The list of productsDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<ProductsDescription> productsDescriptionList) {
+        assertObjectNotNull("productsDescriptionList", productsDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = productsDescriptionList.iterator(); ite.hasNext(); ) {
+            final ProductsDescription productsDescription = (ProductsDescription)ite.next();
+            final Languages foreignEntity = productsDescription.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 'Products'.
      * 
      * @param productsDescriptionList The list of productsDescription. (NotNull)

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsNotificationsBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsNotificationsBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsNotificationsBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     PRODUCTS_ID, CUSTOMERS_ID, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     
@@ -470,6 +470,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Customers'.
+     * 
+     * @param productsNotificationsList The list of productsNotifications. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Customers> pulloutCustomers(java.util.List<ProductsNotifications> productsNotificationsList) {
+        assertObjectNotNull("productsNotificationsList", productsNotificationsList);
+        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        for (java.util.Iterator ite = productsNotificationsList.iterator(); ite.hasNext(); ) {
+            final ProductsNotifications productsNotifications = (ProductsNotifications)ite.next();
+            final Customers foreignEntity = productsNotifications.getCustomers();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Customers>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'Products'.
+     * 
+     * @param productsNotificationsList The list of productsNotifications. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<ProductsNotifications> productsNotificationsList) {
+        assertObjectNotNull("productsNotificationsList", productsNotificationsList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = productsNotificationsList.iterator(); ite.hasNext(); ) {
+            final ProductsNotifications productsNotifications = (ProductsNotifications)ite.next();
+            final Products foreignEntity = productsNotifications.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -12,7 +12,9 @@
 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.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -25,16 +27,16 @@
  * 
  * <pre>
  * [primary-key]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
  *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
- *     
+ *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
@@ -212,8 +214,8 @@
     // @param Primary-keys (NotNull)
     // @return Entity. (NotNull)
     //
-    public ProductsOptions delegateGetEntity(java.math.BigDecimal productsOptionsId, java.math.BigDecimal languageId) {
-        return getMyDao().getEntity(productsOptionsId, languageId);
+    public ProductsOptions delegateGetEntity(java.math.BigDecimal productsOptionsId) {
+        return getMyDao().getEntity(productsOptionsId);
     }
 
     /**
@@ -398,9 +400,9 @@
      * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
      * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
      */
-    public ProductsOptions selectByPKValueWithDeletedCheck(java.math.BigDecimal productsOptionsId, java.math.BigDecimal languageId) {
+    public ProductsOptions selectByPKValueWithDeletedCheck(java.math.BigDecimal productsOptionsId) {
         ProductsOptions entity = new ProductsOptions();
-        entity.setProductsOptionsId(productsOptionsId);entity.setLanguageId(languageId);
+        entity.setProductsOptionsId(productsOptionsId);
         final ProductsOptionsCB cb = newMyConditionBean();
         cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
         return selectEntityWithDeletedCheck(cb);
@@ -467,9 +469,325 @@
     }
 
     // ===================================================================================
+    //                                                                        Load Referer
+    //                                                                        ============
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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.loadCustomersBasketAttributesList(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 loadCustomersBasketAttributesList(java.util.List<ProductsOptions> productsOptionsList) {
+        final ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersBasketAttributesCB>() {
+            public void setup(CustomersBasketAttributesCB cb) {
+            }
+        };
+        loadCustomersBasketAttributesList(productsOptionsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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;CustomersBasketAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadCustomersBasketAttributesList(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 loadCustomersBasketAttributesList(java.util.List<ProductsOptions> productsOptionsList, ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersBasketAttributesCB>", conditionBeanSetupper);
+        if (productsOptionsList.isEmpty()) {
+            return;
+        }
+        loadCustomersBasketAttributesList(productsOptionsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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;CustomersBasketAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadCustomersBasketAttributesList(productsOptionsList, new LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(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 loadCustomersBasketAttributesList(java.util.List<ProductsOptions> productsOptionsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes> loadRefererOption) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("loadRefererOption<CustomersBasketAttributes, CustomersBasketAttributesCB>", 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 CustomersBasketAttributesBhv refererBhv = getDaoSelector().getBehavior(CustomersBasketAttributesBhv.class);
+        final CustomersBasketAttributesCB 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<CustomersBasketAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>>();
+        for (CustomersBasketAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsOptionsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsOptionsId()), new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+            (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.setCustomersBasketAttributesList((java.util.List<CustomersBasketAttributes>)pkReffererListMap.get(toLowerCaseIfString(productsOptions.getProductsOptionsId())));
+            } else {
+                productsOptions.setCustomersBasketAttributesList(new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS]
+    //   RefererProperty = [productsOptionsValuesToProductsOptionsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsOptionsValuesToProductsOptionsList.
+     * <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.loadProductsOptionsValuesToProductsOptionsList(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 loadProductsOptionsValuesToProductsOptionsList(java.util.List<ProductsOptions> productsOptionsList) {
+        final ConditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB>() {
+            public void setup(ProductsOptionsValuesToProductsOptionsCB cb) {
+            }
+        };
+        loadProductsOptionsValuesToProductsOptionsList(productsOptionsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsOptionsValuesToProductsOptionsList.
+     * <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;ProductsOptionsValuesToProductsOptionsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesToProductsOptionsCB&gt;() {
+     *         public void setup(ProductsOptionsValuesToProductsOptionsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadProductsOptionsValuesToProductsOptionsList(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 loadProductsOptionsValuesToProductsOptionsList(java.util.List<ProductsOptions> productsOptionsList, ConditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB>", conditionBeanSetupper);
+        if (productsOptionsList.isEmpty()) {
+            return;
+        }
+        loadProductsOptionsValuesToProductsOptionsList(productsOptionsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesToProductsOptionsCB, ProductsOptionsValuesToProductsOptions>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsOptionsValuesToProductsOptionsList.
+     * <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;ProductsOptionsValuesToProductsOptionsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesToProductsOptionsCB&gt;() {
+     *         public void setup(ProductsOptionsValuesToProductsOptionsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsBhv.loadProductsOptionsValuesToProductsOptionsList(productsOptionsList, new LoadRefererOption<ProductsOptionsValuesToProductsOptionsCB, ProductsOptionsValuesToProductsOptions>(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 loadProductsOptionsValuesToProductsOptionsList(java.util.List<ProductsOptions> productsOptionsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesToProductsOptionsCB, ProductsOptionsValuesToProductsOptions> loadRefererOption) {
+        assertObjectNotNull("productsOptionsList<ProductsOptions>", productsOptionsList);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsValuesToProductsOptions, ProductsOptionsValuesToProductsOptionsCB>", 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 ProductsOptionsValuesToProductsOptionsBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsValuesToProductsOptionsBhv.class);
+        final ProductsOptionsValuesToProductsOptionsCB 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<ProductsOptionsValuesToProductsOptions> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsValuesToProductsOptions>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsValuesToProductsOptions>>();
+        for (ProductsOptionsValuesToProductsOptions reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsOptionsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsOptionsId()), new java.util.ArrayList<ProductsOptionsValuesToProductsOptions>());
+            }
+            (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.setProductsOptionsValuesToProductsOptionsList((java.util.List<ProductsOptionsValuesToProductsOptions>)pkReffererListMap.get(toLowerCaseIfString(productsOptions.getProductsOptionsId())));
+            } else {
+                productsOptions.setProductsOptionsValuesToProductsOptionsList(new java.util.ArrayList<ProductsOptionsValuesToProductsOptions>());
+            }
+        }
+    }
+      
+    // ===================================================================================
     //                                                                    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
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -12,7 +12,9 @@
 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.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -25,16 +27,16 @@
  * 
  * <pre>
  * [primary-key]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
  *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
- *     
+ *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
@@ -212,8 +214,8 @@
     // @param Primary-keys (NotNull)
     // @return Entity. (NotNull)
     //
-    public ProductsOptionsValues delegateGetEntity(java.math.BigDecimal productsOptionsValuesId, java.math.BigDecimal languageId) {
-        return getMyDao().getEntity(productsOptionsValuesId, languageId);
+    public ProductsOptionsValues delegateGetEntity(java.math.BigDecimal productsOptionsValuesId) {
+        return getMyDao().getEntity(productsOptionsValuesId);
     }
 
     /**
@@ -398,9 +400,9 @@
      * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasAlreadyBeenDeletedException
      * @exception jp.sf.pal.pompei.allcommon.exception.RecordHasOverlappedException
      */
-    public ProductsOptionsValues selectByPKValueWithDeletedCheck(java.math.BigDecimal productsOptionsValuesId, java.math.BigDecimal languageId) {
+    public ProductsOptionsValues selectByPKValueWithDeletedCheck(java.math.BigDecimal productsOptionsValuesId) {
         ProductsOptionsValues entity = new ProductsOptionsValues();
-        entity.setProductsOptionsValuesId(productsOptionsValuesId);entity.setLanguageId(languageId);
+        entity.setProductsOptionsValuesId(productsOptionsValuesId);
         final ProductsOptionsValuesCB cb = newMyConditionBean();
         cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(entity));
         return selectEntityWithDeletedCheck(cb);
@@ -467,9 +469,325 @@
     }
 
     // ===================================================================================
+    //                                                                        Load Referer
+    //                                                                        ============
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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.loadCustomersBasketAttributesList(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 loadCustomersBasketAttributesList(java.util.List<ProductsOptionsValues> productsOptionsValuesList) {
+        final ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper = new ConditionBeanSetupper<CustomersBasketAttributesCB>() {
+            public void setup(CustomersBasketAttributesCB cb) {
+            }
+        };
+        loadCustomersBasketAttributesList(productsOptionsValuesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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;CustomersBasketAttributesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadCustomersBasketAttributesList(productsOptionsValuesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsOptionsValueId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsOptionsValueId_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 loadCustomersBasketAttributesList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, ConditionBeanSetupper<CustomersBasketAttributesCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("conditionBeanSetupper<CustomersBasketAttributesCB>", conditionBeanSetupper);
+        if (productsOptionsValuesList.isEmpty()) {
+            return;
+        }
+        loadCustomersBasketAttributesList(productsOptionsValuesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of customersBasketAttributesList.
+     * <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;CustomersBasketAttributesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;CustomersBasketAttributesCB&gt;() {
+     *         public void setup(CustomersBasketAttributesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadCustomersBasketAttributesList(productsOptionsValuesList, new LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsOptionsValueId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsOptionsValueId_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 loadCustomersBasketAttributesList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<CustomersBasketAttributesCB, CustomersBasketAttributes> loadRefererOption) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("loadRefererOption<CustomersBasketAttributes, CustomersBasketAttributesCB>", 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 CustomersBasketAttributesBhv refererBhv = getDaoSelector().getBehavior(CustomersBasketAttributesBhv.class);
+        final CustomersBasketAttributesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsOptionsValueId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsOptionsValueId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<CustomersBasketAttributes> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<CustomersBasketAttributes>>();
+        for (CustomersBasketAttributes reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsOptionsValueId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsOptionsValueId()), new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsOptionsValueId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final ProductsOptionsValues myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsOptionsValueId()));
+            reffererEntity.setProductsOptionsValues(myEntity);
+        }
+
+        for (ProductsOptionsValues productsOptionsValues : productsOptionsValuesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId()))) {
+                productsOptionsValues.setCustomersBasketAttributesList((java.util.List<CustomersBasketAttributes>)pkReffererListMap.get(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId())));
+            } else {
+                productsOptionsValues.setCustomersBasketAttributesList(new java.util.ArrayList<CustomersBasketAttributes>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS]
+    //   RefererProperty = [productsOptionsValuesToProductsOptionsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsOptionsValuesToProductsOptionsList.
+     * <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.loadProductsOptionsValuesToProductsOptionsList(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 loadProductsOptionsValuesToProductsOptionsList(java.util.List<ProductsOptionsValues> productsOptionsValuesList) {
+        final ConditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB>() {
+            public void setup(ProductsOptionsValuesToProductsOptionsCB cb) {
+            }
+        };
+        loadProductsOptionsValuesToProductsOptionsList(productsOptionsValuesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsOptionsValuesToProductsOptionsList.
+     * <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;ProductsOptionsValuesToProductsOptionsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesToProductsOptionsCB&gt;() {
+     *         public void setup(ProductsOptionsValuesToProductsOptionsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadProductsOptionsValuesToProductsOptionsList(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 loadProductsOptionsValuesToProductsOptionsList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, ConditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB> conditionBeanSetupper) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsOptionsValuesToProductsOptionsCB>", conditionBeanSetupper);
+        if (productsOptionsValuesList.isEmpty()) {
+            return;
+        }
+        loadProductsOptionsValuesToProductsOptionsList(productsOptionsValuesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesToProductsOptionsCB, ProductsOptionsValuesToProductsOptions>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsOptionsValuesToProductsOptionsList.
+     * <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;ProductsOptionsValuesToProductsOptionsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsOptionsValuesToProductsOptionsCB&gt;() {
+     *         public void setup(ProductsOptionsValuesToProductsOptionsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     productsOptionsValuesBhv.loadProductsOptionsValuesToProductsOptionsList(productsOptionsValuesList, new LoadRefererOption<ProductsOptionsValuesToProductsOptionsCB, ProductsOptionsValuesToProductsOptions>(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 loadProductsOptionsValuesToProductsOptionsList(java.util.List<ProductsOptionsValues> productsOptionsValuesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsOptionsValuesToProductsOptionsCB, ProductsOptionsValuesToProductsOptions> loadRefererOption) {
+        assertObjectNotNull("productsOptionsValuesList<ProductsOptionsValues>", productsOptionsValuesList);
+        assertObjectNotNull("loadRefererOption<ProductsOptionsValuesToProductsOptions, ProductsOptionsValuesToProductsOptionsCB>", 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 ProductsOptionsValuesToProductsOptionsBhv refererBhv = getDaoSelector().getBehavior(ProductsOptionsValuesToProductsOptionsBhv.class);
+        final ProductsOptionsValuesToProductsOptionsCB 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<ProductsOptionsValuesToProductsOptions> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ProductsOptionsValuesToProductsOptions>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ProductsOptionsValuesToProductsOptions>>();
+        for (ProductsOptionsValuesToProductsOptions reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsOptionsValuesId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsOptionsValuesId()), new java.util.ArrayList<ProductsOptionsValuesToProductsOptions>());
+            }
+            (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.setProductsOptionsValuesToProductsOptionsList((java.util.List<ProductsOptionsValuesToProductsOptions>)pkReffererListMap.get(toLowerCaseIfString(productsOptionsValues.getProductsOptionsValuesId())));
+            } else {
+                productsOptionsValues.setProductsOptionsValuesToProductsOptionsList(new java.util.ArrayList<ProductsOptionsValuesToProductsOptions>());
+            }
+        }
+    }
+      
+    // ===================================================================================
     //                                                                    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
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsOptionsValuesToProductsOptionsBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     
+ *     productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'ProductsOptions'.
+     * 
+     * @param productsOptionsValuesToProductsOptionsList The list of productsOptionsValuesToProductsOptions. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptions> pulloutProductsOptions(java.util.List<ProductsOptionsValuesToProductsOptions> productsOptionsValuesToProductsOptionsList) {
+        assertObjectNotNull("productsOptionsValuesToProductsOptionsList", productsOptionsValuesToProductsOptionsList);
+        final java.util.Set<ProductsOptions> foreignSet = new java.util.LinkedHashSet<ProductsOptions>();
+        for (java.util.Iterator ite = productsOptionsValuesToProductsOptionsList.iterator(); ite.hasNext(); ) {
+            final ProductsOptionsValuesToProductsOptions productsOptionsValuesToProductsOptions = (ProductsOptionsValuesToProductsOptions)ite.next();
+            final ProductsOptions foreignEntity = productsOptionsValuesToProductsOptions.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 productsOptionsValuesToProductsOptionsList The list of productsOptionsValuesToProductsOptions. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<ProductsOptionsValues> pulloutProductsOptionsValues(java.util.List<ProductsOptionsValuesToProductsOptions> productsOptionsValuesToProductsOptionsList) {
+        assertObjectNotNull("productsOptionsValuesToProductsOptionsList", productsOptionsValuesToProductsOptionsList);
+        final java.util.Set<ProductsOptionsValues> foreignSet = new java.util.LinkedHashSet<ProductsOptionsValues>();
+        for (java.util.Iterator ite = productsOptionsValuesToProductsOptionsList.iterator(); ite.hasNext(); ) {
+            final ProductsOptionsValuesToProductsOptions productsOptionsValuesToProductsOptions = (ProductsOptionsValuesToProductsOptions)ite.next();
+            final ProductsOptionsValues foreignEntity = productsOptionsValuesToProductsOptions.getProductsOptionsValues();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<ProductsOptionsValues>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsToCategoriesBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsToCategoriesBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsProductsToCategoriesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     PRODUCTS_ID, CATEGORIES_ID, COMMENT
  * 
  * [foreign-property]
- *     products
+ *     categories, products
  * 
  * [refferer-property]
  *     
@@ -471,6 +471,26 @@
     //                                                                    ================
 
     /**
+     * Pull out the list of foreign table 'Categories'.
+     * 
+     * @param productsToCategoriesList The list of productsToCategories. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Categories> pulloutCategories(java.util.List<ProductsToCategories> productsToCategoriesList) {
+        assertObjectNotNull("productsToCategoriesList", productsToCategoriesList);
+        final java.util.Set<Categories> foreignSet = new java.util.LinkedHashSet<Categories>();
+        for (java.util.Iterator ite = productsToCategoriesList.iterator(); ite.hasNext(); ) {
+            final ProductsToCategories productsToCategories = (ProductsToCategories)ite.next();
+            final Categories foreignEntity = productsToCategories.getCategories();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Categories>(foreignSet);
+    }
+
+    /**
      * Pull out the list of foreign table 'Products'.
      * 
      * @param productsToCategoriesList The list of productsToCategories. (NotNull)

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -31,10 +33,10 @@
  *     REVIEWS_ID, PRODUCTS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, REVIEWS_RATING, DATE_ADDED, LAST_MODIFIED, REVIEWS_READ
  * 
  * [foreign-property]
- *     
+ *     products
  * 
  * [refferer-property]
- *     
+ *     reviewsDescriptionList
  * 
  * [sequence]
  *     
@@ -470,10 +472,176 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [REVIEWS_DESCRIPTION]
+    //   RefererProperty = [reviewsDescriptionList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of reviewsDescriptionList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ReviewsCB cb = new ReviewsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Reviews&gt; reviewsList = reviewsBhv.selectList(cb);
+     *     reviewsBhv.loadReviewsDescriptionList(reviewsList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param reviewsList Entity list of reviews. (NotNull)
+     */
+    public void loadReviewsDescriptionList(java.util.List<Reviews> reviewsList) {
+        final ConditionBeanSetupper<ReviewsDescriptionCB> conditionBeanSetupper = new ConditionBeanSetupper<ReviewsDescriptionCB>() {
+            public void setup(ReviewsDescriptionCB cb) {
+            }
+        };
+        loadReviewsDescriptionList(reviewsList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of reviewsDescriptionList.
+     * <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 ReviewsCB cb = new ReviewsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Reviews&gt; reviewsList = reviewsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt;() {
+     *         public void setup(ReviewsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     reviewsBhv.loadReviewsDescriptionList(reviewsList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setReviewsId_InScope(pkList);
+     *     cb.query().addOrderBy_ReviewsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param reviewsList Entity list of reviews. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadReviewsDescriptionList(java.util.List<Reviews> reviewsList, ConditionBeanSetupper<ReviewsDescriptionCB> conditionBeanSetupper) {
+        assertObjectNotNull("reviewsList<Reviews>", reviewsList);
+        assertObjectNotNull("conditionBeanSetupper<ReviewsDescriptionCB>", conditionBeanSetupper);
+        if (reviewsList.isEmpty()) {
+            return;
+        }
+        loadReviewsDescriptionList(reviewsList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ReviewsDescriptionCB, ReviewsDescription>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of reviewsDescriptionList.
+     * <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 ReviewsCB cb = new ReviewsCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Reviews&gt; reviewsList = reviewsBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ReviewsDescriptionCB&gt;() {
+     *         public void setup(ReviewsDescriptionCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     reviewsBhv.loadReviewsDescriptionList(reviewsList, new LoadRefererOption<ReviewsDescriptionCB, ReviewsDescription>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setReviewsId_InScope(pkList);
+     *     cb.query().addOrderBy_ReviewsId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param reviewsList Entity list of reviews. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadReviewsDescriptionList(java.util.List<Reviews> reviewsList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ReviewsDescriptionCB, ReviewsDescription> loadRefererOption) {
+        assertObjectNotNull("reviewsList<Reviews>", reviewsList);
+        assertObjectNotNull("loadRefererOption<ReviewsDescription, ReviewsDescriptionCB>", loadRefererOption);
+        if (reviewsList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Reviews> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Reviews>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Reviews reviews : reviewsList) {
+            pkList.add(reviews.getReviewsId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(reviews.getReviewsId()), reviews);
+        }
+        final ReviewsDescriptionBhv refererBhv = getDaoSelector().getBehavior(ReviewsDescriptionBhv.class);
+        final ReviewsDescriptionCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setReviewsId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ReviewsId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ReviewsDescription> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ReviewsDescription>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ReviewsDescription>>();
+        for (ReviewsDescription reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getReviewsId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getReviewsId()), new java.util.ArrayList<ReviewsDescription>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getReviewsId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Reviews myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getReviewsId()));
+            reffererEntity.setReviews(myEntity);
+        }
+
+        for (Reviews reviews : reviewsList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(reviews.getReviewsId()))) {
+                reviews.setReviewsDescriptionList((java.util.List<ReviewsDescription>)pkReffererListMap.get(toLowerCaseIfString(reviews.getReviewsId())));
+            } else {
+                reviews.setReviewsDescriptionList(new java.util.ArrayList<ReviewsDescription>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Products'.
+     * 
+     * @param reviewsList The list of reviews. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<Reviews> reviewsList) {
+        assertObjectNotNull("reviewsList", reviewsList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = reviewsList.iterator(); ite.hasNext(); ) {
+            final Reviews reviews = (Reviews)ite.next();
+            final Products foreignEntity = reviews.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+  
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsReviewsDescriptionBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     REVIEWS_ID, LANGUAGES_ID, REVIEWS_TEXT
  * 
  * [foreign-property]
- *     
+ *     languages, reviews
  * 
  * [refferer-property]
  *     
@@ -470,6 +470,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Languages'.
+     * 
+     * @param reviewsDescriptionList The list of reviewsDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Languages> pulloutLanguages(java.util.List<ReviewsDescription> reviewsDescriptionList) {
+        assertObjectNotNull("reviewsDescriptionList", reviewsDescriptionList);
+        final java.util.Set<Languages> foreignSet = new java.util.LinkedHashSet<Languages>();
+        for (java.util.Iterator ite = reviewsDescriptionList.iterator(); ite.hasNext(); ) {
+            final ReviewsDescription reviewsDescription = (ReviewsDescription)ite.next();
+            final Languages foreignEntity = reviewsDescription.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 'Reviews'.
+     * 
+     * @param reviewsDescriptionList The list of reviewsDescription. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Reviews> pulloutReviews(java.util.List<ReviewsDescription> reviewsDescriptionList) {
+        assertObjectNotNull("reviewsDescriptionList", reviewsDescriptionList);
+        final java.util.Set<Reviews> foreignSet = new java.util.LinkedHashSet<Reviews>();
+        for (java.util.Iterator ite = reviewsDescriptionList.iterator(); ite.hasNext(); ) {
+            final ReviewsDescription reviewsDescription = (ReviewsDescription)ite.next();
+            final Reviews foreignEntity = reviewsDescription.getReviews();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Reviews>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsSpecialsBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     SPECIALS_ID, PRODUCTS_ID, SPECIALS_NEW_PRODUCTS_PRICE, SPECIALS_DATE_ADDED, SPECIALS_LAST_MODIFIED, EXPIRES_DATE, DATE_STATUS_CHANGE, STATUS
  * 
  * [foreign-property]
- *     
+ *     products
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,26 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Products'.
+     * 
+     * @param specialsList The list of specials. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Products> pulloutProducts(java.util.List<Specials> specialsList) {
+        assertObjectNotNull("specialsList", specialsList);
+        final java.util.Set<Products> foreignSet = new java.util.LinkedHashSet<Products>();
+        for (java.util.Iterator ite = specialsList.iterator(); ite.hasNext(); ) {
+            final Specials specials = (Specials)ite.next();
+            final Products foreignEntity = specials.getProducts();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Products>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxClassBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -34,7 +36,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     productsList, taxRatesList
  * 
  * [sequence]
  *     
@@ -470,10 +472,302 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS]
+    //   RefererProperty = [productsList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of productsList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final TaxClassCB cb = new TaxClassCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;TaxClass&gt; taxClassList = taxClassBhv.selectList(cb);
+     *     taxClassBhv.loadProductsList(taxClassList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param taxClassList Entity list of taxClass. (NotNull)
+     */
+    public void loadProductsList(java.util.List<TaxClass> taxClassList) {
+        final ConditionBeanSetupper<ProductsCB> conditionBeanSetupper = new ConditionBeanSetupper<ProductsCB>() {
+            public void setup(ProductsCB cb) {
+            }
+        };
+        loadProductsList(taxClassList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of productsList.
+     * <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 TaxClassCB cb = new TaxClassCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;TaxClass&gt; taxClassList = taxClassBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ProductsCB&gt;() {
+     *         public void setup(ProductsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     taxClassBhv.loadProductsList(taxClassList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsTaxClassId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsTaxClassId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param taxClassList Entity list of taxClass. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadProductsList(java.util.List<TaxClass> taxClassList, ConditionBeanSetupper<ProductsCB> conditionBeanSetupper) {
+        assertObjectNotNull("taxClassList<TaxClass>", taxClassList);
+        assertObjectNotNull("conditionBeanSetupper<ProductsCB>", conditionBeanSetupper);
+        if (taxClassList.isEmpty()) {
+            return;
+        }
+        loadProductsList(taxClassList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsCB, Products>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of productsList.
+     * <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 TaxClassCB cb = new TaxClassCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;TaxClass&gt; taxClassList = taxClassBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ProductsCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ProductsCB&gt;() {
+     *         public void setup(ProductsCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     taxClassBhv.loadProductsList(taxClassList, new LoadRefererOption<ProductsCB, Products>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setProductsTaxClassId_InScope(pkList);
+     *     cb.query().addOrderBy_ProductsTaxClassId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param taxClassList Entity list of taxClass. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadProductsList(java.util.List<TaxClass> taxClassList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ProductsCB, Products> loadRefererOption) {
+        assertObjectNotNull("taxClassList<TaxClass>", taxClassList);
+        assertObjectNotNull("loadRefererOption<Products, ProductsCB>", loadRefererOption);
+        if (taxClassList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, TaxClass> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, TaxClass>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (TaxClass taxClass : taxClassList) {
+            pkList.add(taxClass.getTaxClassId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(taxClass.getTaxClassId()), taxClass);
+        }
+        final ProductsBhv refererBhv = getDaoSelector().getBehavior(ProductsBhv.class);
+        final ProductsCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setProductsTaxClassId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ProductsTaxClassId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<Products> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<Products>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<Products>>();
+        for (Products reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getProductsTaxClassId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getProductsTaxClassId()), new java.util.ArrayList<Products>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getProductsTaxClassId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final TaxClass myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getProductsTaxClassId()));
+            reffererEntity.setTaxClass(myEntity);
+        }
+
+        for (TaxClass taxClass : taxClassList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(taxClass.getTaxClassId()))) {
+                taxClass.setProductsList((java.util.List<Products>)pkReffererListMap.get(toLowerCaseIfString(taxClass.getTaxClassId())));
+            } else {
+                taxClass.setProductsList(new java.util.ArrayList<Products>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [TAX_RATES]
+    //   RefererProperty = [taxRatesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of taxRatesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final TaxClassCB cb = new TaxClassCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;TaxClass&gt; taxClassList = taxClassBhv.selectList(cb);
+     *     taxClassBhv.loadTaxRatesList(taxClassList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param taxClassList Entity list of taxClass. (NotNull)
+     */
+    public void loadTaxRatesList(java.util.List<TaxClass> taxClassList) {
+        final ConditionBeanSetupper<TaxRatesCB> conditionBeanSetupper = new ConditionBeanSetupper<TaxRatesCB>() {
+            public void setup(TaxRatesCB cb) {
+            }
+        };
+        loadTaxRatesList(taxClassList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of taxRatesList.
+     * <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 TaxClassCB cb = new TaxClassCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;TaxClass&gt; taxClassList = taxClassBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;TaxRatesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;TaxRatesCB&gt;() {
+     *         public void setup(TaxRatesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     taxClassBhv.loadTaxRatesList(taxClassList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setTaxClassId_InScope(pkList);
+     *     cb.query().addOrderBy_TaxClassId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param taxClassList Entity list of taxClass. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadTaxRatesList(java.util.List<TaxClass> taxClassList, ConditionBeanSetupper<TaxRatesCB> conditionBeanSetupper) {
+        assertObjectNotNull("taxClassList<TaxClass>", taxClassList);
+        assertObjectNotNull("conditionBeanSetupper<TaxRatesCB>", conditionBeanSetupper);
+        if (taxClassList.isEmpty()) {
+            return;
+        }
+        loadTaxRatesList(taxClassList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<TaxRatesCB, TaxRates>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of taxRatesList.
+     * <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 TaxClassCB cb = new TaxClassCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;TaxClass&gt; taxClassList = taxClassBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;TaxRatesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;TaxRatesCB&gt;() {
+     *         public void setup(TaxRatesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     taxClassBhv.loadTaxRatesList(taxClassList, new LoadRefererOption<TaxRatesCB, TaxRates>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setTaxClassId_InScope(pkList);
+     *     cb.query().addOrderBy_TaxClassId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param taxClassList Entity list of taxClass. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadTaxRatesList(java.util.List<TaxClass> taxClassList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<TaxRatesCB, TaxRates> loadRefererOption) {
+        assertObjectNotNull("taxClassList<TaxClass>", taxClassList);
+        assertObjectNotNull("loadRefererOption<TaxRates, TaxRatesCB>", loadRefererOption);
+        if (taxClassList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, TaxClass> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, TaxClass>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (TaxClass taxClass : taxClassList) {
+            pkList.add(taxClass.getTaxClassId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(taxClass.getTaxClassId()), taxClass);
+        }
+        final TaxRatesBhv refererBhv = getDaoSelector().getBehavior(TaxRatesBhv.class);
+        final TaxRatesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setTaxClassId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_TaxClassId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<TaxRates> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<TaxRates>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<TaxRates>>();
+        for (TaxRates reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getTaxClassId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getTaxClassId()), new java.util.ArrayList<TaxRates>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getTaxClassId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final TaxClass myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getTaxClassId()));
+            reffererEntity.setTaxClass(myEntity);
+        }
+
+        for (TaxClass taxClass : taxClassList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(taxClass.getTaxClassId()))) {
+                taxClass.setTaxRatesList((java.util.List<TaxRates>)pkReffererListMap.get(toLowerCaseIfString(taxClass.getTaxClassId())));
+            } else {
+                taxClass.setTaxRatesList(new java.util.ArrayList<TaxRates>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
-
+    
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsTaxRatesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     TAX_RATES_ID, TAX_ZONE_ID, TAX_CLASS_ID, TAX_PRIORITY, TAX_RATE, TAX_DESCRIPTION, LAST_MODIFIED, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     taxClass, zones
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'TaxClass'.
+     * 
+     * @param taxRatesList The list of taxRates. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<TaxClass> pulloutTaxClass(java.util.List<TaxRates> taxRatesList) {
+        assertObjectNotNull("taxRatesList", taxRatesList);
+        final java.util.Set<TaxClass> foreignSet = new java.util.LinkedHashSet<TaxClass>();
+        for (java.util.Iterator ite = taxRatesList.iterator(); ite.hasNext(); ) {
+            final TaxRates taxRates = (TaxRates)ite.next();
+            final TaxClass foreignEntity = taxRates.getTaxClass();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<TaxClass>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'Zones'.
+     * 
+     * @param taxRatesList The list of taxRates. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Zones> pulloutZones(java.util.List<TaxRates> taxRatesList) {
+        assertObjectNotNull("taxRatesList", taxRatesList);
+        final java.util.Set<Zones> foreignSet = new java.util.LinkedHashSet<Zones>();
+        for (java.util.Iterator ite = taxRatesList.iterator(); ite.hasNext(); ) {
+            final TaxRates taxRates = (TaxRates)ite.next();
+            final Zones foreignEntity = taxRates.getZones();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Zones>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsWhosOnlineBhv.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsWhosOnlineBhv.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsWhosOnlineBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     CUSTOMER_ID, FULL_NAME, SESSION_ID, IP_ADDRESS, TIME_ENTRY, TIME_LAST_CLICK, LAST_PAGE_URL
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     
@@ -361,6 +361,26 @@
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
+
+    /**
+     * Pull out the list of foreign table 'Customers'.
+     * 
+     * @param whosOnlineList The list of whosOnline. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Customers> pulloutCustomers(java.util.List<WhosOnline> whosOnlineList) {
+        assertObjectNotNull("whosOnlineList", whosOnlineList);
+        final java.util.Set<Customers> foreignSet = new java.util.LinkedHashSet<Customers>();
+        for (java.util.Iterator ite = whosOnlineList.iterator(); ite.hasNext(); ) {
+            final WhosOnline whosOnline = (WhosOnline)ite.next();
+            final Customers foreignEntity = whosOnline.getCustomers();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Customers>(foreignSet);
+    }
   
     // ===================================================================================
     //                                                                           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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -13,6 +13,8 @@
 import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.pompei.allcommon.dbmeta.DBMeta;
   
+import jp.sf.pal.pompei.exbhv.*;
+  
 import jp.sf.pal.pompei.exdao.*;
 import jp.sf.pal.pompei.exentity.*;
 import jp.sf.pal.pompei.bsentity.dbmeta.*;
@@ -31,10 +33,10 @@
  *     ZONE_ID, ZONE_COUNTRY_ID, ZONE_CODE, ZONE_NAME
  * 
  * [foreign-property]
- *     
+ *     countries
  * 
  * [refferer-property]
- *     
+ *     addressBookList, taxRatesList, zonesToGeoZonesList
  * 
  * [sequence]
  *     
@@ -470,10 +472,468 @@
     //                                                                        Load Referer
     //                                                                        ============
   
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ADDRESS_BOOK]
+    //   RefererProperty = [addressBookList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of addressBookList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     zonesBhv.loadAddressBookList(zonesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     */
+    public void loadAddressBookList(java.util.List<Zones> zonesList) {
+        final ConditionBeanSetupper<AddressBookCB> conditionBeanSetupper = new ConditionBeanSetupper<AddressBookCB>() {
+            public void setup(AddressBookCB cb) {
+            }
+        };
+        loadAddressBookList(zonesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of addressBookList.
+     * <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 ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;AddressBookCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;AddressBookCB&gt;() {
+     *         public void setup(AddressBookCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     zonesBhv.loadAddressBookList(zonesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setEntryZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_EntryZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadAddressBookList(java.util.List<Zones> zonesList, ConditionBeanSetupper<AddressBookCB> conditionBeanSetupper) {
+        assertObjectNotNull("zonesList<Zones>", zonesList);
+        assertObjectNotNull("conditionBeanSetupper<AddressBookCB>", conditionBeanSetupper);
+        if (zonesList.isEmpty()) {
+            return;
+        }
+        loadAddressBookList(zonesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<AddressBookCB, AddressBook>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of addressBookList.
+     * <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 ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;AddressBookCB&gt; cbSetupper = new ConditionBeanSetupper&lt;AddressBookCB&gt;() {
+     *         public void setup(AddressBookCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     zonesBhv.loadAddressBookList(zonesList, new LoadRefererOption<AddressBookCB, AddressBook>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setEntryZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_EntryZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadAddressBookList(java.util.List<Zones> zonesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<AddressBookCB, AddressBook> loadRefererOption) {
+        assertObjectNotNull("zonesList<Zones>", zonesList);
+        assertObjectNotNull("loadRefererOption<AddressBook, AddressBookCB>", loadRefererOption);
+        if (zonesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Zones> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Zones>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Zones zones : zonesList) {
+            pkList.add(zones.getZoneId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(zones.getZoneId()), zones);
+        }
+        final AddressBookBhv refererBhv = getDaoSelector().getBehavior(AddressBookBhv.class);
+        final AddressBookCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setEntryZoneId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_EntryZoneId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<AddressBook> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<AddressBook>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<AddressBook>>();
+        for (AddressBook reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getEntryZoneId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getEntryZoneId()), new java.util.ArrayList<AddressBook>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getEntryZoneId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Zones myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getEntryZoneId()));
+            reffererEntity.setZones(myEntity);
+        }
+
+        for (Zones zones : zonesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(zones.getZoneId()))) {
+                zones.setAddressBookList((java.util.List<AddressBook>)pkReffererListMap.get(toLowerCaseIfString(zones.getZoneId())));
+            } else {
+                zones.setAddressBookList(new java.util.ArrayList<AddressBook>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [TAX_RATES]
+    //   RefererProperty = [taxRatesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of taxRatesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     zonesBhv.loadTaxRatesList(zonesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     */
+    public void loadTaxRatesList(java.util.List<Zones> zonesList) {
+        final ConditionBeanSetupper<TaxRatesCB> conditionBeanSetupper = new ConditionBeanSetupper<TaxRatesCB>() {
+            public void setup(TaxRatesCB cb) {
+            }
+        };
+        loadTaxRatesList(zonesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of taxRatesList.
+     * <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 ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;TaxRatesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;TaxRatesCB&gt;() {
+     *         public void setup(TaxRatesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     zonesBhv.loadTaxRatesList(zonesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setTaxZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_TaxZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadTaxRatesList(java.util.List<Zones> zonesList, ConditionBeanSetupper<TaxRatesCB> conditionBeanSetupper) {
+        assertObjectNotNull("zonesList<Zones>", zonesList);
+        assertObjectNotNull("conditionBeanSetupper<TaxRatesCB>", conditionBeanSetupper);
+        if (zonesList.isEmpty()) {
+            return;
+        }
+        loadTaxRatesList(zonesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<TaxRatesCB, TaxRates>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of taxRatesList.
+     * <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 ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;TaxRatesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;TaxRatesCB&gt;() {
+     *         public void setup(TaxRatesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     zonesBhv.loadTaxRatesList(zonesList, new LoadRefererOption<TaxRatesCB, TaxRates>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setTaxZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_TaxZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadTaxRatesList(java.util.List<Zones> zonesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<TaxRatesCB, TaxRates> loadRefererOption) {
+        assertObjectNotNull("zonesList<Zones>", zonesList);
+        assertObjectNotNull("loadRefererOption<TaxRates, TaxRatesCB>", loadRefererOption);
+        if (zonesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Zones> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Zones>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Zones zones : zonesList) {
+            pkList.add(zones.getZoneId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(zones.getZoneId()), zones);
+        }
+        final TaxRatesBhv refererBhv = getDaoSelector().getBehavior(TaxRatesBhv.class);
+        final TaxRatesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setTaxZoneId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_TaxZoneId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<TaxRates> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<TaxRates>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<TaxRates>>();
+        for (TaxRates reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getTaxZoneId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getTaxZoneId()), new java.util.ArrayList<TaxRates>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getTaxZoneId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Zones myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getTaxZoneId()));
+            reffererEntity.setZones(myEntity);
+        }
+
+        for (Zones zones : zonesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(zones.getZoneId()))) {
+                zones.setTaxRatesList((java.util.List<TaxRates>)pkReffererListMap.get(toLowerCaseIfString(zones.getZoneId())));
+            } else {
+                zones.setTaxRatesList(new java.util.ArrayList<TaxRates>());
+            }
+        }
+    }
+      
+    // /* * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ZONES_TO_GEO_ZONES]
+    //   RefererProperty = [zonesToGeoZonesList]
+    // * * * * * * * * */
+    
+    /**
+     * Load referer of zonesToGeoZonesList.
+     * <pre>
+     *   You can load referer.
+     * 
+     *   ex) {Client Example}
+     *     final ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     zonesBhv.loadZonesToGeoZonesList(zonesList);
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     */
+    public void loadZonesToGeoZonesList(java.util.List<Zones> zonesList) {
+        final ConditionBeanSetupper<ZonesToGeoZonesCB> conditionBeanSetupper = new ConditionBeanSetupper<ZonesToGeoZonesCB>() {
+            public void setup(ZonesToGeoZonesCB cb) {
+            }
+        };
+        loadZonesToGeoZonesList(zonesList, conditionBeanSetupper);
+    }
+
+    /**
+     * Load referer of zonesToGeoZonesList.
+     * <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 ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt; conditionBeanSetupper = new ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt;() {
+     *         public void setup(ZonesToGeoZonesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     zonesBhv.loadZonesToGeoZonesList(zonesList, conditionBeanSetupper);
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_ZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     * @param conditionBeanSetupper Referer condition setupper instance for registering referer condition. (NotNull)
+     */
+    public void loadZonesToGeoZonesList(java.util.List<Zones> zonesList, ConditionBeanSetupper<ZonesToGeoZonesCB> conditionBeanSetupper) {
+        assertObjectNotNull("zonesList<Zones>", zonesList);
+        assertObjectNotNull("conditionBeanSetupper<ZonesToGeoZonesCB>", conditionBeanSetupper);
+        if (zonesList.isEmpty()) {
+            return;
+        }
+        loadZonesToGeoZonesList(zonesList, new jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ZonesToGeoZonesCB, ZonesToGeoZones>(conditionBeanSetupper));
+    }
+
+    /**
+     * Load referer of zonesToGeoZonesList.
+     * <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 ZonesCB cb = new ZonesCB();
+     *     cb.query().setXxx_Equal("xxx");
+     *     final List&lt;Zones&gt; zonesList = zonesBhv.selectList(cb);
+     *     final ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt; cbSetupper = new ConditionBeanSetupper&lt;ZonesToGeoZonesCB&gt;() {
+     *         public void setup(ZonesToGeoZonesCB cb) {
+     *             cb.query().setXxx_IsNotNull();
+     *             cb.query().addOrderBy_Yyy_Desc();
+     *         }
+     *     };
+     *     zonesBhv.loadZonesToGeoZonesList(zonesList, new LoadRefererOption<ZonesToGeoZonesCB, ZonesToGeoZones>(cbSetupper));
+     *     - - - - - - - - - -/
+     * 
+     *   The condition-bean that the setupper provides have settings before you touch it. It is as follows:
+     *     /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+     *     cb.query().setZoneId_InScope(pkList);
+     *     cb.query().addOrderBy_ZoneId_Asc();
+     *     - - - - - - - - - -/
+     * 
+     *   *About internal policy, the value of primary key(and others too) is treated as CaseInsensitive.
+     * </pre>
+     * 
+     * @param zonesList Entity list of zones. (NotNull)
+     * @param loadRefererOption Load-referer option. (NotNull)
+     */
+    public void loadZonesToGeoZonesList(java.util.List<Zones> zonesList, jp.sf.pal.pompei.allcommon.bhv.load.LoadRefererOption<ZonesToGeoZonesCB, ZonesToGeoZones> loadRefererOption) {
+        assertObjectNotNull("zonesList<Zones>", zonesList);
+        assertObjectNotNull("loadRefererOption<ZonesToGeoZones, ZonesToGeoZonesCB>", loadRefererOption);
+        if (zonesList.isEmpty()) {
+            return;
+        }
+
+        final java.util.Map<java.math.BigDecimal, Zones> pkMyEntityMap = new java.util.LinkedHashMap<java.math.BigDecimal, Zones>();
+        final java.util.List<java.math.BigDecimal> pkList = new java.util.ArrayList<java.math.BigDecimal>();
+        for (Zones zones : zonesList) {
+            pkList.add(zones.getZoneId());
+            pkMyEntityMap.put((java.math.BigDecimal)toLowerCaseIfString(zones.getZoneId()), zones);
+        }
+        final ZonesToGeoZonesBhv refererBhv = getDaoSelector().getBehavior(ZonesToGeoZonesBhv.class);
+        final ZonesToGeoZonesCB cb = loadRefererOption.getRefererConditionBean() != null ? loadRefererOption.getRefererConditionBean() : refererBhv.newMyConditionBean();
+        cb.query().setZoneId_InScope(pkList);
+        loadRefererOption.delegateKeyConditionExchangingFirstWhereClauseForLastOne(cb);
+        if (!loadRefererOption.isStopOrderByKey()) {
+            cb.query().addOrderBy_ZoneId_Asc();
+            cb.getSqlComponentOfOrderByClause().exchangeFirstOrderByElementForLastOne();
+        }
+        loadRefererOption.delegateConditionBeanSettingUp(cb);
+        final java.util.List<ZonesToGeoZones> reffererList = refererBhv.selectList(cb);
+        loadRefererOption.delegateEntitySettingUp(reffererList);
+
+        final java.util.Map<java.math.BigDecimal, java.util.List<ZonesToGeoZones>> pkReffererListMap = new java.util.LinkedHashMap<java.math.BigDecimal, java.util.List<ZonesToGeoZones>>();
+        for (ZonesToGeoZones reffererEntity : reffererList) {
+            if (!pkReffererListMap.containsKey(toLowerCaseIfString(reffererEntity.getZoneId()))) {
+                pkReffererListMap.put((java.math.BigDecimal)toLowerCaseIfString(reffererEntity.getZoneId()), new java.util.ArrayList<ZonesToGeoZones>());
+            }
+            (pkReffererListMap.get(toLowerCaseIfString(reffererEntity.getZoneId()))).add(reffererEntity);
+
+            // for Reverse Reference.
+            final Zones myEntity = pkMyEntityMap.get(toLowerCaseIfString(reffererEntity.getZoneId()));
+            reffererEntity.setZones(myEntity);
+        }
+
+        for (Zones zones : zonesList) {
+            if (pkReffererListMap.containsKey(toLowerCaseIfString(zones.getZoneId()))) {
+                zones.setZonesToGeoZonesList((java.util.List<ZonesToGeoZones>)pkReffererListMap.get(toLowerCaseIfString(zones.getZoneId())));
+            } else {
+                zones.setZonesToGeoZonesList(new java.util.ArrayList<ZonesToGeoZones>());
+            }
+        }
+    }
+      
     // ===================================================================================
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'Countries'.
+     * 
+     * @param zonesList The list of zones. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Countries> pulloutCountries(java.util.List<Zones> zonesList) {
+        assertObjectNotNull("zonesList", zonesList);
+        final java.util.Set<Countries> foreignSet = new java.util.LinkedHashSet<Countries>();
+        for (java.util.Iterator ite = zonesList.iterator(); ite.hasNext(); ) {
+            final Zones zones = (Zones)ite.next();
+            final Countries foreignEntity = zones.getCountries();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Countries>(foreignSet);
+    }
+      
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsbhv/BsZonesToGeoZonesBhv.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -31,7 +31,7 @@
  *     ASSOCIATION_ID, ZONE_COUNTRY_ID, ZONE_ID, GEO_ZONE_ID, LAST_MODIFIED, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     geoZones, zones
  * 
  * [refferer-property]
  *     
@@ -474,6 +474,46 @@
     //                                                                    Pull Out Foreign
     //                                                                    ================
 
+    /**
+     * Pull out the list of foreign table 'GeoZones'.
+     * 
+     * @param zonesToGeoZonesList The list of zonesToGeoZones. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<GeoZones> pulloutGeoZones(java.util.List<ZonesToGeoZones> zonesToGeoZonesList) {
+        assertObjectNotNull("zonesToGeoZonesList", zonesToGeoZonesList);
+        final java.util.Set<GeoZones> foreignSet = new java.util.LinkedHashSet<GeoZones>();
+        for (java.util.Iterator ite = zonesToGeoZonesList.iterator(); ite.hasNext(); ) {
+            final ZonesToGeoZones zonesToGeoZones = (ZonesToGeoZones)ite.next();
+            final GeoZones foreignEntity = zonesToGeoZones.getGeoZones();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<GeoZones>(foreignSet);
+    }
+
+    /**
+     * Pull out the list of foreign table 'Zones'.
+     * 
+     * @param zonesToGeoZonesList The list of zonesToGeoZones. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public java.util.List<Zones> pulloutZones(java.util.List<ZonesToGeoZones> zonesToGeoZonesList) {
+        assertObjectNotNull("zonesToGeoZonesList", zonesToGeoZonesList);
+        final java.util.Set<Zones> foreignSet = new java.util.LinkedHashSet<Zones>();
+        for (java.util.Iterator ite = zonesToGeoZonesList.iterator(); ite.hasNext(); ) {
+            final ZonesToGeoZones zonesToGeoZones = (ZonesToGeoZones)ite.next();
+            final Zones foreignEntity = zonesToGeoZones.getZones();
+            if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
+                continue;
+            }
+            foreignSet.add(foreignEntity);
+        }
+        return new java.util.ArrayList<Zones>(foreignSet);
+    }
+
     // ===================================================================================
     //                                                                 Basic Entity Update
     //                                                                 ===================

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressBookDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressBookDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressBookDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     ADDRESS_BOOK_ID, CUSTOMERS_ID, ENTRY_GENDER, ENTRY_COMPANY, ENTRY_DEPARTMENT, ENTRY_FIRSTNAME, ENTRY_LASTNAME, ENTRY_STREET_ADDRESS, ENTRY_SUBURB, ENTRY_POSTCODE, ENTRY_CITY, ENTRY_STATE, ENTRY_TELEPHONE, ENTRY_FAX, ENTRY_CELLPHONE, ENTRY_COUNTRY_ID, ENTRY_ZONE_ID
  * 
  * [foreign-property]
- *     customers
+ *     countries, customers, zones
  * 
  * [refferer-property]
- *     customersList
+ *     
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsAddressFormatDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     ordersByCustomersAddressFormatIdList, ordersByDeliveryAddressFormatIdList, ordersByBillingAddressFormatIdList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     bannersHistoryList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsBannersHistoryDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     BANNERS_HISTORY_ID, BANNERS_ID, BANNERS_SHOWN, BANNERS_CLICKED, BANNERS_HISTORY_DATE
  * 
  * [foreign-property]
- *     
+ *     banners
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList
+ *     categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDescriptionDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCategoriesDescriptionDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     CATEGORIES_ID, LANGUAGE_ID, CATEGORIES_NAME
  * 
  * [foreign-property]
- *     categories
+ *     categories, languages
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     CONFIGURATION_ID, CONFIGURATION_TITLE, CONFIGURATION_KEY, CONFIGURATION_VALUE, CONFIGURATION_DESCRIPTION, CONFIGURATION_GROUP_ID, SORT_ORDER, LAST_MODIFIED, DATE_ADDED, USE_FUNCTION, SET_FUNCTION
  * 
  * [foreign-property]
- *     
+ *     configurationGroup
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsConfigurationGroupDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     configurationList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCountriesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     addressBookList, zonesList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketAttributesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     CUSTOMERS_BASKET_ATTRIBUTES_ID, CUSTOMERS_ID, PRODUCTS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUE_ID
  * 
  * [foreign-property]
- *     
+ *     customers, products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersBasketDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     CUSTOMERS_BASKET_ID, CUSTOMERS_ID, PRODUCTS_ID, CUSTOMERS_BASKET_QUANTITY, FINAL_PRICE, CUSTOMERS_BASKET_DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     CUSTOMERS_ID, CUSTOMERS_PORTAL_ID, CUSTOMERS_GENDER, CUSTOMERS_FIRSTNAME, CUSTOMERS_LASTNAME, CUSTOMERS_DOB, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_DEFAULT_ADDRESS_ID, CUSTOMERS_TELEPHONE, CUSTOMERS_FAX, CUSTOMERS_CELLPHONE, CUSTOMERS_NEWSLETTER
  * 
  * [foreign-property]
- *     addressBook
+ *     
  * 
  * [refferer-property]
- *     addressBookList, ordersList
+ *     addressBookList, customersBasketList, customersBasketAttributesList, customersInfoList, ordersList, productsNotificationsList, whosOnlineList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsCustomersInfoDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     CUSTOMERS_INFO_ID, CUSTOMERS_INFO_DATE_OF_LAST_LOGON, CUSTOMERS_INFO_NUMBER_OF_LOGONS, CUSTOMERS_INFO_DATE_ACCOUNT_CREATED, CUSTOMERS_INFO_DATE_ACCOUNT_LAST_MODIFIED, GLOBAL_PRODUCT_NOTIFICATIONS
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsDeliveryMethodDescriptionDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -11,10 +11,10 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
  * 
  * [foreign-property]
- *     deliveryMethod
+ *     deliveryMethod, languages
  * 
  * [refferer-property]
  *     
@@ -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 from DELIVERY_METHOD_DESCRIPTION";
+    public static final String getListAll_SQL = "select DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID 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 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, LANGUAGES_ID 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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsGeoZonesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     zonesToGeoZonesList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsLanguagesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
  * 
  * [sequence]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturersInfoDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturersInfoDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsManufacturersInfoDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     MANUFACTURERS_ID, LANGUAGES_ID, MANUFACTURERS_URL, MANUFACTURERS_SHORT_DESC, MANUFACTURERS_LONG_DESC, URL_CLICKED, DATE_LAST_CLICK
  * 
  * [foreign-property]
- *     manufacturers
+ *     languages, manufacturers
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     ORDERS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, CUSTOMERS_COMPANY, CUSTOMERS_STREET_ADDRESS, CUSTOMERS_SUBURB, CUSTOMERS_CITY, CUSTOMERS_POSTCODE, CUSTOMERS_STATE, CUSTOMERS_COUNTRY, CUSTOMERS_TELEPHONE, CUSTOMERS_CELLPHONE, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_ADDRESS_FORMAT_ID, DELIVERY_NAME, DELIVERY_COMPANY, DELIVERY_DEPARTMENT, DELIVERY_STREET_ADDRESS, DELIVERY_SUBURB, DELIVERY_CITY, DELIVERY_POSTCODE, DELIVERY_STATE, DELIVERY_COUNTRY, DELIVERY_TELEPHONE, DELIVERY_ADDRESS_FORMAT_ID, BILLING_NAME, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_POSTCODE, BILLING_STATE, BILLING_COUNTRY, BILLING_TELEPHONE, BILLING_ADDRESS_FORMAT_ID, PAYMENT_METHOD, CC_TYPE, CC_OWNER, CC_NUMBER, CC_EXPIRES, DELIVERY_CLASS, LAST_MODIFIED, DATE_PURCHASED, ORDERS_STATUS_ID, ORDERS_DATE_FINISHED, CURRENCY, CURRENCY_VALUE
  * 
  * [foreign-property]
- *     customers, ordersStatus
+ *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, 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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsAttributesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     ORDERS_PRODUCTS_ATTRIBUTES_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, PRODUCTS_OPTIONS, PRODUCTS_OPTIONS_VALUES, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersProductsDownloadDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     ORDERS_PRODUCTS_DOWNLOAD_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, ORDERS_PRODUCTS_FILENAME, DOWNLOAD_MAXDAYS, DOWNLOAD_COUNT
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersStatusDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
  *     ordersList, ordersStatusHistoryList

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsOrdersTotalDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     ORDERS_TOTAL_ID, ORDERS_ID, TITLE, TEXT, VALUE, OT_CLASS, SORT_ORDER
  * 
  * [foreign-property]
- *     
+ *     orders
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     products
  * 
  * [refferer-property]
- *     
+ *     productsAttributesDownloadList
  * 
  * [sequence]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDownloadDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDownloadDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsAttributesDownloadDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ATTRIBUTES_FILENAME, PRODUCTS_ATTRIBUTES_MAXDAYS, PRODUCTS_ATTRIBUTES_MAXCOUNT
  * 
  * [foreign-property]
- *     
+ *     productsAttributes
  * 
  * [refferer-property]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     PRODUCTS_ID, PRODUCTS_QUANTITY, PRODUCTS_MODEL, PRODUCTS_IMAGE, PRODUCTS_PRICE, PRODUCTS_DATE_ADDED, PRODUCTS_LAST_MODIFIED, PRODUCTS_DATE_AVAILABLE, PRODUCTS_WEIGHT, PRODUCTS_STATUS, PRODUCTS_TAX_CLASS_ID, MANUFACTURERS_ID, PRODUCTS_ORDERED
  * 
  * [foreign-property]
- *     manufacturers
+ *     manufacturers, taxClass
  * 
  * [refferer-property]
- *     ordersProductsList, productsAttributesList, productsDescriptionList, productsToCategoriesList
+ *     customersBasketList, customersBasketAttributesList, ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, productsAttributesList, productsDescriptionList, productsNotificationsList, productsToCategoriesList, reviewsList, specialsList
  * 
  * [sequence]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDescriptionDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDescriptionDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsDescriptionDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     PRODUCTS_ID, LANGUAGE_ID, PRODUCTS_NAME, PRODUCTS_DESCRIPTION, PRODUCTS_URL, PRODUCTS_VIEWED
  * 
  * [foreign-property]
- *     products
+ *     languages, products
  * 
  * [refferer-property]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsNotificationsDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsNotificationsDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsNotificationsDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     PRODUCTS_ID, CUSTOMERS_ID, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -8,16 +8,16 @@
  * 
  * <pre>
  * [primary-key]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
  *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
- *     
+ *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
@@ -61,17 +61,17 @@
     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 and PRODUCTS_OPTIONS.LANGUAGE_ID = /*languageId*/null";
+    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";
 
     /** Args-Annotation for getEntity(). */
-    public static final String getEntity_ARGS = "productsOptionsId, languageId";
+    public static final String getEntity_ARGS = "productsOptionsId";
 
     /* (non-javadoc)
      * Get entity by primary key.
      * 
      * @param primaryKey Primary key. (NotNull)
      */
-    public ProductsOptions getEntity(java.math.BigDecimal productsOptionsId, java.math.BigDecimal languageId);
+    public ProductsOptions getEntity(java.math.BigDecimal productsOptionsId);
 
     /**
      * Select count by condition-bean.

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -8,16 +8,16 @@
  * 
  * <pre>
  * [primary-key]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
  *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
- *     
+ *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
@@ -61,17 +61,17 @@
     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 and PRODUCTS_OPTIONS_VALUES.LANGUAGE_ID = /*languageId*/null";
+    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";
 
     /** Args-Annotation for getEntity(). */
-    public static final String getEntity_ARGS = "productsOptionsValuesId, languageId";
+    public static final String getEntity_ARGS = "productsOptionsValuesId";
 
     /* (non-javadoc)
      * Get entity by primary key.
      * 
      * @param primaryKey Primary key. (NotNull)
      */
-    public ProductsOptionsValues getEntity(java.math.BigDecimal productsOptionsValuesId, java.math.BigDecimal languageId);
+    public ProductsOptionsValues getEntity(java.math.BigDecimal productsOptionsValuesId);
 
     /**
      * Select count by condition-bean.

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsOptionsValuesToProductsOptionsDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     
+ *     productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsToCategoriesDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsToCategoriesDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsProductsToCategoriesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     PRODUCTS_ID, CATEGORIES_ID, COMMENT
  * 
  * [foreign-property]
- *     products
+ *     categories, products
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     REVIEWS_ID, PRODUCTS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, REVIEWS_RATING, DATE_ADDED, LAST_MODIFIED, REVIEWS_READ
  * 
  * [foreign-property]
- *     
+ *     products
  * 
  * [refferer-property]
- *     
+ *     reviewsDescriptionList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsReviewsDescriptionDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     REVIEWS_ID, LANGUAGES_ID, REVIEWS_TEXT
  * 
  * [foreign-property]
- *     
+ *     languages, reviews
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsSpecialsDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     SPECIALS_ID, PRODUCTS_ID, SPECIALS_NEW_PRODUCTS_PRICE, SPECIALS_DATE_ADDED, SPECIALS_LAST_MODIFIED, EXPIRES_DATE, DATE_STATUS_CHANGE, STATUS
  * 
  * [foreign-property]
- *     
+ *     products
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxClassDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     productsList, taxRatesList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsTaxRatesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     TAX_RATES_ID, TAX_ZONE_ID, TAX_CLASS_ID, TAX_PRIORITY, TAX_RATE, TAX_DESCRIPTION, LAST_MODIFIED, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     taxClass, zones
  * 
  * [refferer-property]
  *     

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsWhosOnlineDao.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsWhosOnlineDao.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsWhosOnlineDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     CUSTOMER_ID, FULL_NAME, SESSION_ID, IP_ADDRESS, TIME_ENTRY, TIME_LAST_CLICK, LAST_PAGE_URL
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     ZONE_ID, ZONE_COUNTRY_ID, ZONE_CODE, ZONE_NAME
  * 
  * [foreign-property]
- *     
+ *     countries
  * 
  * [refferer-property]
- *     
+ *     addressBookList, taxRatesList, zonesToGeoZonesList
  * 
  * [sequence]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsdao/BsZonesToGeoZonesDao.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,7 +14,7 @@
  *     ASSOCIATION_ID, ZONE_COUNTRY_ID, ZONE_ID, GEO_ZONE_ID, LAST_MODIFIED, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     geoZones, zones
  * 
  * [refferer-property]
  *     

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressBook.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,10 +17,10 @@
  *     ADDRESS_BOOK_ID, CUSTOMERS_ID, ENTRY_GENDER, ENTRY_COMPANY, ENTRY_DEPARTMENT, ENTRY_FIRSTNAME, ENTRY_LASTNAME, ENTRY_STREET_ADDRESS, ENTRY_SUBURB, ENTRY_POSTCODE, ENTRY_CITY, ENTRY_STATE, ENTRY_TELEPHONE, ENTRY_FAX, ENTRY_CELLPHONE, ENTRY_COUNTRY_ID, ENTRY_ZONE_ID
  * 
  * [foreign-property]
- *     customers
+ *     countries, customers, zones
  * 
  * [refferer-property]
- *     customersList
+ *     
  * 
  * [sequence]
  *     
@@ -102,10 +102,10 @@
     /** The value of entryCellphone. VARCHAR(32) */
     protected String _entryCellphone;
 
-    /** The value of entryCountryId. INTEGER : NotNull : Default=[0] */
+    /** The value of entryCountryId. INTEGER : NotNull : Default=[0] : FK to COUNTRIES */
     protected java.math.BigDecimal _entryCountryId;
 
-    /** The value of entryZoneId. INTEGER : NotNull : Default=[0] */
+    /** The value of entryZoneId. INTEGER : NotNull : Default=[0] : FK to ZONES */
     protected java.math.BigDecimal _entryZoneId;
 
     // ===================================================================================
@@ -533,12 +533,12 @@
         this._entryCellphone = entryCellphone;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] : FK to COUNTRIES */
     public static final String entryCountryId_COLUMN = "ENTRY_COUNTRY_ID";
 
     /**
      * Get the value of entryCountryId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to COUNTRIES}
      * 
      * @return The value of entryCountryId. (Nullable)
      */
@@ -548,7 +548,7 @@
 
     /**
      * Set the value of entryCountryId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to COUNTRIES}
      * 
      * @param entryCountryId The value of entryCountryId. (Nullable)
      */
@@ -557,12 +557,12 @@
         this._entryCountryId = entryCountryId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] : FK to ZONES */
     public static final String entryZoneId_COLUMN = "ENTRY_ZONE_ID";
 
     /**
      * Get the value of entryZoneId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to ZONES}
      * 
      * @return The value of entryZoneId. (Nullable)
      */
@@ -572,7 +572,7 @@
 
     /**
      * Set the value of entryZoneId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to ZONES}
      * 
      * @param entryZoneId The value of entryZoneId. (Nullable)
      */
@@ -601,12 +601,62 @@
     //                                                                       =============
 
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [COUNTRIES(TABLE)]
+    //   ForeignProperty = [countries]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int countries_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String countries_RELKEYS = "ENTRY_COUNTRY_ID:COUNTRIES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Countries _parentCountries;
+
+    /**
+     * Get the entity of foreign table of countries. {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.Countries getCountries() {
+        return _parentCountries;
+    }
+
+    /**
+     * Set the entity of foreign table of countries.
+     * 
+     * @param countries The entity of foreign table. (Nullable)
+     */
+    public void setCountries(jp.sf.pal.pompei.exentity.Countries countries) {
+        this._parentCountries = countries;
+    }
+
+    /**
+     * Has relation object of countries.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCountries() {
+        return _parentCountries != null && _parentCountries.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of countries.
+     * 
+     * @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.Countries traceCountries() {
+        return _parentCountries != null ? _parentCountries : new jp.sf.pal.pompei.exentity.Countries();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   ForeignTable    = [CUSTOMERS(TABLE)]
     //   ForeignProperty = [customers]
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int customers_RELNO = 0;
+    public static final int customers_RELNO = 1;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String customers_RELKEYS = "CUSTOMERS_ID:CUSTOMERS_ID";
@@ -650,40 +700,61 @@
         return _parentCustomers != null ? _parentCustomers : new jp.sf.pal.pompei.exentity.Customers();
     }
   
-    // ===================================================================================
-    //                                                                       Referer Table
-    //                                                                       =============
-
-  
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [CUSTOMERS(TABLE)]
-    //   RefererProperty = [customersList]
+    //   ForeignTable    = [ZONES(TABLE)]
+    //   ForeignProperty = [zones]
     // * * * * * * * * */
 
-      
-    /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.Customers> _childrenCustomersList;
+    /** RELNO of foreign table for s2dao. */
+    public static final int zones_RELNO = 2;
 
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String zones_RELKEYS = "ENTRY_ZONE_ID:ZONE_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Zones _parentZones;
+
     /**
-     * Get the list of referer table. {without lazyload}
-     * If it's not loaded yet, returns null.
+     * Get the entity of foreign table of zones. {without lazyload}
      * 
-     * @return The list of referer table. (Nullable)
+     * @return The entity of foreign table. (Nullable: If the foreign key does not have NotNull-constraint, please check null.)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.Customers> getCustomersList() {
-        return _childrenCustomersList;
+    public jp.sf.pal.pompei.exentity.Zones getZones() {
+        return _parentZones;
     }
 
     /**
-     * Set the list of referer table.
+     * Set the entity of foreign table of zones.
      * 
-     * @param customersList The list of refferer table. (Nullable)
+     * @param zones The entity of foreign table. (Nullable)
      */
-    public void setCustomersList(java.util.List<jp.sf.pal.pompei.exentity.Customers> customersList) {
-        this._childrenCustomersList = customersList;
+    public void setZones(jp.sf.pal.pompei.exentity.Zones zones) {
+        this._parentZones = zones;
     }
+
+    /**
+     * Has relation object of zones.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationZones() {
+        return _parentZones != null && _parentZones.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of zones.
+     * 
+     * @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.Zones traceZones() {
+        return _parentZones != null ? _parentZones : new jp.sf.pal.pompei.exentity.Zones();
+    }
   
     // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+    // ===================================================================================
     //                                                                       Determination
     //                                                                       =============
     /**

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsAddressFormat.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     ordersByCustomersAddressFormatIdList, ordersByDeliveryAddressFormatIdList, ordersByBillingAddressFormatIdList
  * 
  * [sequence]
  *     
@@ -223,6 +223,93 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS(TABLE)]
+    //   RefererProperty = [ordersByCustomersAddressFormatIdList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Orders> _childrenOrdersByCustomersAddressFormatIdList;
+
+    /**
+     * 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.Orders> getOrdersByCustomersAddressFormatIdList() {
+        return _childrenOrdersByCustomersAddressFormatIdList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersByCustomersAddressFormatIdList The list of refferer table. (Nullable)
+     */
+    public void setOrdersByCustomersAddressFormatIdList(java.util.List<jp.sf.pal.pompei.exentity.Orders> ordersByCustomersAddressFormatIdList) {
+        this._childrenOrdersByCustomersAddressFormatIdList = ordersByCustomersAddressFormatIdList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS(TABLE)]
+    //   RefererProperty = [ordersByDeliveryAddressFormatIdList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Orders> _childrenOrdersByDeliveryAddressFormatIdList;
+
+    /**
+     * 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.Orders> getOrdersByDeliveryAddressFormatIdList() {
+        return _childrenOrdersByDeliveryAddressFormatIdList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersByDeliveryAddressFormatIdList The list of refferer table. (Nullable)
+     */
+    public void setOrdersByDeliveryAddressFormatIdList(java.util.List<jp.sf.pal.pompei.exentity.Orders> ordersByDeliveryAddressFormatIdList) {
+        this._childrenOrdersByDeliveryAddressFormatIdList = ordersByDeliveryAddressFormatIdList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS(TABLE)]
+    //   RefererProperty = [ordersByBillingAddressFormatIdList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Orders> _childrenOrdersByBillingAddressFormatIdList;
+
+    /**
+     * 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.Orders> getOrdersByBillingAddressFormatIdList() {
+        return _childrenOrdersByBillingAddressFormatIdList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersByBillingAddressFormatIdList The list of refferer table. (Nullable)
+     */
+    public void setOrdersByBillingAddressFormatIdList(java.util.List<jp.sf.pal.pompei.exentity.Orders> ordersByBillingAddressFormatIdList) {
+        this._childrenOrdersByBillingAddressFormatIdList = ordersByBillingAddressFormatIdList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBanners.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     bannersHistoryList
  * 
  * [sequence]
  *     
@@ -466,6 +466,35 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [BANNERS_HISTORY(TABLE)]
+    //   RefererProperty = [bannersHistoryList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.BannersHistory> _childrenBannersHistoryList;
+
+    /**
+     * 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.BannersHistory> getBannersHistoryList() {
+        return _childrenBannersHistoryList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param bannersHistoryList The list of refferer table. (Nullable)
+     */
+    public void setBannersHistoryList(java.util.List<jp.sf.pal.pompei.exentity.BannersHistory> bannersHistoryList) {
+        this._childrenBannersHistoryList = bannersHistoryList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsBannersHistory.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     BANNERS_HISTORY_ID, BANNERS_ID, BANNERS_SHOWN, BANNERS_CLICKED, BANNERS_HISTORY_DATE
  * 
  * [foreign-property]
- *     
+ *     banners
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of bannersHistoryId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _bannersHistoryId;
 
-    /** The value of bannersId. INTEGER : NotNull */
+    /** The value of bannersId. INTEGER : NotNull : FK to BANNERS */
     protected java.math.BigDecimal _bannersId;
 
     /** The value of bannersShown. INTEGER : NotNull : Default=[0] */
@@ -158,12 +158,12 @@
         this._bannersHistoryId = bannersHistoryId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to BANNERS */
     public static final String bannersId_COLUMN = "BANNERS_ID";
 
     /**
      * Get the value of bannersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to BANNERS}
      * 
      * @return The value of bannersId. (Nullable)
      */
@@ -173,7 +173,7 @@
 
     /**
      * Set the value of bannersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to BANNERS}
      * 
      * @param bannersId The value of bannersId. (Nullable)
      */
@@ -273,6 +273,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [BANNERS(TABLE)]
+    //   ForeignProperty = [banners]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int banners_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String banners_RELKEYS = "BANNERS_ID:BANNERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Banners _parentBanners;
+
+    /**
+     * Get the entity of foreign table of banners. {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.Banners getBanners() {
+        return _parentBanners;
+    }
+
+    /**
+     * Set the entity of foreign table of banners.
+     * 
+     * @param banners The entity of foreign table. (Nullable)
+     */
+    public void setBanners(jp.sf.pal.pompei.exentity.Banners banners) {
+        this._parentBanners = banners;
+    }
+
+    /**
+     * Has relation object of banners.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationBanners() {
+        return _parentBanners != null && _parentBanners.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of banners.
+     * 
+     * @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.Banners traceBanners() {
+        return _parentBanners != null ? _parentBanners : new jp.sf.pal.pompei.exentity.Banners();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategories.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList
+ *     categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     
@@ -336,6 +336,35 @@
         this._childrenCategoriesDescriptionList = categoriesDescriptionList;
     }
   
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_TO_CATEGORIES(TABLE)]
+    //   RefererProperty = [productsToCategoriesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsToCategories> _childrenProductsToCategoriesList;
+
+    /**
+     * 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.ProductsToCategories> getProductsToCategoriesList() {
+        return _childrenProductsToCategoriesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsToCategoriesList The list of refferer table. (Nullable)
+     */
+    public void setProductsToCategoriesList(java.util.List<jp.sf.pal.pompei.exentity.ProductsToCategories> productsToCategoriesList) {
+        this._childrenProductsToCategoriesList = productsToCategoriesList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoriesDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoriesDescription.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCategoriesDescription.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     CATEGORIES_ID, LANGUAGE_ID, CATEGORIES_NAME
  * 
  * [foreign-property]
- *     categories
+ *     categories, languages
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of categoriesId. PK : INTEGER : NotNull : Default=[0] : FK to CATEGORIES */
     protected java.math.BigDecimal _categoriesId;
 
-    /** 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 categoriesName. VARCHAR(32) : NotNull */
@@ -152,12 +152,12 @@
         this._categoriesId = categoriesId;
     }
 
-    /** 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)
      */
@@ -167,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)
      */
@@ -269,6 +269,56 @@
         return _parentCategories != null ? _parentCategories : new jp.sf.pal.pompei.exentity.Categories();
     }
   
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES(TABLE)]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int languages_RELNO = 1;
+
+    /** 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();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfiguration.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     CONFIGURATION_ID, CONFIGURATION_TITLE, CONFIGURATION_KEY, CONFIGURATION_VALUE, CONFIGURATION_DESCRIPTION, CONFIGURATION_GROUP_ID, SORT_ORDER, LAST_MODIFIED, DATE_ADDED, USE_FUNCTION, SET_FUNCTION
  * 
  * [foreign-property]
- *     
+ *     configurationGroup
  * 
  * [refferer-property]
  *     
@@ -69,7 +69,7 @@
     /** The value of configurationDescription. VARCHAR(255) : NotNull */
     protected String _configurationDescription;
 
-    /** The value of configurationGroupId. INTEGER : NotNull */
+    /** The value of configurationGroupId. INTEGER : NotNull : FK to CONFIGURATION_GROUP */
     protected java.math.BigDecimal _configurationGroupId;
 
     /** The value of sortOrder. INTEGER */
@@ -272,12 +272,12 @@
         this._configurationDescription = configurationDescription;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to CONFIGURATION_GROUP */
     public static final String configurationGroupId_COLUMN = "CONFIGURATION_GROUP_ID";
 
     /**
      * Get the value of configurationGroupId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to CONFIGURATION_GROUP}
      * 
      * @return The value of configurationGroupId. (Nullable)
      */
@@ -287,7 +287,7 @@
 
     /**
      * Set the value of configurationGroupId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to CONFIGURATION_GROUP}
      * 
      * @param configurationGroupId The value of configurationGroupId. (Nullable)
      */
@@ -435,6 +435,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CONFIGURATION_GROUP(TABLE)]
+    //   ForeignProperty = [configurationGroup]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int configurationGroup_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String configurationGroup_RELKEYS = "CONFIGURATION_GROUP_ID:CONFIGURATION_GROUP_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.ConfigurationGroup _parentConfigurationGroup;
+
+    /**
+     * Get the entity of foreign table of configurationGroup. {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.ConfigurationGroup getConfigurationGroup() {
+        return _parentConfigurationGroup;
+    }
+
+    /**
+     * Set the entity of foreign table of configurationGroup.
+     * 
+     * @param configurationGroup The entity of foreign table. (Nullable)
+     */
+    public void setConfigurationGroup(jp.sf.pal.pompei.exentity.ConfigurationGroup configurationGroup) {
+        this._parentConfigurationGroup = configurationGroup;
+    }
+
+    /**
+     * Has relation object of configurationGroup.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationConfigurationGroup() {
+        return _parentConfigurationGroup != null && _parentConfigurationGroup.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of configurationGroup.
+     * 
+     * @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.ConfigurationGroup traceConfigurationGroup() {
+        return _parentConfigurationGroup != null ? _parentConfigurationGroup : new jp.sf.pal.pompei.exentity.ConfigurationGroup();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsConfigurationGroup.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     configurationList
  * 
  * [sequence]
  *     
@@ -277,6 +277,35 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CONFIGURATION(TABLE)]
+    //   RefererProperty = [configurationList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Configuration> _childrenConfigurationList;
+
+    /**
+     * 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.Configuration> getConfigurationList() {
+        return _childrenConfigurationList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param configurationList The list of refferer table. (Nullable)
+     */
+    public void setConfigurationList(java.util.List<jp.sf.pal.pompei.exentity.Configuration> configurationList) {
+        this._childrenConfigurationList = configurationList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCountries.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     addressBookList, zonesList
  * 
  * [sequence]
  *     
@@ -277,6 +277,64 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ADDRESS_BOOK(TABLE)]
+    //   RefererProperty = [addressBookList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.AddressBook> _childrenAddressBookList;
+
+    /**
+     * 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.AddressBook> getAddressBookList() {
+        return _childrenAddressBookList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param addressBookList The list of refferer table. (Nullable)
+     */
+    public void setAddressBookList(java.util.List<jp.sf.pal.pompei.exentity.AddressBook> addressBookList) {
+        this._childrenAddressBookList = addressBookList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ZONES(TABLE)]
+    //   RefererProperty = [zonesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Zones> _childrenZonesList;
+
+    /**
+     * 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.Zones> getZonesList() {
+        return _childrenZonesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param zonesList The list of refferer table. (Nullable)
+     */
+    public void setZonesList(java.util.List<jp.sf.pal.pompei.exentity.Zones> zonesList) {
+        this._childrenZonesList = zonesList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomers.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,10 +17,10 @@
  *     CUSTOMERS_ID, CUSTOMERS_PORTAL_ID, CUSTOMERS_GENDER, CUSTOMERS_FIRSTNAME, CUSTOMERS_LASTNAME, CUSTOMERS_DOB, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_DEFAULT_ADDRESS_ID, CUSTOMERS_TELEPHONE, CUSTOMERS_FAX, CUSTOMERS_CELLPHONE, CUSTOMERS_NEWSLETTER
  * 
  * [foreign-property]
- *     addressBook
+ *     
  * 
  * [refferer-property]
- *     addressBookList, ordersList
+ *     addressBookList, customersBasketList, customersBasketAttributesList, customersInfoList, ordersList, productsNotificationsList, whosOnlineList
  * 
  * [sequence]
  *     
@@ -78,7 +78,7 @@
     /** The value of customersEmailAddress. VARCHAR(96) : NotNull */
     protected String _customersEmailAddress;
 
-    /** The value of customersDefaultAddressId. INTEGER : FK to ADDRESS_BOOK */
+    /** The value of customersDefaultAddressId. INTEGER */
     protected java.math.BigDecimal _customersDefaultAddressId;
 
     /** The value of customersTelephone. VARCHAR(32) : NotNull */
@@ -326,12 +326,12 @@
         this._customersEmailAddress = customersEmailAddress;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : FK to ADDRESS_BOOK */
+    /** Column Annotation for S2Dao. INTEGER */
     public static final String customersDefaultAddressId_COLUMN = "CUSTOMERS_DEFAULT_ADDRESS_ID";
 
     /**
      * Get the value of customersDefaultAddressId. <br />
-     * {INTEGER : FK to ADDRESS_BOOK}
+     * {INTEGER}
      * 
      * @return The value of customersDefaultAddressId. (Nullable)
      */
@@ -341,7 +341,7 @@
 
     /**
      * Set the value of customersDefaultAddressId. <br />
-     * {INTEGER : FK to ADDRESS_BOOK}
+     * {INTEGER}
      * 
      * @param customersDefaultAddressId The value of customersDefaultAddressId. (Nullable)
      */
@@ -465,69 +465,111 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // ===================================================================================
+    //                                                                       Referer Table
+    //                                                                       =============
+
+  
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   ForeignTable    = [ADDRESS_BOOK(TABLE)]
-    //   ForeignProperty = [addressBook]
+    //   RefererTable    = [ADDRESS_BOOK(TABLE)]
+    //   RefererProperty = [addressBookList]
     // * * * * * * * * */
 
-    /** RELNO of foreign table for s2dao. */
-    public static final int addressBook_RELNO = 0;
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.AddressBook> _childrenAddressBookList;
 
-    /** RELKEYS of foreign table for s2dao. */
-    public static final String addressBook_RELKEYS = "CUSTOMERS_DEFAULT_ADDRESS_ID:ADDRESS_BOOK_ID";
+    /**
+     * 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.AddressBook> getAddressBookList() {
+        return _childrenAddressBookList;
+    }
 
-    /** The entity of foreign table. */
-    protected jp.sf.pal.pompei.exentity.AddressBook _parentAddressBook;
+    /**
+     * Set the list of referer table.
+     * 
+     * @param addressBookList The list of refferer table. (Nullable)
+     */
+    public void setAddressBookList(java.util.List<jp.sf.pal.pompei.exentity.AddressBook> addressBookList) {
+        this._childrenAddressBookList = addressBookList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET(TABLE)]
+    //   RefererProperty = [customersBasketList]
+    // * * * * * * * * */
 
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasket> _childrenCustomersBasketList;
+
     /**
-     * Get the entity of foreign table of addressBook. {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.AddressBook getAddressBook() {
-        return _parentAddressBook;
+    public java.util.List<jp.sf.pal.pompei.exentity.CustomersBasket> getCustomersBasketList() {
+        return _childrenCustomersBasketList;
     }
 
     /**
-     * Set the entity of foreign table of addressBook.
+     * Set the list of referer table.
      * 
-     * @param addressBook The entity of foreign table. (Nullable)
+     * @param customersBasketList The list of refferer table. (Nullable)
      */
-    public void setAddressBook(jp.sf.pal.pompei.exentity.AddressBook addressBook) {
-        this._parentAddressBook = addressBook;
+    public void setCustomersBasketList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasket> customersBasketList) {
+        this._childrenCustomersBasketList = customersBasketList;
     }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
 
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
+
     /**
-     * Has relation object of addressBook.
+     * 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 hasRelationAddressBook() {
-        return _parentAddressBook != null && _parentAddressBook.hasPrimaryKeyValue();
+    public java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> getCustomersBasketAttributesList() {
+        return _childrenCustomersBasketAttributesList;
     }
 
     /**
-     * Trace relation object (for read) of addressBook.
+     * 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 customersBasketAttributesList The list of refferer table. (Nullable)
      */
-    public jp.sf.pal.pompei.exentity.AddressBook traceAddressBook() {
-        return _parentAddressBook != null ? _parentAddressBook : new jp.sf.pal.pompei.exentity.AddressBook();
+    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
+        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
     }
   
-    // ===================================================================================
-    //                                                                       Referer Table
-    //                                                                       =============
-
   
-    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    //   RefererTable    = [ADDRESS_BOOK(TABLE)]
-    //   RefererProperty = [addressBookList]
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * {as one}
+    //   RefererTable    = [CUSTOMERS_INFO(TABLE)]
+    //   RefererProperty = [customersInfoAsOne]
     // * * * * * * * * */
 
+    /** RELNO of foreign table for s2dao. */
+    public static final int customersInfoAsOne_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String customersInfoAsOne_RELKEYS = "CUSTOMERS_ID:CUSTOMERS_INFO_ID";
       
     /** The list of referer table. */
-    protected java.util.List<jp.sf.pal.pompei.exentity.AddressBook> _childrenAddressBookList;
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersInfo> _childrenCustomersInfoList;
 
     /**
      * Get the list of referer table. {without lazyload}
@@ -535,20 +577,73 @@
      * 
      * @return The list of referer table. (Nullable)
      */
-    public java.util.List<jp.sf.pal.pompei.exentity.AddressBook> getAddressBookList() {
-        return _childrenAddressBookList;
+    public java.util.List<jp.sf.pal.pompei.exentity.CustomersInfo> getCustomersInfoList() {
+        return _childrenCustomersInfoList;
     }
 
     /**
      * Set the list of referer table.
      * 
-     * @param addressBookList The list of refferer table. (Nullable)
+     * @param customersInfoList The list of refferer table. (Nullable)
      */
-    public void setAddressBookList(java.util.List<jp.sf.pal.pompei.exentity.AddressBook> addressBookList) {
-        this._childrenAddressBookList = addressBookList;
+    public void setCustomersInfoList(java.util.List<jp.sf.pal.pompei.exentity.CustomersInfo> customersInfoList) {
+        this._childrenCustomersInfoList = customersInfoList;
     }
   
+    /**
+     * Get the entity of referer-as-one table of customersInfoAsOne. {without lazyload}
+     * If it's not loaded yet, returns null.
+     * If the size of the referer table list is zero, throws the exception.
+     * 
+     * @return The entity of referer-as-one table. (Nullable)
+     */
+    public jp.sf.pal.pompei.exentity.CustomersInfo getCustomersInfoAsOne() {
+        final java.util.List<jp.sf.pal.pompei.exentity.CustomersInfo> ls = getCustomersInfoList();
+        if (ls == null || ls.isEmpty()) {
+            return null;
+        }
+        if (ls.size() > 1) {
+            String msg = "The size of the list must be one because this relation is 'one-to-one'";
+            msg = msg + ": list=" + ls + ": toString()=" + toString();
+            throw new IllegalStateException(msg);
+        }
+        return (jp.sf.pal.pompei.exentity.CustomersInfo)ls.get(0);
+    }
+
+    /**
+     * Set the entity of referer-as-one table of customersInfoAsOne.
+     * 
+     * @param entity The entity of referer-as-one table. (Nullable)
+     */
+    public void setCustomersInfoAsOne(jp.sf.pal.pompei.exentity.CustomersInfo entity) {
+        if (entity == null) {
+            _childrenCustomersInfoList = null;
+            return;
+        }
+        final java.util.List<jp.sf.pal.pompei.exentity.CustomersInfo> ls = new java.util.ArrayList<jp.sf.pal.pompei.exentity.CustomersInfo>();
+        ls.add(entity);
+        _childrenCustomersInfoList = ls;
+    }
+
+    /**
+     * Has relation of customersInfoAsOne.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCustomersInfoAsOne() {
+        return getCustomersInfoAsOne() != null && getCustomersInfoAsOne().hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of customersInfoAsOne.
+     * 
+     * @return The entity of referer-as-one table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.CustomersInfo traceCustomersInfoAsOne() {
+        return getCustomersInfoAsOne() != null ? getCustomersInfoAsOne() : new jp.sf.pal.pompei.exentity.CustomersInfo();
+    }
   
+  
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS(TABLE)]
     //   RefererProperty = [ordersList]
@@ -577,6 +672,64 @@
         this._childrenOrdersList = ordersList;
     }
   
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_NOTIFICATIONS(TABLE)]
+    //   RefererProperty = [productsNotificationsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsNotifications> _childrenProductsNotificationsList;
+
+    /**
+     * 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.ProductsNotifications> getProductsNotificationsList() {
+        return _childrenProductsNotificationsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsNotificationsList The list of refferer table. (Nullable)
+     */
+    public void setProductsNotificationsList(java.util.List<jp.sf.pal.pompei.exentity.ProductsNotifications> productsNotificationsList) {
+        this._childrenProductsNotificationsList = productsNotificationsList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [WHOS_ONLINE(TABLE)]
+    //   RefererProperty = [whosOnlineList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.WhosOnline> _childrenWhosOnlineList;
+
+    /**
+     * 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.WhosOnline> getWhosOnlineList() {
+        return _childrenWhosOnlineList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param whosOnlineList The list of refferer table. (Nullable)
+     */
+    public void setWhosOnlineList(java.util.List<jp.sf.pal.pompei.exentity.WhosOnline> whosOnlineList) {
+        this._childrenWhosOnlineList = whosOnlineList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasket.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     CUSTOMERS_BASKET_ID, CUSTOMERS_ID, PRODUCTS_ID, CUSTOMERS_BASKET_QUANTITY, FINAL_PRICE, CUSTOMERS_BASKET_DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     
@@ -57,11 +57,11 @@
     /** The value of customersBasketId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _customersBasketId;
 
-    /** The value of customersId. INTEGER : NotNull */
+    /** The value of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     protected java.math.BigDecimal _customersId;
 
-    /** The value of productsId. LONG VARCHAR(32700) : NotNull */
-    protected String _productsId;
+    /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
+    protected java.math.BigDecimal _productsId;
 
     /** The value of customersBasketQuantity. INTEGER : NotNull */
     protected java.math.BigDecimal _customersBasketQuantity;
@@ -161,12 +161,12 @@
         this._customersBasketId = customersBasketId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String customersId_COLUMN = "CUSTOMERS_ID";
 
     /**
      * Get the value of customersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @return The value of customersId. (Nullable)
      */
@@ -176,7 +176,7 @@
 
     /**
      * Set the value of customersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @param customersId The value of customersId. (Nullable)
      */
@@ -185,26 +185,26 @@
         this._customersId = customersId;
     }
 
-    /** Column Annotation for S2Dao. LONG VARCHAR(32700) : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS */
     public static final String productsId_COLUMN = "PRODUCTS_ID";
 
     /**
      * Get the value of productsId. <br />
-     * {LONG VARCHAR(32700) : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @return The value of productsId. (Nullable)
      */
-    public String getProductsId() {
+    public java.math.BigDecimal getProductsId() {
         return _productsId;
     }
 
     /**
      * Set the value of productsId. <br />
-     * {LONG VARCHAR(32700) : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @param productsId The value of productsId. (Nullable)
      */
-    public void setProductsId(String productsId) {
+    public void setProductsId(java.math.BigDecimal productsId) {
         _modifiedProperties.addPropertyName("productsId");
         this._productsId = productsId;
     }
@@ -300,6 +300,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CUSTOMERS(TABLE)]
+    //   ForeignProperty = [customers]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int customers_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String customers_RELKEYS = "CUSTOMERS_ID:CUSTOMERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Customers _parentCustomers;
+
+    /**
+     * Get the entity of foreign table of customers. {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.Customers getCustomers() {
+        return _parentCustomers;
+    }
+
+    /**
+     * Set the entity of foreign table of customers.
+     * 
+     * @param customers The entity of foreign table. (Nullable)
+     */
+    public void setCustomers(jp.sf.pal.pompei.exentity.Customers customers) {
+        this._parentCustomers = customers;
+    }
+
+    /**
+     * Has relation object of customers.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCustomers() {
+        return _parentCustomers != null && _parentCustomers.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of customers.
+     * 
+     * @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.Customers traceCustomers() {
+        return _parentCustomers != null ? _parentCustomers : new jp.sf.pal.pompei.exentity.Customers();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersBasketAttributes.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     CUSTOMERS_BASKET_ATTRIBUTES_ID, CUSTOMERS_ID, PRODUCTS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUE_ID
  * 
  * [foreign-property]
- *     
+ *     customers, products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     
@@ -57,16 +57,16 @@
     /** The value of customersBasketAttributesId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _customersBasketAttributesId;
 
-    /** The value of customersId. INTEGER : NotNull */
+    /** The value of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     protected java.math.BigDecimal _customersId;
 
-    /** The value of productsId. LONG VARCHAR(32700) : NotNull */
-    protected String _productsId;
+    /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
+    protected java.math.BigDecimal _productsId;
 
-    /** The value of productsOptionsId. INTEGER : NotNull */
+    /** The value of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     protected java.math.BigDecimal _productsOptionsId;
 
-    /** The value of productsOptionsValueId. INTEGER : NotNull */
+    /** The value of productsOptionsValueId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     protected java.math.BigDecimal _productsOptionsValueId;
 
     // ===================================================================================
@@ -158,12 +158,12 @@
         this._customersBasketAttributesId = customersBasketAttributesId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String customersId_COLUMN = "CUSTOMERS_ID";
 
     /**
      * Get the value of customersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @return The value of customersId. (Nullable)
      */
@@ -173,7 +173,7 @@
 
     /**
      * Set the value of customersId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @param customersId The value of customersId. (Nullable)
      */
@@ -182,36 +182,36 @@
         this._customersId = customersId;
     }
 
-    /** Column Annotation for S2Dao. LONG VARCHAR(32700) : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS */
     public static final String productsId_COLUMN = "PRODUCTS_ID";
 
     /**
      * Get the value of productsId. <br />
-     * {LONG VARCHAR(32700) : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @return The value of productsId. (Nullable)
      */
-    public String getProductsId() {
+    public java.math.BigDecimal getProductsId() {
         return _productsId;
     }
 
     /**
      * Set the value of productsId. <br />
-     * {LONG VARCHAR(32700) : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @param productsId The value of productsId. (Nullable)
      */
-    public void setProductsId(String productsId) {
+    public void setProductsId(java.math.BigDecimal productsId) {
         _modifiedProperties.addPropertyName("productsId");
         this._productsId = productsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String productsOptionsId_COLUMN = "PRODUCTS_OPTIONS_ID";
 
     /**
      * Get the value of productsOptionsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
      * 
      * @return The value of productsOptionsId. (Nullable)
      */
@@ -221,7 +221,7 @@
 
     /**
      * Set the value of productsOptionsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
      * 
      * @param productsOptionsId The value of productsOptionsId. (Nullable)
      */
@@ -230,12 +230,12 @@
         this._productsOptionsId = productsOptionsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String productsOptionsValueId_COLUMN = "PRODUCTS_OPTIONS_VALUE_ID";
 
     /**
      * Get the value of productsOptionsValueId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
      * 
      * @return The value of productsOptionsValueId. (Nullable)
      */
@@ -245,7 +245,7 @@
 
     /**
      * Set the value of productsOptionsValueId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
      * 
      * @param productsOptionsValueId The value of productsOptionsValueId. (Nullable)
      */
@@ -273,6 +273,206 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CUSTOMERS(TABLE)]
+    //   ForeignProperty = [customers]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int customers_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String customers_RELKEYS = "CUSTOMERS_ID:CUSTOMERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Customers _parentCustomers;
+
+    /**
+     * Get the entity of foreign table of customers. {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.Customers getCustomers() {
+        return _parentCustomers;
+    }
+
+    /**
+     * Set the entity of foreign table of customers.
+     * 
+     * @param customers The entity of foreign table. (Nullable)
+     */
+    public void setCustomers(jp.sf.pal.pompei.exentity.Customers customers) {
+        this._parentCustomers = customers;
+    }
+
+    /**
+     * Has relation object of customers.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCustomers() {
+        return _parentCustomers != null && _parentCustomers.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of customers.
+     * 
+     * @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.Customers traceCustomers() {
+        return _parentCustomers != null ? _parentCustomers : new jp.sf.pal.pompei.exentity.Customers();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        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 = 2;
+
+    /** 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();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS_VALUES(TABLE)]
+    //   ForeignProperty = [productsOptionsValues]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsOptionsValues_RELNO = 3;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsOptionsValues_RELKEYS = "PRODUCTS_OPTIONS_VALUE_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
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsCustomersInfo.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     CUSTOMERS_INFO_ID, CUSTOMERS_INFO_DATE_OF_LAST_LOGON, CUSTOMERS_INFO_NUMBER_OF_LOGONS, CUSTOMERS_INFO_DATE_ACCOUNT_CREATED, CUSTOMERS_INFO_DATE_ACCOUNT_LAST_MODIFIED, GLOBAL_PRODUCT_NOTIFICATIONS
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     
@@ -54,7 +54,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of customersInfoId. PK : INTEGER : NotNull */
+    /** The value of customersInfoId. PK : INTEGER : NotNull : FK to CUSTOMERS */
     protected java.math.BigDecimal _customersInfoId;
 
     /** The value of customersInfoDateOfLastLogon. TIMESTAMP */
@@ -137,12 +137,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to CUSTOMERS */
     public static final String customersInfoId_COLUMN = "CUSTOMERS_INFO_ID";
 
     /**
      * Get the value of customersInfoId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @return The value of customersInfoId. (Nullable)
      */
@@ -152,7 +152,7 @@
 
     /**
      * Set the value of customersInfoId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @param customersInfoId The value of customersInfoId. (Nullable)
      */
@@ -300,6 +300,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CUSTOMERS(TABLE)]
+    //   ForeignProperty = [customers]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int customers_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String customers_RELKEYS = "CUSTOMERS_INFO_ID:CUSTOMERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Customers _parentCustomers;
+
+    /**
+     * Get the entity of foreign table of customers. {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.Customers getCustomers() {
+        return _parentCustomers;
+    }
+
+    /**
+     * Set the entity of foreign table of customers.
+     * 
+     * @param customers The entity of foreign table. (Nullable)
+     */
+    public void setCustomers(jp.sf.pal.pompei.exentity.Customers customers) {
+        this._parentCustomers = customers;
+    }
+
+    /**
+     * Has relation object of customers.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCustomers() {
+        return _parentCustomers != null && _parentCustomers.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of customers.
+     * 
+     * @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.Customers traceCustomers() {
+        return _parentCustomers != null ? _parentCustomers : new jp.sf.pal.pompei.exentity.Customers();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsDeliveryMethodDescription.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -14,10 +14,10 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
  * 
  * [foreign-property]
- *     deliveryMethod
+ *     deliveryMethod, languages
  * 
  * [refferer-property]
  *     
@@ -63,6 +63,9 @@
     /** 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
     //                                                                         ===========
@@ -200,20 +203,44 @@
         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
@@ -269,6 +296,56 @@
         return _parentDeliveryMethod != null ? _parentDeliveryMethod : new jp.sf.pal.pompei.exentity.DeliveryMethod();
     }
   
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [LANGUAGES(TABLE)]
+    //   ForeignProperty = [languages]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int languages_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String languages_RELKEYS = "LANGUAGES_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();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
@@ -382,6 +459,7 @@
         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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsGeoZones.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     zonesToGeoZonesList
  * 
  * [sequence]
  *     
@@ -277,6 +277,35 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ZONES_TO_GEO_ZONES(TABLE)]
+    //   RefererProperty = [zonesToGeoZonesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ZonesToGeoZones> _childrenZonesToGeoZonesList;
+
+    /**
+     * 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.ZonesToGeoZones> getZonesToGeoZonesList() {
+        return _childrenZonesToGeoZonesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param zonesToGeoZonesList The list of refferer table. (Nullable)
+     */
+    public void setZonesToGeoZonesList(java.util.List<jp.sf.pal.pompei.exentity.ZonesToGeoZones> zonesToGeoZonesList) {
+        this._childrenZonesToGeoZonesList = zonesToGeoZonesList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsLanguages.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
  * 
  * [sequence]
  *     
@@ -304,6 +304,238 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CATEGORIES_DESCRIPTION(TABLE)]
+    //   RefererProperty = [categoriesDescriptionList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CategoriesDescription> _childrenCategoriesDescriptionList;
+
+    /**
+     * 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.CategoriesDescription> getCategoriesDescriptionList() {
+        return _childrenCategoriesDescriptionList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param categoriesDescriptionList The list of refferer table. (Nullable)
+     */
+    public void setCategoriesDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.CategoriesDescription> categoriesDescriptionList) {
+        this._childrenCategoriesDescriptionList = categoriesDescriptionList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [DELIVERY_METHOD_DESCRIPTION(TABLE)]
+    //   RefererProperty = [deliveryMethodDescriptionList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.DeliveryMethodDescription> _childrenDeliveryMethodDescriptionList;
+
+    /**
+     * 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.DeliveryMethodDescription> getDeliveryMethodDescriptionList() {
+        return _childrenDeliveryMethodDescriptionList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param deliveryMethodDescriptionList The list of refferer table. (Nullable)
+     */
+    public void setDeliveryMethodDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.DeliveryMethodDescription> deliveryMethodDescriptionList) {
+        this._childrenDeliveryMethodDescriptionList = deliveryMethodDescriptionList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [MANUFACTURERS_INFO(TABLE)]
+    //   RefererProperty = [manufacturersInfoList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ManufacturersInfo> _childrenManufacturersInfoList;
+
+    /**
+     * 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.ManufacturersInfo> getManufacturersInfoList() {
+        return _childrenManufacturersInfoList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param manufacturersInfoList The list of refferer table. (Nullable)
+     */
+    public void setManufacturersInfoList(java.util.List<jp.sf.pal.pompei.exentity.ManufacturersInfo> manufacturersInfoList) {
+        this._childrenManufacturersInfoList = manufacturersInfoList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_STATUS(TABLE)]
+    //   RefererProperty = [ordersStatusList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersStatus> _childrenOrdersStatusList;
+
+    /**
+     * 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.OrdersStatus> getOrdersStatusList() {
+        return _childrenOrdersStatusList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersStatusList The list of refferer table. (Nullable)
+     */
+    public void setOrdersStatusList(java.util.List<jp.sf.pal.pompei.exentity.OrdersStatus> ordersStatusList) {
+        this._childrenOrdersStatusList = ordersStatusList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [productsDescriptionList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsDescription> _childrenProductsDescriptionList;
+
+    /**
+     * 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.ProductsDescription> getProductsDescriptionList() {
+        return _childrenProductsDescriptionList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsDescriptionList The list of refferer table. (Nullable)
+     */
+    public void setProductsDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ProductsDescription> productsDescriptionList) {
+        this._childrenProductsDescriptionList = productsDescriptionList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS(TABLE)]
+    //   RefererProperty = [productsOptionsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptions> _childrenProductsOptionsList;
+
+    /**
+     * 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.ProductsOptions> getProductsOptionsList() {
+        return _childrenProductsOptionsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsOptionsList The list of refferer table. (Nullable)
+     */
+    public void setProductsOptionsList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptions> productsOptionsList) {
+        this._childrenProductsOptionsList = productsOptionsList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES(TABLE)]
+    //   RefererProperty = [productsOptionsValuesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValues> _childrenProductsOptionsValuesList;
+
+    /**
+     * 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.ProductsOptionsValues> getProductsOptionsValuesList() {
+        return _childrenProductsOptionsValuesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsOptionsValuesList The list of refferer table. (Nullable)
+     */
+    public void setProductsOptionsValuesList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValues> productsOptionsValuesList) {
+        this._childrenProductsOptionsValuesList = productsOptionsValuesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [REVIEWS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [reviewsDescriptionList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ReviewsDescription> _childrenReviewsDescriptionList;
+
+    /**
+     * 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.ReviewsDescription> getReviewsDescriptionList() {
+        return _childrenReviewsDescriptionList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param reviewsDescriptionList The list of refferer table. (Nullable)
+     */
+    public void setReviewsDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ReviewsDescription> reviewsDescriptionList) {
+        this._childrenReviewsDescriptionList = reviewsDescriptionList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturersInfo.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturersInfo.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsManufacturersInfo.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     MANUFACTURERS_ID, LANGUAGES_ID, MANUFACTURERS_URL, MANUFACTURERS_SHORT_DESC, MANUFACTURERS_LONG_DESC, URL_CLICKED, DATE_LAST_CLICK
  * 
  * [foreign-property]
- *     manufacturers
+ *     languages, manufacturers
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of manufacturersId. PK : INTEGER : NotNull : FK to MANUFACTURERS */
     protected java.math.BigDecimal _manufacturersId;
 
-    /** The value of languagesId. PK : INTEGER : NotNull */
+    /** The value of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     protected java.math.BigDecimal _languagesId;
 
     /** The value of manufacturersUrl. VARCHAR(255) : NotNull */
@@ -164,12 +164,12 @@
         this._manufacturersId = manufacturersId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String languagesId_COLUMN = "LANGUAGES_ID";
 
     /**
      * Get the value of languagesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
      * 
      * @return The value of languagesId. (Nullable)
      */
@@ -179,7 +179,7 @@
 
     /**
      * Set the value of languagesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
      * 
      * @param languagesId The value of languagesId. (Nullable)
      */
@@ -328,12 +328,62 @@
     //                                                                       =============
 
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   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 = "LANGUAGES_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    = [MANUFACTURERS(TABLE)]
     //   ForeignProperty = [manufacturers]
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int manufacturers_RELNO = 0;
+    public static final int manufacturers_RELNO = 1;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String manufacturers_RELKEYS = "MANUFACTURERS_ID:MANUFACTURERS_ID";

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrders.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,10 +17,10 @@
  *     ORDERS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, CUSTOMERS_COMPANY, CUSTOMERS_STREET_ADDRESS, CUSTOMERS_SUBURB, CUSTOMERS_CITY, CUSTOMERS_POSTCODE, CUSTOMERS_STATE, CUSTOMERS_COUNTRY, CUSTOMERS_TELEPHONE, CUSTOMERS_CELLPHONE, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_ADDRESS_FORMAT_ID, DELIVERY_NAME, DELIVERY_COMPANY, DELIVERY_DEPARTMENT, DELIVERY_STREET_ADDRESS, DELIVERY_SUBURB, DELIVERY_CITY, DELIVERY_POSTCODE, DELIVERY_STATE, DELIVERY_COUNTRY, DELIVERY_TELEPHONE, DELIVERY_ADDRESS_FORMAT_ID, BILLING_NAME, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_POSTCODE, BILLING_STATE, BILLING_COUNTRY, BILLING_TELEPHONE, BILLING_ADDRESS_FORMAT_ID, PAYMENT_METHOD, CC_TYPE, CC_OWNER, CC_NUMBER, CC_EXPIRES, DELIVERY_CLASS, LAST_MODIFIED, DATE_PURCHASED, ORDERS_STATUS_ID, ORDERS_DATE_FINISHED, CURRENCY, CURRENCY_VALUE
  * 
  * [foreign-property]
- *     customers, ordersStatus
+ *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
  * 
  * [sequence]
  *     
@@ -96,7 +96,7 @@
     /** The value of customersEmailAddress. VARCHAR(96) : NotNull */
     protected String _customersEmailAddress;
 
-    /** The value of customersAddressFormatId. INTEGER : NotNull */
+    /** The value of customersAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     protected java.math.BigDecimal _customersAddressFormatId;
 
     /** The value of deliveryName. VARCHAR(64) : NotNull */
@@ -129,7 +129,7 @@
     /** The value of deliveryTelephone. VARCHAR(32) */
     protected String _deliveryTelephone;
 
-    /** The value of deliveryAddressFormatId. INTEGER : NotNull */
+    /** The value of deliveryAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     protected java.math.BigDecimal _deliveryAddressFormatId;
 
     /** The value of billingName. VARCHAR(64) : NotNull */
@@ -162,7 +162,7 @@
     /** The value of billingTelephone. VARCHAR(32) */
     protected String _billingTelephone;
 
-    /** The value of billingAddressFormatId. INTEGER : NotNull */
+    /** The value of billingAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     protected java.math.BigDecimal _billingAddressFormatId;
 
     /** The value of paymentMethod. VARCHAR(32) : NotNull */
@@ -578,12 +578,12 @@
         this._customersEmailAddress = customersEmailAddress;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String customersAddressFormatId_COLUMN = "CUSTOMERS_ADDRESS_FORMAT_ID";
 
     /**
      * Get the value of customersAddressFormatId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ADDRESS_FORMAT}
      * 
      * @return The value of customersAddressFormatId. (Nullable)
      */
@@ -593,7 +593,7 @@
 
     /**
      * Set the value of customersAddressFormatId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ADDRESS_FORMAT}
      * 
      * @param customersAddressFormatId The value of customersAddressFormatId. (Nullable)
      */
@@ -842,12 +842,12 @@
         this._deliveryTelephone = deliveryTelephone;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String deliveryAddressFormatId_COLUMN = "DELIVERY_ADDRESS_FORMAT_ID";
 
     /**
      * Get the value of deliveryAddressFormatId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ADDRESS_FORMAT}
      * 
      * @return The value of deliveryAddressFormatId. (Nullable)
      */
@@ -857,7 +857,7 @@
 
     /**
      * Set the value of deliveryAddressFormatId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ADDRESS_FORMAT}
      * 
      * @param deliveryAddressFormatId The value of deliveryAddressFormatId. (Nullable)
      */
@@ -1106,12 +1106,12 @@
         this._billingTelephone = billingTelephone;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String billingAddressFormatId_COLUMN = "BILLING_ADDRESS_FORMAT_ID";
 
     /**
      * Get the value of billingAddressFormatId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ADDRESS_FORMAT}
      * 
      * @return The value of billingAddressFormatId. (Nullable)
      */
@@ -1121,7 +1121,7 @@
 
     /**
      * Set the value of billingAddressFormatId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ADDRESS_FORMAT}
      * 
      * @param billingAddressFormatId The value of billingAddressFormatId. (Nullable)
      */
@@ -1438,12 +1438,162 @@
     //                                                                       =============
 
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ADDRESS_FORMAT(TABLE)]
+    //   ForeignProperty = [addressFormatByCustomersAddressFormatId]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int addressFormatByCustomersAddressFormatId_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String addressFormatByCustomersAddressFormatId_RELKEYS = "CUSTOMERS_ADDRESS_FORMAT_ID:ADDRESS_FORMAT_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.AddressFormat _parentAddressFormatByCustomersAddressFormatId;
+
+    /**
+     * Get the entity of foreign table of addressFormatByCustomersAddressFormatId. {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.AddressFormat getAddressFormatByCustomersAddressFormatId() {
+        return _parentAddressFormatByCustomersAddressFormatId;
+    }
+
+    /**
+     * Set the entity of foreign table of addressFormatByCustomersAddressFormatId.
+     * 
+     * @param addressFormatByCustomersAddressFormatId The entity of foreign table. (Nullable)
+     */
+    public void setAddressFormatByCustomersAddressFormatId(jp.sf.pal.pompei.exentity.AddressFormat addressFormatByCustomersAddressFormatId) {
+        this._parentAddressFormatByCustomersAddressFormatId = addressFormatByCustomersAddressFormatId;
+    }
+
+    /**
+     * Has relation object of addressFormatByCustomersAddressFormatId.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationAddressFormatByCustomersAddressFormatId() {
+        return _parentAddressFormatByCustomersAddressFormatId != null && _parentAddressFormatByCustomersAddressFormatId.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of addressFormatByCustomersAddressFormatId.
+     * 
+     * @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.AddressFormat traceAddressFormatByCustomersAddressFormatId() {
+        return _parentAddressFormatByCustomersAddressFormatId != null ? _parentAddressFormatByCustomersAddressFormatId : new jp.sf.pal.pompei.exentity.AddressFormat();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ADDRESS_FORMAT(TABLE)]
+    //   ForeignProperty = [addressFormatByDeliveryAddressFormatId]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int addressFormatByDeliveryAddressFormatId_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String addressFormatByDeliveryAddressFormatId_RELKEYS = "DELIVERY_ADDRESS_FORMAT_ID:ADDRESS_FORMAT_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.AddressFormat _parentAddressFormatByDeliveryAddressFormatId;
+
+    /**
+     * Get the entity of foreign table of addressFormatByDeliveryAddressFormatId. {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.AddressFormat getAddressFormatByDeliveryAddressFormatId() {
+        return _parentAddressFormatByDeliveryAddressFormatId;
+    }
+
+    /**
+     * Set the entity of foreign table of addressFormatByDeliveryAddressFormatId.
+     * 
+     * @param addressFormatByDeliveryAddressFormatId The entity of foreign table. (Nullable)
+     */
+    public void setAddressFormatByDeliveryAddressFormatId(jp.sf.pal.pompei.exentity.AddressFormat addressFormatByDeliveryAddressFormatId) {
+        this._parentAddressFormatByDeliveryAddressFormatId = addressFormatByDeliveryAddressFormatId;
+    }
+
+    /**
+     * Has relation object of addressFormatByDeliveryAddressFormatId.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationAddressFormatByDeliveryAddressFormatId() {
+        return _parentAddressFormatByDeliveryAddressFormatId != null && _parentAddressFormatByDeliveryAddressFormatId.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of addressFormatByDeliveryAddressFormatId.
+     * 
+     * @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.AddressFormat traceAddressFormatByDeliveryAddressFormatId() {
+        return _parentAddressFormatByDeliveryAddressFormatId != null ? _parentAddressFormatByDeliveryAddressFormatId : new jp.sf.pal.pompei.exentity.AddressFormat();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ADDRESS_FORMAT(TABLE)]
+    //   ForeignProperty = [addressFormatByBillingAddressFormatId]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int addressFormatByBillingAddressFormatId_RELNO = 2;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String addressFormatByBillingAddressFormatId_RELKEYS = "BILLING_ADDRESS_FORMAT_ID:ADDRESS_FORMAT_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.AddressFormat _parentAddressFormatByBillingAddressFormatId;
+
+    /**
+     * Get the entity of foreign table of addressFormatByBillingAddressFormatId. {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.AddressFormat getAddressFormatByBillingAddressFormatId() {
+        return _parentAddressFormatByBillingAddressFormatId;
+    }
+
+    /**
+     * Set the entity of foreign table of addressFormatByBillingAddressFormatId.
+     * 
+     * @param addressFormatByBillingAddressFormatId The entity of foreign table. (Nullable)
+     */
+    public void setAddressFormatByBillingAddressFormatId(jp.sf.pal.pompei.exentity.AddressFormat addressFormatByBillingAddressFormatId) {
+        this._parentAddressFormatByBillingAddressFormatId = addressFormatByBillingAddressFormatId;
+    }
+
+    /**
+     * Has relation object of addressFormatByBillingAddressFormatId.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationAddressFormatByBillingAddressFormatId() {
+        return _parentAddressFormatByBillingAddressFormatId != null && _parentAddressFormatByBillingAddressFormatId.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of addressFormatByBillingAddressFormatId.
+     * 
+     * @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.AddressFormat traceAddressFormatByBillingAddressFormatId() {
+        return _parentAddressFormatByBillingAddressFormatId != null ? _parentAddressFormatByBillingAddressFormatId : new jp.sf.pal.pompei.exentity.AddressFormat();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   ForeignTable    = [CUSTOMERS(TABLE)]
     //   ForeignProperty = [customers]
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int customers_RELNO = 0;
+    public static final int customers_RELNO = 3;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String customers_RELKEYS = "CUSTOMERS_ID:CUSTOMERS_ID";
@@ -1493,7 +1643,7 @@
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int ordersStatus_RELNO = 1;
+    public static final int ordersStatus_RELNO = 4;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String ordersStatus_RELKEYS = "ORDERS_STATUS_ID:ORDERS_STATUS_ID";
@@ -1570,6 +1720,93 @@
         this._childrenOrdersProductsList = ordersProductsList;
     }
   
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [ordersProductsAttributesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsAttributes> _childrenOrdersProductsAttributesList;
+
+    /**
+     * 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.OrdersProductsAttributes> getOrdersProductsAttributesList() {
+        return _childrenOrdersProductsAttributesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersProductsAttributesList The list of refferer table. (Nullable)
+     */
+    public void setOrdersProductsAttributesList(java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsAttributes> ordersProductsAttributesList) {
+        this._childrenOrdersProductsAttributesList = ordersProductsAttributesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_DOWNLOAD(TABLE)]
+    //   RefererProperty = [ordersProductsDownloadList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsDownload> _childrenOrdersProductsDownloadList;
+
+    /**
+     * 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.OrdersProductsDownload> getOrdersProductsDownloadList() {
+        return _childrenOrdersProductsDownloadList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersProductsDownloadList The list of refferer table. (Nullable)
+     */
+    public void setOrdersProductsDownloadList(java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsDownload> ordersProductsDownloadList) {
+        this._childrenOrdersProductsDownloadList = ordersProductsDownloadList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_TOTAL(TABLE)]
+    //   RefererProperty = [ordersTotalList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersTotal> _childrenOrdersTotalList;
+
+    /**
+     * 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.OrdersTotal> getOrdersTotalList() {
+        return _childrenOrdersTotalList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersTotalList The list of refferer table. (Nullable)
+     */
+    public void setOrdersTotalList(java.util.List<jp.sf.pal.pompei.exentity.OrdersTotal> ordersTotalList) {
+        this._childrenOrdersTotalList = ordersTotalList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsAttributes.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     ORDERS_PRODUCTS_ATTRIBUTES_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, PRODUCTS_OPTIONS, PRODUCTS_OPTIONS_VALUES, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     
@@ -57,10 +57,10 @@
     /** The value of ordersProductsAttributesId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _ordersProductsAttributesId;
 
-    /** The value of ordersId. INTEGER : NotNull */
+    /** The value of ordersId. INTEGER : NotNull : FK to ORDERS */
     protected java.math.BigDecimal _ordersId;
 
-    /** The value of ordersProductsId. INTEGER : NotNull */
+    /** The value of ordersProductsId. INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _ordersProductsId;
 
     /** The value of productsOptions. VARCHAR(32) : NotNull */
@@ -164,12 +164,12 @@
         this._ordersProductsAttributesId = ordersProductsAttributesId;
     }
 
-    /** 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)
      */
@@ -188,12 +188,12 @@
         this._ordersId = ordersId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS */
     public static final String ordersProductsId_COLUMN = "ORDERS_PRODUCTS_ID";
 
     /**
      * Get the value of ordersProductsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @return The value of ordersProductsId. (Nullable)
      */
@@ -203,7 +203,7 @@
 
     /**
      * Set the value of ordersProductsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @param ordersProductsId The value of ordersProductsId. (Nullable)
      */
@@ -327,6 +327,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   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    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "ORDERS_PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersProductsDownload.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     ORDERS_PRODUCTS_DOWNLOAD_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, ORDERS_PRODUCTS_FILENAME, DOWNLOAD_MAXDAYS, DOWNLOAD_COUNT
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     
@@ -57,10 +57,10 @@
     /** The value of ordersProductsDownloadId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _ordersProductsDownloadId;
 
-    /** The value of ordersId. INTEGER : NotNull : Default=[0] */
+    /** The value of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     protected java.math.BigDecimal _ordersId;
 
-    /** The value of ordersProductsId. INTEGER : NotNull : Default=[0] */
+    /** The value of ordersProductsId. INTEGER : NotNull : Default=[0] : FK to PRODUCTS */
     protected java.math.BigDecimal _ordersProductsId;
 
     /** The value of ordersProductsFilename. VARCHAR(255) : NotNull : Default=[] */
@@ -161,12 +161,12 @@
         this._ordersProductsDownloadId = ordersProductsDownloadId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String ordersId_COLUMN = "ORDERS_ID";
 
     /**
      * Get the value of ordersId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to ORDERS}
      * 
      * @return The value of ordersId. (Nullable)
      */
@@ -176,7 +176,7 @@
 
     /**
      * Set the value of ordersId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to ORDERS}
      * 
      * @param ordersId The value of ordersId. (Nullable)
      */
@@ -185,12 +185,12 @@
         this._ordersId = ordersId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[0] : FK to PRODUCTS */
     public static final String ordersProductsId_COLUMN = "ORDERS_PRODUCTS_ID";
 
     /**
      * Get the value of ordersProductsId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to PRODUCTS}
      * 
      * @return The value of ordersProductsId. (Nullable)
      */
@@ -200,7 +200,7 @@
 
     /**
      * Set the value of ordersProductsId. <br />
-     * {INTEGER : NotNull : Default=[0]}
+     * {INTEGER : NotNull : Default=[0] : FK to PRODUCTS}
      * 
      * @param ordersProductsId The value of ordersProductsId. (Nullable)
      */
@@ -300,6 +300,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   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    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "ORDERS_PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersStatus.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
  *     ordersList, ordersStatusHistoryList
@@ -57,7 +57,7 @@
     /** The value of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
     protected java.math.BigDecimal _ordersStatusId;
 
-    /** The value of languageId. INTEGER : NotNull : Default=[1] */
+    /** The value of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     protected java.math.BigDecimal _languageId;
 
     /** The value of ordersStatusName. VARCHAR(32) : NotNull */
@@ -152,12 +152,12 @@
         this._ordersStatusId = ordersStatusId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull : Default=[1] */
+    /** 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]}
+     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @return The value of languageId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of languageId. <br />
-     * {INTEGER : NotNull : Default=[1]}
+     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @param languageId The value of languageId. (Nullable)
      */
@@ -219,6 +219,56 @@
     //                                                                       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();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsOrdersTotal.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     ORDERS_TOTAL_ID, ORDERS_ID, TITLE, TEXT, VALUE, OT_CLASS, SORT_ORDER
  * 
  * [foreign-property]
- *     
+ *     orders
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of ordersTotalId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _ordersTotalId;
 
-    /** The value of ordersId. INTEGER : NotNull */
+    /** The value of ordersId. INTEGER : NotNull : FK to ORDERS */
     protected java.math.BigDecimal _ordersId;
 
     /** The value of title. VARCHAR(255) : NotNull */
@@ -164,12 +164,12 @@
         this._ordersTotalId = ordersTotalId;
     }
 
-    /** 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)
      */
@@ -327,6 +327,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   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();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProducts.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,10 +17,10 @@
  *     PRODUCTS_ID, PRODUCTS_QUANTITY, PRODUCTS_MODEL, PRODUCTS_IMAGE, PRODUCTS_PRICE, PRODUCTS_DATE_ADDED, PRODUCTS_LAST_MODIFIED, PRODUCTS_DATE_AVAILABLE, PRODUCTS_WEIGHT, PRODUCTS_STATUS, PRODUCTS_TAX_CLASS_ID, MANUFACTURERS_ID, PRODUCTS_ORDERED
  * 
  * [foreign-property]
- *     manufacturers
+ *     manufacturers, taxClass
  * 
  * [refferer-property]
- *     ordersProductsList, productsAttributesList, productsDescriptionList, productsToCategoriesList
+ *     customersBasketList, customersBasketAttributesList, ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, productsAttributesList, productsDescriptionList, productsNotificationsList, productsToCategoriesList, reviewsList, specialsList
  * 
  * [sequence]
  *     
@@ -87,7 +87,7 @@
     /** The value of productsStatus. INTEGER : NotNull */
     protected java.math.BigDecimal _productsStatus;
 
-    /** The value of productsTaxClassId. INTEGER : NotNull */
+    /** The value of productsTaxClassId. INTEGER : NotNull : FK to TAX_CLASS */
     protected java.math.BigDecimal _productsTaxClassId;
 
     /** The value of manufacturersId. INTEGER : FK to MANUFACTURERS */
@@ -401,12 +401,12 @@
         this._productsStatus = productsStatus;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to TAX_CLASS */
     public static final String productsTaxClassId_COLUMN = "PRODUCTS_TAX_CLASS_ID";
 
     /**
      * Get the value of productsTaxClassId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to TAX_CLASS}
      * 
      * @return The value of productsTaxClassId. (Nullable)
      */
@@ -416,7 +416,7 @@
 
     /**
      * Set the value of productsTaxClassId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to TAX_CLASS}
      * 
      * @param productsTaxClassId The value of productsTaxClassId. (Nullable)
      */
@@ -542,12 +542,120 @@
         return _parentManufacturers != null ? _parentManufacturers : new jp.sf.pal.pompei.exentity.Manufacturers();
     }
   
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [TAX_CLASS(TABLE)]
+    //   ForeignProperty = [taxClass]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int taxClass_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String taxClass_RELKEYS = "PRODUCTS_TAX_CLASS_ID:TAX_CLASS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.TaxClass _parentTaxClass;
+
+    /**
+     * Get the entity of foreign table of taxClass. {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.TaxClass getTaxClass() {
+        return _parentTaxClass;
+    }
+
+    /**
+     * Set the entity of foreign table of taxClass.
+     * 
+     * @param taxClass The entity of foreign table. (Nullable)
+     */
+    public void setTaxClass(jp.sf.pal.pompei.exentity.TaxClass taxClass) {
+        this._parentTaxClass = taxClass;
+    }
+
+    /**
+     * Has relation object of taxClass.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationTaxClass() {
+        return _parentTaxClass != null && _parentTaxClass.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of taxClass.
+     * 
+     * @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.TaxClass traceTaxClass() {
+        return _parentTaxClass != null ? _parentTaxClass : new jp.sf.pal.pompei.exentity.TaxClass();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
 
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET(TABLE)]
+    //   RefererProperty = [customersBasketList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasket> _childrenCustomersBasketList;
+
+    /**
+     * 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.CustomersBasket> getCustomersBasketList() {
+        return _childrenCustomersBasketList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param customersBasketList The list of refferer table. (Nullable)
+     */
+    public void setCustomersBasketList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasket> customersBasketList) {
+        this._childrenCustomersBasketList = customersBasketList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
+
+    /**
+     * 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.CustomersBasketAttributes> getCustomersBasketAttributesList() {
+        return _childrenCustomersBasketAttributesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param customersBasketAttributesList The list of refferer table. (Nullable)
+     */
+    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
+        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [ORDERS_PRODUCTS(TABLE)]
     //   RefererProperty = [ordersProductsList]
     // * * * * * * * * */
@@ -577,6 +685,64 @@
   
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [ordersProductsAttributesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsAttributes> _childrenOrdersProductsAttributesList;
+
+    /**
+     * 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.OrdersProductsAttributes> getOrdersProductsAttributesList() {
+        return _childrenOrdersProductsAttributesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersProductsAttributesList The list of refferer table. (Nullable)
+     */
+    public void setOrdersProductsAttributesList(java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsAttributes> ordersProductsAttributesList) {
+        this._childrenOrdersProductsAttributesList = ordersProductsAttributesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ORDERS_PRODUCTS_DOWNLOAD(TABLE)]
+    //   RefererProperty = [ordersProductsDownloadList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsDownload> _childrenOrdersProductsDownloadList;
+
+    /**
+     * 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.OrdersProductsDownload> getOrdersProductsDownloadList() {
+        return _childrenOrdersProductsDownloadList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param ordersProductsDownloadList The list of refferer table. (Nullable)
+     */
+    public void setOrdersProductsDownloadList(java.util.List<jp.sf.pal.pompei.exentity.OrdersProductsDownload> ordersProductsDownloadList) {
+        this._childrenOrdersProductsDownloadList = ordersProductsDownloadList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [PRODUCTS_ATTRIBUTES(TABLE)]
     //   RefererProperty = [productsAttributesList]
     // * * * * * * * * */
@@ -635,6 +801,35 @@
   
   
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_NOTIFICATIONS(TABLE)]
+    //   RefererProperty = [productsNotificationsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsNotifications> _childrenProductsNotificationsList;
+
+    /**
+     * 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.ProductsNotifications> getProductsNotificationsList() {
+        return _childrenProductsNotificationsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsNotificationsList The list of refferer table. (Nullable)
+     */
+    public void setProductsNotificationsList(java.util.List<jp.sf.pal.pompei.exentity.ProductsNotifications> productsNotificationsList) {
+        this._childrenProductsNotificationsList = productsNotificationsList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   RefererTable    = [PRODUCTS_TO_CATEGORIES(TABLE)]
     //   RefererProperty = [productsToCategoriesList]
     // * * * * * * * * */
@@ -662,6 +857,64 @@
         this._childrenProductsToCategoriesList = productsToCategoriesList;
     }
   
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [REVIEWS(TABLE)]
+    //   RefererProperty = [reviewsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Reviews> _childrenReviewsList;
+
+    /**
+     * 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.Reviews> getReviewsList() {
+        return _childrenReviewsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param reviewsList The list of refferer table. (Nullable)
+     */
+    public void setReviewsList(java.util.List<jp.sf.pal.pompei.exentity.Reviews> reviewsList) {
+        this._childrenReviewsList = reviewsList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [SPECIALS(TABLE)]
+    //   RefererProperty = [specialsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Specials> _childrenSpecialsList;
+
+    /**
+     * 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.Specials> getSpecialsList() {
+        return _childrenSpecialsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param specialsList The list of refferer table. (Nullable)
+     */
+    public void setSpecialsList(java.util.List<jp.sf.pal.pompei.exentity.Specials> specialsList) {
+        this._childrenSpecialsList = specialsList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributes.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     products
  * 
  * [refferer-property]
- *     
+ *     productsAttributesDownloadList
  * 
  * [sequence]
  *     
@@ -357,6 +357,93 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * {as one}
+    //   RefererTable    = [PRODUCTS_ATTRIBUTES_DOWNLOAD(TABLE)]
+    //   RefererProperty = [productsAttributesDownloadAsOne]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsAttributesDownloadAsOne_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsAttributesDownloadAsOne_RELKEYS = "PRODUCTS_ATTRIBUTES_ID:PRODUCTS_ATTRIBUTES_ID";
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributesDownload> _childrenProductsAttributesDownloadList;
+
+    /**
+     * 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.ProductsAttributesDownload> getProductsAttributesDownloadList() {
+        return _childrenProductsAttributesDownloadList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsAttributesDownloadList The list of refferer table. (Nullable)
+     */
+    public void setProductsAttributesDownloadList(java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributesDownload> productsAttributesDownloadList) {
+        this._childrenProductsAttributesDownloadList = productsAttributesDownloadList;
+    }
+  
+    /**
+     * Get the entity of referer-as-one table of productsAttributesDownloadAsOne. {without lazyload}
+     * If it's not loaded yet, returns null.
+     * If the size of the referer table list is zero, throws the exception.
+     * 
+     * @return The entity of referer-as-one table. (Nullable)
+     */
+    public jp.sf.pal.pompei.exentity.ProductsAttributesDownload getProductsAttributesDownloadAsOne() {
+        final java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributesDownload> ls = getProductsAttributesDownloadList();
+        if (ls == null || ls.isEmpty()) {
+            return null;
+        }
+        if (ls.size() > 1) {
+            String msg = "The size of the list must be one because this relation is 'one-to-one'";
+            msg = msg + ": list=" + ls + ": toString()=" + toString();
+            throw new IllegalStateException(msg);
+        }
+        return (jp.sf.pal.pompei.exentity.ProductsAttributesDownload)ls.get(0);
+    }
+
+    /**
+     * Set the entity of referer-as-one table of productsAttributesDownloadAsOne.
+     * 
+     * @param entity The entity of referer-as-one table. (Nullable)
+     */
+    public void setProductsAttributesDownloadAsOne(jp.sf.pal.pompei.exentity.ProductsAttributesDownload entity) {
+        if (entity == null) {
+            _childrenProductsAttributesDownloadList = null;
+            return;
+        }
+        final java.util.List<jp.sf.pal.pompei.exentity.ProductsAttributesDownload> ls = new java.util.ArrayList<jp.sf.pal.pompei.exentity.ProductsAttributesDownload>();
+        ls.add(entity);
+        _childrenProductsAttributesDownloadList = ls;
+    }
+
+    /**
+     * Has relation of productsAttributesDownloadAsOne.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProductsAttributesDownloadAsOne() {
+        return getProductsAttributesDownloadAsOne() != null && getProductsAttributesDownloadAsOne().hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of productsAttributesDownloadAsOne.
+     * 
+     * @return The entity of referer-as-one table. (NotNull: If the object is nul, it returns new empty entity as read-only.)
+     */
+    public jp.sf.pal.pompei.exentity.ProductsAttributesDownload traceProductsAttributesDownloadAsOne() {
+        return getProductsAttributesDownloadAsOne() != null ? getProductsAttributesDownloadAsOne() : new jp.sf.pal.pompei.exentity.ProductsAttributesDownload();
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributesDownload.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributesDownload.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsAttributesDownload.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ATTRIBUTES_FILENAME, PRODUCTS_ATTRIBUTES_MAXDAYS, PRODUCTS_ATTRIBUTES_MAXCOUNT
  * 
  * [foreign-property]
- *     
+ *     productsAttributes
  * 
  * [refferer-property]
  *     
@@ -54,7 +54,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsAttributesId. PK : INTEGER : NotNull */
+    /** The value of productsAttributesId. PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES */
     protected java.math.BigDecimal _productsAttributesId;
 
     /** The value of productsAttributesFilename. VARCHAR(255) : NotNull : Default=[] */
@@ -131,12 +131,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES */
     public static final String productsAttributesId_COLUMN = "PRODUCTS_ATTRIBUTES_ID";
 
     /**
      * Get the value of productsAttributesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES}
      * 
      * @return The value of productsAttributesId. (Nullable)
      */
@@ -146,7 +146,7 @@
 
     /**
      * Set the value of productsAttributesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES}
      * 
      * @param productsAttributesId The value of productsAttributesId. (Nullable)
      */
@@ -246,6 +246,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_ATTRIBUTES(TABLE)]
+    //   ForeignProperty = [productsAttributes]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsAttributes_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String productsAttributes_RELKEYS = "PRODUCTS_ATTRIBUTES_ID:PRODUCTS_ATTRIBUTES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.ProductsAttributes _parentProductsAttributes;
+
+    /**
+     * Get the entity of foreign table of productsAttributes. {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.ProductsAttributes getProductsAttributes() {
+        return _parentProductsAttributes;
+    }
+
+    /**
+     * Set the entity of foreign table of productsAttributes.
+     * 
+     * @param productsAttributes The entity of foreign table. (Nullable)
+     */
+    public void setProductsAttributes(jp.sf.pal.pompei.exentity.ProductsAttributes productsAttributes) {
+        this._parentProductsAttributes = productsAttributes;
+    }
+
+    /**
+     * Has relation object of productsAttributes.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProductsAttributes() {
+        return _parentProductsAttributes != null && _parentProductsAttributes.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of productsAttributes.
+     * 
+     * @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.ProductsAttributes traceProductsAttributes() {
+        return _parentProductsAttributes != null ? _parentProductsAttributes : new jp.sf.pal.pompei.exentity.ProductsAttributes();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsDescription.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsDescription.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsDescription.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     PRODUCTS_ID, LANGUAGE_ID, PRODUCTS_NAME, PRODUCTS_DESCRIPTION, PRODUCTS_URL, PRODUCTS_VIEWED
  * 
  * [foreign-property]
- *     products
+ *     languages, products
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of productsId. PK : INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _productsId;
 
-    /** 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 productsName. VARCHAR(64) : NotNull : Default=[] */
@@ -161,12 +161,12 @@
         this._productsId = productsId;
     }
 
-    /** 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)
      */
@@ -176,7 +176,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)
      */
@@ -301,12 +301,62 @@
     //                                                                       =============
 
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   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(TABLE)]
     //   ForeignProperty = [products]
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int products_RELNO = 0;
+    public static final int products_RELNO = 1;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsNotifications.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsNotifications.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsNotifications.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     PRODUCTS_ID, CUSTOMERS_ID, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     
@@ -54,10 +54,10 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of productsId. PK : INTEGER : NotNull */
+    /** The value of productsId. PK : INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _productsId;
 
-    /** The value of customersId. PK : INTEGER : NotNull */
+    /** The value of customersId. PK : INTEGER : NotNull : FK to CUSTOMERS */
     protected java.math.BigDecimal _customersId;
 
     /** The value of dateAdded. TIMESTAMP : NotNull */
@@ -128,12 +128,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to PRODUCTS */
     public static final String productsId_COLUMN = "PRODUCTS_ID";
 
     /**
      * Get the value of productsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @return The value of productsId. (Nullable)
      */
@@ -143,7 +143,7 @@
 
     /**
      * Set the value of productsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @param productsId The value of productsId. (Nullable)
      */
@@ -152,12 +152,12 @@
         this._productsId = productsId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to CUSTOMERS */
     public static final String customersId_COLUMN = "CUSTOMERS_ID";
 
     /**
      * Get the value of customersId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @return The value of customersId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of customersId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to CUSTOMERS}
      * 
      * @param customersId The value of customersId. (Nullable)
      */
@@ -219,6 +219,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CUSTOMERS(TABLE)]
+    //   ForeignProperty = [customers]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int customers_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String customers_RELKEYS = "CUSTOMERS_ID:CUSTOMERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Customers _parentCustomers;
+
+    /**
+     * Get the entity of foreign table of customers. {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.Customers getCustomers() {
+        return _parentCustomers;
+    }
+
+    /**
+     * Set the entity of foreign table of customers.
+     * 
+     * @param customers The entity of foreign table. (Nullable)
+     */
+    public void setCustomers(jp.sf.pal.pompei.exentity.Customers customers) {
+        this._parentCustomers = customers;
+    }
+
+    /**
+     * Has relation object of customers.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCustomers() {
+        return _parentCustomers != null && _parentCustomers.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of customers.
+     * 
+     * @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.Customers traceCustomers() {
+        return _parentCustomers != null ? _parentCustomers : new jp.sf.pal.pompei.exentity.Customers();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptions.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -11,16 +11,16 @@
  * 
  * <pre>
  * [primary-key]
- *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID
+ *     PRODUCTS_OPTIONS_ID
  * 
  * [column-property]
  *     PRODUCTS_OPTIONS_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
- *     
+ *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
@@ -57,7 +57,7 @@
     /** The value of productsOptionsId. PK : INTEGER : NotNull : Default=[0] */
     protected java.math.BigDecimal _productsOptionsId;
 
-    /** The value of languageId. PK : INTEGER : NotNull : Default=[1] */
+    /** The value of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     protected java.math.BigDecimal _languageId;
 
     /** The value of productsOptionsName. VARCHAR(32) : NotNull : Default=[] */
@@ -152,12 +152,12 @@
         this._productsOptionsId = productsOptionsId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[1] */
+    /** 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 />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @return The value of languageId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of languageId. <br />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @param languageId The value of languageId. (Nullable)
      */
@@ -219,10 +219,118 @@
     //                                                                       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();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
+
+    /**
+     * 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.CustomersBasketAttributes> getCustomersBasketAttributesList() {
+        return _childrenCustomersBasketAttributesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param customersBasketAttributesList The list of refferer table. (Nullable)
+     */
+    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
+        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS(TABLE)]
+    //   RefererProperty = [productsOptionsValuesToProductsOptionsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesToProductsOptions> _childrenProductsOptionsValuesToProductsOptionsList;
+
+    /**
+     * 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.ProductsOptionsValuesToProductsOptions> getProductsOptionsValuesToProductsOptionsList() {
+        return _childrenProductsOptionsValuesToProductsOptionsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsOptionsValuesToProductsOptionsList The list of refferer table. (Nullable)
+     */
+    public void setProductsOptionsValuesToProductsOptionsList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesToProductsOptions> productsOptionsValuesToProductsOptionsList) {
+        this._childrenProductsOptionsValuesToProductsOptionsList = productsOptionsValuesToProductsOptionsList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============
@@ -236,9 +344,6 @@
         if (_productsOptionsId == null) {
             return false;
         }
-        if (_languageId == null) {
-            return false;
-        }
 
         return true;
     }
@@ -294,9 +399,6 @@
         if (getProductsOptionsId() == null || !getProductsOptionsId().equals(otherEntity.getProductsOptionsId())) {
             return false;
         }
-        if (getLanguageId() == null || !getLanguageId().equals(otherEntity.getLanguageId())) {
-            return false;
-        }
 
         return true;
     }
@@ -313,9 +415,6 @@
         if (this.getProductsOptionsId() != null) {
             result = result + getProductsOptionsId().hashCode();
         }
-        if (this.getLanguageId() != null) {
-            result = result + getLanguageId().hashCode();
-        }
 
         return result;
     }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValues.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -11,16 +11,16 @@
  * 
  * <pre>
  * [primary-key]
- *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID
+ *     PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [column-property]
  *     PRODUCTS_OPTIONS_VALUES_ID, LANGUAGE_ID, PRODUCTS_OPTIONS_VALUES_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
- *     
+ *     customersBasketAttributesList, productsOptionsValuesToProductsOptionsList
  * 
  * [sequence]
  *     
@@ -57,7 +57,7 @@
     /** The value of productsOptionsValuesId. PK : INTEGER : NotNull : Default=[0] */
     protected java.math.BigDecimal _productsOptionsValuesId;
 
-    /** The value of languageId. PK : INTEGER : NotNull : Default=[1] */
+    /** The value of languageId. INTEGER : NotNull : Default=[1] : FK to LANGUAGES */
     protected java.math.BigDecimal _languageId;
 
     /** The value of productsOptionsValuesName. VARCHAR(64) : NotNull : Default=[] */
@@ -152,12 +152,12 @@
         this._productsOptionsValuesId = productsOptionsValuesId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : Default=[1] */
+    /** 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 />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @return The value of languageId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of languageId. <br />
-     * {PK : INTEGER : NotNull : Default=[1]}
+     * {INTEGER : NotNull : Default=[1] : FK to LANGUAGES}
      * 
      * @param languageId The value of languageId. (Nullable)
      */
@@ -219,10 +219,118 @@
     //                                                                       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();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [CUSTOMERS_BASKET_ATTRIBUTES(TABLE)]
+    //   RefererProperty = [customersBasketAttributesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> _childrenCustomersBasketAttributesList;
+
+    /**
+     * 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.CustomersBasketAttributes> getCustomersBasketAttributesList() {
+        return _childrenCustomersBasketAttributesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param customersBasketAttributesList The list of refferer table. (Nullable)
+     */
+    public void setCustomersBasketAttributesList(java.util.List<jp.sf.pal.pompei.exentity.CustomersBasketAttributes> customersBasketAttributesList) {
+        this._childrenCustomersBasketAttributesList = customersBasketAttributesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS(TABLE)]
+    //   RefererProperty = [productsOptionsValuesToProductsOptionsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesToProductsOptions> _childrenProductsOptionsValuesToProductsOptionsList;
+
+    /**
+     * 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.ProductsOptionsValuesToProductsOptions> getProductsOptionsValuesToProductsOptionsList() {
+        return _childrenProductsOptionsValuesToProductsOptionsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsOptionsValuesToProductsOptionsList The list of refferer table. (Nullable)
+     */
+    public void setProductsOptionsValuesToProductsOptionsList(java.util.List<jp.sf.pal.pompei.exentity.ProductsOptionsValuesToProductsOptions> productsOptionsValuesToProductsOptionsList) {
+        this._childrenProductsOptionsValuesToProductsOptionsList = productsOptionsValuesToProductsOptionsList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============
@@ -236,9 +344,6 @@
         if (_productsOptionsValuesId == null) {
             return false;
         }
-        if (_languageId == null) {
-            return false;
-        }
 
         return true;
     }
@@ -294,9 +399,6 @@
         if (getProductsOptionsValuesId() == null || !getProductsOptionsValuesId().equals(otherEntity.getProductsOptionsValuesId())) {
             return false;
         }
-        if (getLanguageId() == null || !getLanguageId().equals(otherEntity.getLanguageId())) {
-            return false;
-        }
 
         return true;
     }
@@ -313,9 +415,6 @@
         if (this.getProductsOptionsValuesId() != null) {
             result = result + getProductsOptionsValuesId().hashCode();
         }
-        if (this.getLanguageId() != null) {
-            result = result + getLanguageId().hashCode();
-        }
 
         return result;
     }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsOptionsValuesToProductsOptions.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUES_ID
  * 
  * [foreign-property]
- *     
+ *     productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     
@@ -57,10 +57,10 @@
     /** The value of productsOptionsValuesToProductsOptionsId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _productsOptionsValuesToProductsOptionsId;
 
-    /** The value of productsOptionsId. INTEGER : NotNull */
+    /** The value of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     protected java.math.BigDecimal _productsOptionsId;
 
-    /** The value of productsOptionsValuesId. INTEGER : NotNull */
+    /** The value of productsOptionsValuesId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     protected java.math.BigDecimal _productsOptionsValuesId;
 
     // ===================================================================================
@@ -152,12 +152,12 @@
         this._productsOptionsValuesToProductsOptionsId = productsOptionsValuesToProductsOptionsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String productsOptionsId_COLUMN = "PRODUCTS_OPTIONS_ID";
 
     /**
      * Get the value of productsOptionsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
      * 
      * @return The value of productsOptionsId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of productsOptionsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS}
      * 
      * @param productsOptionsId The value of productsOptionsId. (Nullable)
      */
@@ -176,12 +176,12 @@
         this._productsOptionsId = productsOptionsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String productsOptionsValuesId_COLUMN = "PRODUCTS_OPTIONS_VALUES_ID";
 
     /**
      * Get the value of productsOptionsValuesId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
      * 
      * @return The value of productsOptionsValuesId. (Nullable)
      */
@@ -191,7 +191,7 @@
 
     /**
      * Set the value of productsOptionsValuesId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES}
      * 
      * @param productsOptionsValuesId The value of productsOptionsValuesId. (Nullable)
      */
@@ -219,6 +219,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS_OPTIONS(TABLE)]
+    //   ForeignProperty = [productsOptions]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int productsOptions_RELNO = 0;
+
+    /** 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();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   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
     //                                                                       =============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsToCategories.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsToCategories.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsProductsToCategories.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     PRODUCTS_ID, CATEGORIES_ID, COMMENT
  * 
  * [foreign-property]
- *     products
+ *     categories, products
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of productsId. PK : INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _productsId;
 
-    /** The value of categoriesId. PK : INTEGER : NotNull */
+    /** The value of categoriesId. PK : INTEGER : NotNull : FK to CATEGORIES */
     protected java.math.BigDecimal _categoriesId;
 
     /** The value of comment. VARCHAR(40) */
@@ -152,12 +152,12 @@
         this._productsId = productsId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to CATEGORIES */
     public static final String categoriesId_COLUMN = "CATEGORIES_ID";
 
     /**
      * Get the value of categoriesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to CATEGORIES}
      * 
      * @return The value of categoriesId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of categoriesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to CATEGORIES}
      * 
      * @param categoriesId The value of categoriesId. (Nullable)
      */
@@ -220,12 +220,62 @@
     //                                                                       =============
 
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CATEGORIES(TABLE)]
+    //   ForeignProperty = [categories]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int categories_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String categories_RELKEYS = "CATEGORIES_ID:CATEGORIES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Categories _parentCategories;
+
+    /**
+     * Get the entity of foreign table of categories. {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 getCategories() {
+        return _parentCategories;
+    }
+
+    /**
+     * Set the entity of foreign table of categories.
+     * 
+     * @param categories The entity of foreign table. (Nullable)
+     */
+    public void setCategories(jp.sf.pal.pompei.exentity.Categories categories) {
+        this._parentCategories = categories;
+    }
+
+    /**
+     * Has relation object of categories.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCategories() {
+        return _parentCategories != null && _parentCategories.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of categories.
+     * 
+     * @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 traceCategories() {
+        return _parentCategories != null ? _parentCategories : new jp.sf.pal.pompei.exentity.Categories();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     //   ForeignTable    = [PRODUCTS(TABLE)]
     //   ForeignProperty = [products]
     // * * * * * * * * */
 
     /** RELNO of foreign table for s2dao. */
-    public static final int products_RELNO = 0;
+    public static final int products_RELNO = 1;
 
     /** RELKEYS of foreign table for s2dao. */
     public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviews.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,10 +17,10 @@
  *     REVIEWS_ID, PRODUCTS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, REVIEWS_RATING, DATE_ADDED, LAST_MODIFIED, REVIEWS_READ
  * 
  * [foreign-property]
- *     
+ *     products
  * 
  * [refferer-property]
- *     
+ *     reviewsDescriptionList
  * 
  * [sequence]
  *     
@@ -57,7 +57,7 @@
     /** The value of reviewsId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _reviewsId;
 
-    /** The value of productsId. INTEGER : NotNull */
+    /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _productsId;
 
     /** The value of customersId. INTEGER */
@@ -167,12 +167,12 @@
         this._reviewsId = reviewsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS */
     public static final String productsId_COLUMN = "PRODUCTS_ID";
 
     /**
      * Get the value of productsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @return The value of productsId. (Nullable)
      */
@@ -182,7 +182,7 @@
 
     /**
      * Set the value of productsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @param productsId The value of productsId. (Nullable)
      */
@@ -354,10 +354,89 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [REVIEWS_DESCRIPTION(TABLE)]
+    //   RefererProperty = [reviewsDescriptionList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ReviewsDescription> _childrenReviewsDescriptionList;
+
+    /**
+     * 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.ReviewsDescription> getReviewsDescriptionList() {
+        return _childrenReviewsDescriptionList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param reviewsDescriptionList The list of refferer table. (Nullable)
+     */
+    public void setReviewsDescriptionList(java.util.List<jp.sf.pal.pompei.exentity.ReviewsDescription> reviewsDescriptionList) {
+        this._childrenReviewsDescriptionList = reviewsDescriptionList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsReviewsDescription.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     REVIEWS_ID, LANGUAGES_ID, REVIEWS_TEXT
  * 
  * [foreign-property]
- *     
+ *     languages, reviews
  * 
  * [refferer-property]
  *     
@@ -54,10 +54,10 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of reviewsId. PK : INTEGER : NotNull */
+    /** The value of reviewsId. PK : INTEGER : NotNull : FK to REVIEWS */
     protected java.math.BigDecimal _reviewsId;
 
-    /** The value of languagesId. PK : INTEGER : NotNull */
+    /** The value of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     protected java.math.BigDecimal _languagesId;
 
     /** The value of reviewsText. LONG VARCHAR(32700) : NotNull */
@@ -128,12 +128,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to REVIEWS */
     public static final String reviewsId_COLUMN = "REVIEWS_ID";
 
     /**
      * Get the value of reviewsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to REVIEWS}
      * 
      * @return The value of reviewsId. (Nullable)
      */
@@ -143,7 +143,7 @@
 
     /**
      * Set the value of reviewsId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to REVIEWS}
      * 
      * @param reviewsId The value of reviewsId. (Nullable)
      */
@@ -152,12 +152,12 @@
         this._reviewsId = reviewsId;
     }
 
-    /** Column Annotation for S2Dao. PK : INTEGER : NotNull */
+    /** Column Annotation for S2Dao. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String languagesId_COLUMN = "LANGUAGES_ID";
 
     /**
      * Get the value of languagesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
      * 
      * @return The value of languagesId. (Nullable)
      */
@@ -167,7 +167,7 @@
 
     /**
      * Set the value of languagesId. <br />
-     * {PK : INTEGER : NotNull}
+     * {PK : INTEGER : NotNull : FK to LANGUAGES}
      * 
      * @param languagesId The value of languagesId. (Nullable)
      */
@@ -219,6 +219,106 @@
     //                                                                       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 = "LANGUAGES_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    = [REVIEWS(TABLE)]
+    //   ForeignProperty = [reviews]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int reviews_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String reviews_RELKEYS = "REVIEWS_ID:REVIEWS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Reviews _parentReviews;
+
+    /**
+     * Get the entity of foreign table of reviews. {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.Reviews getReviews() {
+        return _parentReviews;
+    }
+
+    /**
+     * Set the entity of foreign table of reviews.
+     * 
+     * @param reviews The entity of foreign table. (Nullable)
+     */
+    public void setReviews(jp.sf.pal.pompei.exentity.Reviews reviews) {
+        this._parentReviews = reviews;
+    }
+
+    /**
+     * Has relation object of reviews.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationReviews() {
+        return _parentReviews != null && _parentReviews.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of reviews.
+     * 
+     * @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.Reviews traceReviews() {
+        return _parentReviews != null ? _parentReviews : new jp.sf.pal.pompei.exentity.Reviews();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsSpecials.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     SPECIALS_ID, PRODUCTS_ID, SPECIALS_NEW_PRODUCTS_PRICE, SPECIALS_DATE_ADDED, SPECIALS_LAST_MODIFIED, EXPIRES_DATE, DATE_STATUS_CHANGE, STATUS
  * 
  * [foreign-property]
- *     
+ *     products
  * 
  * [refferer-property]
  *     
@@ -57,7 +57,7 @@
     /** The value of specialsId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _specialsId;
 
-    /** The value of productsId. INTEGER : NotNull */
+    /** The value of productsId. INTEGER : NotNull : FK to PRODUCTS */
     protected java.math.BigDecimal _productsId;
 
     /** The value of specialsNewProductsPrice. DECIMAL(15) : NotNull */
@@ -167,12 +167,12 @@
         this._specialsId = specialsId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to PRODUCTS */
     public static final String productsId_COLUMN = "PRODUCTS_ID";
 
     /**
      * Get the value of productsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @return The value of productsId. (Nullable)
      */
@@ -182,7 +182,7 @@
 
     /**
      * Set the value of productsId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to PRODUCTS}
      * 
      * @param productsId The value of productsId. (Nullable)
      */
@@ -354,6 +354,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [PRODUCTS(TABLE)]
+    //   ForeignProperty = [products]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int products_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String products_RELKEYS = "PRODUCTS_ID:PRODUCTS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Products _parentProducts;
+
+    /**
+     * Get the entity of foreign table of products. {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.Products getProducts() {
+        return _parentProducts;
+    }
+
+    /**
+     * Set the entity of foreign table of products.
+     * 
+     * @param products The entity of foreign table. (Nullable)
+     */
+    public void setProducts(jp.sf.pal.pompei.exentity.Products products) {
+        this._parentProducts = products;
+    }
+
+    /**
+     * Has relation object of products.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationProducts() {
+        return _parentProducts != null && _parentProducts.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of products.
+     * 
+     * @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.Products traceProducts() {
+        return _parentProducts != null ? _parentProducts : new jp.sf.pal.pompei.exentity.Products();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxClass.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -20,7 +20,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     productsList, taxRatesList
  * 
  * [sequence]
  *     
@@ -277,6 +277,64 @@
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [PRODUCTS(TABLE)]
+    //   RefererProperty = [productsList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.Products> _childrenProductsList;
+
+    /**
+     * 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.Products> getProductsList() {
+        return _childrenProductsList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param productsList The list of refferer table. (Nullable)
+     */
+    public void setProductsList(java.util.List<jp.sf.pal.pompei.exentity.Products> productsList) {
+        this._childrenProductsList = productsList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [TAX_RATES(TABLE)]
+    //   RefererProperty = [taxRatesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.TaxRates> _childrenTaxRatesList;
+
+    /**
+     * 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.TaxRates> getTaxRatesList() {
+        return _childrenTaxRatesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param taxRatesList The list of refferer table. (Nullable)
+     */
+    public void setTaxRatesList(java.util.List<jp.sf.pal.pompei.exentity.TaxRates> taxRatesList) {
+        this._childrenTaxRatesList = taxRatesList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsTaxRates.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     TAX_RATES_ID, TAX_ZONE_ID, TAX_CLASS_ID, TAX_PRIORITY, TAX_RATE, TAX_DESCRIPTION, LAST_MODIFIED, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     taxClass, zones
  * 
  * [refferer-property]
  *     
@@ -57,10 +57,10 @@
     /** The value of taxRatesId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _taxRatesId;
 
-    /** The value of taxZoneId. INTEGER : NotNull */
+    /** The value of taxZoneId. INTEGER : NotNull : FK to ZONES */
     protected java.math.BigDecimal _taxZoneId;
 
-    /** The value of taxClassId. INTEGER : NotNull */
+    /** The value of taxClassId. INTEGER : NotNull : FK to TAX_CLASS */
     protected java.math.BigDecimal _taxClassId;
 
     /** The value of taxPriority. INTEGER : Default=[1] */
@@ -167,12 +167,12 @@
         this._taxRatesId = taxRatesId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to ZONES */
     public static final String taxZoneId_COLUMN = "TAX_ZONE_ID";
 
     /**
      * Get the value of taxZoneId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ZONES}
      * 
      * @return The value of taxZoneId. (Nullable)
      */
@@ -182,7 +182,7 @@
 
     /**
      * Set the value of taxZoneId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to ZONES}
      * 
      * @param taxZoneId The value of taxZoneId. (Nullable)
      */
@@ -191,12 +191,12 @@
         this._taxZoneId = taxZoneId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to TAX_CLASS */
     public static final String taxClassId_COLUMN = "TAX_CLASS_ID";
 
     /**
      * Get the value of taxClassId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to TAX_CLASS}
      * 
      * @return The value of taxClassId. (Nullable)
      */
@@ -206,7 +206,7 @@
 
     /**
      * Set the value of taxClassId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to TAX_CLASS}
      * 
      * @param taxClassId The value of taxClassId. (Nullable)
      */
@@ -354,6 +354,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [TAX_CLASS(TABLE)]
+    //   ForeignProperty = [taxClass]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int taxClass_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String taxClass_RELKEYS = "TAX_CLASS_ID:TAX_CLASS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.TaxClass _parentTaxClass;
+
+    /**
+     * Get the entity of foreign table of taxClass. {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.TaxClass getTaxClass() {
+        return _parentTaxClass;
+    }
+
+    /**
+     * Set the entity of foreign table of taxClass.
+     * 
+     * @param taxClass The entity of foreign table. (Nullable)
+     */
+    public void setTaxClass(jp.sf.pal.pompei.exentity.TaxClass taxClass) {
+        this._parentTaxClass = taxClass;
+    }
+
+    /**
+     * Has relation object of taxClass.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationTaxClass() {
+        return _parentTaxClass != null && _parentTaxClass.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of taxClass.
+     * 
+     * @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.TaxClass traceTaxClass() {
+        return _parentTaxClass != null ? _parentTaxClass : new jp.sf.pal.pompei.exentity.TaxClass();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ZONES(TABLE)]
+    //   ForeignProperty = [zones]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int zones_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String zones_RELKEYS = "TAX_ZONE_ID:ZONE_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Zones _parentZones;
+
+    /**
+     * Get the entity of foreign table of zones. {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.Zones getZones() {
+        return _parentZones;
+    }
+
+    /**
+     * Set the entity of foreign table of zones.
+     * 
+     * @param zones The entity of foreign table. (Nullable)
+     */
+    public void setZones(jp.sf.pal.pompei.exentity.Zones zones) {
+        this._parentZones = zones;
+    }
+
+    /**
+     * Has relation object of zones.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationZones() {
+        return _parentZones != null && _parentZones.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of zones.
+     * 
+     * @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.Zones traceZones() {
+        return _parentZones != null ? _parentZones : new jp.sf.pal.pompei.exentity.Zones();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsWhosOnline.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsWhosOnline.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsWhosOnline.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     CUSTOMER_ID, FULL_NAME, SESSION_ID, IP_ADDRESS, TIME_ENTRY, TIME_LAST_CLICK, LAST_PAGE_URL
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     
@@ -54,7 +54,7 @@
     /** Entity modified properties. (for S2Dao) */
     protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
 
-    /** The value of customerId. INTEGER */
+    /** The value of customerId. INTEGER : FK to CUSTOMERS */
     protected java.math.BigDecimal _customerId;
 
     /** The value of fullName. VARCHAR(64) : NotNull */
@@ -140,12 +140,12 @@
     //                                                                            Accessor
     //                                                                            ========
 
-    /** Column Annotation for S2Dao. INTEGER */
+    /** Column Annotation for S2Dao. INTEGER : FK to CUSTOMERS */
     public static final String customerId_COLUMN = "CUSTOMER_ID";
 
     /**
      * Get the value of customerId. <br />
-     * {INTEGER}
+     * {INTEGER : FK to CUSTOMERS}
      * 
      * @return The value of customerId. (Nullable)
      */
@@ -155,7 +155,7 @@
 
     /**
      * Set the value of customerId. <br />
-     * {INTEGER}
+     * {INTEGER : FK to CUSTOMERS}
      * 
      * @param customerId The value of customerId. (Nullable)
      */
@@ -327,6 +327,56 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [CUSTOMERS(TABLE)]
+    //   ForeignProperty = [customers]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int customers_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String customers_RELKEYS = "CUSTOMER_ID:CUSTOMERS_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Customers _parentCustomers;
+
+    /**
+     * Get the entity of foreign table of customers. {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.Customers getCustomers() {
+        return _parentCustomers;
+    }
+
+    /**
+     * Set the entity of foreign table of customers.
+     * 
+     * @param customers The entity of foreign table. (Nullable)
+     */
+    public void setCustomers(jp.sf.pal.pompei.exentity.Customers customers) {
+        this._parentCustomers = customers;
+    }
+
+    /**
+     * Has relation object of customers.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCustomers() {
+        return _parentCustomers != null && _parentCustomers.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of customers.
+     * 
+     * @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.Customers traceCustomers() {
+        return _parentCustomers != null ? _parentCustomers : new jp.sf.pal.pompei.exentity.Customers();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZones.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,10 +17,10 @@
  *     ZONE_ID, ZONE_COUNTRY_ID, ZONE_CODE, ZONE_NAME
  * 
  * [foreign-property]
- *     
+ *     countries
  * 
  * [refferer-property]
- *     
+ *     addressBookList, taxRatesList, zonesToGeoZonesList
  * 
  * [sequence]
  *     
@@ -57,7 +57,7 @@
     /** The value of zoneId. PK : INTEGER : NotNull */
     protected java.math.BigDecimal _zoneId;
 
-    /** The value of zoneCountryId. INTEGER : NotNull */
+    /** The value of zoneCountryId. INTEGER : NotNull : FK to COUNTRIES */
     protected java.math.BigDecimal _zoneCountryId;
 
     /** The value of zoneCode. VARCHAR(32) : NotNull */
@@ -155,12 +155,12 @@
         this._zoneId = zoneId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER : NotNull */
+    /** Column Annotation for S2Dao. INTEGER : NotNull : FK to COUNTRIES */
     public static final String zoneCountryId_COLUMN = "ZONE_COUNTRY_ID";
 
     /**
      * Get the value of zoneCountryId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to COUNTRIES}
      * 
      * @return The value of zoneCountryId. (Nullable)
      */
@@ -170,7 +170,7 @@
 
     /**
      * Set the value of zoneCountryId. <br />
-     * {INTEGER : NotNull}
+     * {INTEGER : NotNull : FK to COUNTRIES}
      * 
      * @param zoneCountryId The value of zoneCountryId. (Nullable)
      */
@@ -246,10 +246,147 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [COUNTRIES(TABLE)]
+    //   ForeignProperty = [countries]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int countries_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String countries_RELKEYS = "ZONE_COUNTRY_ID:COUNTRIES_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Countries _parentCountries;
+
+    /**
+     * Get the entity of foreign table of countries. {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.Countries getCountries() {
+        return _parentCountries;
+    }
+
+    /**
+     * Set the entity of foreign table of countries.
+     * 
+     * @param countries The entity of foreign table. (Nullable)
+     */
+    public void setCountries(jp.sf.pal.pompei.exentity.Countries countries) {
+        this._parentCountries = countries;
+    }
+
+    /**
+     * Has relation object of countries.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationCountries() {
+        return _parentCountries != null && _parentCountries.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of countries.
+     * 
+     * @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.Countries traceCountries() {
+        return _parentCountries != null ? _parentCountries : new jp.sf.pal.pompei.exentity.Countries();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============
 
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ADDRESS_BOOK(TABLE)]
+    //   RefererProperty = [addressBookList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.AddressBook> _childrenAddressBookList;
+
+    /**
+     * 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.AddressBook> getAddressBookList() {
+        return _childrenAddressBookList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param addressBookList The list of refferer table. (Nullable)
+     */
+    public void setAddressBookList(java.util.List<jp.sf.pal.pompei.exentity.AddressBook> addressBookList) {
+        this._childrenAddressBookList = addressBookList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [TAX_RATES(TABLE)]
+    //   RefererProperty = [taxRatesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.TaxRates> _childrenTaxRatesList;
+
+    /**
+     * 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.TaxRates> getTaxRatesList() {
+        return _childrenTaxRatesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param taxRatesList The list of refferer table. (Nullable)
+     */
+    public void setTaxRatesList(java.util.List<jp.sf.pal.pompei.exentity.TaxRates> taxRatesList) {
+        this._childrenTaxRatesList = taxRatesList;
+    }
+  
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   RefererTable    = [ZONES_TO_GEO_ZONES(TABLE)]
+    //   RefererProperty = [zonesToGeoZonesList]
+    // * * * * * * * * */
+
+      
+    /** The list of referer table. */
+    protected java.util.List<jp.sf.pal.pompei.exentity.ZonesToGeoZones> _childrenZonesToGeoZonesList;
+
+    /**
+     * 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.ZonesToGeoZones> getZonesToGeoZonesList() {
+        return _childrenZonesToGeoZonesList;
+    }
+
+    /**
+     * Set the list of referer table.
+     * 
+     * @param zonesToGeoZonesList The list of refferer table. (Nullable)
+     */
+    public void setZonesToGeoZonesList(java.util.List<jp.sf.pal.pompei.exentity.ZonesToGeoZones> zonesToGeoZonesList) {
+        this._childrenZonesToGeoZonesList = zonesToGeoZonesList;
+    }
+  
     // ===================================================================================
     //                                                                       Determination
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/BsZonesToGeoZones.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -17,7 +17,7 @@
  *     ASSOCIATION_ID, ZONE_COUNTRY_ID, ZONE_ID, GEO_ZONE_ID, LAST_MODIFIED, DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     geoZones, zones
  * 
  * [refferer-property]
  *     
@@ -60,10 +60,10 @@
     /** The value of zoneCountryId. INTEGER : NotNull */
     protected java.math.BigDecimal _zoneCountryId;
 
-    /** The value of zoneId. INTEGER */
+    /** The value of zoneId. INTEGER : FK to ZONES */
     protected java.math.BigDecimal _zoneId;
 
-    /** The value of geoZoneId. INTEGER */
+    /** The value of geoZoneId. INTEGER : FK to GEO_ZONES */
     protected java.math.BigDecimal _geoZoneId;
 
     /** The value of lastModified. TIMESTAMP */
@@ -185,12 +185,12 @@
         this._zoneCountryId = zoneCountryId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER */
+    /** Column Annotation for S2Dao. INTEGER : FK to ZONES */
     public static final String zoneId_COLUMN = "ZONE_ID";
 
     /**
      * Get the value of zoneId. <br />
-     * {INTEGER}
+     * {INTEGER : FK to ZONES}
      * 
      * @return The value of zoneId. (Nullable)
      */
@@ -200,7 +200,7 @@
 
     /**
      * Set the value of zoneId. <br />
-     * {INTEGER}
+     * {INTEGER : FK to ZONES}
      * 
      * @param zoneId The value of zoneId. (Nullable)
      */
@@ -209,12 +209,12 @@
         this._zoneId = zoneId;
     }
 
-    /** Column Annotation for S2Dao. INTEGER */
+    /** Column Annotation for S2Dao. INTEGER : FK to GEO_ZONES */
     public static final String geoZoneId_COLUMN = "GEO_ZONE_ID";
 
     /**
      * Get the value of geoZoneId. <br />
-     * {INTEGER}
+     * {INTEGER : FK to GEO_ZONES}
      * 
      * @return The value of geoZoneId. (Nullable)
      */
@@ -224,7 +224,7 @@
 
     /**
      * Set the value of geoZoneId. <br />
-     * {INTEGER}
+     * {INTEGER : FK to GEO_ZONES}
      * 
      * @param geoZoneId The value of geoZoneId. (Nullable)
      */
@@ -300,6 +300,106 @@
     //                                                                       Foreign Table
     //                                                                       =============
 
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [GEO_ZONES(TABLE)]
+    //   ForeignProperty = [geoZones]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int geoZones_RELNO = 0;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String geoZones_RELKEYS = "GEO_ZONE_ID:GEO_ZONE_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.GeoZones _parentGeoZones;
+
+    /**
+     * Get the entity of foreign table of geoZones. {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.GeoZones getGeoZones() {
+        return _parentGeoZones;
+    }
+
+    /**
+     * Set the entity of foreign table of geoZones.
+     * 
+     * @param geoZones The entity of foreign table. (Nullable)
+     */
+    public void setGeoZones(jp.sf.pal.pompei.exentity.GeoZones geoZones) {
+        this._parentGeoZones = geoZones;
+    }
+
+    /**
+     * Has relation object of geoZones.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationGeoZones() {
+        return _parentGeoZones != null && _parentGeoZones.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of geoZones.
+     * 
+     * @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.GeoZones traceGeoZones() {
+        return _parentGeoZones != null ? _parentGeoZones : new jp.sf.pal.pompei.exentity.GeoZones();
+    }
+  
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    //   ForeignTable    = [ZONES(TABLE)]
+    //   ForeignProperty = [zones]
+    // * * * * * * * * */
+
+    /** RELNO of foreign table for s2dao. */
+    public static final int zones_RELNO = 1;
+
+    /** RELKEYS of foreign table for s2dao. */
+    public static final String zones_RELKEYS = "ZONE_ID:ZONE_ID";
+
+    /** The entity of foreign table. */
+    protected jp.sf.pal.pompei.exentity.Zones _parentZones;
+
+    /**
+     * Get the entity of foreign table of zones. {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.Zones getZones() {
+        return _parentZones;
+    }
+
+    /**
+     * Set the entity of foreign table of zones.
+     * 
+     * @param zones The entity of foreign table. (Nullable)
+     */
+    public void setZones(jp.sf.pal.pompei.exentity.Zones zones) {
+        this._parentZones = zones;
+    }
+
+    /**
+     * Has relation object of zones.
+     * 
+     * @return Determination.
+     */
+    public boolean hasRelationZones() {
+        return _parentZones != null && _parentZones.hasPrimaryKeyValue();
+    }
+
+    /**
+     * Trace relation object (for read) of zones.
+     * 
+     * @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.Zones traceZones() {
+        return _parentZones != null ? _parentZones : new jp.sf.pal.pompei.exentity.Zones();
+    }
+  
     // ===================================================================================
     //                                                                       Referer Table
     //                                                                       =============

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressBookDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,10 +19,10 @@
  *     ADDRESS_BOOK_ID, CUSTOMERS_ID, ENTRY_GENDER, ENTRY_COMPANY, ENTRY_DEPARTMENT, ENTRY_FIRSTNAME, ENTRY_LASTNAME, ENTRY_STREET_ADDRESS, ENTRY_SUBURB, ENTRY_POSTCODE, ENTRY_CITY, ENTRY_STATE, ENTRY_TELEPHONE, ENTRY_FAX, ENTRY_CELLPHONE, ENTRY_COUNTRY_ID, ENTRY_ZONE_ID
  * 
  * [foreign-property]
- *     customers
+ *     countries, customers, zones
  * 
  * [refferer-property]
- *     customersList
+ *     
  * 
  * [sequence]
  *     
@@ -123,9 +123,9 @@
     public static final String DB_NAME_ENTRY_FAX = "ENTRY_FAX";
     /** Db-name of ENTRY_CELLPHONE. VARCHAR(32) */
     public static final String DB_NAME_ENTRY_CELLPHONE = "ENTRY_CELLPHONE";
-    /** Db-name of ENTRY_COUNTRY_ID. INTEGER : NotNull : Default=[0] */
+    /** Db-name of ENTRY_COUNTRY_ID. INTEGER : NotNull : Default=[0] : FK to COUNTRIES */
     public static final String DB_NAME_ENTRY_COUNTRY_ID = "ENTRY_COUNTRY_ID";
-    /** Db-name of ENTRY_ZONE_ID. INTEGER : NotNull : Default=[0] */
+    /** Db-name of ENTRY_ZONE_ID. INTEGER : NotNull : Default=[0] : FK to ZONES */
     public static final String DB_NAME_ENTRY_ZONE_ID = "ENTRY_ZONE_ID";
 
     /** @deprecated Deprecated! So use DB_NAME_AddressBookId. */
@@ -196,9 +196,9 @@
     public static final String PROPERTY_NAME_entryFax = "entryFax";
     /** Prop-name(JavaBeansRule) of entryCellphone. VARCHAR(32) */
     public static final String PROPERTY_NAME_entryCellphone = "entryCellphone";
-    /** Prop-name(JavaBeansRule) of entryCountryId. INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of entryCountryId. INTEGER : NotNull : Default=[0] : FK to COUNTRIES */
     public static final String PROPERTY_NAME_entryCountryId = "entryCountryId";
-    /** Prop-name(JavaBeansRule) of entryZoneId. INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of entryZoneId. INTEGER : NotNull : Default=[0] : FK to ZONES */
     public static final String PROPERTY_NAME_entryZoneId = "entryZoneId";
 
     // -----------------------------------------------------
@@ -234,9 +234,9 @@
     public static final String CAP_PROP_NAME_EntryFax = "EntryFax";
     /** Cap-prop-name of entryCellphone. VARCHAR(32) */
     public static final String CAP_PROP_NAME_EntryCellphone = "EntryCellphone";
-    /** Cap-prop-name of entryCountryId. INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of entryCountryId. INTEGER : NotNull : Default=[0] : FK to COUNTRIES */
     public static final String CAP_PROP_NAME_EntryCountryId = "EntryCountryId";
-    /** Cap-prop-name of entryZoneId. INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of entryZoneId. INTEGER : NotNull : Default=[0] : FK to ZONES */
     public static final String CAP_PROP_NAME_EntryZoneId = "EntryZoneId";
 
     /** @deprecated Deprecated! So use CAP_PROP_NAME_AddressBookId. */
@@ -307,9 +307,9 @@
     public static final String UNCAP_PROP_NAME_entryFax = "entryFax";
     /** Uncap-prop-name of entryCellphone. VARCHAR(32) */
     public static final String UNCAP_PROP_NAME_entryCellphone = "entryCellphone";
-    /** Uncap-prop-name of entryCountryId. INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of entryCountryId. INTEGER : NotNull : Default=[0] : FK to COUNTRIES */
     public static final String UNCAP_PROP_NAME_entryCountryId = "entryCountryId";
-    /** Uncap-prop-name of entryZoneId. INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of entryZoneId. INTEGER : NotNull : Default=[0] : FK to ZONES */
     public static final String UNCAP_PROP_NAME_entryZoneId = "entryZoneId";
 
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_AddressBookId. */
@@ -350,24 +350,30 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of countries. */
+    public static final String FOREIGN_PROPERTY_NAME_countries = "countries";
     /** The foreign property name(JavaBeansRule) of customers. */
     public static final String FOREIGN_PROPERTY_NAME_customers = "customers";
+    /** The foreign property name(JavaBeansRule) of zones. */
+    public static final String FOREIGN_PROPERTY_NAME_zones = "zones";
+    /** @deprecated Use FOREIGN_NAME_countries. */
+    public static final String FOREIGN_CAP_PROP_NAME_Countries = "Countries";
     /** @deprecated Use FOREIGN_NAME_customers. */
     public static final String FOREIGN_CAP_PROP_NAME_Customers = "Customers";
+    /** @deprecated Use FOREIGN_NAME_zones. */
+    public static final String FOREIGN_CAP_PROP_NAME_Zones = "Zones";
 
+    /** @deprecated Use FOREIGN_NAME_countries. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_countries = "countries";
     /** @deprecated Use FOREIGN_NAME_customers. */
     public static final String FOREIGN_UNCAP_PROP_NAME_customers = "customers";
+    /** @deprecated Use FOREIGN_NAME_zones. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_zones = "zones";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
-    /** The referer property name(JavaBeansRule) of customersList. */
-    public static final String REFERER_PROPERTY_NAME_customersList = "customersList";
-    /** @deprecated Use REFERER_NAME_customersList */
-    public static final String REFERER_CAP_PROP_NAME_CustomersList = "CustomersList";
 
-    /** @deprecated Use REFERER_NAME_customersList */
-    public static final String REFERER_UNCAP_PROP_NAME_customersList = "customersList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -1054,6 +1060,22 @@
     //                                       Foreign Element
     //                                       ---------------
     /**
+     * Get foreign information of countries.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignCountries() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("countries");
+        foreignInfo.setLocalDBMeta(AddressBookDbm.getInstance());
+        foreignInfo.setForeignDBMeta(CountriesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnEntryCountryId(), CountriesDbm.getInstance().columnCountriesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
      * Get foreign information of customers.
      * 
      * @return Referer information. (NotNull)
@@ -1069,29 +1091,29 @@
         foreignInfo.setOneToOne(false);
         return foreignInfo;
     }
-
-
-    // -----------------------------------------------------
-    //                                       Referer Element
-    //                                       ---------------
     /**
-     * Get referer information of customersList.
+     * Get foreign information of zones.
      * 
      * @return Referer information. (NotNull)
      */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererCustomersList() {
-        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
-        refererInfo.setRefererPropertyName("customersList");
-        refererInfo.setLocalDBMeta(AddressBookDbm.getInstance());
-        refererInfo.setRefererDBMeta(CustomersDbm.getInstance());
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignZones() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("zones");
+        foreignInfo.setLocalDBMeta(AddressBookDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ZonesDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnAddressBookId(), CustomersDbm.getInstance().columnCustomersDefaultAddressId());
-        refererInfo.setLocalRefererColumnInfoMap(map);
-        refererInfo.setOneToOne(false);
-        return refererInfo;
+        map.put(columnEntryZoneId(), ZonesDbm.getInstance().columnZoneId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
     }
 
+
     // -----------------------------------------------------
+    //                                       Referer Element
+    //                                       ---------------
+
+    // -----------------------------------------------------
     //                                        Relation Trace
     //                                        --------------
     /**
@@ -1139,14 +1161,19 @@
             super(relationList, relationTraceList);
         }
 
+        public CountriesDbm.CountriesRelationTrace foreignCountries() {
+            _relationList.add(AddressBookDbm.getInstance().foreignCountries());
+            return CountriesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public CustomersDbm.CustomersRelationTrace foreignCustomers() {
             _relationList.add(AddressBookDbm.getInstance().foreignCustomers());
             return CustomersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
-  
-        public CustomersDbm.CustomersRelationTrace refererCustomersList() {
-            _relationList.add(AddressBookDbm.getInstance().refererCustomersList());
-            return CustomersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+
+        public ZonesDbm.ZonesRelationTrace foreignZones() {
+            _relationList.add(AddressBookDbm.getInstance().foreignZones());
+            return ZonesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
         public RelationTrace columnAddressBookId() { return fixTrace(_relationList, AddressBookDbm.getInstance().columnAddressBookId()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/AddressFormatDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     ordersByCustomersAddressFormatIdList, ordersByDeliveryAddressFormatIdList, ordersByBillingAddressFormatIdList
  * 
  * [sequence]
  *     
@@ -159,7 +159,25 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of ordersByCustomersAddressFormatIdList. */
+    public static final String REFERER_PROPERTY_NAME_ordersByCustomersAddressFormatIdList = "ordersByCustomersAddressFormatIdList";
+    /** The referer property name(JavaBeansRule) of ordersByDeliveryAddressFormatIdList. */
+    public static final String REFERER_PROPERTY_NAME_ordersByDeliveryAddressFormatIdList = "ordersByDeliveryAddressFormatIdList";
+    /** The referer property name(JavaBeansRule) of ordersByBillingAddressFormatIdList. */
+    public static final String REFERER_PROPERTY_NAME_ordersByBillingAddressFormatIdList = "ordersByBillingAddressFormatIdList";
+    /** @deprecated Use REFERER_NAME_ordersByCustomersAddressFormatIdList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersByCustomersAddressFormatIdList = "OrdersByCustomersAddressFormatIdList";
+    /** @deprecated Use REFERER_NAME_ordersByDeliveryAddressFormatIdList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersByDeliveryAddressFormatIdList = "OrdersByDeliveryAddressFormatIdList";
+    /** @deprecated Use REFERER_NAME_ordersByBillingAddressFormatIdList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersByBillingAddressFormatIdList = "OrdersByBillingAddressFormatIdList";
 
+    /** @deprecated Use REFERER_NAME_ordersByCustomersAddressFormatIdList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersByCustomersAddressFormatIdList = "ordersByCustomersAddressFormatIdList";
+    /** @deprecated Use REFERER_NAME_ordersByDeliveryAddressFormatIdList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersByDeliveryAddressFormatIdList = "ordersByDeliveryAddressFormatIdList";
+    /** @deprecated Use REFERER_NAME_ordersByBillingAddressFormatIdList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersByBillingAddressFormatIdList = "ordersByBillingAddressFormatIdList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -640,6 +658,54 @@
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of ordersByCustomersAddressFormatIdList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersByCustomersAddressFormatIdList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersByCustomersAddressFormatIdList");
+        refererInfo.setLocalDBMeta(AddressFormatDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnAddressFormatId(), OrdersDbm.getInstance().columnCustomersAddressFormatId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of ordersByDeliveryAddressFormatIdList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersByDeliveryAddressFormatIdList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersByDeliveryAddressFormatIdList");
+        refererInfo.setLocalDBMeta(AddressFormatDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnAddressFormatId(), OrdersDbm.getInstance().columnDeliveryAddressFormatId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of ordersByBillingAddressFormatIdList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersByBillingAddressFormatIdList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersByBillingAddressFormatIdList");
+        refererInfo.setLocalDBMeta(AddressFormatDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnAddressFormatId(), OrdersDbm.getInstance().columnBillingAddressFormatId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -688,7 +754,22 @@
         public AddressFormatRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
+      
+        public OrdersDbm.OrdersRelationTrace refererOrdersByCustomersAddressFormatIdList() {
+            _relationList.add(AddressFormatDbm.getInstance().refererOrdersByCustomersAddressFormatIdList());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
+        public OrdersDbm.OrdersRelationTrace refererOrdersByDeliveryAddressFormatIdList() {
+            _relationList.add(AddressFormatDbm.getInstance().refererOrdersByDeliveryAddressFormatIdList());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public OrdersDbm.OrdersRelationTrace refererOrdersByBillingAddressFormatIdList() {
+            _relationList.add(AddressFormatDbm.getInstance().refererOrdersByBillingAddressFormatIdList());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnAddressFormatId() { return fixTrace(_relationList, AddressFormatDbm.getInstance().columnAddressFormatId()); }
         public RelationTrace columnAddressFormat() { return fixTrace(_relationList, AddressFormatDbm.getInstance().columnAddressFormat()); }
         public RelationTrace columnAddressSummary() { return fixTrace(_relationList, AddressFormatDbm.getInstance().columnAddressSummary()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     bannersHistoryList
  * 
  * [sequence]
  *     
@@ -285,7 +285,13 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of bannersHistoryList. */
+    public static final String REFERER_PROPERTY_NAME_bannersHistoryList = "bannersHistoryList";
+    /** @deprecated Use REFERER_NAME_bannersHistoryList */
+    public static final String REFERER_CAP_PROP_NAME_BannersHistoryList = "BannersHistoryList";
 
+    /** @deprecated Use REFERER_NAME_bannersHistoryList */
+    public static final String REFERER_UNCAP_PROP_NAME_bannersHistoryList = "bannersHistoryList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -901,6 +907,22 @@
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of bannersHistoryList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererBannersHistoryList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("bannersHistoryList");
+        refererInfo.setLocalDBMeta(BannersDbm.getInstance());
+        refererInfo.setRefererDBMeta(BannersHistoryDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnBannersId(), BannersHistoryDbm.getInstance().columnBannersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -949,6 +971,11 @@
         public BannersRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
+  
+        public BannersHistoryDbm.BannersHistoryRelationTrace refererBannersHistoryList() {
+            _relationList.add(BannersDbm.getInstance().refererBannersHistoryList());
+            return BannersHistoryDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
         public RelationTrace columnBannersId() { return fixTrace(_relationList, BannersDbm.getInstance().columnBannersId()); }
         public RelationTrace columnBannersTitle() { return fixTrace(_relationList, BannersDbm.getInstance().columnBannersTitle()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/BannersHistoryDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     BANNERS_HISTORY_ID, BANNERS_ID, BANNERS_SHOWN, BANNERS_CLICKED, BANNERS_HISTORY_DATE
  * 
  * [foreign-property]
- *     
+ *     banners
  * 
  * [refferer-property]
  *     
@@ -95,7 +95,7 @@
     //                                        --------------
     /** Db-name of BANNERS_HISTORY_ID. PK : INTEGER : NotNull */
     public static final String DB_NAME_BANNERS_HISTORY_ID = "BANNERS_HISTORY_ID";
-    /** Db-name of BANNERS_ID. INTEGER : NotNull */
+    /** Db-name of BANNERS_ID. INTEGER : NotNull : FK to BANNERS */
     public static final String DB_NAME_BANNERS_ID = "BANNERS_ID";
     /** Db-name of BANNERS_SHOWN. INTEGER : NotNull : Default=[0] */
     public static final String DB_NAME_BANNERS_SHOWN = "BANNERS_SHOWN";
@@ -120,7 +120,7 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of bannersHistoryId. PK : INTEGER : NotNull */
     public static final String PROPERTY_NAME_bannersHistoryId = "bannersHistoryId";
-    /** Prop-name(JavaBeansRule) of bannersId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of bannersId. INTEGER : NotNull : FK to BANNERS */
     public static final String PROPERTY_NAME_bannersId = "bannersId";
     /** Prop-name(JavaBeansRule) of bannersShown. INTEGER : NotNull : Default=[0] */
     public static final String PROPERTY_NAME_bannersShown = "bannersShown";
@@ -134,7 +134,7 @@
     //                                  --------------------
     /** Cap-prop-name of bannersHistoryId. PK : INTEGER : NotNull */
     public static final String CAP_PROP_NAME_BannersHistoryId = "BannersHistoryId";
-    /** Cap-prop-name of bannersId. INTEGER : NotNull */
+    /** Cap-prop-name of bannersId. INTEGER : NotNull : FK to BANNERS */
     public static final String CAP_PROP_NAME_BannersId = "BannersId";
     /** Cap-prop-name of bannersShown. INTEGER : NotNull : Default=[0] */
     public static final String CAP_PROP_NAME_BannersShown = "BannersShown";
@@ -159,7 +159,7 @@
     //                                ----------------------
     /** Uncap-prop-name of bannersHistoryId. PK : INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_bannersHistoryId = "bannersHistoryId";
-    /** Uncap-prop-name of bannersId. INTEGER : NotNull */
+    /** Uncap-prop-name of bannersId. INTEGER : NotNull : FK to BANNERS */
     public static final String UNCAP_PROP_NAME_bannersId = "bannersId";
     /** Uncap-prop-name of bannersShown. INTEGER : NotNull : Default=[0] */
     public static final String UNCAP_PROP_NAME_bannersShown = "bannersShown";
@@ -182,7 +182,13 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of banners. */
+    public static final String FOREIGN_PROPERTY_NAME_banners = "banners";
+    /** @deprecated Use FOREIGN_NAME_banners. */
+    public static final String FOREIGN_CAP_PROP_NAME_Banners = "Banners";
 
+    /** @deprecated Use FOREIGN_NAME_banners. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_banners = "banners";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -693,6 +699,22 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of banners.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignBanners() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("banners");
+        foreignInfo.setLocalDBMeta(BannersHistoryDbm.getInstance());
+        foreignInfo.setForeignDBMeta(BannersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnBannersId(), BannersDbm.getInstance().columnBannersId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -747,6 +769,11 @@
             super(relationList, relationTraceList);
         }
 
+        public BannersDbm.BannersRelationTrace foreignBanners() {
+            _relationList.add(BannersHistoryDbm.getInstance().foreignBanners());
+            return BannersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnBannersHistoryId() { return fixTrace(_relationList, BannersHistoryDbm.getInstance().columnBannersHistoryId()); }
         public RelationTrace columnBannersId() { return fixTrace(_relationList, BannersHistoryDbm.getInstance().columnBannersId()); }
         public RelationTrace columnBannersShown() { return fixTrace(_relationList, BannersHistoryDbm.getInstance().columnBannersShown()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     categoriesDescriptionList
+ *     categoriesDescriptionList, productsToCategoriesList
  * 
  * [sequence]
  *     
@@ -203,11 +203,17 @@
     //                                          ------------
     /** 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_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_categoriesDescriptionList */
     public static final String REFERER_UNCAP_PROP_NAME_categoriesDescriptionList = "categoriesDescriptionList";
+    /** @deprecated Use REFERER_NAME_productsToCategoriesList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsToCategoriesList = "productsToCategoriesList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -749,6 +755,22 @@
         refererInfo.setOneToOne(false);
         return refererInfo;
     }
+    /**
+     * Get referer information of productsToCategoriesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsToCategoriesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsToCategoriesList");
+        refererInfo.setLocalDBMeta(CategoriesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsToCategoriesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCategoriesId(), ProductsToCategoriesDbm.getInstance().columnCategoriesId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -797,12 +819,17 @@
         public CategoriesRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
-  
+    
         public CategoriesDescriptionDbm.CategoriesDescriptionRelationTrace refererCategoriesDescriptionList() {
             _relationList.add(CategoriesDbm.getInstance().refererCategoriesDescriptionList());
             return CategoriesDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public ProductsToCategoriesDbm.ProductsToCategoriesRelationTrace refererProductsToCategoriesList() {
+            _relationList.add(CategoriesDbm.getInstance().refererProductsToCategoriesList());
+            return ProductsToCategoriesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCategoriesId() { return fixTrace(_relationList, CategoriesDbm.getInstance().columnCategoriesId()); }
         public RelationTrace columnCategoriesImage() { return fixTrace(_relationList, CategoriesDbm.getInstance().columnCategoriesImage()); }
         public RelationTrace columnParentId() { return fixTrace(_relationList, CategoriesDbm.getInstance().columnParentId()); }

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDescriptionDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDescriptionDbm.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CategoriesDescriptionDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     CATEGORIES_ID, LANGUAGE_ID, CATEGORIES_NAME
  * 
  * [foreign-property]
- *     categories
+ *     categories, languages
  * 
  * [refferer-property]
  *     
@@ -95,7 +95,7 @@
     //                                        --------------
     /** Db-name of CATEGORIES_ID. PK : INTEGER : NotNull : Default=[0] : FK to CATEGORIES */
     public static final String DB_NAME_CATEGORIES_ID = "CATEGORIES_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 CATEGORIES_NAME. VARCHAR(32) : NotNull */
     public static final String DB_NAME_CATEGORIES_NAME = "CATEGORIES_NAME";
@@ -112,7 +112,7 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of categoriesId. PK : INTEGER : NotNull : Default=[0] : FK to CATEGORIES */
     public static final String PROPERTY_NAME_categoriesId = "categoriesId";
-    /** 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 categoriesName. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_categoriesName = "categoriesName";
@@ -122,7 +122,7 @@
     //                                  --------------------
     /** Cap-prop-name of categoriesId. PK : INTEGER : NotNull : Default=[0] : FK to CATEGORIES */
     public static final String CAP_PROP_NAME_CategoriesId = "CategoriesId";
-    /** 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 categoriesName. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_CategoriesName = "CategoriesName";
@@ -139,7 +139,7 @@
     //                                ----------------------
     /** Uncap-prop-name of categoriesId. PK : INTEGER : NotNull : Default=[0] : FK to CATEGORIES */
     public static final String UNCAP_PROP_NAME_categoriesId = "categoriesId";
-    /** 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 categoriesName. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_categoriesName = "categoriesName";
@@ -156,11 +156,17 @@
     //                                          ------------
     /** The foreign property name(JavaBeansRule) of categories. */
     public static final String FOREIGN_PROPERTY_NAME_categories = "categories";
+    /** The foreign property name(JavaBeansRule) of languages. */
+    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
     /** @deprecated Use FOREIGN_NAME_categories. */
     public static final String FOREIGN_CAP_PROP_NAME_Categories = "Categories";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
 
     /** @deprecated Use FOREIGN_NAME_categories. */
     public static final String FOREIGN_UNCAP_PROP_NAME_categories = "categories";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -658,6 +664,22 @@
         foreignInfo.setOneToOne(false);
         return foreignInfo;
     }
+    /**
+     * 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(CategoriesDescriptionDbm.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;
+    }
 
 
     // -----------------------------------------------------
@@ -717,6 +739,11 @@
             return CategoriesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
+            _relationList.add(CategoriesDescriptionDbm.getInstance().foreignLanguages());
+            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCategoriesId() { return fixTrace(_relationList, CategoriesDescriptionDbm.getInstance().columnCategoriesId()); }
         public RelationTrace columnLanguageId() { return fixTrace(_relationList, CategoriesDescriptionDbm.getInstance().columnLanguageId()); }
         public RelationTrace columnCategoriesName() { return fixTrace(_relationList, CategoriesDescriptionDbm.getInstance().columnCategoriesName()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     CONFIGURATION_ID, CONFIGURATION_TITLE, CONFIGURATION_KEY, CONFIGURATION_VALUE, CONFIGURATION_DESCRIPTION, CONFIGURATION_GROUP_ID, SORT_ORDER, LAST_MODIFIED, DATE_ADDED, USE_FUNCTION, SET_FUNCTION
  * 
  * [foreign-property]
- *     
+ *     configurationGroup
  * 
  * [refferer-property]
  *     
@@ -103,7 +103,7 @@
     public static final String DB_NAME_CONFIGURATION_VALUE = "CONFIGURATION_VALUE";
     /** Db-name of CONFIGURATION_DESCRIPTION. VARCHAR(255) : NotNull */
     public static final String DB_NAME_CONFIGURATION_DESCRIPTION = "CONFIGURATION_DESCRIPTION";
-    /** Db-name of CONFIGURATION_GROUP_ID. INTEGER : NotNull */
+    /** Db-name of CONFIGURATION_GROUP_ID. INTEGER : NotNull : FK to CONFIGURATION_GROUP */
     public static final String DB_NAME_CONFIGURATION_GROUP_ID = "CONFIGURATION_GROUP_ID";
     /** Db-name of SORT_ORDER. INTEGER */
     public static final String DB_NAME_SORT_ORDER = "SORT_ORDER";
@@ -152,7 +152,7 @@
     public static final String PROPERTY_NAME_configurationValue = "configurationValue";
     /** Prop-name(JavaBeansRule) of configurationDescription. VARCHAR(255) : NotNull */
     public static final String PROPERTY_NAME_configurationDescription = "configurationDescription";
-    /** Prop-name(JavaBeansRule) of configurationGroupId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of configurationGroupId. INTEGER : NotNull : FK to CONFIGURATION_GROUP */
     public static final String PROPERTY_NAME_configurationGroupId = "configurationGroupId";
     /** Prop-name(JavaBeansRule) of sortOrder. INTEGER */
     public static final String PROPERTY_NAME_sortOrder = "sortOrder";
@@ -178,7 +178,7 @@
     public static final String CAP_PROP_NAME_ConfigurationValue = "ConfigurationValue";
     /** Cap-prop-name of configurationDescription. VARCHAR(255) : NotNull */
     public static final String CAP_PROP_NAME_ConfigurationDescription = "ConfigurationDescription";
-    /** Cap-prop-name of configurationGroupId. INTEGER : NotNull */
+    /** Cap-prop-name of configurationGroupId. INTEGER : NotNull : FK to CONFIGURATION_GROUP */
     public static final String CAP_PROP_NAME_ConfigurationGroupId = "ConfigurationGroupId";
     /** Cap-prop-name of sortOrder. INTEGER */
     public static final String CAP_PROP_NAME_SortOrder = "SortOrder";
@@ -227,7 +227,7 @@
     public static final String UNCAP_PROP_NAME_configurationValue = "configurationValue";
     /** Uncap-prop-name of configurationDescription. VARCHAR(255) : NotNull */
     public static final String UNCAP_PROP_NAME_configurationDescription = "configurationDescription";
-    /** Uncap-prop-name of configurationGroupId. INTEGER : NotNull */
+    /** Uncap-prop-name of configurationGroupId. INTEGER : NotNull : FK to CONFIGURATION_GROUP */
     public static final String UNCAP_PROP_NAME_configurationGroupId = "configurationGroupId";
     /** Uncap-prop-name of sortOrder. INTEGER */
     public static final String UNCAP_PROP_NAME_sortOrder = "sortOrder";
@@ -266,7 +266,13 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of configurationGroup. */
+    public static final String FOREIGN_PROPERTY_NAME_configurationGroup = "configurationGroup";
+    /** @deprecated Use FOREIGN_NAME_configurationGroup. */
+    public static final String FOREIGN_CAP_PROP_NAME_ConfigurationGroup = "ConfigurationGroup";
 
+    /** @deprecated Use FOREIGN_NAME_configurationGroup. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_configurationGroup = "configurationGroup";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -867,6 +873,22 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of configurationGroup.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignConfigurationGroup() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("configurationGroup");
+        foreignInfo.setLocalDBMeta(ConfigurationDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ConfigurationGroupDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnConfigurationGroupId(), ConfigurationGroupDbm.getInstance().columnConfigurationGroupId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -921,6 +943,11 @@
             super(relationList, relationTraceList);
         }
 
+        public ConfigurationGroupDbm.ConfigurationGroupRelationTrace foreignConfigurationGroup() {
+            _relationList.add(ConfigurationDbm.getInstance().foreignConfigurationGroup());
+            return ConfigurationGroupDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnConfigurationId() { return fixTrace(_relationList, ConfigurationDbm.getInstance().columnConfigurationId()); }
         public RelationTrace columnConfigurationTitle() { return fixTrace(_relationList, ConfigurationDbm.getInstance().columnConfigurationTitle()); }
         public RelationTrace columnConfigurationKey() { return fixTrace(_relationList, ConfigurationDbm.getInstance().columnConfigurationKey()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ConfigurationGroupDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     configurationList
  * 
  * [sequence]
  *     
@@ -187,7 +187,13 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of configurationList. */
+    public static final String REFERER_PROPERTY_NAME_configurationList = "configurationList";
+    /** @deprecated Use REFERER_NAME_configurationList */
+    public static final String REFERER_CAP_PROP_NAME_ConfigurationList = "ConfigurationList";
 
+    /** @deprecated Use REFERER_NAME_configurationList */
+    public static final String REFERER_UNCAP_PROP_NAME_configurationList = "configurationList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -698,6 +704,22 @@
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of configurationList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererConfigurationList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("configurationList");
+        refererInfo.setLocalDBMeta(ConfigurationGroupDbm.getInstance());
+        refererInfo.setRefererDBMeta(ConfigurationDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnConfigurationGroupId(), ConfigurationDbm.getInstance().columnConfigurationGroupId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -746,6 +768,11 @@
         public ConfigurationGroupRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
+  
+        public ConfigurationDbm.ConfigurationRelationTrace refererConfigurationList() {
+            _relationList.add(ConfigurationGroupDbm.getInstance().refererConfigurationList());
+            return ConfigurationDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
         public RelationTrace columnConfigurationGroupId() { return fixTrace(_relationList, ConfigurationGroupDbm.getInstance().columnConfigurationGroupId()); }
         public RelationTrace columnConfigurationGroupTitle() { return fixTrace(_relationList, ConfigurationGroupDbm.getInstance().columnConfigurationGroupTitle()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CountriesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     addressBookList, zonesList
  * 
  * [sequence]
  *     
@@ -187,7 +187,19 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of addressBookList. */
+    public static final String REFERER_PROPERTY_NAME_addressBookList = "addressBookList";
+    /** The referer property name(JavaBeansRule) of zonesList. */
+    public static final String REFERER_PROPERTY_NAME_zonesList = "zonesList";
+    /** @deprecated Use REFERER_NAME_addressBookList */
+    public static final String REFERER_CAP_PROP_NAME_AddressBookList = "AddressBookList";
+    /** @deprecated Use REFERER_NAME_zonesList */
+    public static final String REFERER_CAP_PROP_NAME_ZonesList = "ZonesList";
 
+    /** @deprecated Use REFERER_NAME_addressBookList */
+    public static final String REFERER_UNCAP_PROP_NAME_addressBookList = "addressBookList";
+    /** @deprecated Use REFERER_NAME_zonesList */
+    public static final String REFERER_UNCAP_PROP_NAME_zonesList = "zonesList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -698,6 +710,38 @@
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of addressBookList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererAddressBookList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("addressBookList");
+        refererInfo.setLocalDBMeta(CountriesDbm.getInstance());
+        refererInfo.setRefererDBMeta(AddressBookDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCountriesId(), AddressBookDbm.getInstance().columnEntryCountryId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of zonesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererZonesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("zonesList");
+        refererInfo.setLocalDBMeta(CountriesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ZonesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCountriesId(), ZonesDbm.getInstance().columnZoneCountryId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -746,7 +790,17 @@
         public CountriesRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
+    
+        public AddressBookDbm.AddressBookRelationTrace refererAddressBookList() {
+            _relationList.add(CountriesDbm.getInstance().refererAddressBookList());
+            return AddressBookDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
+        public ZonesDbm.ZonesRelationTrace refererZonesList() {
+            _relationList.add(CountriesDbm.getInstance().refererZonesList());
+            return ZonesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCountriesId() { return fixTrace(_relationList, CountriesDbm.getInstance().columnCountriesId()); }
         public RelationTrace columnCountriesName() { return fixTrace(_relationList, CountriesDbm.getInstance().columnCountriesName()); }
         public RelationTrace columnCountriesIsoCode2() { return fixTrace(_relationList, CountriesDbm.getInstance().columnCountriesIsoCode2()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketAttributesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     CUSTOMERS_BASKET_ATTRIBUTES_ID, CUSTOMERS_ID, PRODUCTS_ID, PRODUCTS_OPTIONS_ID, PRODUCTS_OPTIONS_VALUE_ID
  * 
  * [foreign-property]
- *     
+ *     customers, products, productsOptions, productsOptionsValues
  * 
  * [refferer-property]
  *     
@@ -95,13 +95,13 @@
     //                                        --------------
     /** Db-name of CUSTOMERS_BASKET_ATTRIBUTES_ID. PK : INTEGER : NotNull */
     public static final String DB_NAME_CUSTOMERS_BASKET_ATTRIBUTES_ID = "CUSTOMERS_BASKET_ATTRIBUTES_ID";
-    /** Db-name of CUSTOMERS_ID. INTEGER : NotNull */
+    /** Db-name of CUSTOMERS_ID. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
-    /** Db-name of PRODUCTS_ID. LONG VARCHAR(32700) : NotNull */
+    /** Db-name of PRODUCTS_ID. INTEGER : NotNull : FK to PRODUCTS */
     public static final String DB_NAME_PRODUCTS_ID = "PRODUCTS_ID";
-    /** Db-name of PRODUCTS_OPTIONS_ID. INTEGER : NotNull */
+    /** Db-name of PRODUCTS_OPTIONS_ID. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String DB_NAME_PRODUCTS_OPTIONS_ID = "PRODUCTS_OPTIONS_ID";
-    /** Db-name of PRODUCTS_OPTIONS_VALUE_ID. INTEGER : NotNull */
+    /** Db-name of PRODUCTS_OPTIONS_VALUE_ID. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String DB_NAME_PRODUCTS_OPTIONS_VALUE_ID = "PRODUCTS_OPTIONS_VALUE_ID";
 
     /** @deprecated Deprecated! So use DB_NAME_CustomersBasketAttributesId. */
@@ -120,13 +120,13 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of customersBasketAttributesId. PK : INTEGER : NotNull */
     public static final String PROPERTY_NAME_customersBasketAttributesId = "customersBasketAttributesId";
-    /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersId = "customersId";
-    /** Prop-name(JavaBeansRule) of productsId. LONG VARCHAR(32700) : NotNull */
+    /** Prop-name(JavaBeansRule) of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String PROPERTY_NAME_productsId = "productsId";
-    /** Prop-name(JavaBeansRule) of productsOptionsId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String PROPERTY_NAME_productsOptionsId = "productsOptionsId";
-    /** Prop-name(JavaBeansRule) of productsOptionsValueId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of productsOptionsValueId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String PROPERTY_NAME_productsOptionsValueId = "productsOptionsValueId";
 
     // -----------------------------------------------------
@@ -134,13 +134,13 @@
     //                                  --------------------
     /** Cap-prop-name of customersBasketAttributesId. PK : INTEGER : NotNull */
     public static final String CAP_PROP_NAME_CustomersBasketAttributesId = "CustomersBasketAttributesId";
-    /** Cap-prop-name of customersId. INTEGER : NotNull */
+    /** Cap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
-    /** Cap-prop-name of productsId. LONG VARCHAR(32700) : NotNull */
+    /** Cap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_ProductsId = "ProductsId";
-    /** Cap-prop-name of productsOptionsId. INTEGER : NotNull */
+    /** Cap-prop-name of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String CAP_PROP_NAME_ProductsOptionsId = "ProductsOptionsId";
-    /** Cap-prop-name of productsOptionsValueId. INTEGER : NotNull */
+    /** Cap-prop-name of productsOptionsValueId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String CAP_PROP_NAME_ProductsOptionsValueId = "ProductsOptionsValueId";
 
     /** @deprecated Deprecated! So use CAP_PROP_NAME_CustomersBasketAttributesId. */
@@ -159,13 +159,13 @@
     //                                ----------------------
     /** Uncap-prop-name of customersBasketAttributesId. PK : INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_customersBasketAttributesId = "customersBasketAttributesId";
-    /** Uncap-prop-name of customersId. INTEGER : NotNull */
+    /** Uncap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";
-    /** Uncap-prop-name of productsId. LONG VARCHAR(32700) : NotNull */
+    /** Uncap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_productsId = "productsId";
-    /** Uncap-prop-name of productsOptionsId. INTEGER : NotNull */
+    /** Uncap-prop-name of productsOptionsId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS */
     public static final String UNCAP_PROP_NAME_productsOptionsId = "productsOptionsId";
-    /** Uncap-prop-name of productsOptionsValueId. INTEGER : NotNull */
+    /** Uncap-prop-name of productsOptionsValueId. INTEGER : NotNull : FK to PRODUCTS_OPTIONS_VALUES */
     public static final String UNCAP_PROP_NAME_productsOptionsValueId = "productsOptionsValueId";
 
     /** @deprecated Deprecated! So use UNCAP_PROP_NAME_CustomersBasketAttributesId. */
@@ -182,7 +182,31 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of customers. */
+    public static final String FOREIGN_PROPERTY_NAME_customers = "customers";
+    /** 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_customers. */
+    public static final String FOREIGN_CAP_PROP_NAME_Customers = "Customers";
+    /** @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_customers. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_customers = "customers";
+    /** @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
@@ -635,7 +659,7 @@
      * @return Column information of productsId. (NotNull)
      */
     public ColumnInfo columnProductsId() {
-        return new ColumnInfo(this, "PRODUCTS_ID", "productsId", String.class, false);
+        return new ColumnInfo(this, "PRODUCTS_ID", "productsId", java.math.BigDecimal.class, false);
     }
     /**
      * @return Column information of productsOptionsId. (NotNull)
@@ -693,6 +717,70 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of customers.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignCustomers() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("customers");
+        foreignInfo.setLocalDBMeta(CustomersBasketAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(CustomersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), CustomersDbm.getInstance().columnCustomersId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of products.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProducts() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("products");
+        foreignInfo.setLocalDBMeta(CustomersBasketAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsId(), ProductsDbm.getInstance().columnProductsId());
+        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(CustomersBasketAttributesDbm.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;
+    }
+    /**
+     * 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(CustomersBasketAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsOptionsValuesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsOptionsValueId(), ProductsOptionsValuesDbm.getInstance().columnProductsOptionsValuesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -747,6 +835,26 @@
             super(relationList, relationTraceList);
         }
 
+        public CustomersDbm.CustomersRelationTrace foreignCustomers() {
+            _relationList.add(CustomersBasketAttributesDbm.getInstance().foreignCustomers());
+            return CustomersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsDbm.ProductsRelationTrace foreignProducts() {
+            _relationList.add(CustomersBasketAttributesDbm.getInstance().foreignProducts());
+            return ProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsDbm.ProductsOptionsRelationTrace foreignProductsOptions() {
+            _relationList.add(CustomersBasketAttributesDbm.getInstance().foreignProductsOptions());
+            return ProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsValuesDbm.ProductsOptionsValuesRelationTrace foreignProductsOptionsValues() {
+            _relationList.add(CustomersBasketAttributesDbm.getInstance().foreignProductsOptionsValues());
+            return ProductsOptionsValuesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCustomersBasketAttributesId() { return fixTrace(_relationList, CustomersBasketAttributesDbm.getInstance().columnCustomersBasketAttributesId()); }
         public RelationTrace columnCustomersId() { return fixTrace(_relationList, CustomersBasketAttributesDbm.getInstance().columnCustomersId()); }
         public RelationTrace columnProductsId() { return fixTrace(_relationList, CustomersBasketAttributesDbm.getInstance().columnProductsId()); }
@@ -824,7 +932,7 @@
 
         if (analyzer.init("CUSTOMERS_BASKET_ATTRIBUTES_ID", "customersBasketAttributesId", "customersBasketAttributesId")) { myEntity.setCustomersBasketAttributesId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("CUSTOMERS_ID", "customersId", "customersId")) { myEntity.setCustomersId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("PRODUCTS_ID", "productsId", "productsId")) { myEntity.setProductsId(analyzer.analyzeString(String.class)); };
+        if (analyzer.init("PRODUCTS_ID", "productsId", "productsId")) { myEntity.setProductsId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("PRODUCTS_OPTIONS_ID", "productsOptionsId", "productsOptionsId")) { myEntity.setProductsOptionsId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("PRODUCTS_OPTIONS_VALUE_ID", "productsOptionsValueId", "productsOptionsValueId")) { myEntity.setProductsOptionsValueId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
 

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersBasketDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     CUSTOMERS_BASKET_ID, CUSTOMERS_ID, PRODUCTS_ID, CUSTOMERS_BASKET_QUANTITY, FINAL_PRICE, CUSTOMERS_BASKET_DATE_ADDED
  * 
  * [foreign-property]
- *     
+ *     customers, products
  * 
  * [refferer-property]
  *     
@@ -95,9 +95,9 @@
     //                                        --------------
     /** Db-name of CUSTOMERS_BASKET_ID. PK : INTEGER : NotNull */
     public static final String DB_NAME_CUSTOMERS_BASKET_ID = "CUSTOMERS_BASKET_ID";
-    /** Db-name of CUSTOMERS_ID. INTEGER : NotNull */
+    /** Db-name of CUSTOMERS_ID. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String DB_NAME_CUSTOMERS_ID = "CUSTOMERS_ID";
-    /** Db-name of PRODUCTS_ID. LONG VARCHAR(32700) : NotNull */
+    /** Db-name of PRODUCTS_ID. INTEGER : NotNull : FK to PRODUCTS */
     public static final String DB_NAME_PRODUCTS_ID = "PRODUCTS_ID";
     /** Db-name of CUSTOMERS_BASKET_QUANTITY. INTEGER : NotNull */
     public static final String DB_NAME_CUSTOMERS_BASKET_QUANTITY = "CUSTOMERS_BASKET_QUANTITY";
@@ -124,9 +124,9 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of customersBasketId. PK : INTEGER : NotNull */
     public static final String PROPERTY_NAME_customersBasketId = "customersBasketId";
-    /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String PROPERTY_NAME_customersId = "customersId";
-    /** Prop-name(JavaBeansRule) of productsId. LONG VARCHAR(32700) : NotNull */
+    /** Prop-name(JavaBeansRule) of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String PROPERTY_NAME_productsId = "productsId";
     /** Prop-name(JavaBeansRule) of customersBasketQuantity. INTEGER : NotNull */
     public static final String PROPERTY_NAME_customersBasketQuantity = "customersBasketQuantity";
@@ -140,9 +140,9 @@
     //                                  --------------------
     /** Cap-prop-name of customersBasketId. PK : INTEGER : NotNull */
     public static final String CAP_PROP_NAME_CustomersBasketId = "CustomersBasketId";
-    /** Cap-prop-name of customersId. INTEGER : NotNull */
+    /** Cap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String CAP_PROP_NAME_CustomersId = "CustomersId";
-    /** Cap-prop-name of productsId. LONG VARCHAR(32700) : NotNull */
+    /** Cap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_ProductsId = "ProductsId";
     /** Cap-prop-name of customersBasketQuantity. INTEGER : NotNull */
     public static final String CAP_PROP_NAME_CustomersBasketQuantity = "CustomersBasketQuantity";
@@ -169,9 +169,9 @@
     //                                ----------------------
     /** Uncap-prop-name of customersBasketId. PK : INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_customersBasketId = "customersBasketId";
-    /** Uncap-prop-name of customersId. INTEGER : NotNull */
+    /** Uncap-prop-name of customersId. INTEGER : NotNull : FK to CUSTOMERS */
     public static final String UNCAP_PROP_NAME_customersId = "customersId";
-    /** Uncap-prop-name of productsId. LONG VARCHAR(32700) : NotNull */
+    /** Uncap-prop-name of productsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_productsId = "productsId";
     /** Uncap-prop-name of customersBasketQuantity. INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_customersBasketQuantity = "customersBasketQuantity";
@@ -196,7 +196,19 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of customers. */
+    public static final String FOREIGN_PROPERTY_NAME_customers = "customers";
+    /** The foreign property name(JavaBeansRule) of products. */
+    public static final String FOREIGN_PROPERTY_NAME_products = "products";
+    /** @deprecated Use FOREIGN_NAME_customers. */
+    public static final String FOREIGN_CAP_PROP_NAME_Customers = "Customers";
+    /** @deprecated Use FOREIGN_NAME_products. */
+    public static final String FOREIGN_CAP_PROP_NAME_Products = "Products";
 
+    /** @deprecated Use FOREIGN_NAME_customers. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_customers = "customers";
+    /** @deprecated Use FOREIGN_NAME_products. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_products = "products";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -658,7 +670,7 @@
      * @return Column information of productsId. (NotNull)
      */
     public ColumnInfo columnProductsId() {
-        return new ColumnInfo(this, "PRODUCTS_ID", "productsId", String.class, false);
+        return new ColumnInfo(this, "PRODUCTS_ID", "productsId", java.math.BigDecimal.class, false);
     }
     /**
      * @return Column information of customersBasketQuantity. (NotNull)
@@ -722,6 +734,38 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of customers.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignCustomers() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("customers");
+        foreignInfo.setLocalDBMeta(CustomersBasketDbm.getInstance());
+        foreignInfo.setForeignDBMeta(CustomersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), CustomersDbm.getInstance().columnCustomersId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of products.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProducts() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("products");
+        foreignInfo.setLocalDBMeta(CustomersBasketDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsId(), ProductsDbm.getInstance().columnProductsId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -776,6 +820,16 @@
             super(relationList, relationTraceList);
         }
 
+        public CustomersDbm.CustomersRelationTrace foreignCustomers() {
+            _relationList.add(CustomersBasketDbm.getInstance().foreignCustomers());
+            return CustomersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsDbm.ProductsRelationTrace foreignProducts() {
+            _relationList.add(CustomersBasketDbm.getInstance().foreignProducts());
+            return ProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCustomersBasketId() { return fixTrace(_relationList, CustomersBasketDbm.getInstance().columnCustomersBasketId()); }
         public RelationTrace columnCustomersId() { return fixTrace(_relationList, CustomersBasketDbm.getInstance().columnCustomersId()); }
         public RelationTrace columnProductsId() { return fixTrace(_relationList, CustomersBasketDbm.getInstance().columnProductsId()); }
@@ -854,7 +908,7 @@
 
         if (analyzer.init("CUSTOMERS_BASKET_ID", "customersBasketId", "customersBasketId")) { myEntity.setCustomersBasketId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("CUSTOMERS_ID", "customersId", "customersId")) { myEntity.setCustomersId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
-        if (analyzer.init("PRODUCTS_ID", "productsId", "productsId")) { myEntity.setProductsId(analyzer.analyzeString(String.class)); };
+        if (analyzer.init("PRODUCTS_ID", "productsId", "productsId")) { myEntity.setProductsId(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("CUSTOMERS_BASKET_QUANTITY", "customersBasketQuantity", "customersBasketQuantity")) { myEntity.setCustomersBasketQuantity(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("FINAL_PRICE", "finalPrice", "finalPrice")) { myEntity.setFinalPrice(analyzer.analyzeNumber(java.math.BigDecimal.class)); };
         if (analyzer.init("CUSTOMERS_BASKET_DATE_ADDED", "customersBasketDateAdded", "customersBasketDateAdded")) { myEntity.setCustomersBasketDateAdded(analyzer.analyzeString(String.class)); };

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,10 +19,10 @@
  *     CUSTOMERS_ID, CUSTOMERS_PORTAL_ID, CUSTOMERS_GENDER, CUSTOMERS_FIRSTNAME, CUSTOMERS_LASTNAME, CUSTOMERS_DOB, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_DEFAULT_ADDRESS_ID, CUSTOMERS_TELEPHONE, CUSTOMERS_FAX, CUSTOMERS_CELLPHONE, CUSTOMERS_NEWSLETTER
  * 
  * [foreign-property]
- *     addressBook
+ *     
  * 
  * [refferer-property]
- *     addressBookList, ordersList
+ *     addressBookList, customersBasketList, customersBasketAttributesList, customersInfoList, ordersList, productsNotificationsList, whosOnlineList
  * 
  * [sequence]
  *     
@@ -107,7 +107,7 @@
     public static final String DB_NAME_CUSTOMERS_DOB = "CUSTOMERS_DOB";
     /** Db-name of CUSTOMERS_EMAIL_ADDRESS. VARCHAR(96) : NotNull */
     public static final String DB_NAME_CUSTOMERS_EMAIL_ADDRESS = "CUSTOMERS_EMAIL_ADDRESS";
-    /** Db-name of CUSTOMERS_DEFAULT_ADDRESS_ID. INTEGER : FK to ADDRESS_BOOK */
+    /** Db-name of CUSTOMERS_DEFAULT_ADDRESS_ID. INTEGER */
     public static final String DB_NAME_CUSTOMERS_DEFAULT_ADDRESS_ID = "CUSTOMERS_DEFAULT_ADDRESS_ID";
     /** Db-name of CUSTOMERS_TELEPHONE. VARCHAR(32) : NotNull */
     public static final String DB_NAME_CUSTOMERS_TELEPHONE = "CUSTOMERS_TELEPHONE";
@@ -160,7 +160,7 @@
     public static final String PROPERTY_NAME_customersDob = "customersDob";
     /** Prop-name(JavaBeansRule) of customersEmailAddress. VARCHAR(96) : NotNull */
     public static final String PROPERTY_NAME_customersEmailAddress = "customersEmailAddress";
-    /** Prop-name(JavaBeansRule) of customersDefaultAddressId. INTEGER : FK to ADDRESS_BOOK */
+    /** Prop-name(JavaBeansRule) of customersDefaultAddressId. INTEGER */
     public static final String PROPERTY_NAME_customersDefaultAddressId = "customersDefaultAddressId";
     /** Prop-name(JavaBeansRule) of customersTelephone. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_customersTelephone = "customersTelephone";
@@ -188,7 +188,7 @@
     public static final String CAP_PROP_NAME_CustomersDob = "CustomersDob";
     /** Cap-prop-name of customersEmailAddress. VARCHAR(96) : NotNull */
     public static final String CAP_PROP_NAME_CustomersEmailAddress = "CustomersEmailAddress";
-    /** Cap-prop-name of customersDefaultAddressId. INTEGER : FK to ADDRESS_BOOK */
+    /** Cap-prop-name of customersDefaultAddressId. INTEGER */
     public static final String CAP_PROP_NAME_CustomersDefaultAddressId = "CustomersDefaultAddressId";
     /** Cap-prop-name of customersTelephone. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_CustomersTelephone = "CustomersTelephone";
@@ -241,7 +241,7 @@
     public static final String UNCAP_PROP_NAME_customersDob = "customersDob";
     /** Uncap-prop-name of customersEmailAddress. VARCHAR(96) : NotNull */
     public static final String UNCAP_PROP_NAME_customersEmailAddress = "customersEmailAddress";
-    /** Uncap-prop-name of customersDefaultAddressId. INTEGER : FK to ADDRESS_BOOK */
+    /** Uncap-prop-name of customersDefaultAddressId. INTEGER */
     public static final String UNCAP_PROP_NAME_customersDefaultAddressId = "customersDefaultAddressId";
     /** Uncap-prop-name of customersTelephone. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_customersTelephone = "customersTelephone";
@@ -280,30 +280,54 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
-    /** The foreign property name(JavaBeansRule) of addressBook. */
-    public static final String FOREIGN_PROPERTY_NAME_addressBook = "addressBook";
-    /** @deprecated Use FOREIGN_NAME_addressBook. */
-    public static final String FOREIGN_CAP_PROP_NAME_AddressBook = "AddressBook";
 
-    /** @deprecated Use FOREIGN_NAME_addressBook. */
-    public static final String FOREIGN_UNCAP_PROP_NAME_addressBook = "addressBook";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
     /** The referer property name(JavaBeansRule) of addressBookList. */
     public static final String REFERER_PROPERTY_NAME_addressBookList = "addressBookList";
+    /** The referer property name(JavaBeansRule) of customersBasketList. */
+    public static final String REFERER_PROPERTY_NAME_customersBasketList = "customersBasketList";
+    /** The referer property name(JavaBeansRule) of customersBasketAttributesList. */
+    public static final String REFERER_PROPERTY_NAME_customersBasketAttributesList = "customersBasketAttributesList";
+    /** The referer property name(JavaBeansRule) of customersInfoList. */
+    public static final String REFERER_PROPERTY_NAME_customersInfoList = "customersInfoList";
     /** The referer property name(JavaBeansRule) of ordersList. */
     public static final String REFERER_PROPERTY_NAME_ordersList = "ordersList";
+    /** The referer property name(JavaBeansRule) of productsNotificationsList. */
+    public static final String REFERER_PROPERTY_NAME_productsNotificationsList = "productsNotificationsList";
+    /** The referer property name(JavaBeansRule) of whosOnlineList. */
+    public static final String REFERER_PROPERTY_NAME_whosOnlineList = "whosOnlineList";
     /** @deprecated Use REFERER_NAME_addressBookList */
     public static final String REFERER_CAP_PROP_NAME_AddressBookList = "AddressBookList";
+    /** @deprecated Use REFERER_NAME_customersBasketList */
+    public static final String REFERER_CAP_PROP_NAME_CustomersBasketList = "CustomersBasketList";
+    /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
+    public static final String REFERER_CAP_PROP_NAME_CustomersBasketAttributesList = "CustomersBasketAttributesList";
+    /** @deprecated Use REFERER_NAME_customersInfoList */
+    public static final String REFERER_CAP_PROP_NAME_CustomersInfoList = "CustomersInfoList";
     /** @deprecated Use REFERER_NAME_ordersList */
     public static final String REFERER_CAP_PROP_NAME_OrdersList = "OrdersList";
+    /** @deprecated Use REFERER_NAME_productsNotificationsList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsNotificationsList = "ProductsNotificationsList";
+    /** @deprecated Use REFERER_NAME_whosOnlineList */
+    public static final String REFERER_CAP_PROP_NAME_WhosOnlineList = "WhosOnlineList";
 
     /** @deprecated Use REFERER_NAME_addressBookList */
     public static final String REFERER_UNCAP_PROP_NAME_addressBookList = "addressBookList";
+    /** @deprecated Use REFERER_NAME_customersBasketList */
+    public static final String REFERER_UNCAP_PROP_NAME_customersBasketList = "customersBasketList";
+    /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
+    public static final String REFERER_UNCAP_PROP_NAME_customersBasketAttributesList = "customersBasketAttributesList";
+    /** @deprecated Use REFERER_NAME_customersInfoList */
+    public static final String REFERER_UNCAP_PROP_NAME_customersInfoList = "customersInfoList";
     /** @deprecated Use REFERER_NAME_ordersList */
     public static final String REFERER_UNCAP_PROP_NAME_ordersList = "ordersList";
+    /** @deprecated Use REFERER_NAME_productsNotificationsList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsNotificationsList = "productsNotificationsList";
+    /** @deprecated Use REFERER_NAME_whosOnlineList */
+    public static final String REFERER_UNCAP_PROP_NAME_whosOnlineList = "whosOnlineList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -914,24 +938,24 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+
     /**
-     * Get foreign information of addressBook.
+     * Get foreign information of customersInfoAsOne.
      * 
-     * @return Referer information. (NotNull)
+     * @return Foreign information. (NotNull)
      */
-    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignAddressBook() {
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignCustomersInfoAsOne() {
         final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
-        foreignInfo.setForeignPropertyName("addressBook");
+        foreignInfo.setForeignPropertyName("customersInfoAsOne");
         foreignInfo.setLocalDBMeta(CustomersDbm.getInstance());
-        foreignInfo.setForeignDBMeta(AddressBookDbm.getInstance());
+        foreignInfo.setForeignDBMeta(CustomersInfoDbm.getInstance());
         final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
-        map.put(columnCustomersDefaultAddressId(), AddressBookDbm.getInstance().columnAddressBookId());
+        map.put(columnCustomersId(), CustomersInfoDbm.getInstance().columnCustomersInfoId());
         foreignInfo.setLocalForeignColumnInfoMap(map);
-        foreignInfo.setOneToOne(false);
+        foreignInfo.setOneToOne(true);
         return foreignInfo;
     }
 
-
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
@@ -952,6 +976,54 @@
         return refererInfo;
     }
     /**
+     * Get referer information of customersBasketList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererCustomersBasketList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("customersBasketList");
+        refererInfo.setLocalDBMeta(CustomersDbm.getInstance());
+        refererInfo.setRefererDBMeta(CustomersBasketDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), CustomersBasketDbm.getInstance().columnCustomersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of customersBasketAttributesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererCustomersBasketAttributesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("customersBasketAttributesList");
+        refererInfo.setLocalDBMeta(CustomersDbm.getInstance());
+        refererInfo.setRefererDBMeta(CustomersBasketAttributesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), CustomersBasketAttributesDbm.getInstance().columnCustomersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of customersInfoList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererCustomersInfoList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("customersInfoList");
+        refererInfo.setLocalDBMeta(CustomersDbm.getInstance());
+        refererInfo.setRefererDBMeta(CustomersInfoDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), CustomersInfoDbm.getInstance().columnCustomersInfoId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(true);
+        return refererInfo;
+    }
+    /**
      * Get referer information of ordersList.
      * 
      * @return Referer information. (NotNull)
@@ -967,6 +1039,38 @@
         refererInfo.setOneToOne(false);
         return refererInfo;
     }
+    /**
+     * Get referer information of productsNotificationsList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsNotificationsList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsNotificationsList");
+        refererInfo.setLocalDBMeta(CustomersDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsNotificationsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), ProductsNotificationsDbm.getInstance().columnCustomersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of whosOnlineList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererWhosOnlineList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("whosOnlineList");
+        refererInfo.setLocalDBMeta(CustomersDbm.getInstance());
+        refererInfo.setRefererDBMeta(WhosOnlineDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersId(), WhosOnlineDbm.getInstance().columnCustomerId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -1015,22 +1119,47 @@
         public CustomersRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
-
-        public AddressBookDbm.AddressBookRelationTrace foreignAddressBook() {
-            _relationList.add(CustomersDbm.getInstance().foreignAddressBook());
-            return AddressBookDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        
+        public CustomersInfoDbm.CustomersInfoRelationTrace foreignCustomersInfoAsOne() {
+            _relationList.add(CustomersDbm.getInstance().foreignCustomersInfoAsOne());
+            return CustomersInfoDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
-    
+        
         public AddressBookDbm.AddressBookRelationTrace refererAddressBookList() {
             _relationList.add(CustomersDbm.getInstance().refererAddressBookList());
             return AddressBookDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public CustomersBasketDbm.CustomersBasketRelationTrace refererCustomersBasketList() {
+            _relationList.add(CustomersDbm.getInstance().refererCustomersBasketList());
+            return CustomersBasketDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public CustomersBasketAttributesDbm.CustomersBasketAttributesRelationTrace refererCustomersBasketAttributesList() {
+            _relationList.add(CustomersDbm.getInstance().refererCustomersBasketAttributesList());
+            return CustomersBasketAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public CustomersInfoDbm.CustomersInfoRelationTrace refererCustomersInfoList() {
+            _relationList.add(CustomersDbm.getInstance().refererCustomersInfoList());
+            return CustomersInfoDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public OrdersDbm.OrdersRelationTrace refererOrdersList() {
             _relationList.add(CustomersDbm.getInstance().refererOrdersList());
             return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public ProductsNotificationsDbm.ProductsNotificationsRelationTrace refererProductsNotificationsList() {
+            _relationList.add(CustomersDbm.getInstance().refererProductsNotificationsList());
+            return ProductsNotificationsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public WhosOnlineDbm.WhosOnlineRelationTrace refererWhosOnlineList() {
+            _relationList.add(CustomersDbm.getInstance().refererWhosOnlineList());
+            return WhosOnlineDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCustomersId() { return fixTrace(_relationList, CustomersDbm.getInstance().columnCustomersId()); }
         public RelationTrace columnCustomersPortalId() { return fixTrace(_relationList, CustomersDbm.getInstance().columnCustomersPortalId()); }
         public RelationTrace columnCustomersGender() { return fixTrace(_relationList, CustomersDbm.getInstance().columnCustomersGender()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/CustomersInfoDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     CUSTOMERS_INFO_ID, CUSTOMERS_INFO_DATE_OF_LAST_LOGON, CUSTOMERS_INFO_NUMBER_OF_LOGONS, CUSTOMERS_INFO_DATE_ACCOUNT_CREATED, CUSTOMERS_INFO_DATE_ACCOUNT_LAST_MODIFIED, GLOBAL_PRODUCT_NOTIFICATIONS
  * 
  * [foreign-property]
- *     
+ *     customers
  * 
  * [refferer-property]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of CUSTOMERS_INFO_ID. PK : INTEGER : NotNull */
+    /** Db-name of CUSTOMERS_INFO_ID. PK : INTEGER : NotNull : 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 */
+    /** Prop-name(JavaBeansRule) of customersInfoId. PK : INTEGER : NotNull : 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 */
+    /** Cap-prop-name of customersInfoId. PK : INTEGER : NotNull : 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 */
+    /** Uncap-prop-name of customersInfoId. PK : INTEGER : NotNull : 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";
@@ -196,7 +196,13 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of customers. */
+    public static final String FOREIGN_PROPERTY_NAME_customers = "customers";
+    /** @deprecated Use FOREIGN_NAME_customers. */
+    public static final String FOREIGN_CAP_PROP_NAME_Customers = "Customers";
 
+    /** @deprecated Use FOREIGN_NAME_customers. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_customers = "customers";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -722,6 +728,22 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of customers.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignCustomers() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("customers");
+        foreignInfo.setLocalDBMeta(CustomersInfoDbm.getInstance());
+        foreignInfo.setForeignDBMeta(CustomersDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersInfoId(), CustomersDbm.getInstance().columnCustomersId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(true);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -776,6 +798,11 @@
             super(relationList, relationTraceList);
         }
 
+        public CustomersDbm.CustomersRelationTrace foreignCustomers() {
+            _relationList.add(CustomersInfoDbm.getInstance().foreignCustomers());
+            return CustomersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnCustomersInfoId() { return fixTrace(_relationList, CustomersInfoDbm.getInstance().columnCustomersInfoId()); }
         public RelationTrace columnCustomersInfoDateOfLastLogon() { return fixTrace(_relationList, CustomersInfoDbm.getInstance().columnCustomersInfoDateOfLastLogon()); }
         public RelationTrace columnCustomersInfoNumberOfLogons() { return fixTrace(_relationList, CustomersInfoDbm.getInstance().columnCustomersInfoNumberOfLogons()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/DeliveryMethodDescriptionDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -16,10 +16,10 @@
  *     DELIVERY_METHOD_ID, LANGUAGE_ID
  * 
  * [column-property]
- *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME
+ *     DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID
  * 
  * [foreign-property]
- *     deliveryMethod
+ *     deliveryMethod, languages
  * 
  * [refferer-property]
  *     
@@ -99,6 +99,8 @@
     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";
@@ -106,6 +108,8 @@
     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)
@@ -116,6 +120,8 @@
     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
@@ -126,6 +132,8 @@
     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";
@@ -133,6 +141,8 @@
     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
@@ -143,6 +153,8 @@
     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";
@@ -150,17 +162,25 @@
     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
     //                                          ------------
     /** The foreign property name(JavaBeansRule) of deliveryMethod. */
     public static final String FOREIGN_PROPERTY_NAME_deliveryMethod = "deliveryMethod";
+    /** The foreign property name(JavaBeansRule) of languages. */
+    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
     /** @deprecated Use FOREIGN_NAME_deliveryMethod. */
     public static final String FOREIGN_CAP_PROP_NAME_DeliveryMethod = "DeliveryMethod";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
 
     /** @deprecated Use FOREIGN_NAME_deliveryMethod. */
     public static final String FOREIGN_UNCAP_PROP_NAME_deliveryMethod = "deliveryMethod";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -179,6 +199,7 @@
         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;
@@ -196,6 +217,7 @@
         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;
@@ -215,6 +237,7 @@
         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;
@@ -234,6 +257,7 @@
         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;
@@ -253,6 +277,7 @@
         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;
@@ -272,6 +297,7 @@
         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;
@@ -291,6 +317,7 @@
         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;
@@ -310,6 +337,7 @@
         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;
@@ -521,6 +549,7 @@
         columnInfoList.add(columnDeliveryMethodId());
         columnInfoList.add(columnLanguageId());
         columnInfoList.add(columnDeliveryMethodName());
+        columnInfoList.add(columnLanguagesId());
         return columnInfoList;
     }
 
@@ -576,7 +605,7 @@
      * @deprecated Please use getColumnInfoList()
      */
     public String getColumnDbNameCommaString() {
-        return "DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME";
+        return "DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID";
     }
 
     /**
@@ -597,6 +626,12 @@
     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
@@ -658,6 +693,22 @@
         foreignInfo.setOneToOne(false);
         return foreignInfo;
     }
+    /**
+     * 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(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());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -717,9 +768,15 @@
             return DeliveryMethodDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
 
+        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
+            _relationList.add(DeliveryMethodDescriptionDbm.getInstance().foreignLanguages());
+            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         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()); }
     }
 
     // ===================================================================================
@@ -795,6 +852,7 @@
         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)); };
 
     }
 
@@ -871,6 +929,7 @@
         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();
@@ -928,6 +987,7 @@
         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;
     }
 
@@ -953,6 +1013,7 @@
         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;
     }
 
@@ -977,9 +1038,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) values(? , ? , ? )";
+            return "insert into " + tablePrefix + "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(? , ? , ? )";
+        return "insert into DELIVERY_METHOD_DESCRIPTION(DELIVERY_METHOD_ID, LANGUAGE_ID, DELIVERY_METHOD_NAME, LANGUAGES_ID) 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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/GeoZonesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     zonesToGeoZonesList
  * 
  * [sequence]
  *     
@@ -187,7 +187,13 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of zonesToGeoZonesList. */
+    public static final String REFERER_PROPERTY_NAME_zonesToGeoZonesList = "zonesToGeoZonesList";
+    /** @deprecated Use REFERER_NAME_zonesToGeoZonesList */
+    public static final String REFERER_CAP_PROP_NAME_ZonesToGeoZonesList = "ZonesToGeoZonesList";
 
+    /** @deprecated Use REFERER_NAME_zonesToGeoZonesList */
+    public static final String REFERER_UNCAP_PROP_NAME_zonesToGeoZonesList = "zonesToGeoZonesList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -698,6 +704,22 @@
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of zonesToGeoZonesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererZonesToGeoZonesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("zonesToGeoZonesList");
+        refererInfo.setLocalDBMeta(GeoZonesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ZonesToGeoZonesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnGeoZoneId(), ZonesToGeoZonesDbm.getInstance().columnGeoZoneId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -746,6 +768,11 @@
         public GeoZonesRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
+  
+        public ZonesToGeoZonesDbm.ZonesToGeoZonesRelationTrace refererZonesToGeoZonesList() {
+            _relationList.add(GeoZonesDbm.getInstance().refererZonesToGeoZonesList());
+            return ZonesToGeoZonesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
         public RelationTrace columnGeoZoneId() { return fixTrace(_relationList, GeoZonesDbm.getInstance().columnGeoZoneId()); }
         public RelationTrace columnGeoZoneName() { return fixTrace(_relationList, GeoZonesDbm.getInstance().columnGeoZoneName()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/LanguagesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     
  * 
  * [refferer-property]
- *     
+ *     categoriesDescriptionList, deliveryMethodDescriptionList, manufacturersInfoList, ordersStatusList, productsDescriptionList, productsOptionsList, productsOptionsValuesList, reviewsDescriptionList
  * 
  * [sequence]
  *     
@@ -201,7 +201,55 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of categoriesDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_categoriesDescriptionList = "categoriesDescriptionList";
+    /** The referer property name(JavaBeansRule) of deliveryMethodDescriptionList. */
+    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 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 reviewsDescriptionList. */
+    public static final String REFERER_PROPERTY_NAME_reviewsDescriptionList = "reviewsDescriptionList";
+    /** @deprecated Use REFERER_NAME_categoriesDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_CategoriesDescriptionList = "CategoriesDescriptionList";
+    /** @deprecated Use REFERER_NAME_deliveryMethodDescriptionList */
+    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_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_reviewsDescriptionList */
+    public static final String REFERER_CAP_PROP_NAME_ReviewsDescriptionList = "ReviewsDescriptionList";
 
+    /** @deprecated Use REFERER_NAME_categoriesDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_categoriesDescriptionList = "categoriesDescriptionList";
+    /** @deprecated Use REFERER_NAME_deliveryMethodDescriptionList */
+    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_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_reviewsDescriptionList */
+    public static final String REFERER_UNCAP_PROP_NAME_reviewsDescriptionList = "reviewsDescriptionList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -727,6 +775,134 @@
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of categoriesDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererCategoriesDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("categoriesDescriptionList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(CategoriesDescriptionDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), CategoriesDescriptionDbm.getInstance().columnLanguageId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of deliveryMethodDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererDeliveryMethodDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("deliveryMethodDescriptionList");
+        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());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of manufacturersInfoList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererManufacturersInfoList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("manufacturersInfoList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ManufacturersInfoDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), ManufacturersInfoDbm.getInstance().columnLanguagesId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of ordersStatusList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersStatusList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersStatusList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersStatusDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), OrdersStatusDbm.getInstance().columnLanguageId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of productsDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsDescriptionList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsDescriptionDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), ProductsDescriptionDbm.getInstance().columnLanguageId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of productsOptionsList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsOptionsList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsOptionsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), ProductsOptionsDbm.getInstance().columnLanguageId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of productsOptionsValuesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsOptionsValuesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsOptionsValuesList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsOptionsValuesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), ProductsOptionsValuesDbm.getInstance().columnLanguageId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of reviewsDescriptionList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererReviewsDescriptionList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("reviewsDescriptionList");
+        refererInfo.setLocalDBMeta(LanguagesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ReviewsDescriptionDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), ReviewsDescriptionDbm.getInstance().columnLanguagesId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -775,7 +951,47 @@
         public LanguagesRelationTrace(java.util.List<RelationInfo> relationList, java.util.List<AbstractRelationTrace> relationTraceList) {
             super(relationList, relationTraceList);
         }
+                
+        public CategoriesDescriptionDbm.CategoriesDescriptionRelationTrace refererCategoriesDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererCategoriesDescriptionList());
+            return CategoriesDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
+        public DeliveryMethodDescriptionDbm.DeliveryMethodDescriptionRelationTrace refererDeliveryMethodDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererDeliveryMethodDescriptionList());
+            return DeliveryMethodDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ManufacturersInfoDbm.ManufacturersInfoRelationTrace refererManufacturersInfoList() {
+            _relationList.add(LanguagesDbm.getInstance().refererManufacturersInfoList());
+            return ManufacturersInfoDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public OrdersStatusDbm.OrdersStatusRelationTrace refererOrdersStatusList() {
+            _relationList.add(LanguagesDbm.getInstance().refererOrdersStatusList());
+            return OrdersStatusDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsDescriptionDbm.ProductsDescriptionRelationTrace refererProductsDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererProductsDescriptionList());
+            return ProductsDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsDbm.ProductsOptionsRelationTrace refererProductsOptionsList() {
+            _relationList.add(LanguagesDbm.getInstance().refererProductsOptionsList());
+            return ProductsOptionsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsOptionsValuesDbm.ProductsOptionsValuesRelationTrace refererProductsOptionsValuesList() {
+            _relationList.add(LanguagesDbm.getInstance().refererProductsOptionsValuesList());
+            return ProductsOptionsValuesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ReviewsDescriptionDbm.ReviewsDescriptionRelationTrace refererReviewsDescriptionList() {
+            _relationList.add(LanguagesDbm.getInstance().refererReviewsDescriptionList());
+            return ReviewsDescriptionDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnLanguagesId() { return fixTrace(_relationList, LanguagesDbm.getInstance().columnLanguagesId()); }
         public RelationTrace columnName() { return fixTrace(_relationList, LanguagesDbm.getInstance().columnName()); }
         public RelationTrace columnCode() { return fixTrace(_relationList, LanguagesDbm.getInstance().columnCode()); }

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersInfoDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersInfoDbm.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ManufacturersInfoDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     MANUFACTURERS_ID, LANGUAGES_ID, MANUFACTURERS_URL, MANUFACTURERS_SHORT_DESC, MANUFACTURERS_LONG_DESC, URL_CLICKED, DATE_LAST_CLICK
  * 
  * [foreign-property]
- *     manufacturers
+ *     languages, manufacturers
  * 
  * [refferer-property]
  *     
@@ -95,7 +95,7 @@
     //                                        --------------
     /** Db-name of MANUFACTURERS_ID. PK : INTEGER : NotNull : FK to MANUFACTURERS */
     public static final String DB_NAME_MANUFACTURERS_ID = "MANUFACTURERS_ID";
-    /** Db-name of LANGUAGES_ID. PK : INTEGER : NotNull */
+    /** Db-name of LANGUAGES_ID. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String DB_NAME_LANGUAGES_ID = "LANGUAGES_ID";
     /** Db-name of MANUFACTURERS_URL. VARCHAR(255) : NotNull */
     public static final String DB_NAME_MANUFACTURERS_URL = "MANUFACTURERS_URL";
@@ -128,7 +128,7 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of manufacturersId. PK : INTEGER : NotNull : FK to MANUFACTURERS */
     public static final String PROPERTY_NAME_manufacturersId = "manufacturersId";
-    /** Prop-name(JavaBeansRule) of languagesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String PROPERTY_NAME_languagesId = "languagesId";
     /** Prop-name(JavaBeansRule) of manufacturersUrl. VARCHAR(255) : NotNull */
     public static final String PROPERTY_NAME_manufacturersUrl = "manufacturersUrl";
@@ -146,7 +146,7 @@
     //                                  --------------------
     /** Cap-prop-name of manufacturersId. PK : INTEGER : NotNull : FK to MANUFACTURERS */
     public static final String CAP_PROP_NAME_ManufacturersId = "ManufacturersId";
-    /** Cap-prop-name of languagesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String CAP_PROP_NAME_LanguagesId = "LanguagesId";
     /** Cap-prop-name of manufacturersUrl. VARCHAR(255) : NotNull */
     public static final String CAP_PROP_NAME_ManufacturersUrl = "ManufacturersUrl";
@@ -179,7 +179,7 @@
     //                                ----------------------
     /** Uncap-prop-name of manufacturersId. PK : INTEGER : NotNull : FK to MANUFACTURERS */
     public static final String UNCAP_PROP_NAME_manufacturersId = "manufacturersId";
-    /** Uncap-prop-name of languagesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of languagesId. PK : INTEGER : NotNull : FK to LANGUAGES */
     public static final String UNCAP_PROP_NAME_languagesId = "languagesId";
     /** Uncap-prop-name of manufacturersUrl. VARCHAR(255) : NotNull */
     public static final String UNCAP_PROP_NAME_manufacturersUrl = "manufacturersUrl";
@@ -210,11 +210,17 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of languages. */
+    public static final String FOREIGN_PROPERTY_NAME_languages = "languages";
     /** The foreign property name(JavaBeansRule) of manufacturers. */
     public static final String FOREIGN_PROPERTY_NAME_manufacturers = "manufacturers";
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_CAP_PROP_NAME_Languages = "Languages";
     /** @deprecated Use FOREIGN_NAME_manufacturers. */
     public static final String FOREIGN_CAP_PROP_NAME_Manufacturers = "Manufacturers";
 
+    /** @deprecated Use FOREIGN_NAME_languages. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_languages = "languages";
     /** @deprecated Use FOREIGN_NAME_manufacturers. */
     public static final String FOREIGN_UNCAP_PROP_NAME_manufacturers = "manufacturers";
 
@@ -759,6 +765,22 @@
     //                                       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(ManufacturersInfoDbm.getInstance());
+        foreignInfo.setForeignDBMeta(LanguagesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnLanguagesId(), LanguagesDbm.getInstance().columnLanguagesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
      * Get foreign information of manufacturers.
      * 
      * @return Referer information. (NotNull)
@@ -828,6 +850,11 @@
             super(relationList, relationTraceList);
         }
 
+        public LanguagesDbm.LanguagesRelationTrace foreignLanguages() {
+            _relationList.add(ManufacturersInfoDbm.getInstance().foreignLanguages());
+            return LanguagesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public ManufacturersDbm.ManufacturersRelationTrace foreignManufacturers() {
             _relationList.add(ManufacturersInfoDbm.getInstance().foreignManufacturers());
             return ManufacturersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,10 +19,10 @@
  *     ORDERS_ID, CUSTOMERS_ID, CUSTOMERS_NAME, CUSTOMERS_COMPANY, CUSTOMERS_STREET_ADDRESS, CUSTOMERS_SUBURB, CUSTOMERS_CITY, CUSTOMERS_POSTCODE, CUSTOMERS_STATE, CUSTOMERS_COUNTRY, CUSTOMERS_TELEPHONE, CUSTOMERS_CELLPHONE, CUSTOMERS_EMAIL_ADDRESS, CUSTOMERS_ADDRESS_FORMAT_ID, DELIVERY_NAME, DELIVERY_COMPANY, DELIVERY_DEPARTMENT, DELIVERY_STREET_ADDRESS, DELIVERY_SUBURB, DELIVERY_CITY, DELIVERY_POSTCODE, DELIVERY_STATE, DELIVERY_COUNTRY, DELIVERY_TELEPHONE, DELIVERY_ADDRESS_FORMAT_ID, BILLING_NAME, BILLING_COMPANY, BILLING_DEPARTMENT, BILLING_STREET_ADDRESS, BILLING_SUBURB, BILLING_CITY, BILLING_POSTCODE, BILLING_STATE, BILLING_COUNTRY, BILLING_TELEPHONE, BILLING_ADDRESS_FORMAT_ID, PAYMENT_METHOD, CC_TYPE, CC_OWNER, CC_NUMBER, CC_EXPIRES, DELIVERY_CLASS, LAST_MODIFIED, DATE_PURCHASED, ORDERS_STATUS_ID, ORDERS_DATE_FINISHED, CURRENCY, CURRENCY_VALUE
  * 
  * [foreign-property]
- *     customers, ordersStatus
+ *     addressFormatByCustomersAddressFormatId, addressFormatByDeliveryAddressFormatId, addressFormatByBillingAddressFormatId, customers, ordersStatus
  * 
  * [refferer-property]
- *     ordersProductsList
+ *     ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, ordersTotalList
  * 
  * [sequence]
  *     
@@ -119,7 +119,7 @@
     public static final String DB_NAME_CUSTOMERS_CELLPHONE = "CUSTOMERS_CELLPHONE";
     /** Db-name of CUSTOMERS_EMAIL_ADDRESS. VARCHAR(96) : NotNull */
     public static final String DB_NAME_CUSTOMERS_EMAIL_ADDRESS = "CUSTOMERS_EMAIL_ADDRESS";
-    /** Db-name of CUSTOMERS_ADDRESS_FORMAT_ID. INTEGER : NotNull */
+    /** Db-name of CUSTOMERS_ADDRESS_FORMAT_ID. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String DB_NAME_CUSTOMERS_ADDRESS_FORMAT_ID = "CUSTOMERS_ADDRESS_FORMAT_ID";
     /** Db-name of DELIVERY_NAME. VARCHAR(64) : NotNull */
     public static final String DB_NAME_DELIVERY_NAME = "DELIVERY_NAME";
@@ -141,7 +141,7 @@
     public static final String DB_NAME_DELIVERY_COUNTRY = "DELIVERY_COUNTRY";
     /** Db-name of DELIVERY_TELEPHONE. VARCHAR(32) */
     public static final String DB_NAME_DELIVERY_TELEPHONE = "DELIVERY_TELEPHONE";
-    /** Db-name of DELIVERY_ADDRESS_FORMAT_ID. INTEGER : NotNull */
+    /** Db-name of DELIVERY_ADDRESS_FORMAT_ID. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String DB_NAME_DELIVERY_ADDRESS_FORMAT_ID = "DELIVERY_ADDRESS_FORMAT_ID";
     /** Db-name of BILLING_NAME. VARCHAR(64) : NotNull */
     public static final String DB_NAME_BILLING_NAME = "BILLING_NAME";
@@ -163,7 +163,7 @@
     public static final String DB_NAME_BILLING_COUNTRY = "BILLING_COUNTRY";
     /** Db-name of BILLING_TELEPHONE. VARCHAR(32) */
     public static final String DB_NAME_BILLING_TELEPHONE = "BILLING_TELEPHONE";
-    /** Db-name of BILLING_ADDRESS_FORMAT_ID. INTEGER : NotNull */
+    /** Db-name of BILLING_ADDRESS_FORMAT_ID. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String DB_NAME_BILLING_ADDRESS_FORMAT_ID = "BILLING_ADDRESS_FORMAT_ID";
     /** Db-name of PAYMENT_METHOD. VARCHAR(32) : NotNull */
     public static final String DB_NAME_PAYMENT_METHOD = "PAYMENT_METHOD";
@@ -316,7 +316,7 @@
     public static final String PROPERTY_NAME_customersCellphone = "customersCellphone";
     /** Prop-name(JavaBeansRule) of customersEmailAddress. VARCHAR(96) : NotNull */
     public static final String PROPERTY_NAME_customersEmailAddress = "customersEmailAddress";
-    /** Prop-name(JavaBeansRule) of customersAddressFormatId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of customersAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String PROPERTY_NAME_customersAddressFormatId = "customersAddressFormatId";
     /** Prop-name(JavaBeansRule) of deliveryName. VARCHAR(64) : NotNull */
     public static final String PROPERTY_NAME_deliveryName = "deliveryName";
@@ -338,7 +338,7 @@
     public static final String PROPERTY_NAME_deliveryCountry = "deliveryCountry";
     /** Prop-name(JavaBeansRule) of deliveryTelephone. VARCHAR(32) */
     public static final String PROPERTY_NAME_deliveryTelephone = "deliveryTelephone";
-    /** Prop-name(JavaBeansRule) of deliveryAddressFormatId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of deliveryAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String PROPERTY_NAME_deliveryAddressFormatId = "deliveryAddressFormatId";
     /** Prop-name(JavaBeansRule) of billingName. VARCHAR(64) : NotNull */
     public static final String PROPERTY_NAME_billingName = "billingName";
@@ -360,7 +360,7 @@
     public static final String PROPERTY_NAME_billingCountry = "billingCountry";
     /** Prop-name(JavaBeansRule) of billingTelephone. VARCHAR(32) */
     public static final String PROPERTY_NAME_billingTelephone = "billingTelephone";
-    /** Prop-name(JavaBeansRule) of billingAddressFormatId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of billingAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String PROPERTY_NAME_billingAddressFormatId = "billingAddressFormatId";
     /** Prop-name(JavaBeansRule) of paymentMethod. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_paymentMethod = "paymentMethod";
@@ -416,7 +416,7 @@
     public static final String CAP_PROP_NAME_CustomersCellphone = "CustomersCellphone";
     /** Cap-prop-name of customersEmailAddress. VARCHAR(96) : NotNull */
     public static final String CAP_PROP_NAME_CustomersEmailAddress = "CustomersEmailAddress";
-    /** Cap-prop-name of customersAddressFormatId. INTEGER : NotNull */
+    /** Cap-prop-name of customersAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String CAP_PROP_NAME_CustomersAddressFormatId = "CustomersAddressFormatId";
     /** Cap-prop-name of deliveryName. VARCHAR(64) : NotNull */
     public static final String CAP_PROP_NAME_DeliveryName = "DeliveryName";
@@ -438,7 +438,7 @@
     public static final String CAP_PROP_NAME_DeliveryCountry = "DeliveryCountry";
     /** Cap-prop-name of deliveryTelephone. VARCHAR(32) */
     public static final String CAP_PROP_NAME_DeliveryTelephone = "DeliveryTelephone";
-    /** Cap-prop-name of deliveryAddressFormatId. INTEGER : NotNull */
+    /** Cap-prop-name of deliveryAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String CAP_PROP_NAME_DeliveryAddressFormatId = "DeliveryAddressFormatId";
     /** Cap-prop-name of billingName. VARCHAR(64) : NotNull */
     public static final String CAP_PROP_NAME_BillingName = "BillingName";
@@ -460,7 +460,7 @@
     public static final String CAP_PROP_NAME_BillingCountry = "BillingCountry";
     /** Cap-prop-name of billingTelephone. VARCHAR(32) */
     public static final String CAP_PROP_NAME_BillingTelephone = "BillingTelephone";
-    /** Cap-prop-name of billingAddressFormatId. INTEGER : NotNull */
+    /** Cap-prop-name of billingAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String CAP_PROP_NAME_BillingAddressFormatId = "BillingAddressFormatId";
     /** Cap-prop-name of paymentMethod. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_PaymentMethod = "PaymentMethod";
@@ -613,7 +613,7 @@
     public static final String UNCAP_PROP_NAME_customersCellphone = "customersCellphone";
     /** Uncap-prop-name of customersEmailAddress. VARCHAR(96) : NotNull */
     public static final String UNCAP_PROP_NAME_customersEmailAddress = "customersEmailAddress";
-    /** Uncap-prop-name of customersAddressFormatId. INTEGER : NotNull */
+    /** Uncap-prop-name of customersAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String UNCAP_PROP_NAME_customersAddressFormatId = "customersAddressFormatId";
     /** Uncap-prop-name of deliveryName. VARCHAR(64) : NotNull */
     public static final String UNCAP_PROP_NAME_deliveryName = "deliveryName";
@@ -635,7 +635,7 @@
     public static final String UNCAP_PROP_NAME_deliveryCountry = "deliveryCountry";
     /** Uncap-prop-name of deliveryTelephone. VARCHAR(32) */
     public static final String UNCAP_PROP_NAME_deliveryTelephone = "deliveryTelephone";
-    /** Uncap-prop-name of deliveryAddressFormatId. INTEGER : NotNull */
+    /** Uncap-prop-name of deliveryAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String UNCAP_PROP_NAME_deliveryAddressFormatId = "deliveryAddressFormatId";
     /** Uncap-prop-name of billingName. VARCHAR(64) : NotNull */
     public static final String UNCAP_PROP_NAME_billingName = "billingName";
@@ -657,7 +657,7 @@
     public static final String UNCAP_PROP_NAME_billingCountry = "billingCountry";
     /** Uncap-prop-name of billingTelephone. VARCHAR(32) */
     public static final String UNCAP_PROP_NAME_billingTelephone = "billingTelephone";
-    /** Uncap-prop-name of billingAddressFormatId. INTEGER : NotNull */
+    /** Uncap-prop-name of billingAddressFormatId. INTEGER : NotNull : FK to ADDRESS_FORMAT */
     public static final String UNCAP_PROP_NAME_billingAddressFormatId = "billingAddressFormatId";
     /** Uncap-prop-name of paymentMethod. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_paymentMethod = "paymentMethod";
@@ -784,15 +784,33 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of addressFormatByCustomersAddressFormatId. */
+    public static final String FOREIGN_PROPERTY_NAME_addressFormatByCustomersAddressFormatId = "addressFormatByCustomersAddressFormatId";
+    /** The foreign property name(JavaBeansRule) of addressFormatByDeliveryAddressFormatId. */
+    public static final String FOREIGN_PROPERTY_NAME_addressFormatByDeliveryAddressFormatId = "addressFormatByDeliveryAddressFormatId";
+    /** The foreign property name(JavaBeansRule) of addressFormatByBillingAddressFormatId. */
+    public static final String FOREIGN_PROPERTY_NAME_addressFormatByBillingAddressFormatId = "addressFormatByBillingAddressFormatId";
     /** The foreign property name(JavaBeansRule) of customers. */
     public static final String FOREIGN_PROPERTY_NAME_customers = "customers";
     /** The foreign property name(JavaBeansRule) of ordersStatus. */
     public static final String FOREIGN_PROPERTY_NAME_ordersStatus = "ordersStatus";
+    /** @deprecated Use FOREIGN_NAME_addressFormatByCustomersAddressFormatId. */
+    public static final String FOREIGN_CAP_PROP_NAME_AddressFormatByCustomersAddressFormatId = "AddressFormatByCustomersAddressFormatId";
+    /** @deprecated Use FOREIGN_NAME_addressFormatByDeliveryAddressFormatId. */
+    public static final String FOREIGN_CAP_PROP_NAME_AddressFormatByDeliveryAddressFormatId = "AddressFormatByDeliveryAddressFormatId";
+    /** @deprecated Use FOREIGN_NAME_addressFormatByBillingAddressFormatId. */
+    public static final String FOREIGN_CAP_PROP_NAME_AddressFormatByBillingAddressFormatId = "AddressFormatByBillingAddressFormatId";
     /** @deprecated Use FOREIGN_NAME_customers. */
     public static final String FOREIGN_CAP_PROP_NAME_Customers = "Customers";
     /** @deprecated Use FOREIGN_NAME_ordersStatus. */
     public static final String FOREIGN_CAP_PROP_NAME_OrdersStatus = "OrdersStatus";
 
+    /** @deprecated Use FOREIGN_NAME_addressFormatByCustomersAddressFormatId. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_addressFormatByCustomersAddressFormatId = "addressFormatByCustomersAddressFormatId";
+    /** @deprecated Use FOREIGN_NAME_addressFormatByDeliveryAddressFormatId. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_addressFormatByDeliveryAddressFormatId = "addressFormatByDeliveryAddressFormatId";
+    /** @deprecated Use FOREIGN_NAME_addressFormatByBillingAddressFormatId. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_addressFormatByBillingAddressFormatId = "addressFormatByBillingAddressFormatId";
     /** @deprecated Use FOREIGN_NAME_customers. */
     public static final String FOREIGN_UNCAP_PROP_NAME_customers = "customers";
     /** @deprecated Use FOREIGN_NAME_ordersStatus. */
@@ -803,11 +821,29 @@
     //                                          ------------
     /** The referer property name(JavaBeansRule) of ordersProductsList. */
     public static final String REFERER_PROPERTY_NAME_ordersProductsList = "ordersProductsList";
+    /** The referer property name(JavaBeansRule) of ordersProductsAttributesList. */
+    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 ordersTotalList. */
+    public static final String REFERER_PROPERTY_NAME_ordersTotalList = "ordersTotalList";
     /** @deprecated Use REFERER_NAME_ordersProductsList */
     public static final String REFERER_CAP_PROP_NAME_OrdersProductsList = "OrdersProductsList";
+    /** @deprecated Use REFERER_NAME_ordersProductsAttributesList */
+    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_ordersTotalList */
+    public static final String REFERER_CAP_PROP_NAME_OrdersTotalList = "OrdersTotalList";
 
     /** @deprecated Use REFERER_NAME_ordersProductsList */
     public static final String REFERER_UNCAP_PROP_NAME_ordersProductsList = "ordersProductsList";
+    /** @deprecated Use REFERER_NAME_ordersProductsAttributesList */
+    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_ordersTotalList */
+    public static final String REFERER_UNCAP_PROP_NAME_ordersTotalList = "ordersTotalList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -1959,6 +1995,54 @@
     //                                       Foreign Element
     //                                       ---------------
     /**
+     * Get foreign information of addressFormatByCustomersAddressFormatId.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignAddressFormatByCustomersAddressFormatId() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("addressFormatByCustomersAddressFormatId");
+        foreignInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        foreignInfo.setForeignDBMeta(AddressFormatDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnCustomersAddressFormatId(), AddressFormatDbm.getInstance().columnAddressFormatId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of addressFormatByDeliveryAddressFormatId.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignAddressFormatByDeliveryAddressFormatId() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("addressFormatByDeliveryAddressFormatId");
+        foreignInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        foreignInfo.setForeignDBMeta(AddressFormatDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnDeliveryAddressFormatId(), AddressFormatDbm.getInstance().columnAddressFormatId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
+     * Get foreign information of addressFormatByBillingAddressFormatId.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignAddressFormatByBillingAddressFormatId() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("addressFormatByBillingAddressFormatId");
+        foreignInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        foreignInfo.setForeignDBMeta(AddressFormatDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnBillingAddressFormatId(), AddressFormatDbm.getInstance().columnAddressFormatId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
+    /**
      * Get foreign information of customers.
      * 
      * @return Referer information. (NotNull)
@@ -2011,6 +2095,54 @@
         refererInfo.setOneToOne(false);
         return refererInfo;
     }
+    /**
+     * Get referer information of ordersProductsAttributesList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersProductsAttributesList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersProductsAttributesList");
+        refererInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersProductsAttributesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersId(), OrdersProductsAttributesDbm.getInstance().columnOrdersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of ordersProductsDownloadList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersProductsDownloadList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersProductsDownloadList");
+        refererInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersProductsDownloadDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersId(), OrdersProductsDownloadDbm.getInstance().columnOrdersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
+    /**
+     * Get referer information of ordersTotalList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererOrdersTotalList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("ordersTotalList");
+        refererInfo.setLocalDBMeta(OrdersDbm.getInstance());
+        refererInfo.setRefererDBMeta(OrdersTotalDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersId(), OrdersTotalDbm.getInstance().columnOrdersId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(false);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -2060,6 +2192,21 @@
             super(relationList, relationTraceList);
         }
 
+        public AddressFormatDbm.AddressFormatRelationTrace foreignAddressFormatByCustomersAddressFormatId() {
+            _relationList.add(OrdersDbm.getInstance().foreignAddressFormatByCustomersAddressFormatId());
+            return AddressFormatDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public AddressFormatDbm.AddressFormatRelationTrace foreignAddressFormatByDeliveryAddressFormatId() {
+            _relationList.add(OrdersDbm.getInstance().foreignAddressFormatByDeliveryAddressFormatId());
+            return AddressFormatDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public AddressFormatDbm.AddressFormatRelationTrace foreignAddressFormatByBillingAddressFormatId() {
+            _relationList.add(OrdersDbm.getInstance().foreignAddressFormatByBillingAddressFormatId());
+            return AddressFormatDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public CustomersDbm.CustomersRelationTrace foreignCustomers() {
             _relationList.add(OrdersDbm.getInstance().foreignCustomers());
             return CustomersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
@@ -2069,12 +2216,27 @@
             _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);
         }
 
+        public OrdersProductsAttributesDbm.OrdersProductsAttributesRelationTrace refererOrdersProductsAttributesList() {
+            _relationList.add(OrdersDbm.getInstance().refererOrdersProductsAttributesList());
+            return OrdersProductsAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public OrdersProductsDownloadDbm.OrdersProductsDownloadRelationTrace refererOrdersProductsDownloadList() {
+            _relationList.add(OrdersDbm.getInstance().refererOrdersProductsDownloadList());
+            return OrdersProductsDownloadDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public OrdersTotalDbm.OrdersTotalRelationTrace refererOrdersTotalList() {
+            _relationList.add(OrdersDbm.getInstance().refererOrdersTotalList());
+            return OrdersTotalDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnOrdersId() { return fixTrace(_relationList, OrdersDbm.getInstance().columnOrdersId()); }
         public RelationTrace columnCustomersId() { return fixTrace(_relationList, OrdersDbm.getInstance().columnCustomersId()); }
         public RelationTrace columnCustomersName() { return fixTrace(_relationList, OrdersDbm.getInstance().columnCustomersName()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsAttributesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     ORDERS_PRODUCTS_ATTRIBUTES_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, PRODUCTS_OPTIONS, PRODUCTS_OPTIONS_VALUES, OPTIONS_VALUES_PRICE, PRICE_PREFIX
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     
@@ -95,9 +95,9 @@
     //                                        --------------
     /** Db-name of ORDERS_PRODUCTS_ATTRIBUTES_ID. PK : INTEGER : NotNull */
     public static final String DB_NAME_ORDERS_PRODUCTS_ATTRIBUTES_ID = "ORDERS_PRODUCTS_ATTRIBUTES_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_PRODUCTS_ID. INTEGER : NotNull */
+    /** Db-name of ORDERS_PRODUCTS_ID. INTEGER : NotNull : FK to PRODUCTS */
     public static final String DB_NAME_ORDERS_PRODUCTS_ID = "ORDERS_PRODUCTS_ID";
     /** Db-name of PRODUCTS_OPTIONS. VARCHAR(32) : NotNull */
     public static final String DB_NAME_PRODUCTS_OPTIONS = "PRODUCTS_OPTIONS";
@@ -128,9 +128,9 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of ordersProductsAttributesId. PK : INTEGER : NotNull */
     public static final String PROPERTY_NAME_ordersProductsAttributesId = "ordersProductsAttributesId";
-    /** 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 ordersProductsId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of ordersProductsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String PROPERTY_NAME_ordersProductsId = "ordersProductsId";
     /** Prop-name(JavaBeansRule) of productsOptions. VARCHAR(32) : NotNull */
     public static final String PROPERTY_NAME_productsOptions = "productsOptions";
@@ -146,9 +146,9 @@
     //                                  --------------------
     /** Cap-prop-name of ordersProductsAttributesId. PK : INTEGER : NotNull */
     public static final String CAP_PROP_NAME_OrdersProductsAttributesId = "OrdersProductsAttributesId";
-    /** 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 ordersProductsId. INTEGER : NotNull */
+    /** Cap-prop-name of ordersProductsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_OrdersProductsId = "OrdersProductsId";
     /** Cap-prop-name of productsOptions. VARCHAR(32) : NotNull */
     public static final String CAP_PROP_NAME_ProductsOptions = "ProductsOptions";
@@ -179,9 +179,9 @@
     //                                ----------------------
     /** Uncap-prop-name of ordersProductsAttributesId. PK : INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_ordersProductsAttributesId = "ordersProductsAttributesId";
-    /** 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 ordersProductsId. INTEGER : NotNull */
+    /** Uncap-prop-name of ordersProductsId. INTEGER : NotNull : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_ordersProductsId = "ordersProductsId";
     /** Uncap-prop-name of productsOptions. VARCHAR(32) : NotNull */
     public static final String UNCAP_PROP_NAME_productsOptions = "productsOptions";
@@ -210,7 +210,19 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of orders. */
+    public static final String FOREIGN_PROPERTY_NAME_orders = "orders";
+    /** The foreign property name(JavaBeansRule) of products. */
+    public static final String FOREIGN_PROPERTY_NAME_products = "products";
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_CAP_PROP_NAME_Orders = "Orders";
+    /** @deprecated Use FOREIGN_NAME_products. */
+    public static final String FOREIGN_CAP_PROP_NAME_Products = "Products";
 
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_orders = "orders";
+    /** @deprecated Use FOREIGN_NAME_products. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_products = "products";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -751,6 +763,38 @@
     // -----------------------------------------------------
     //                                       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(OrdersProductsAttributesDbm.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 products.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProducts() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("products");
+        foreignInfo.setLocalDBMeta(OrdersProductsAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersProductsId(), ProductsDbm.getInstance().columnProductsId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -805,6 +849,16 @@
             super(relationList, relationTraceList);
         }
 
+        public OrdersDbm.OrdersRelationTrace foreignOrders() {
+            _relationList.add(OrdersProductsAttributesDbm.getInstance().foreignOrders());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsDbm.ProductsRelationTrace foreignProducts() {
+            _relationList.add(OrdersProductsAttributesDbm.getInstance().foreignProducts());
+            return ProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnOrdersProductsAttributesId() { return fixTrace(_relationList, OrdersProductsAttributesDbm.getInstance().columnOrdersProductsAttributesId()); }
         public RelationTrace columnOrdersId() { return fixTrace(_relationList, OrdersProductsAttributesDbm.getInstance().columnOrdersId()); }
         public RelationTrace columnOrdersProductsId() { return fixTrace(_relationList, OrdersProductsAttributesDbm.getInstance().columnOrdersProductsId()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersProductsDownloadDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     ORDERS_PRODUCTS_DOWNLOAD_ID, ORDERS_ID, ORDERS_PRODUCTS_ID, ORDERS_PRODUCTS_FILENAME, DOWNLOAD_MAXDAYS, DOWNLOAD_COUNT
  * 
  * [foreign-property]
- *     
+ *     orders, products
  * 
  * [refferer-property]
  *     
@@ -95,9 +95,9 @@
     //                                        --------------
     /** Db-name of ORDERS_PRODUCTS_DOWNLOAD_ID. PK : INTEGER : NotNull */
     public static final String DB_NAME_ORDERS_PRODUCTS_DOWNLOAD_ID = "ORDERS_PRODUCTS_DOWNLOAD_ID";
-    /** Db-name of ORDERS_ID. INTEGER : NotNull : Default=[0] */
+    /** Db-name of ORDERS_ID. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String DB_NAME_ORDERS_ID = "ORDERS_ID";
-    /** Db-name of ORDERS_PRODUCTS_ID. INTEGER : NotNull : Default=[0] */
+    /** Db-name of ORDERS_PRODUCTS_ID. INTEGER : NotNull : Default=[0] : FK to PRODUCTS */
     public static final String DB_NAME_ORDERS_PRODUCTS_ID = "ORDERS_PRODUCTS_ID";
     /** Db-name of ORDERS_PRODUCTS_FILENAME. VARCHAR(255) : NotNull : Default=[] */
     public static final String DB_NAME_ORDERS_PRODUCTS_FILENAME = "ORDERS_PRODUCTS_FILENAME";
@@ -124,9 +124,9 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of ordersProductsDownloadId. PK : INTEGER : NotNull */
     public static final String PROPERTY_NAME_ordersProductsDownloadId = "ordersProductsDownloadId";
-    /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String PROPERTY_NAME_ordersId = "ordersId";
-    /** Prop-name(JavaBeansRule) of ordersProductsId. INTEGER : NotNull : Default=[0] */
+    /** Prop-name(JavaBeansRule) of ordersProductsId. INTEGER : NotNull : Default=[0] : FK to PRODUCTS */
     public static final String PROPERTY_NAME_ordersProductsId = "ordersProductsId";
     /** Prop-name(JavaBeansRule) of ordersProductsFilename. VARCHAR(255) : NotNull : Default=[] */
     public static final String PROPERTY_NAME_ordersProductsFilename = "ordersProductsFilename";
@@ -140,9 +140,9 @@
     //                                  --------------------
     /** Cap-prop-name of ordersProductsDownloadId. PK : INTEGER : NotNull */
     public static final String CAP_PROP_NAME_OrdersProductsDownloadId = "OrdersProductsDownloadId";
-    /** Cap-prop-name of ordersId. INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String CAP_PROP_NAME_OrdersId = "OrdersId";
-    /** Cap-prop-name of ordersProductsId. INTEGER : NotNull : Default=[0] */
+    /** Cap-prop-name of ordersProductsId. INTEGER : NotNull : Default=[0] : FK to PRODUCTS */
     public static final String CAP_PROP_NAME_OrdersProductsId = "OrdersProductsId";
     /** Cap-prop-name of ordersProductsFilename. VARCHAR(255) : NotNull : Default=[] */
     public static final String CAP_PROP_NAME_OrdersProductsFilename = "OrdersProductsFilename";
@@ -169,9 +169,9 @@
     //                                ----------------------
     /** Uncap-prop-name of ordersProductsDownloadId. PK : INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_ordersProductsDownloadId = "ordersProductsDownloadId";
-    /** Uncap-prop-name of ordersId. INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of ordersId. INTEGER : NotNull : Default=[0] : FK to ORDERS */
     public static final String UNCAP_PROP_NAME_ordersId = "ordersId";
-    /** Uncap-prop-name of ordersProductsId. INTEGER : NotNull : Default=[0] */
+    /** Uncap-prop-name of ordersProductsId. INTEGER : NotNull : Default=[0] : FK to PRODUCTS */
     public static final String UNCAP_PROP_NAME_ordersProductsId = "ordersProductsId";
     /** Uncap-prop-name of ordersProductsFilename. VARCHAR(255) : NotNull : Default=[] */
     public static final String UNCAP_PROP_NAME_ordersProductsFilename = "ordersProductsFilename";
@@ -196,7 +196,19 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of orders. */
+    public static final String FOREIGN_PROPERTY_NAME_orders = "orders";
+    /** The foreign property name(JavaBeansRule) of products. */
+    public static final String FOREIGN_PROPERTY_NAME_products = "products";
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_CAP_PROP_NAME_Orders = "Orders";
+    /** @deprecated Use FOREIGN_NAME_products. */
+    public static final String FOREIGN_CAP_PROP_NAME_Products = "Products";
 
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_orders = "orders";
+    /** @deprecated Use FOREIGN_NAME_products. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_products = "products";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -722,6 +734,38 @@
     // -----------------------------------------------------
     //                                       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(OrdersProductsDownloadDbm.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 products.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProducts() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("products");
+        foreignInfo.setLocalDBMeta(OrdersProductsDownloadDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnOrdersProductsId(), ProductsDbm.getInstance().columnProductsId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(false);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -776,6 +820,16 @@
             super(relationList, relationTraceList);
         }
 
+        public OrdersDbm.OrdersRelationTrace foreignOrders() {
+            _relationList.add(OrdersProductsDownloadDbm.getInstance().foreignOrders());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
+        public ProductsDbm.ProductsRelationTrace foreignProducts() {
+            _relationList.add(OrdersProductsDownloadDbm.getInstance().foreignProducts());
+            return ProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnOrdersProductsDownloadId() { return fixTrace(_relationList, OrdersProductsDownloadDbm.getInstance().columnOrdersProductsDownloadId()); }
         public RelationTrace columnOrdersId() { return fixTrace(_relationList, OrdersProductsDownloadDbm.getInstance().columnOrdersId()); }
         public RelationTrace columnOrdersProductsId() { return fixTrace(_relationList, OrdersProductsDownloadDbm.getInstance().columnOrdersProductsId()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersStatusDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     ORDERS_STATUS_ID, LANGUAGE_ID, ORDERS_STATUS_NAME
  * 
  * [foreign-property]
- *     
+ *     languages
  * 
  * [refferer-property]
  *     ordersList, ordersStatusHistoryList
@@ -95,7 +95,7 @@
     //                                        --------------
     /** Db-name of ORDERS_STATUS_ID. PK : INTEGER : NotNull : Default=[1] */
     public static final String DB_NAME_ORDERS_STATUS_ID = "ORDERS_STATUS_ID";
-    /** Db-name of LANGUAGE_ID. INTEGER : NotNull : Default=[1] */
+    /** 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";
@@ -112,7 +112,7 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
     public static final String PROPERTY_NAME_ordersStatusId = "ordersStatusId";
-    /** Prop-name(JavaBeansRule) of languageId. INTEGER : NotNull : Default=[1] */
+    /** 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";
@@ -122,7 +122,7 @@
     //                                  --------------------
     /** Cap-prop-name of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
     public static final String CAP_PROP_NAME_OrdersStatusId = "OrdersStatusId";
-    /** Cap-prop-name of languageId. INTEGER : NotNull : Default=[1] */
+    /** 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";
@@ -139,7 +139,7 @@
     //                                ----------------------
     /** Uncap-prop-name of ordersStatusId. PK : INTEGER : NotNull : Default=[1] */
     public static final String UNCAP_PROP_NAME_ordersStatusId = "ordersStatusId";
-    /** Uncap-prop-name of languageId. INTEGER : NotNull : Default=[1] */
+    /** 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";
@@ -154,7 +154,13 @@
     // -----------------------------------------------------
     //                                          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
@@ -647,6 +653,22 @@
     // -----------------------------------------------------
     //                                       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;
+    }
 
 
     // -----------------------------------------------------
@@ -732,6 +754,11 @@
         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());

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/OrdersTotalDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     ORDERS_TOTAL_ID, ORDERS_ID, TITLE, TEXT, VALUE, OT_CLASS, SORT_ORDER
  * 
  * [foreign-property]
- *     
+ *     orders
  * 
  * [refferer-property]
  *     
@@ -95,7 +95,7 @@
     //                                        --------------
     /** Db-name of ORDERS_TOTAL_ID. PK : INTEGER : NotNull */
     public static final String DB_NAME_ORDERS_TOTAL_ID = "ORDERS_TOTAL_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 TITLE. VARCHAR(255) : NotNull */
     public static final String DB_NAME_TITLE = "TITLE";
@@ -128,7 +128,7 @@
     //                       -------------------------------
     /** Prop-name(JavaBeansRule) of ordersTotalId. PK : INTEGER : NotNull */
     public static final String PROPERTY_NAME_ordersTotalId = "ordersTotalId";
-    /** 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 title. VARCHAR(255) : NotNull */
     public static final String PROPERTY_NAME_title = "title";
@@ -146,7 +146,7 @@
     //                                  --------------------
     /** Cap-prop-name of ordersTotalId. PK : INTEGER : NotNull */
     public static final String CAP_PROP_NAME_OrdersTotalId = "OrdersTotalId";
-    /** 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 title. VARCHAR(255) : NotNull */
     public static final String CAP_PROP_NAME_Title = "Title";
@@ -179,7 +179,7 @@
     //                                ----------------------
     /** Uncap-prop-name of ordersTotalId. PK : INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_ordersTotalId = "ordersTotalId";
-    /** 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 title. VARCHAR(255) : NotNull */
     public static final String UNCAP_PROP_NAME_title = "title";
@@ -210,7 +210,13 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of orders. */
+    public static final String FOREIGN_PROPERTY_NAME_orders = "orders";
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_CAP_PROP_NAME_Orders = "Orders";
 
+    /** @deprecated Use FOREIGN_NAME_orders. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_orders = "orders";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -751,6 +757,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(OrdersTotalDbm.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;
+    }
 
 
     // -----------------------------------------------------
@@ -805,6 +827,11 @@
             super(relationList, relationTraceList);
         }
 
+        public OrdersDbm.OrdersRelationTrace foreignOrders() {
+            _relationList.add(OrdersTotalDbm.getInstance().foreignOrders());
+            return OrdersDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnOrdersTotalId() { return fixTrace(_relationList, OrdersTotalDbm.getInstance().columnOrdersTotalId()); }
         public RelationTrace columnOrdersId() { return fixTrace(_relationList, OrdersTotalDbm.getInstance().columnOrdersId()); }
         public RelationTrace columnTitle() { return fixTrace(_relationList, OrdersTotalDbm.getInstance().columnTitle()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -22,7 +22,7 @@
  *     products
  * 
  * [refferer-property]
- *     
+ *     productsAttributesDownloadList
  * 
  * [sequence]
  *     
@@ -207,7 +207,13 @@
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of productsAttributesDownloadList. */
+    public static final String REFERER_PROPERTY_NAME_productsAttributesDownloadList = "productsAttributesDownloadList";
+    /** @deprecated Use REFERER_NAME_productsAttributesDownloadList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsAttributesDownloadList = "ProductsAttributesDownloadList";
 
+    /** @deprecated Use REFERER_NAME_productsAttributesDownloadList */
+    public static final String REFERER_UNCAP_PROP_NAME_productsAttributesDownloadList = "productsAttributesDownloadList";
 
     /** The map of {db-name : prop-name} key-to-lower. */
     private static java.util.Map<String, String> _dbNamePropertyNameKeyToLowerMap;
@@ -745,10 +751,42 @@
         return foreignInfo;
     }
 
+    /**
+     * Get foreign information of productsAttributesDownloadAsOne.
+     * 
+     * @return Foreign information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProductsAttributesDownloadAsOne() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("productsAttributesDownloadAsOne");
+        foreignInfo.setLocalDBMeta(ProductsAttributesDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsAttributesDownloadDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsAttributesId(), ProductsAttributesDownloadDbm.getInstance().columnProductsAttributesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(true);
+        return foreignInfo;
+    }
 
     // -----------------------------------------------------
     //                                       Referer Element
     //                                       ---------------
+    /**
+     * Get referer information of productsAttributesDownloadList.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererProductsAttributesDownloadList() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo refererInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.RefererInfo();
+        refererInfo.setRefererPropertyName("productsAttributesDownloadList");
+        refererInfo.setLocalDBMeta(ProductsAttributesDbm.getInstance());
+        refererInfo.setRefererDBMeta(ProductsAttributesDownloadDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsAttributesId(), ProductsAttributesDownloadDbm.getInstance().columnProductsAttributesId());
+        refererInfo.setLocalRefererColumnInfoMap(map);
+        refererInfo.setOneToOne(true);
+        return refererInfo;
+    }
 
     // -----------------------------------------------------
     //                                        Relation Trace
@@ -802,6 +840,16 @@
             _relationList.add(ProductsAttributesDbm.getInstance().foreignProducts());
             return ProductsDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
         }
+  
+        public ProductsAttributesDownloadDbm.ProductsAttributesDownloadRelationTrace foreignProductsAttributesDownloadAsOne() {
+            _relationList.add(ProductsAttributesDbm.getInstance().foreignProductsAttributesDownloadAsOne());
+            return ProductsAttributesDownloadDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+  
+        public ProductsAttributesDownloadDbm.ProductsAttributesDownloadRelationTrace refererProductsAttributesDownloadList() {
+            _relationList.add(ProductsAttributesDbm.getInstance().refererProductsAttributesDownloadList());
+            return ProductsAttributesDownloadDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
 
         public RelationTrace columnProductsAttributesId() { return fixTrace(_relationList, ProductsAttributesDbm.getInstance().columnProductsAttributesId()); }
         public RelationTrace columnProductsId() { return fixTrace(_relationList, ProductsAttributesDbm.getInstance().columnProductsId()); }

Modified: pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDownloadDbm.java
===================================================================
--- pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDownloadDbm.java	2007-09-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsAttributesDownloadDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,7 +19,7 @@
  *     PRODUCTS_ATTRIBUTES_ID, PRODUCTS_ATTRIBUTES_FILENAME, PRODUCTS_ATTRIBUTES_MAXDAYS, PRODUCTS_ATTRIBUTES_MAXCOUNT
  * 
  * [foreign-property]
- *     
+ *     productsAttributes
  * 
  * [refferer-property]
  *     
@@ -93,7 +93,7 @@
     // -----------------------------------------------------
     //                                        Column DB-Name
     //                                        --------------
-    /** Db-name of PRODUCTS_ATTRIBUTES_ID. PK : INTEGER : NotNull */
+    /** Db-name of PRODUCTS_ATTRIBUTES_ID. PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES */
     public static final String DB_NAME_PRODUCTS_ATTRIBUTES_ID = "PRODUCTS_ATTRIBUTES_ID";
     /** Db-name of PRODUCTS_ATTRIBUTES_FILENAME. VARCHAR(255) : NotNull : Default=[] */
     public static final String DB_NAME_PRODUCTS_ATTRIBUTES_FILENAME = "PRODUCTS_ATTRIBUTES_FILENAME";
@@ -114,7 +114,7 @@
     // -----------------------------------------------------
     //                       Column Prop-Name(JavaBeansRule)
     //                       -------------------------------
-    /** Prop-name(JavaBeansRule) of productsAttributesId. PK : INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of productsAttributesId. PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES */
     public static final String PROPERTY_NAME_productsAttributesId = "productsAttributesId";
     /** Prop-name(JavaBeansRule) of productsAttributesFilename. VARCHAR(255) : NotNull : Default=[] */
     public static final String PROPERTY_NAME_productsAttributesFilename = "productsAttributesFilename";
@@ -126,7 +126,7 @@
     // -----------------------------------------------------
     //                                  Column Cap-Prop-Name
     //                                  --------------------
-    /** Cap-prop-name of productsAttributesId. PK : INTEGER : NotNull */
+    /** Cap-prop-name of productsAttributesId. PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES */
     public static final String CAP_PROP_NAME_ProductsAttributesId = "ProductsAttributesId";
     /** Cap-prop-name of productsAttributesFilename. VARCHAR(255) : NotNull : Default=[] */
     public static final String CAP_PROP_NAME_ProductsAttributesFilename = "ProductsAttributesFilename";
@@ -147,7 +147,7 @@
     // -----------------------------------------------------
     //                                Column Uncap-Prop-Name
     //                                ----------------------
-    /** Uncap-prop-name of productsAttributesId. PK : INTEGER : NotNull */
+    /** Uncap-prop-name of productsAttributesId. PK : INTEGER : NotNull : FK to PRODUCTS_ATTRIBUTES */
     public static final String UNCAP_PROP_NAME_productsAttributesId = "productsAttributesId";
     /** Uncap-prop-name of productsAttributesFilename. VARCHAR(255) : NotNull : Default=[] */
     public static final String UNCAP_PROP_NAME_productsAttributesFilename = "productsAttributesFilename";
@@ -168,7 +168,13 @@
     // -----------------------------------------------------
     //                                          Foreign Name
     //                                          ------------
+    /** The foreign property name(JavaBeansRule) of productsAttributes. */
+    public static final String FOREIGN_PROPERTY_NAME_productsAttributes = "productsAttributes";
+    /** @deprecated Use FOREIGN_NAME_productsAttributes. */
+    public static final String FOREIGN_CAP_PROP_NAME_ProductsAttributes = "ProductsAttributes";
 
+    /** @deprecated Use FOREIGN_NAME_productsAttributes. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_productsAttributes = "productsAttributes";
 
     // -----------------------------------------------------
     //                                          Referer Name
@@ -664,6 +670,22 @@
     // -----------------------------------------------------
     //                                       Foreign Element
     //                                       ---------------
+    /**
+     * Get foreign information of productsAttributes.
+     * 
+     * @return Referer information. (NotNull)
+     */
+    public jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignProductsAttributes() {
+        final jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo foreignInfo = new jp.sf.pal.pompei.allcommon.dbmeta.info.ForeignInfo();
+        foreignInfo.setForeignPropertyName("productsAttributes");
+        foreignInfo.setLocalDBMeta(ProductsAttributesDownloadDbm.getInstance());
+        foreignInfo.setForeignDBMeta(ProductsAttributesDbm.getInstance());
+        final java.util.Map<ColumnInfo, ColumnInfo> map = new java.util.LinkedHashMap<ColumnInfo, ColumnInfo>();
+        map.put(columnProductsAttributesId(), ProductsAttributesDbm.getInstance().columnProductsAttributesId());
+        foreignInfo.setLocalForeignColumnInfoMap(map);
+        foreignInfo.setOneToOne(true);
+        return foreignInfo;
+    }
 
 
     // -----------------------------------------------------
@@ -718,6 +740,11 @@
             super(relationList, relationTraceList);
         }
 
+        public ProductsAttributesDbm.ProductsAttributesRelationTrace foreignProductsAttributes() {
+            _relationList.add(ProductsAttributesDownloadDbm.getInstance().foreignProductsAttributes());
+            return ProductsAttributesDbm.getInstance().createRelationTrace(_relationList, _relationTraceList);
+        }
+
         public RelationTrace columnProductsAttributesId() { return fixTrace(_relationList, ProductsAttributesDownloadDbm.getInstance().columnProductsAttributesId()); }
         public RelationTrace columnProductsAttributesFilename() { return fixTrace(_relationList, ProductsAttributesDownloadDbm.getInstance().columnProductsAttributesFilename()); }
         public RelationTrace columnProductsAttributesMaxdays() { return fixTrace(_relationList, ProductsAttributesDownloadDbm.getInstance().columnProductsAttributesMaxdays()); }

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-03 06:40:28 UTC (rev 525)
+++ pompei/portlets/pompei-core/trunk/src/main/java/jp/sf/pal/pompei/bsentity/dbmeta/ProductsDbm.java	2007-09-03 06:43:34 UTC (rev 526)
@@ -19,10 +19,10 @@
  *     PRODUCTS_ID, PRODUCTS_QUANTITY, PRODUCTS_MODEL, PRODUCTS_IMAGE, PRODUCTS_PRICE, PRODUCTS_DATE_ADDED, PRODUCTS_LAST_MODIFIED, PRODUCTS_DATE_AVAILABLE, PRODUCTS_WEIGHT, PRODUCTS_STATUS, PRODUCTS_TAX_CLASS_ID, MANUFACTURERS_ID, PRODUCTS_ORDERED
  * 
  * [foreign-property]
- *     manufacturers
+ *     manufacturers, taxClass
  * 
  * [refferer-property]
- *     ordersProductsList, productsAttributesList, productsDescriptionList, productsToCategoriesList
+ *     customersBasketList, customersBasketAttributesList, ordersProductsList, ordersProductsAttributesList, ordersProductsDownloadList, productsAttributesList, productsDescriptionList, productsNotificationsList, productsToCategoriesList, reviewsList, specialsList
  * 
  * [sequence]
  *     
@@ -113,7 +113,7 @@
     public static final String DB_NAME_PRODUCTS_WEIGHT = "PRODUCTS_WEIGHT";
     /** Db-name of PRODUCTS_STATUS. INTEGER : NotNull */
     public static final String DB_NAME_PRODUCTS_STATUS = "PRODUCTS_STATUS";
-    /** Db-name of PRODUCTS_TAX_CLASS_ID. INTEGER : NotNull */
+    /** Db-name of PRODUCTS_TAX_CLASS_ID. INTEGER : NotNull : FK to TAX_CLASS */
     public static final String DB_NAME_PRODUCTS_TAX_CLASS_ID = "PRODUCTS_TAX_CLASS_ID";
     /** Db-name of MANUFACTURERS_ID. INTEGER : FK to MANUFACTURERS */
     public static final String DB_NAME_MANUFACTURERS_ID = "MANUFACTURERS_ID";
@@ -170,7 +170,7 @@
     public static final String PROPERTY_NAME_productsWeight = "productsWeight";
     /** Prop-name(JavaBeansRule) of productsStatus. INTEGER : NotNull */
     public static final String PROPERTY_NAME_productsStatus = "productsStatus";
-    /** Prop-name(JavaBeansRule) of productsTaxClassId. INTEGER : NotNull */
+    /** Prop-name(JavaBeansRule) of productsTaxClassId. INTEGER : NotNull : FK to TAX_CLASS */
     public static final String PROPERTY_NAME_productsTaxClassId = "productsTaxClassId";
     /** Prop-name(JavaBeansRule) of manufacturersId. INTEGER : FK to MANUFACTURERS */
     public static final String PROPERTY_NAME_manufacturersId = "manufacturersId";
@@ -200,7 +200,7 @@
     public static final String CAP_PROP_NAME_ProductsWeight = "ProductsWeight";
     /** Cap-prop-name of productsStatus. INTEGER : NotNull */
     public static final String CAP_PROP_NAME_ProductsStatus = "ProductsStatus";
-    /** Cap-prop-name of productsTaxClassId. INTEGER : NotNull */
+    /** Cap-prop-name of productsTaxClassId. INTEGER : NotNull : FK to TAX_CLASS */
     public static final String CAP_PROP_NAME_ProductsTaxClassId = "ProductsTaxClassId";
     /** Cap-prop-name of manufacturersId. INTEGER : FK to MANUFACTURERS */
     public static final String CAP_PROP_NAME_ManufacturersId = "ManufacturersId";
@@ -257,7 +257,7 @@
     public static final String UNCAP_PROP_NAME_productsWeight = "productsWeight";
     /** Uncap-prop-name of productsStatus. INTEGER : NotNull */
     public static final String UNCAP_PROP_NAME_productsStatus = "productsStatus";
-    /** Uncap-prop-name of productsTaxClassId. INTEGER : NotNull */
+    /** Uncap-prop-name of productsTaxClassId. INTEGER : NotNull : FK to TAX_CLASS */
     public static final String UNCAP_PROP_NAME_productsTaxClassId = "productsTaxClassId";
     /** Uncap-prop-name of manufacturersId. INTEGER : FK to MANUFACTURERS */
     public static final String UNCAP_PROP_NAME_manufacturersId = "manufacturersId";
@@ -296,40 +296,88 @@
     //                                          ------------
     /** The foreign property name(JavaBeansRule) of manufacturers. */
     public static final String FOREIGN_PROPERTY_NAME_manufacturers = "manufacturers";
+    /** The foreign property name(JavaBeansRule) of taxClass. */
+    public static final String FOREIGN_PROPERTY_NAME_taxClass = "taxClass";
     /** @deprecated Use FOREIGN_NAME_manufacturers. */
     public static final String FOREIGN_CAP_PROP_NAME_Manufacturers = "Manufacturers";
+    /** @deprecated Use FOREIGN_NAME_taxClass. */
+    public static final String FOREIGN_CAP_PROP_NAME_TaxClass = "TaxClass";
 
     /** @deprecated Use FOREIGN_NAME_manufacturers. */
     public static final String FOREIGN_UNCAP_PROP_NAME_manufacturers = "manufacturers";
+    /** @deprecated Use FOREIGN_NAME_taxClass. */
+    public static final String FOREIGN_UNCAP_PROP_NAME_taxClass = "taxClass";
 
     // -----------------------------------------------------
     //                                          Referer Name
     //                                          ------------
+    /** The referer property name(JavaBeansRule) of customersBasketList. */
+    public static final String REFERER_PROPERTY_NAME_customersBasketList = "customersBasketList";
+    /** The referer property name(JavaBeansRule) of customersBasketAttributesList. */
+    public static final String REFERER_PROPERTY_NAME_customersBasketAttributesList = "customersBasketAttributesList";
     /** The referer property name(JavaBeansRule) of ordersProductsList. */
     public static final String REFERER_PROPERTY_NAME_ordersProductsList = "ordersProductsList";
+    /** The referer property name(JavaBeansRule) of ordersProductsAttributesList. */
+    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 productsAttributesList. */
     public static final String REFERER_PROPERTY_NAME_productsAttributesList = "productsAttributesList";
     /** The referer property name(JavaBeansRule) of productsDescriptionList. */
     public static final String REFERER_PROPERTY_NAME_productsDescriptionList = "productsDescriptionList";
+    /** The referer property name(JavaBeansRule) of productsNotificationsList. */
+    public static final String REFERER_PROPERTY_NAME_productsNotificationsList = "productsNotificationsList";
     /** The referer property name(JavaBeansRule) of productsToCategoriesList. */
     public static final String REFERER_PROPERTY_NAME_productsToCategoriesList = "productsToCategoriesList";
+    /** The referer property name(JavaBeansRule) of reviewsList. */
+    public static final String REFERER_PROPERTY_NAME_reviewsList = "reviewsList";
+    /** The referer property name(JavaBeansRule) of specialsList. */
+    public static final String REFERER_PROPERTY_NAME_specialsList = "specialsList";
+    /** @deprecated Use REFERER_NAME_customersBasketList */
+    public static final String REFERER_CAP_PROP_NAME_CustomersBasketList = "CustomersBasketList";
+    /** @deprecated Use REFERER_NAME_customersBasketAttributesList */
+    public static final String REFERER_CAP_PROP_NAME_CustomersBasketAttributesList = "CustomersBasketAttributesList";
     /** @deprecated Use REFERER_NAME_ordersProductsList */
     public static final String REFERER_CAP_PROP_NAME_OrdersProductsList = "OrdersProductsList";
+    /** @deprecated Use REFERER_NAME_ordersProductsAttributesList */
+    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_productsAttributesList */
     public static final String REFERER_CAP_PROP_NAME_ProductsAttributesList = "ProductsAttributesList";
     /** @deprecated Use REFERER_NAME_productsDescriptionList */
     public static final String REFERER_CAP_PROP_NAME_ProductsDescriptionList = "ProductsDescriptionList";
+    /** @deprecated Use REFERER_NAME_productsNotificationsList */
+    public static final String REFERER_CAP_PROP_NAME_ProductsNotificationsList = "ProductsNotificationsList";
     /** @deprecated Use REFERER_NAME_productsToCategoriesList */
     public static final String REFERER_CAP_PROP_NAME_ProductsToCategoriesList = "ProductsToCategoriesList";
+    /** @deprecated Use REFERER_NAME_reviewsList */
+    public static final String REFERER_CAP_PROP_NAME_ReviewsList = "ReviewsList";
+    /** @deprecated Use REFERER_NAME_sp