[pal-cvs 3591] [1326] integrated userinfo, modified shared categories handling.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 11月 11日 (火) 15:28:27 JST


Revision: 1326
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1326
Author:   shinsuke
Date:     2008-11-11 15:28:27 +0900 (Tue, 11 Nov 2008)

Log Message:
-----------
integrated userinfo, modified shared categories handling.

Modified Paths:
--------------
    bookmark/trunk/dbflute/_project.bat
    bookmark/trunk/dbflute/_project.sh
    bookmark/trunk/src/main/config/erd/bookmark.erd
    bookmark/trunk/src/main/config/sql/bookmark.ddl
    bookmark/trunk/src/main/config/sql/bookmark.dml
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/BookmarkConstants.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/CategoryAction.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/LinkAction.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/category/EditAction.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/link/ViewAction.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/AccessContext.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/DBFluteConfig.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/AbstractBehaviorReadable.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/load/LoadReferrerOption.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/setup/EntityListSetupper.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/AbstractConditionBean.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBean.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBeanContext.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ListResultBean.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/PagingResultBean.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ResultBeanBuilder.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingOption.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowResource.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowSetupper.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/AbstractSqlClause.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByClause.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByElement.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/AbstractDBMeta.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMeta.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMetaInstanceHandler.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/helper/token/line/impl/LineTokenImpl.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/CursorHandler.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoLatestSqlProvider.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataExtension.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/CategoryDxo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/LinkDxo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/CategoryForm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/LinkForm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/category/EditForm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/link/ViewForm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/CategoryPager.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/LinkPager.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/CategoryService.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/LinkService.java
    bookmark/trunk/src/main/resources/application.properties
    bookmark/trunk/src/main/resources/application_ja.properties
    bookmark/trunk/src/main/resources/convention.dicon
    bookmark/trunk/src/main/resources/creator.dicon
    bookmark/trunk/src/main/resources/dbflute.dicon
    bookmark/trunk/src/main/webapp/WEB-INF/db/bookmark.data.db
    bookmark/trunk/src/main/webapp/WEB-INF/db/bookmark.index.db
    bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp
    bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp
    bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/confirm.jsp
    bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/edit.jsp
    bookmark/trunk/src/main/webapp/WEB-INF/view/link/view/index.jsp

Added Paths:
-----------
    bookmark/trunk/mydbflute/README.txt
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/CommonException.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/creator/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/creator/PagerCreator.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/dxo/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/dxo/PagerDxo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/form/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/form/PagingResultForm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/pager/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/pager/DefaultPager.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/util/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/util/PagingResultBeanWrapper.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/CallbackContext.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/SqlLogHandler.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/valuetype/
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkCategoryBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkLinkBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupInfoBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupMappingBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleInfoBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleMappingBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsUserInfoBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkCategoryDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkLinkDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupInfoDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupMappingDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleInfoDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleMappingDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsUserInfoDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkCategory.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkLink.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupInfo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupMapping.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleInfo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleMapping.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsUserInfo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkCategoryDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkLinkDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupInfoDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupMappingDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleInfoDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleMappingDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/UserInfoDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkCategoryCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkLinkCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupInfoCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupMappingCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleInfoCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleMappingCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/UserInfoCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkCategoryCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkLinkCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupInfoCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupMappingCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleInfoCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleMappingCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsUserInfoCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkCategoryCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkLinkCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupMappingCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleMappingCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/UserInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkCategoryCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkLinkCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkCategoryCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkLinkCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupMappingCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleMappingCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsUserInfoCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkCategoryCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkLinkCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupInfoCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupMappingCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleInfoCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleMappingCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/UserInfoCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkCategoryNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkLinkNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupInfoNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupMappingNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleInfoNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleMappingNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/UserInfoNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkCategoryBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkLinkBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupInfoBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupMappingBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleInfoBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleMappingBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/UserInfoBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkCategoryDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkLinkDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupInfoDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupMappingDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleInfoDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleMappingDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/UserInfoDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkCategory.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkLink.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupInfo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupMapping.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleInfo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleMapping.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/UserInfo.java

Removed Paths:
-------------
    bookmark/trunk/dbflute/schema/project-schema-bookmark.xml
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/CommonException.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/creator/PagerCreator.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsCategoryBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsLinkBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsCategoryDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsLinkDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsCategory.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsLink.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/CategoryDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/LinkDbm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/CategoryCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/LinkCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsCategoryCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsLinkCB.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/CategoryCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/LinkCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsCategoryCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsLinkCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsCategoryCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsLinkCQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/CategoryCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/LinkCIQ.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/CategoryNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/LinkNss.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/CategoryBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/LinkBhv.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/CategoryDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/LinkDao.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Category.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Link.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/PagerDxo.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/PagingResultForm.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/DefaultPager.java
    bookmark/trunk/src/main/java/jp/sf/pal/bookmark/util/PagingResultBeanWrapper.java
    bookmark/trunk/src/main/webapp/WEB-INF/db/bookmark.1.log.db


-------------- next part --------------
Modified: bookmark/trunk/dbflute/_project.bat
===================================================================
--- bookmark/trunk/dbflute/_project.bat	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/dbflute/_project.bat	2008-11-11 06:28:27 UTC (rev 1326)
@@ -2,4 +2,4 @@
 
 set MY_PROJECT_NAME=bookmark
 
-set DBFLUTE_HOME=..\mydbflute\dbflute-0.8.1
+set DBFLUTE_HOME=..\mydbflute\dbflute-0.8.2

Modified: bookmark/trunk/dbflute/_project.sh
===================================================================
--- bookmark/trunk/dbflute/_project.sh	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/dbflute/_project.sh	2008-11-11 06:28:27 UTC (rev 1326)
@@ -2,4 +2,4 @@
 
 export MY_PROJECT_NAME=bookmark
 
-export DBFLUTE_HOME=../mydbflute/dbflute-0.8.1
+export DBFLUTE_HOME=../mydbflute/dbflute-0.8.2

Deleted: bookmark/trunk/dbflute/schema/project-schema-bookmark.xml
===================================================================
--- bookmark/trunk/dbflute/schema/project-schema-bookmark.xml	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/dbflute/schema/project-schema-bookmark.xml	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE database SYSTEM "http://dbflute.sandbox.seasar.org/dtd/database.dtd">
-<!-- Autogenerated by JDBCToXMLSchema! -->
-<database name="">
-    <table name="CATEGORY" schema="PUBLIC" type="TABLE">
-        <column autoIncrement="true" comment="" dbType="INTEGER"
-            default="NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_E60DF65A_0492_4AB9_BDAC_14AD8BA5A874"
-            javaType="Integer" name="ID" primaryKey="true"
-            required="true" type="INTEGER"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="NAME" required="true" size="100" type="VARCHAR"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="MEMO" size="200" type="VARCHAR"/>
-        <column comment="" dbType="INTEGER" default="0"
-            javaType="Integer" name="SORT_ORDER" required="true" type="INTEGER"/>
-        <column comment="" dbType="TIMESTAMP"
-            javaType="java.sql.Timestamp" name="CREATED_TIME"
-            required="true" type="TIMESTAMP"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="CREATED_BY" required="true" size="255" type="VARCHAR"/>
-        <column comment="" dbType="TIMESTAMP"
-            javaType="java.sql.Timestamp" name="UPDATED_TIME"
-            required="true" type="TIMESTAMP"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="UPDATED_BY" required="true" size="255" type="VARCHAR"/>
-        <column comment="" dbType="TIMESTAMP"
-            javaType="java.sql.Timestamp" name="DELETED_TIME" type="TIMESTAMP"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="DELETED_BY" size="255" type="VARCHAR"/>
-        <column comment="" dbType="INTEGER" default="0"
-            javaType="Integer" name="VERSIONNO" required="true" type="INTEGER"/>
-    </table>
-    <table name="LINK" schema="PUBLIC" type="TABLE">
-        <column autoIncrement="true" comment="" dbType="BIGINT"
-            default="NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_22BA7FAB_912D_4214_94D9_E64E5C53706F"
-            javaType="Long" name="ID" primaryKey="true" required="true" type="BIGINT"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="NAME" required="true" size="100" type="VARCHAR"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="MEMO" size="200" type="VARCHAR"/>
-        <column comment="" dbType="VARCHAR" default="E"
-            javaType="String" name="URL" required="true" size="255" type="VARCHAR"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="TYPE" required="true" size="1" type="VARCHAR"/>
-        <column comment="" dbType="INTEGER" default="0"
-            javaType="Integer" name="SORT_ORDER" required="true" type="INTEGER"/>
-        <column comment="" dbType="INTEGER" default="0"
-            javaType="Integer" name="CATEGORY_ID" type="INTEGER"/>
-        <column comment="" dbType="TIMESTAMP"
-            javaType="java.sql.Timestamp" name="CREATED_TIME"
-            required="true" type="TIMESTAMP"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="CREATED_BY" required="true" size="255" type="VARCHAR"/>
-        <column comment="" dbType="TIMESTAMP"
-            javaType="java.sql.Timestamp" name="UPDATED_TIME"
-            required="true" type="TIMESTAMP"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="UPDATED_BY" required="true" size="255" type="VARCHAR"/>
-        <column comment="" dbType="TIMESTAMP"
-            javaType="java.sql.Timestamp" name="DELETED_TIME" type="TIMESTAMP"/>
-        <column comment="" dbType="VARCHAR" javaType="String"
-            name="DELETED_BY" size="255" type="VARCHAR"/>
-        <column comment="" dbType="INTEGER" default="0"
-            javaType="Integer" name="VERSIONNO" required="true" type="INTEGER"/>
-        <foreign-key foreignTable="CATEGORY" name="CONSTRAINT_23">
-            <reference foreign="ID" local="CATEGORY_ID"/>
-        </foreign-key>
-    </table>
-</database>

Added: bookmark/trunk/mydbflute/README.txt
===================================================================
--- bookmark/trunk/mydbflute/README.txt	                        (rev 0)
+++ bookmark/trunk/mydbflute/README.txt	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,3 @@
+$ mkdir dbflute-0.8.2
+$ cd dbflute-0.8.2
+$ unzip ../dbflute-0.8.2.zip


Property changes on: bookmark/trunk/mydbflute/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: bookmark/trunk/src/main/config/erd/bookmark.erd
===================================================================
--- bookmark/trunk/src/main/config/erd/bookmark.erd	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/config/erd/bookmark.erd	2008-11-11 06:28:27 UTC (rev 1326)
@@ -4,11 +4,868 @@
     <net.java.amateras.db.visual.model.TableModel>
       <error></error>
       <linkedPath></linkedPath>
-      <tableName>category</tableName>
-      <logicalName>Category</logicalName>
+      <tableName>user_info</tableName>
+      <logicalName>User Information</logicalName>
       <description></description>
       <columns>
         <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>user_id</columnName>
+          <logicalName>User ID</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>VARCHAR</name>
+            <logicalName>String</logicalName>
+            <supportSize>true</supportSize>
+            <type>12</type>
+          </columnType>
+          <size>255</size>
+          <notNull>true</notNull>
+          <primaryKey>true</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>given_name</columnName>
+          <logicalName>Given Name</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>VARCHAR</name>
+            <logicalName>String</logicalName>
+            <supportSize>true</supportSize>
+            <type>12</type>
+          </columnType>
+          <size>100</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>family_name</columnName>
+          <logicalName>Family Name</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>100</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>middle_name</columnName>
+          <logicalName>Middle Name</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>50</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>given_name_desc</columnName>
+          <logicalName>Given Name Descritpion</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>100</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>family_name_desc</columnName>
+          <logicalName>Family Name Description</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>100</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>email</columnName>
+          <logicalName>Email</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>255</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>url</columnName>
+          <logicalName>URL</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>255</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>telephone</columnName>
+          <logicalName>Telephone</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>VARCHAR</name>
+            <logicalName>String</logicalName>
+            <supportSize>true</supportSize>
+            <type>12</type>
+          </columnType>
+          <size>40</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>role_id</columnName>
+          <logicalName>Default Role ID</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+          <size>255</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>group_id</columnName>
+          <logicalName>Default Group ID</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+          <size>255</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>created_time</columnName>
+          <logicalName>Created Time</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>TIMESTAMP</name>
+            <logicalName>Datetime</logicalName>
+            <supportSize>false</supportSize>
+            <type>93</type>
+          </columnType>
+          <size>10</size>
+          <notNull>true</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>created_by</columnName>
+          <logicalName>Created By</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>255</size>
+          <notNull>true</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>updated_time</columnName>
+          <logicalName>Updated Time</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+          <size>10</size>
+          <notNull>true</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>updated_by</columnName>
+          <logicalName>Updated By</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>255</size>
+          <notNull>true</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>deleted_time</columnName>
+          <logicalName>Deleted Time</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+          <size>10</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>deleted_by</columnName>
+          <logicalName>Deleted By</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+          <size>255</size>
+          <notNull>false</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>versionNo</columnName>
+          <logicalName>Version No.</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>INTEGER</name>
+            <logicalName>Integer</logicalName>
+            <supportSize>false</supportSize>
+            <type>4</type>
+          </columnType>
+          <size>10</size>
+          <notNull>true</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue></defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+      </columns>
+      <indices/>
+      <constraint>
+        <x>185</x>
+        <y>408</y>
+        <width>-1</width>
+        <height>-1</height>
+      </constraint>
+      <sourceConnections>
+        <net.java.amateras.db.visual.model.ForeignKeyModel>
+          <foreignKeyName>FK_from_user_to_group</foreignKeyName>
+          <references>
+            <entry>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>group_id</columnName>
+                <logicalName>Group ID</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>255</size>
+                <notNull>true</notNull>
+                <primaryKey>true</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[11]"/>
+            </entry>
+          </references>
+          <source class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+          <target class="net.java.amateras.db.visual.model.TableModel">
+            <error></error>
+            <linkedPath></linkedPath>
+            <tableName>group_info</tableName>
+            <logicalName>Group Information</logicalName>
+            <description></description>
+            <columns>
+              <net.java.amateras.db.visual.model.ColumnModel reference="../../../references/entry/net.java.amateras.db.visual.model.ColumnModel"/>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>name</columnName>
+                <logicalName>Name</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>100</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>description</columnName>
+                <logicalName>Description</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>email</columnName>
+                <logicalName>Email</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>url</columnName>
+                <logicalName>URL</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>telephone</columnName>
+                <logicalName>Telephone</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>40</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>created_time</columnName>
+                <logicalName>Created Time</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                <size>10</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>created_by</columnName>
+                <logicalName>Created By</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>updated_time</columnName>
+                <logicalName>Updated Time</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                <size>10</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>updated_by</columnName>
+                <logicalName>Updated By</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>deleted_time</columnName>
+                <logicalName>Deleted Time</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                <size>10</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>deleted_by</columnName>
+                <logicalName>Deleted By</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>versionNo</columnName>
+                <logicalName>Version No.</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[18]/columnType"/>
+                <size>10</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+            </columns>
+            <indices/>
+            <constraint>
+              <x>40</x>
+              <y>852</y>
+              <width>-1</width>
+              <height>-1</height>
+            </constraint>
+            <sourceConnections/>
+            <targetConnections>
+              <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
+              <net.java.amateras.db.visual.model.ForeignKeyModel>
+                <foreignKeyName>FK_from_mapping_to_group</foreignKeyName>
+                <references>
+                  <entry>
+                    <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel"/>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>group_id</columnName>
+                      <logicalName>Group ID</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType">
+                        <name>VARCHAR</name>
+                        <logicalName>String</logicalName>
+                        <supportSize>true</supportSize>
+                        <type>12</type>
+                      </columnType>
+                      <size>255</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                  </entry>
+                </references>
+                <source class="net.java.amateras.db.visual.model.TableModel">
+                  <error></error>
+                  <linkedPath></linkedPath>
+                  <tableName>group_mapping</tableName>
+                  <logicalName>Group Mapping</logicalName>
+                  <description></description>
+                  <columns>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>id</columnName>
+                      <logicalName>ID</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType">
+                        <name>INTEGER</name>
+                        <logicalName>Integer</logicalName>
+                        <supportSize>false</supportSize>
+                        <type>4</type>
+                      </columnType>
+                      <size>10</size>
+                      <notNull>true</notNull>
+                      <primaryKey>true</primaryKey>
+                      <description></description>
+                      <autoIncrement>true</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>user_id</columnName>
+                      <logicalName>User ID</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel reference="../../../references/entry/net.java.amateras.db.visual.model.ColumnModel[2]"/>
+                  </columns>
+                  <indices/>
+                  <constraint>
+                    <x>44</x>
+                    <y>40</y>
+                    <width>-1</width>
+                    <height>-1</height>
+                  </constraint>
+                  <sourceConnections>
+                    <net.java.amateras.db.visual.model.ForeignKeyModel>
+                      <foreignKeyName>FK_from_mapping_to_user</foreignKeyName>
+                      <references>
+                        <entry>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel"/>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]"/>
+                        </entry>
+                      </references>
+                      <source class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+                      <target class="net.java.amateras.db.visual.model.TableModel" reference="../../../../../../../../.."/>
+                      <listeners serialization="custom">
+                        <java.beans.PropertyChangeSupport>
+                          <default>
+                            <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                            <source class="net.java.amateras.db.visual.model.ForeignKeyModel" reference="../../../.."/>
+                          </default>
+                          <null/>
+                        </java.beans.PropertyChangeSupport>
+                      </listeners>
+                    </net.java.amateras.db.visual.model.ForeignKeyModel>
+                    <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
+                  </sourceConnections>
+                  <targetConnections/>
+                  <listeners serialization="custom">
+                    <java.beans.PropertyChangeSupport>
+                      <default>
+                        <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                        <source class="net.java.amateras.db.visual.model.TableModel" reference="../../../.."/>
+                      </default>
+                      <null/>
+                    </java.beans.PropertyChangeSupport>
+                  </listeners>
+                </source>
+                <target class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+                <listeners serialization="custom">
+                  <java.beans.PropertyChangeSupport>
+                    <default>
+                      <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                      <source class="net.java.amateras.db.visual.model.ForeignKeyModel" reference="../../../.."/>
+                    </default>
+                    <null/>
+                  </java.beans.PropertyChangeSupport>
+                </listeners>
+              </net.java.amateras.db.visual.model.ForeignKeyModel>
+            </targetConnections>
+            <listeners serialization="custom">
+              <java.beans.PropertyChangeSupport>
+                <default>
+                  <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                  <source class="net.java.amateras.db.visual.model.TableModel" reference="../../../.."/>
+                </default>
+                <null/>
+              </java.beans.PropertyChangeSupport>
+            </listeners>
+          </target>
+          <listeners serialization="custom">
+            <java.beans.PropertyChangeSupport>
+              <default>
+                <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                <source class="net.java.amateras.db.visual.model.ForeignKeyModel" reference="../../../.."/>
+              </default>
+              <null/>
+            </java.beans.PropertyChangeSupport>
+          </listeners>
+        </net.java.amateras.db.visual.model.ForeignKeyModel>
+        <net.java.amateras.db.visual.model.ForeignKeyModel>
+          <foreignKeyName>FK_from_user_to_role</foreignKeyName>
+          <references>
+            <entry>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>role_id</columnName>
+                <logicalName>Role ID</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>255</size>
+                <notNull>true</notNull>
+                <primaryKey>true</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[10]"/>
+            </entry>
+          </references>
+          <source class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+          <target class="net.java.amateras.db.visual.model.TableModel">
+            <error></error>
+            <linkedPath></linkedPath>
+            <tableName>role_info</tableName>
+            <logicalName>Role Information</logicalName>
+            <description></description>
+            <columns>
+              <net.java.amateras.db.visual.model.ColumnModel reference="../../../references/entry/net.java.amateras.db.visual.model.ColumnModel"/>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>name</columnName>
+                <logicalName>Name</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>100</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>description</columnName>
+                <logicalName>Description</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>email</columnName>
+                <logicalName>Email</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>url</columnName>
+                <logicalName>URL</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>telephone</columnName>
+                <logicalName>Telephone</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                <size>40</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>created_time</columnName>
+                <logicalName>Created Time</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                <size>10</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>created_by</columnName>
+                <logicalName>Created By</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>updated_time</columnName>
+                <logicalName>Updated Time</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                <size>10</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>updated_by</columnName>
+                <logicalName>Updated By</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>deleted_time</columnName>
+                <logicalName>Deleted Time</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                <size>10</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>deleted_by</columnName>
+                <logicalName>Deleted By</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                <size>255</size>
+                <notNull>false</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+              <net.java.amateras.db.visual.model.ColumnModel>
+                <columnName>versionNo</columnName>
+                <logicalName>Version No.</logicalName>
+                <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[18]/columnType"/>
+                <size>10</size>
+                <notNull>true</notNull>
+                <primaryKey>false</primaryKey>
+                <description></description>
+                <autoIncrement>false</autoIncrement>
+                <defaultValue></defaultValue>
+              </net.java.amateras.db.visual.model.ColumnModel>
+            </columns>
+            <indices/>
+            <constraint>
+              <x>364</x>
+              <y>852</y>
+              <width>-1</width>
+              <height>-1</height>
+            </constraint>
+            <sourceConnections/>
+            <targetConnections>
+              <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
+              <net.java.amateras.db.visual.model.ForeignKeyModel>
+                <foreignKeyName>FK_from_mapping_to_role</foreignKeyName>
+                <references>
+                  <entry>
+                    <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel"/>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>role_id</columnName>
+                      <logicalName>Role ID</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../../../net.java.amateras.db.visual.model.ForeignKeyModel/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/references/entry/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                  </entry>
+                </references>
+                <source class="net.java.amateras.db.visual.model.TableModel">
+                  <error></error>
+                  <linkedPath></linkedPath>
+                  <tableName>role_mapping</tableName>
+                  <logicalName>Role Mapping</logicalName>
+                  <description></description>
+                  <columns>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>id</columnName>
+                      <logicalName>ID</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType">
+                        <name>INT</name>
+                        <logicalName>Integer</logicalName>
+                        <supportSize>false</supportSize>
+                        <type>4</type>
+                      </columnType>
+                      <size>10</size>
+                      <notNull>true</notNull>
+                      <primaryKey>true</primaryKey>
+                      <description></description>
+                      <autoIncrement>true</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>user_id</columnName>
+                      <logicalName>User ID</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../../../net.java.amateras.db.visual.model.ForeignKeyModel/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/references/entry/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel reference="../../../references/entry/net.java.amateras.db.visual.model.ColumnModel[2]"/>
+                  </columns>
+                  <indices/>
+                  <constraint>
+                    <x>372</x>
+                    <y>40</y>
+                    <width>-1</width>
+                    <height>-1</height>
+                  </constraint>
+                  <sourceConnections>
+                    <net.java.amateras.db.visual.model.ForeignKeyModel>
+                      <foreignKeyName>FK_from_mapping_to_user</foreignKeyName>
+                      <references>
+                        <entry>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel"/>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]"/>
+                        </entry>
+                      </references>
+                      <source class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+                      <target class="net.java.amateras.db.visual.model.TableModel" reference="../../../../../../../../.."/>
+                      <listeners serialization="custom">
+                        <java.beans.PropertyChangeSupport>
+                          <default>
+                            <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                            <source class="net.java.amateras.db.visual.model.ForeignKeyModel" reference="../../../.."/>
+                          </default>
+                          <null/>
+                        </java.beans.PropertyChangeSupport>
+                      </listeners>
+                    </net.java.amateras.db.visual.model.ForeignKeyModel>
+                    <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
+                  </sourceConnections>
+                  <targetConnections/>
+                  <listeners serialization="custom">
+                    <java.beans.PropertyChangeSupport>
+                      <default>
+                        <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                        <source class="net.java.amateras.db.visual.model.TableModel" reference="../../../.."/>
+                      </default>
+                      <null/>
+                    </java.beans.PropertyChangeSupport>
+                  </listeners>
+                </source>
+                <target class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+                <listeners serialization="custom">
+                  <java.beans.PropertyChangeSupport>
+                    <default>
+                      <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                      <source class="net.java.amateras.db.visual.model.ForeignKeyModel" reference="../../../.."/>
+                    </default>
+                    <null/>
+                  </java.beans.PropertyChangeSupport>
+                </listeners>
+              </net.java.amateras.db.visual.model.ForeignKeyModel>
+            </targetConnections>
+            <listeners serialization="custom">
+              <java.beans.PropertyChangeSupport>
+                <default>
+                  <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                  <source class="net.java.amateras.db.visual.model.TableModel" reference="../../../.."/>
+                </default>
+                <null/>
+              </java.beans.PropertyChangeSupport>
+            </listeners>
+          </target>
+          <listeners serialization="custom">
+            <java.beans.PropertyChangeSupport>
+              <default>
+                <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+                <source class="net.java.amateras.db.visual.model.ForeignKeyModel" reference="../../../.."/>
+              </default>
+              <null/>
+            </java.beans.PropertyChangeSupport>
+          </listeners>
+        </net.java.amateras.db.visual.model.ForeignKeyModel>
+      </sourceConnections>
+      <targetConnections>
+        <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel"/>
+        <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel"/>
+      </targetConnections>
+      <listeners serialization="custom">
+        <java.beans.PropertyChangeSupport>
+          <default>
+            <propertyChangeSupportSerializedDataVersion>2</propertyChangeSupportSerializedDataVersion>
+            <source class="net.java.amateras.db.visual.model.TableModel" reference="../../../.."/>
+          </default>
+          <null/>
+        </java.beans.PropertyChangeSupport>
+      </listeners>
+    </net.java.amateras.db.visual.model.TableModel>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/target"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source"/>
+    <net.java.amateras.db.visual.model.TableModel>
+      <error></error>
+      <linkedPath></linkedPath>
+      <tableName>bookmark_category</tableName>
+      <logicalName>Bookmark Category</logicalName>
+      <description></description>
+      <columns>
+        <net.java.amateras.db.visual.model.ColumnModel>
           <columnName>id</columnName>
           <logicalName>ID</logicalName>
           <columnType class="net.java.amateras.db.dialect.ColumnType">
@@ -57,6 +914,22 @@
           <defaultValue></defaultValue>
         </net.java.amateras.db.visual.model.ColumnModel>
         <net.java.amateras.db.visual.model.ColumnModel>
+          <columnName>type</columnName>
+          <logicalName>Type</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>VARCHAR</name>
+            <logicalName>String</logicalName>
+            <supportSize>true</supportSize>
+            <type>12</type>
+          </columnType>
+          <size>1</size>
+          <notNull>true</notNull>
+          <primaryKey>false</primaryKey>
+          <description></description>
+          <autoIncrement>false</autoIncrement>
+          <defaultValue>&apos;P&apos;</defaultValue>
+        </net.java.amateras.db.visual.model.ColumnModel>
+        <net.java.amateras.db.visual.model.ColumnModel>
           <columnName>sort_order</columnName>
           <logicalName>Sort Order</logicalName>
           <columnType class="net.java.amateras.db.dialect.ColumnType">
@@ -107,7 +980,7 @@
         <net.java.amateras.db.visual.model.ColumnModel>
           <columnName>updated_time</columnName>
           <logicalName>Updated Time</logicalName>
-          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[5]/columnType"/>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[6]/columnType"/>
           <size>10</size>
           <notNull>true</notNull>
           <primaryKey>false</primaryKey>
@@ -118,7 +991,7 @@
         <net.java.amateras.db.visual.model.ColumnModel>
           <columnName>updated_by</columnName>
           <logicalName>Updated by</logicalName>
-          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[6]/columnType"/>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[7]/columnType"/>
           <size>255</size>
           <notNull>true</notNull>
           <primaryKey>false</primaryKey>
@@ -129,7 +1002,7 @@
         <net.java.amateras.db.visual.model.ColumnModel>
           <columnName>deleted_time</columnName>
           <logicalName>Deleted Time</logicalName>
-          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[5]/columnType"/>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[6]/columnType"/>
           <size>10</size>
           <notNull>false</notNull>
           <primaryKey>false</primaryKey>
@@ -140,7 +1013,7 @@
         <net.java.amateras.db.visual.model.ColumnModel>
           <columnName>deleted_by</columnName>
           <logicalName>Deleted by</logicalName>
-          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[6]/columnType"/>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[7]/columnType"/>
           <size>255</size>
           <notNull>false</notNull>
           <primaryKey>false</primaryKey>
@@ -177,7 +1050,7 @@
         </net.java.amateras.db.visual.model.IndexModel>
       </indices>
       <constraint>
-        <x>46</x>
+        <x>624</x>
         <y>408</y>
         <width>-1</width>
         <height>-1</height>
@@ -210,8 +1083,8 @@
           <source class="net.java.amateras.db.visual.model.TableModel">
             <error></error>
             <linkedPath></linkedPath>
-            <tableName>link</tableName>
-            <logicalName>Link</logicalName>
+            <tableName>bookmark_link</tableName>
+            <logicalName>Bookmark Link</logicalName>
             <description></description>
             <columns>
               <net.java.amateras.db.visual.model.ColumnModel>
@@ -385,7 +1258,7 @@
               </net.java.amateras.db.visual.model.IndexModel>
             </indices>
             <constraint>
-              <x>40</x>
+              <x>624</x>
               <y>40</y>
               <width>-1</width>
               <height>-1</height>
@@ -426,14 +1299,14 @@
         </java.beans.PropertyChangeSupport>
       </listeners>
     </net.java.amateras.db.visual.model.TableModel>
-    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel/source"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel[6]/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel/source"/>
   </children>
   <dommains/>
   <dialectName>hsqldb</dialectName>
   <logicalMode>false</logicalMode>
   <jarFile>/home/taro/.m2/repository/com/h2database/h2/1.0.79/h2-1.0.79.jar</jarFile>
   <jdbcDriver>org.h2.Driver</jdbcDriver>
-  <jdbcUrl>jdbc:h2:tcp://localhost:9092/bookmark</jdbcUrl>
+  <jdbcUrl>jdbc:h2:tcp://localhost:9092/userinfo</jdbcUrl>
   <jdbcUser>sa</jdbcUser>
   <jdbcPassword></jdbcPassword>
   <jdbcSchema></jdbcSchema>

Modified: bookmark/trunk/src/main/config/sql/bookmark.ddl
===================================================================
--- bookmark/trunk/src/main/config/sql/bookmark.ddl	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/config/sql/bookmark.ddl	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,13 +1,105 @@
-DROP TABLE link;
-DROP TABLE category;
+DROP TABLE bookmark_link;
+DROP TABLE bookmark_category;
+DROP TABLE role_mapping;
+DROP TABLE group_mapping;
+DROP TABLE user_info;
+DROP TABLE role_info;
+DROP TABLE group_info;
 
 /**********************************
-Table Name: Category
+Table Name: Group Information
 **********************************/
-CREATE TABLE category(
+CREATE TABLE group_info(
+  group_id VARCHAR(255) NOT NULL PRIMARY KEY,
+  name VARCHAR(100),
+  description VARCHAR(255),
+  email VARCHAR(255),
+  url VARCHAR(255),
+  telephone VARCHAR(40),
+  created_time TIMESTAMP NOT NULL,
+  created_by VARCHAR(255) NOT NULL,
+  updated_time TIMESTAMP NOT NULL,
+  updated_by VARCHAR(255) NOT NULL,
+  deleted_time TIMESTAMP,
+  deleted_by VARCHAR(255),
+  versionNo INTEGER NOT NULL
+);
+
+/**********************************
+Table Name: Role Information
+**********************************/
+CREATE TABLE role_info(
+  role_id VARCHAR(255) NOT NULL PRIMARY KEY,
+  name VARCHAR(100),
+  description VARCHAR(255),
+  email VARCHAR(255),
+  url VARCHAR(255),
+  telephone VARCHAR(40),
+  created_time TIMESTAMP NOT NULL,
+  created_by VARCHAR(255) NOT NULL,
+  updated_time TIMESTAMP NOT NULL,
+  updated_by VARCHAR(255) NOT NULL,
+  deleted_time TIMESTAMP,
+  deleted_by VARCHAR(255),
+  versionNo INTEGER NOT NULL
+);
+
+/**********************************
+Table Name: User Information
+**********************************/
+CREATE TABLE user_info(
+  user_id VARCHAR(255) NOT NULL PRIMARY KEY,
+  given_name VARCHAR(100),
+  family_name VARCHAR(100),
+  middle_name VARCHAR(50),
+  given_name_desc VARCHAR(100),
+  family_name_desc VARCHAR(100),
+  email VARCHAR(255),
+  url VARCHAR(255),
+  telephone VARCHAR(40),
+  role_id VARCHAR(255),
+  group_id VARCHAR(255),
+  created_time TIMESTAMP NOT NULL,
+  created_by VARCHAR(255) NOT NULL,
+  updated_time TIMESTAMP NOT NULL,
+  updated_by VARCHAR(255) NOT NULL,
+  deleted_time TIMESTAMP,
+  deleted_by VARCHAR(255),
+  versionNo INTEGER NOT NULL,
+  FOREIGN KEY (group_id) REFERENCES group_info (group_id),
+  FOREIGN KEY (role_id) REFERENCES role_info (role_id)
+);
+
+/**********************************
+Table Name: Group Mapping
+**********************************/
+CREATE TABLE group_mapping(
   id INTEGER NOT NULL IDENTITY PRIMARY KEY,
+  user_id VARCHAR(255) NOT NULL,
+  group_id VARCHAR(255) NOT NULL,
+  FOREIGN KEY (user_id) REFERENCES user_info (user_id),
+  FOREIGN KEY (group_id) REFERENCES group_info (group_id)
+);
+
+/**********************************
+Table Name: Role Mapping
+**********************************/
+CREATE TABLE role_mapping(
+  id INT NOT NULL IDENTITY PRIMARY KEY,
+  user_id VARCHAR(255) NOT NULL,
+  role_id VARCHAR(255) NOT NULL,
+  FOREIGN KEY (user_id) REFERENCES user_info (user_id),
+  FOREIGN KEY (role_id) REFERENCES role_info (role_id)
+);
+
+/**********************************
+Table Name: Bookmark Category
+**********************************/
+CREATE TABLE bookmark_category(
+  id INTEGER NOT NULL IDENTITY PRIMARY KEY,
   name VARCHAR(100) NOT NULL,
   memo VARCHAR(200),
+  type VARCHAR(1) DEFAULT 'P' NOT NULL,
   sort_order INTEGER DEFAULT 0 NOT NULL,
   created_time TIMESTAMP NOT NULL,
   created_by VARCHAR(255) NOT NULL,
@@ -19,9 +111,9 @@
 );
 
 /**********************************
-Table Name: Link
+Table Name: Bookmark Link
 **********************************/
-CREATE TABLE link(
+CREATE TABLE bookmark_link(
   id BIGINT(20) NOT NULL IDENTITY PRIMARY KEY,
   name VARCHAR(100) NOT NULL,
   memo VARCHAR(200),
@@ -36,11 +128,11 @@
   deleted_time TIMESTAMP,
   deleted_by VARCHAR(255),
   versionNo INTEGER DEFAULT 0 NOT NULL,
-  FOREIGN KEY (category_id) REFERENCES category (id)
+  FOREIGN KEY (category_id) REFERENCES bookmark_category (id)
 );
 
 
-CREATE INDEX IDX_created_by_for_category ON category (created_by);
+CREATE INDEX IDX_created_by_for_category ON bookmark_category (created_by);
 
-CREATE INDEX IDX_created_by_and_category_id_for_link ON link (created_by, category_id);
+CREATE INDEX IDX_created_by_and_category_id_for_link ON bookmark_link (created_by, category_id);
 

Modified: bookmark/trunk/src/main/config/sql/bookmark.dml
===================================================================
--- bookmark/trunk/src/main/config/sql/bookmark.dml	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/config/sql/bookmark.dml	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,2 +1,2 @@
-insert into CATEGORY (ID, NAME, CREATED_TIME, CREATED_BY, SORT_ORDER, UPDATED_TIME, UPDATED_BY, VERSIONNO, MEMO) values (1, '(Unclassified)', '2008-10-15 17:17:37', 'admin', 1, '2008-10-15 17:17:37', 'admin', 0, '');
-insert into CATEGORY (ID, NAME, CREATED_TIME, CREATED_BY, SORT_ORDER, UPDATED_TIME, UPDATED_BY, VERSIONNO, MEMO) values (2, '(Shared)', '2008-10-15 17:17:37', 'admin', 1, '2008-10-15 17:17:37', 'admin', 0, '');
+insert into BOOKMARK_CATEGORY (ID, NAME, CREATED_TIME, CREATED_BY, SORT_ORDER, UPDATED_TIME, UPDATED_BY, VERSIONNO, MEMO, TYPE) values (1, '(Unclassified)', '2008-10-15 17:17:37', 'admin', 1, '2008-10-15 17:17:37', 'admin', 0, '', 'P');
+insert into BOOKMARK_CATEGORY (ID, NAME, CREATED_TIME, CREATED_BY, SORT_ORDER, UPDATED_TIME, UPDATED_BY, VERSIONNO, MEMO, TYPE) values (2, '(Shared)', '2008-10-15 17:17:37', 'admin', 1, '2008-10-15 17:17:37', 'admin', 0, '', 'P');

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/BookmarkConstants.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/BookmarkConstants.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/BookmarkConstants.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -22,4 +22,8 @@
 
     public static final int SHARED_CATEGORY_ID = 2;
 
+    public static final String PUBLIC_CATEGORY = "P";
+
+    public static final String PERSONAL_CATEGORY = "C";
+
 }

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/CommonException.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/CommonException.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/CommonException.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,103 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
- * or agreed to in writing, software distributed under the License is
- * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the specific language
- * governing permissions and limitations under the License.
- */
-package jp.sf.pal.bookmark;
-
-/**
- * @author shinsuke
- */
-public class CommonException extends Exception {
-
-    /**
-     * Serial Version UID
-     */
-    private static final long serialVersionUID = 4564000116499132363L;
-
-    private String messageId;
-
-    private Object[] args;
-
-    /**
-     * @return Returns the messageId.
-     */
-    public String getMessageId() {
-        return messageId;
-    }
-
-    /**
-     * @param messageId The messageId to set.
-     */
-    public void setMessageId(String messageId) {
-        this.messageId = messageId;
-    }
-
-    /**
-     * @return Returns the args.
-     */
-    public Object[] getArgs() {
-        return args;
-    }
-
-    /**
-     * @param args The args to set.
-     */
-    public void setArgs(Object[] args) {
-        this.args = args;
-    }
-
-    public CommonException(String messageId) {
-        super(messageId);
-        this.messageId = messageId;
-    }
-
-    public CommonException(String messageId, Object[] args) {
-        super(messageId);
-        this.messageId = messageId;
-        this.args = args;
-    }
-
-    public CommonException(String messageId, String message, Throwable cause) {
-        super(message, cause);
-        this.messageId = messageId;
-    }
-
-    public CommonException(String messageId, Object[] args, String message,
-            Throwable cause) {
-        super(message, cause);
-        this.messageId = messageId;
-        this.args = args;
-    }
-
-    public CommonException(String messageId, String message) {
-        super(message);
-        this.messageId = messageId;
-    }
-
-    public CommonException(String messageId, Object[] args, String message) {
-        super(message);
-        this.messageId = messageId;
-        this.args = args;
-    }
-
-    public CommonException(String messageId, Throwable cause) {
-        super(cause);
-        this.messageId = messageId;
-    }
-
-    public CommonException(String messageId, Object[] args, Throwable cause) {
-        super(cause);
-        this.messageId = messageId;
-        this.args = args;
-    }
-
-}

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/CategoryAction.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/CategoryAction.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/CategoryAction.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -6,9 +6,9 @@
 import javax.servlet.http.HttpServletRequest;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.db.exentity.Category;
+import jp.sf.pal.bookmark.common.dxo.PagerDxo;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
 import jp.sf.pal.bookmark.dxo.CategoryDxo;
-import jp.sf.pal.bookmark.dxo.PagerDxo;
 import jp.sf.pal.bookmark.form.admin.CategoryForm;
 import jp.sf.pal.bookmark.pager.CategoryPager;
 import jp.sf.pal.bookmark.service.CategoryService;
@@ -28,7 +28,7 @@
 
     // for list
 
-    public List<Category> categoryItems;
+    public List<BookmarkCategory> categoryItems;
 
     // for edit/confirm/delete
 
@@ -140,7 +140,7 @@
         if (categoryForm.id == null) {
             throw new ActionMessagesException("errors.invalid.id");
         }
-        Category category = categoryService.getCategory(Integer
+        BookmarkCategory category = categoryService.getCategory(Integer
                 .parseInt(categoryForm.id));
         if (category == null) {
             throw new ActionMessagesException("errors.could_not_find_category",
@@ -164,7 +164,7 @@
         if (categoryForm.id == null) {
             throw new ActionMessagesException("errors.invalid.id");
         }
-        Category category = categoryService.getCategory(Integer
+        BookmarkCategory category = categoryService.getCategory(Integer
                 .parseInt(categoryForm.id));
         if (category == null) {
             throw new ActionMessagesException("errors.could_not_find_category",
@@ -186,7 +186,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String create() {
         try {
-            Category category = createCategory();
+            BookmarkCategory category = createCategory();
             categoryService.store(category);
             BookmarkUtil.addMessage(request, "success.create_category");
             // reset edit page
@@ -201,7 +201,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String update() {
         try {
-            Category category = createCategory();
+            BookmarkCategory category = createCategory();
             categoryService.store(category);
             BookmarkUtil.addMessage(request, "success.update_category");
             // reset edit page
@@ -231,7 +231,7 @@
     private void loadCategory() {
         Integer categoryId = Integer.parseInt(categoryForm.id);
 
-        Category category = categoryService.getCategory(categoryId);
+        BookmarkCategory category = categoryService.getCategory(categoryId);
         if (category == null) {
             // throw an exception
             throw new ActionMessagesException("errors.could_not_find_category",
@@ -241,14 +241,14 @@
 
     }
 
-    private Category createCategory() {
-        Category category;
+    private BookmarkCategory createCategory() {
+        BookmarkCategory category;
         if (categoryForm.mode == BookmarkConstants.EDIT_MODE) {
             Integer categoryId = Integer.parseInt(categoryForm.id);
             category = categoryService.getCategory(categoryId);
             category.setUpdatedBy(request.getRemoteUser());
         } else {
-            category = new Category();
+            category = new BookmarkCategory();
             String remoteUser = request.getRemoteUser();
             category.setUpdatedBy(remoteUser);
             category.setCreatedBy(remoteUser);

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/LinkAction.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/LinkAction.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/admin/LinkAction.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -6,9 +6,9 @@
 import javax.servlet.http.HttpServletRequest;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.db.exentity.Link;
+import jp.sf.pal.bookmark.common.dxo.PagerDxo;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
 import jp.sf.pal.bookmark.dxo.LinkDxo;
-import jp.sf.pal.bookmark.dxo.PagerDxo;
 import jp.sf.pal.bookmark.form.admin.LinkForm;
 import jp.sf.pal.bookmark.pager.LinkPager;
 import jp.sf.pal.bookmark.service.CategoryService;
@@ -29,7 +29,7 @@
 
     // for list
 
-    public List<Link> linkItems;
+    public List<BookmarkLink> linkItems;
 
     // for edit/confirm/delete
 
@@ -151,7 +151,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String create() {
         try {
-            Link link = createLink();
+            BookmarkLink link = createLink();
             linkService.store(link);
             BookmarkUtil.addMessage(request, "success.create_link");
 
@@ -168,7 +168,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String update() {
         try {
-            Link link = createLink();
+            BookmarkLink link = createLink();
             linkService.store(link);
             BookmarkUtil.addMessage(request, "success.update_link");
 
@@ -202,7 +202,7 @@
     private void loadLink() {
         Long linkId = Long.parseLong(linkForm.id);
 
-        Link link = linkService.getLink(linkId);
+        BookmarkLink link = linkService.getLink(linkId);
         if (link == null) {
             // throw an exception
             throw new ActionMessagesException("errors.could_not_find_link",
@@ -212,14 +212,14 @@
 
     }
 
-    private Link createLink() {
-        Link link;
+    private BookmarkLink createLink() {
+        BookmarkLink link;
         if (linkForm.mode == BookmarkConstants.EDIT_MODE) {
             Long linkId = Long.parseLong(linkForm.id);
             link = linkService.getLink(linkId);
             link.setUpdatedBy(request.getRemoteUser());
         } else {
-            link = new Link();
+            link = new BookmarkLink();
             String remoteUser = request.getRemoteUser();
             link.setUpdatedBy(remoteUser);
             link.setCreatedBy(remoteUser);

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/category/EditAction.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/category/EditAction.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/category/EditAction.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -6,9 +6,9 @@
 import javax.servlet.http.HttpServletRequest;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.db.exentity.Category;
+import jp.sf.pal.bookmark.common.dxo.PagerDxo;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
 import jp.sf.pal.bookmark.dxo.CategoryDxo;
-import jp.sf.pal.bookmark.dxo.PagerDxo;
 import jp.sf.pal.bookmark.form.category.EditForm;
 import jp.sf.pal.bookmark.pager.CategoryPager;
 import jp.sf.pal.bookmark.service.CategoryService;
@@ -28,7 +28,7 @@
 
     // for list
 
-    public List<Category> categoryItems;
+    public List<BookmarkCategory> categoryItems;
 
     // for edit/confirm/delete
 
@@ -139,7 +139,7 @@
         if (editForm.id == null) {
             throw new ActionMessagesException("errors.invalid.id");
         }
-        Category category = categoryService.getCategory(Integer
+        BookmarkCategory category = categoryService.getCategory(Integer
                 .parseInt(editForm.id));
         if (category == null) {
             throw new ActionMessagesException("errors.could_not_find_category",
@@ -163,7 +163,7 @@
         if (editForm.id == null) {
             throw new ActionMessagesException("errors.invalid.id");
         }
-        Category category = categoryService.getCategory(Integer
+        BookmarkCategory category = categoryService.getCategory(Integer
                 .parseInt(editForm.id));
         if (category == null) {
             throw new ActionMessagesException("errors.could_not_find_category",
@@ -185,7 +185,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String create() {
         try {
-            Category category = createCategory();
+            BookmarkCategory category = createCategory();
             categoryService.store(category);
             BookmarkUtil.addMessage(request, "success.create_category");
             // reset edit page
@@ -200,7 +200,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String update() {
         try {
-            Category category = createCategory();
+            BookmarkCategory category = createCategory();
             categoryService.store(category);
             BookmarkUtil.addMessage(request, "success.update_category");
             // reset edit page
@@ -230,7 +230,7 @@
     private void loadCategory() {
         Integer categoryId = Integer.parseInt(editForm.id);
 
-        Category category = categoryService.getCategory(categoryId);
+        BookmarkCategory category = categoryService.getCategory(categoryId);
         if (category == null) {
             // throw an exception
             throw new ActionMessagesException("errors.could_not_find_category",
@@ -240,14 +240,14 @@
 
     }
 
-    private Category createCategory() {
-        Category category;
+    private BookmarkCategory createCategory() {
+        BookmarkCategory category;
         if (editForm.mode == BookmarkConstants.EDIT_MODE) {
             Integer categoryId = Integer.parseInt(editForm.id);
             category = categoryService.getCategory(categoryId);
             category.setUpdatedBy(request.getRemoteUser());
         } else {
-            category = new Category();
+            category = new BookmarkCategory();
             String remoteUser = request.getRemoteUser();
             category.setUpdatedBy(remoteUser);
             category.setCreatedBy(remoteUser);

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/link/ViewAction.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/link/ViewAction.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/action/link/ViewAction.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -6,10 +6,10 @@
 import javax.servlet.http.HttpServletRequest;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.db.exentity.Category;
-import jp.sf.pal.bookmark.db.exentity.Link;
+import jp.sf.pal.bookmark.common.dxo.PagerDxo;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
 import jp.sf.pal.bookmark.dxo.LinkDxo;
-import jp.sf.pal.bookmark.dxo.PagerDxo;
 import jp.sf.pal.bookmark.form.link.ViewForm;
 import jp.sf.pal.bookmark.pager.LinkPager;
 import jp.sf.pal.bookmark.service.CategoryService;
@@ -28,11 +28,11 @@
 
     private static final Log log = LogFactory.getLog(ViewAction.class);
 
-    public List<Category> categoryItems;
+    public List<BookmarkCategory> categoryItems;
 
     // for list
 
-    public List<Link> linkItems;
+    public List<BookmarkLink> linkItems;
 
     // for edit/confirm/delete
 
@@ -176,7 +176,7 @@
         if (viewForm.id == null) {
             throw new ActionMessagesException("errors.invalid.id");
         }
-        Link link = linkService.getLink(Long.parseLong(viewForm.id));
+        BookmarkLink link = linkService.getLink(Long.parseLong(viewForm.id));
         if (link == null) {
             throw new ActionMessagesException("errors.could_not_find_link",
                     new Object[] { viewForm.id });
@@ -198,7 +198,7 @@
         if (viewForm.id == null) {
             throw new ActionMessagesException("errors.invalid.id");
         }
-        Link link = linkService.getLink(Long.parseLong(viewForm.id));
+        BookmarkLink link = linkService.getLink(Long.parseLong(viewForm.id));
         if (link == null) {
             throw new ActionMessagesException("errors.could_not_find_link",
                     new Object[] { viewForm.id });
@@ -218,7 +218,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String create() {
         try {
-            Link link = createLink();
+            BookmarkLink link = createLink();
             linkService.store(link);
             BookmarkUtil.addMessage(request, "success.create_link");
 
@@ -235,7 +235,7 @@
     @Execute(validator = true, input = "edit.jsp")
     public String update() {
         try {
-            Link link = createLink();
+            BookmarkLink link = createLink();
             linkService.store(link);
             BookmarkUtil.addMessage(request, "success.update_link");
 
@@ -269,7 +269,7 @@
     private void loadLink() {
         Long linkId = Long.parseLong(viewForm.id);
 
-        Link link = linkService.getLink(linkId);
+        BookmarkLink link = linkService.getLink(linkId);
         if (link == null) {
             // throw an exception
             throw new ActionMessagesException("errors.could_not_find_link",
@@ -279,14 +279,14 @@
 
     }
 
-    private Link createLink() {
-        Link link;
+    private BookmarkLink createLink() {
+        BookmarkLink link;
         if (viewForm.mode == BookmarkConstants.EDIT_MODE) {
             Long linkId = Long.parseLong(viewForm.id);
             link = linkService.getLink(linkId);
             link.setUpdatedBy(request.getRemoteUser());
         } else {
-            link = new Link();
+            link = new BookmarkLink();
             String remoteUser = request.getRemoteUser();
             link.setUpdatedBy(remoteUser);
             link.setCreatedBy(remoteUser);

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/CommonException.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/CommonException.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/CommonException.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,103 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
+ * or agreed to in writing, software distributed under the License is
+ * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the specific language
+ * governing permissions and limitations under the License.
+ */
+package jp.sf.pal.bookmark.common;
+
+/**
+ * @author shinsuke
+ */
+public class CommonException extends Exception {
+
+    /**
+     * Serial Version UID
+     */
+    private static final long serialVersionUID = 4564000116499132363L;
+
+    private String messageId;
+
+    private Object[] args;
+
+    /**
+     * @return Returns the messageId.
+     */
+    public String getMessageId() {
+        return messageId;
+    }
+
+    /**
+     * @param messageId The messageId to set.
+     */
+    public void setMessageId(String messageId) {
+        this.messageId = messageId;
+    }
+
+    /**
+     * @return Returns the args.
+     */
+    public Object[] getArgs() {
+        return args;
+    }
+
+    /**
+     * @param args The args to set.
+     */
+    public void setArgs(Object[] args) {
+        this.args = args;
+    }
+
+    public CommonException(String messageId) {
+        super(messageId);
+        this.messageId = messageId;
+    }
+
+    public CommonException(String messageId, Object[] args) {
+        super(messageId);
+        this.messageId = messageId;
+        this.args = args;
+    }
+
+    public CommonException(String messageId, String message, Throwable cause) {
+        super(message, cause);
+        this.messageId = messageId;
+    }
+
+    public CommonException(String messageId, Object[] args, String message,
+            Throwable cause) {
+        super(message, cause);
+        this.messageId = messageId;
+        this.args = args;
+    }
+
+    public CommonException(String messageId, String message) {
+        super(message);
+        this.messageId = messageId;
+    }
+
+    public CommonException(String messageId, Object[] args, String message) {
+        super(message);
+        this.messageId = messageId;
+        this.args = args;
+    }
+
+    public CommonException(String messageId, Throwable cause) {
+        super(cause);
+        this.messageId = messageId;
+    }
+
+    public CommonException(String messageId, Object[] args, Throwable cause) {
+        super(cause);
+        this.messageId = messageId;
+        this.args = args;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/CommonException.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/creator/PagerCreator.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/creator/PagerCreator.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/creator/PagerCreator.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,29 @@
+package jp.sf.pal.bookmark.common.creator;
+
+import org.seasar.framework.container.ComponentCustomizer;
+import org.seasar.framework.container.assembler.AutoBindingDefFactory;
+import org.seasar.framework.container.creator.ComponentCreatorImpl;
+import org.seasar.framework.container.deployer.InstanceDefFactory;
+import org.seasar.framework.convention.NamingConvention;
+
+/**
+ * @author shinsuke
+ */
+public class PagerCreator extends ComponentCreatorImpl {
+    public static final String SUFFIX = "Pager";
+
+    public PagerCreator(NamingConvention namingConvention) {
+        super(namingConvention);
+        setNameSuffix(SUFFIX);
+        setInstanceDef(InstanceDefFactory.SESSION);
+        setAutoBindingDef(AutoBindingDefFactory.NONE);
+    }
+
+    public ComponentCustomizer getPagerCustomizer() {
+        return getCustomizer();
+    }
+
+    public void setPagerCustomizer(ComponentCustomizer customizer) {
+        setCustomizer(customizer);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/creator/PagerCreator.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/dxo/PagerDxo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/dxo/PagerDxo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/dxo/PagerDxo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,24 @@
+package jp.sf.pal.bookmark.common.dxo;
+
+import java.io.Serializable;
+
+import jp.sf.pal.bookmark.common.form.PagingResultForm;
+import jp.sf.pal.bookmark.common.pager.DefaultPager;
+import jp.sf.pal.bookmark.common.util.PagingResultBeanWrapper;
+
+import org.seasar.extension.dxo.annotation.ConversionRule;
+import org.seasar.extension.dxo.annotation.ExcludeNull;
+
+public interface PagerDxo extends Serializable {
+
+    @ConversionRule("allRecordCount : allRecordCount" + ",pageSize : pageSize"
+            + ",currentPageNumber : currentPageNumber"
+            + ",allPageCount : allPageCount" + ",existPrePage : existPrePage"
+            + ",existNextPage : existNextPage")
+    public void convert(PagingResultBeanWrapper result, DefaultPager pager);
+
+    @ExcludeNull
+    @ConversionRule(// "pageSize : pageSize, " +
+    "currentPageNumber : pageNumber")
+    public void convert(PagingResultForm page, DefaultPager pager);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/dxo/PagerDxo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/form/PagingResultForm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/form/PagingResultForm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/form/PagingResultForm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,5 @@
+package jp.sf.pal.bookmark.common.form;
+
+public interface PagingResultForm {
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/form/PagingResultForm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/pager/DefaultPager.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/pager/DefaultPager.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/pager/DefaultPager.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,101 @@
+package jp.sf.pal.bookmark.common.pager;
+
+import java.io.Serializable;
+import java.util.List;
+
+public abstract class DefaultPager implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+    public static final int DEFAULT_PAGE_SIZE = 50;
+
+    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
+
+    private int allRecordCount;
+
+    private int allPageCount;
+
+    private boolean existPrePage;
+
+    private boolean existNextPage;
+
+    private List<Integer> pageNumberList;
+
+    private int pageSize;
+
+    private int currentPageNumber;
+
+    public void clear() {
+        pageSize = getDefaultPageSize();
+        currentPageNumber = getDefaultCurrentPageNumber();
+    }
+
+    protected int getDefaultPageSize() {
+        return DEFAULT_PAGE_SIZE;
+    }
+
+    protected int getDefaultCurrentPageNumber() {
+        return DEFAULT_CURRENT_PAGE_NUMBER;
+    }
+
+    public int getAllRecordCount() {
+        return allRecordCount;
+    }
+
+    public void setAllRecordCount(int allRecordCount) {
+        this.allRecordCount = allRecordCount;
+    }
+
+    public int getAllPageCount() {
+        return allPageCount;
+    }
+
+    public void setAllPageCount(int allPageCount) {
+        this.allPageCount = allPageCount;
+    }
+
+    public boolean isExistPrePage() {
+        return existPrePage;
+    }
+
+    public void setExistPrePage(boolean existPrePage) {
+        this.existPrePage = existPrePage;
+    }
+
+    public boolean isExistNextPage() {
+        return existNextPage;
+    }
+
+    public void setExistNextPage(boolean existNextPage) {
+        this.existNextPage = existNextPage;
+    }
+
+    public int getPageSize() {
+        if (pageSize <= 0) {
+            pageSize = getDefaultPageSize();
+        }
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+
+    public int getCurrentPageNumber() {
+        if (currentPageNumber <= 0) {
+            currentPageNumber = getDefaultCurrentPageNumber();
+        }
+        return currentPageNumber;
+    }
+
+    public void setCurrentPageNumber(int currentPageNumber) {
+        this.currentPageNumber = currentPageNumber;
+    }
+
+    public List<Integer> getPageNumberList() {
+        return pageNumberList;
+    }
+
+    public void setPageNumberList(List<Integer> pageNumberList) {
+        this.pageNumberList = pageNumberList;
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/pager/DefaultPager.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/util/PagingResultBeanWrapper.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/util/PagingResultBeanWrapper.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/util/PagingResultBeanWrapper.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,68 @@
+package jp.sf.pal.bookmark.common.util;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+
+public class PagingResultBeanWrapper {
+    private PagingResultBean<?> pagingResultBean;
+
+    public PagingResultBeanWrapper(PagingResultBean<?> pagingResultBean) {
+        this.pagingResultBean = pagingResultBean;
+    }
+
+    public PagingResultBean<?> getPagingResultBean() {
+        return pagingResultBean;
+    }
+
+    public void setPagingResultBean(PagingResultBean<?> pagingResultBean) {
+        this.pagingResultBean = pagingResultBean;
+    }
+
+    public int getAllRecordCount() {
+        return pagingResultBean.getAllRecordCount();
+    }
+
+    public void setAllRecordCount(int allRecordCount) {
+        pagingResultBean.setAllRecordCount(allRecordCount);
+    }
+
+    public int getPageSize() {
+        return pagingResultBean.getPageSize();
+    }
+
+    public void setPageSize(int pageSize) {
+        pagingResultBean.setPageSize(pageSize);
+    }
+
+    public int getCurrentPageNumber() {
+        return pagingResultBean.getCurrentPageNumber();
+    }
+
+    public void setCurrentPageNumber(int currentPageNumber) {
+        pagingResultBean.setCurrentPageNumber(currentPageNumber);
+    }
+
+    public int getAllPageCount() {
+        return pagingResultBean.getAllPageCount();
+    }
+
+    public void setAllPageCount(int allPageCount) {
+        // nothing
+    }
+
+    public boolean isExistPrePage() {
+        return pagingResultBean.isExistPrePage();
+    }
+
+    public void setExistPrePage(boolean existPrePage) {
+        // nothing
+    }
+
+    public boolean isExistNextPage() {
+        return pagingResultBean.isExistNextPage();
+    }
+
+    public void setExistNextPage(boolean existNextPage) {
+        // nothing
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/common/util/PagingResultBeanWrapper.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/creator/PagerCreator.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/creator/PagerCreator.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/creator/PagerCreator.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,29 +0,0 @@
-package jp.sf.pal.bookmark.creator;
-
-import org.seasar.framework.container.ComponentCustomizer;
-import org.seasar.framework.container.assembler.AutoBindingDefFactory;
-import org.seasar.framework.container.creator.ComponentCreatorImpl;
-import org.seasar.framework.container.deployer.InstanceDefFactory;
-import org.seasar.framework.convention.NamingConvention;
-
-/**
- * @author shinsuke
- */
-public class PagerCreator extends ComponentCreatorImpl {
-    public static final String SUFFIX = "Pager";
-
-    public PagerCreator(NamingConvention namingConvention) {
-        super(namingConvention);
-        setNameSuffix(SUFFIX);
-        setInstanceDef(InstanceDefFactory.SESSION);
-        setAutoBindingDef(AutoBindingDefFactory.NONE);
-    }
-
-    public ComponentCustomizer getPagerCustomizer() {
-        return getCustomizer();
-    }
-
-    public void setPagerCustomizer(ComponentCustomizer customizer) {
-        setCustomizer(customizer);
-    }
-}

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/AccessContext.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/AccessContext.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/AccessContext.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -4,12 +4,7 @@
 import java.util.Map;
 
 /**
- * Access-Context.
- * <p>
- * This access-context on the thread should be initialized at the beginning of
- * access. The access is various. Web-Access, Batch-Access, JUnit-Access and so
- * on...
- * </p>
+ * The context of DB access.
  * 
  * @author DBFlute(AutoGenerator)
  */
@@ -20,28 +15,28 @@
     // Thread Local
     // ============
     /** The thread-local for this. */
-    private static final ThreadLocal<AccessContext> threadLocal = new ThreadLocal<AccessContext>();
+    private static final ThreadLocal<AccessContext> _threadLocal = new ThreadLocal<AccessContext>();
 
     /**
      * Get access-context on thread.
      * 
-     * @return Access-context. (Nullable)
+     * @return The context of DB access.. (Nullable)
      */
     public static AccessContext getAccessContextOnThread() {
-        return (AccessContext) threadLocal.get();
+        return (AccessContext) _threadLocal.get();
     }
 
     /**
      * Set access-context on thread.
      * 
-     * @param accessContext Access-context. (NotNull)
+     * @param accessContext The context of DB access.. (NotNull)
      */
     public static void setAccessContextOnThread(AccessContext accessContext) {
         if (accessContext == null) {
             String msg = "The argument[accessContext] must not be null.";
             throw new IllegalArgumentException(msg);
         }
-        threadLocal.set(accessContext);
+        _threadLocal.set(accessContext);
     }
 
     /**
@@ -50,14 +45,14 @@
      * @return Determination.
      */
     public static boolean isExistAccessContextOnThread() {
-        return (threadLocal.get() != null);
+        return (_threadLocal.get() != null);
     }
 
     /**
      * Clear access-context on thread.
      */
     public static void clearAccessContextOnThread() {
-        threadLocal.set(null);
+        _threadLocal.set(null);
     }
 
     //==========================================================================

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/CallbackContext.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/CallbackContext.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/CallbackContext.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,75 @@
+package jp.sf.pal.bookmark.db.allcommon;
+
+import jp.sf.pal.bookmark.db.allcommon.jdbc.SqlLogHandler;
+
+/**
+ * The context of callback.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class CallbackContext {
+
+    //==========================================================================
+    // =========
+    // Thread Local
+    // ============
+    /** The thread-local for this. */
+    private static final ThreadLocal<CallbackContext> _threadLocal = new ThreadLocal<CallbackContext>();
+
+    /**
+     * Get callback-context on thread.
+     * 
+     * @return The context of callback. (Nullable)
+     */
+    public static CallbackContext getCallbackContextOnThread() {
+        return (CallbackContext) _threadLocal.get();
+    }
+
+    /**
+     * Set callback-context on thread.
+     * 
+     * @param callbackContext The context of callback. (NotNull)
+     */
+    public static void setCallbackContextOnThread(
+            CallbackContext callbackContext) {
+        if (callbackContext == null) {
+            String msg = "The argument[callbackContext] must not be null.";
+            throw new IllegalArgumentException(msg);
+        }
+        _threadLocal.set(callbackContext);
+    }
+
+    /**
+     * Is existing callback-context on thread?
+     * 
+     * @return Determination.
+     */
+    public static boolean isExistCallbackContextOnThread() {
+        return (_threadLocal.get() != null);
+    }
+
+    /**
+     * Clear callback-context on thread.
+     */
+    public static void clearCallbackContextOnThread() {
+        _threadLocal.set(null);
+    }
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected SqlLogHandler _sqlLogHandler;
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+    public SqlLogHandler getSqlLogHandler() {
+        return _sqlLogHandler;
+    }
+
+    public void setSqlLogHandler(SqlLogHandler sqlLogHandler) {
+        this._sqlLogHandler = sqlLogHandler;
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/CallbackContext.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/DBFluteConfig.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/DBFluteConfig.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/DBFluteConfig.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -32,6 +32,8 @@
 
     protected boolean _executeStatusLogLevelInfo;
 
+    protected boolean _useSqlLogRegistry;
+
     protected UniqueConstraintDeterminator _uniqueConstraintDeterminator;
 
     protected boolean _sqlExceptionOldStyleHandling = false;// This is for
@@ -142,6 +144,23 @@
         _executeStatusLogLevelInfo = executeStatusLogLevelInfo;
     }
 
+    // [DBFlute-0.8.2]
+    //==========================================================================
+    // =========
+    // Sql Log Registry
+    // ================
+    public boolean isUseSqlLogRegistry() {
+        return _useSqlLogRegistry;
+    }
+
+    public void setUseSqlLogRegistry(boolean useSqlLogRegistry) {
+        assertNotLocked();
+        if (_log.isInfoEnabled()) {
+            _log.info("...Setting useSqlLogRegistry: " + useSqlLogRegistry);
+        }
+        _useSqlLogRegistry = useSqlLogRegistry;
+    }
+
     // [DBFlute-0.7.7]
     //==========================================================================
     // =========
@@ -282,11 +301,12 @@
     // =========
     // Config Clear
     // ============
-    public void clear() {
+    public void clear() { // the only properties that update OK while executing
         _defaultStatementConfig = null;
-        _conditionBeanFormatSql = true;
+        _conditionBeanFormatSql = true; // as default
         _queryLogLevelInfo = false;
         _executeStatusLogLevelInfo = false;
+        _useSqlLogRegistry = false;
         _logDateFormat = null;
         _logTimestampFormat = null;
         _internalDebug = false;

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/AbstractBehaviorReadable.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/AbstractBehaviorReadable.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/AbstractBehaviorReadable.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -32,6 +32,7 @@
 import jp.sf.pal.bookmark.db.allcommon.helper.token.file.FileMakingOption;
 import jp.sf.pal.bookmark.db.allcommon.helper.token.file.FileMakingSimpleFacade;
 import jp.sf.pal.bookmark.db.allcommon.helper.token.file.impl.FileMakingSimpleFacadeImpl;
+import jp.sf.pal.bookmark.db.allcommon.util.SimpleSystemUtil;
 
 /**
  * The abstract class of behavior-readable.
@@ -416,7 +417,7 @@
     }
 
     /**
-     * Help load referrer internally. About internal policy, the value of
+     * Do help load referrer internally. About internal policy, the value of
      * primary key(and others too) is treated as CaseInsensitive.
      * 
      * @param <LOCAL_ENTITY> The type of base entity.
@@ -445,14 +446,15 @@
         // - - - - - - - - - - - - - -
         // Prepare temporary container
         // - - - - - - - - - - - - - -
-        final Map<PK, LOCAL_ENTITY> pkBaseEntityMap = new LinkedHashMap<PK, LOCAL_ENTITY>();
-        final List<PK> pkList = new java.util.ArrayList<PK>();
+        final Map<PK, LOCAL_ENTITY> pkLocalEntityMap = new LinkedHashMap<PK, LOCAL_ENTITY>();
+        final List<PK> pkList = new ArrayList<PK>();
         for (LOCAL_ENTITY localEntity : localEntityList) {
             final PK primaryKeyValue = callback
                     .callbackBase_getPrimaryKeyValue(localEntity);
             pkList.add(callback.callbackBase_getPrimaryKeyValue(localEntity));
-            pkBaseEntityMap.put(toLowerCasePrimaryKeyIfString(primaryKeyValue),
-                    localEntity);
+            pkLocalEntityMap
+                    .put(toLowerCasePrimaryKeyIfString(primaryKeyValue),
+                            localEntity);
         }
 
         // - - - - - - - - - - - - - - - -
@@ -484,7 +486,7 @@
         // - - - - - - - - - - - - - - - - - - - - - - - -
         // Create the map of {primary key / referrer list}
         // - - - - - - - - - - - - - - - - - - - - - - - -
-        final Map<PK, List<REFERRER_ENTITY>> pkReffererListMap = new LinkedHashMap<PK, List<REFERRER_ENTITY>>();
+        final Map<PK, List<REFERRER_ENTITY>> pkReferrerListMap = new LinkedHashMap<PK, List<REFERRER_ENTITY>>();
         for (REFERRER_ENTITY referrerEntity : referrerList) {
             final PK referrerListKey;
             {
@@ -492,14 +494,14 @@
                         .callbackReferrer_getForeignKeyValue(referrerEntity);
                 referrerListKey = toLowerCasePrimaryKeyIfString(foreignKeyValue);
             }
-            if (!pkReffererListMap.containsKey(referrerListKey)) {
-                pkReffererListMap.put(referrerListKey,
-                        new java.util.ArrayList<REFERRER_ENTITY>());
+            if (!pkReferrerListMap.containsKey(referrerListKey)) {
+                pkReferrerListMap.put(referrerListKey,
+                        new ArrayList<REFERRER_ENTITY>());
             }
-            (pkReffererListMap.get(referrerListKey)).add(referrerEntity);
+            (pkReferrerListMap.get(referrerListKey)).add(referrerEntity);
 
             // for Reverse Reference.
-            final LOCAL_ENTITY localEntity = pkBaseEntityMap
+            final LOCAL_ENTITY localEntity = pkLocalEntityMap
                     .get(referrerListKey);
             callback.callbackReferrer_setForeignEntity(referrerEntity,
                     localEntity);
@@ -515,12 +517,12 @@
                         .callbackBase_getPrimaryKeyValue(localEntity);
                 referrerListKey = toLowerCasePrimaryKeyIfString(primaryKey);
             }
-            if (pkReffererListMap.containsKey(referrerListKey)) {
+            if (pkReferrerListMap.containsKey(referrerListKey)) {
                 callback.callbackBase_setReferrerList(localEntity,
-                        pkReffererListMap.get(referrerListKey));
+                        pkReferrerListMap.get(referrerListKey));
             } else {
                 callback.callbackBase_setReferrerList(localEntity,
-                        new java.util.ArrayList<REFERRER_ENTITY>());
+                        new ArrayList<REFERRER_ENTITY>());
             }
         }
     }
@@ -539,17 +541,6 @@
     /**
      * @param <LOCAL_ENTITY> The type of base entity.
      * @param <PK> The type of primary key.
-     * @param <REFERRER_CB> The type of referrer condition-bean.
-     * @param <REFERRER_ENTITY> The type of referrer entity.
-     */
-    protected static interface InternalLoadRefererCallback<LOCAL_ENTITY extends Entity, PK, REFERRER_CB extends ConditionBean, REFERRER_ENTITY extends Entity>
-            extends
-            InternalLoadReferrerCallback<LOCAL_ENTITY, PK, REFERRER_CB, REFERRER_ENTITY> {
-    }
-
-    /**
-     * @param <LOCAL_ENTITY> The type of base entity.
-     * @param <PK> The type of primary key.
      * @param <REFERRER_CB> The type of referrer conditionBean.
      * @param <REFERRER_ENTITY> The type of referrer entity.
      */
@@ -576,6 +567,12 @@
                 REFERRER_ENTITY referrerEntity, LOCAL_ENTITY localEntity);
     }
 
+    protected BehaviorSelector xgetBSFLR() { // getBehaviorSelectorForLoadReferrer
+        // () as Internal
+        assertBehaviorSelectorNotNull("loadReferrer");
+        return getBehaviorSelector();
+    }
+
     private void assertBehaviorSelectorNotNull(String methodName) {
         if (_behaviorSelector == null) {
             String msg = "Look! Read the message below." + getLineSeparator();
@@ -693,10 +690,7 @@
      * @return All count.
      */
     protected int callGetCountAll() {
-        final java.lang.reflect.Method mtd = getMethod(getDaoReadable()
-                .getClass(), "getCountAll", new Class[] {});
-        final Object result = invoke(mtd, getDaoReadable(), new Object[] {});
-        return ((Integer) result).intValue();
+        return readCount(newConditionBean());
     }
 
     /**
@@ -705,10 +699,7 @@
      * @return All list. (NotNull)
      */
     protected List<Entity> callGetListAll() {
-        final java.lang.reflect.Method mtd = getMethod(getDaoReadable()
-                .getClass(), "getListAll", new Class[] {});
-        final Object result = invoke(mtd, getDaoReadable(), new Object[] {});
-        return (List<Entity>) result;
+        return readList(newConditionBean());
     }
 
     /**
@@ -738,14 +729,13 @@
     protected List<Entity> callReadList(ConditionBean cb) {
         assertConditionBeanNotNull(cb);
         final Class[] types = new Class[] { cb.getClass() };
-        final java.lang.reflect.Method mtd = getMethod(getDaoReadable()
-                .getClass(), "selectList", types);
+        final Method mtd = getMethod(getDaoReadable().getClass(), "selectList",
+                types);
         final Object result = invoke(mtd, getDaoReadable(), new Object[] { cb });
         return (List<Entity>) result;
     }
 
-    private java.lang.reflect.Method getMethod(Class clazz, String methodName,
-            Class[] argTypes) {
+    private Method getMethod(Class clazz, String methodName, Class[] argTypes) {
         try {
             return clazz.getMethod(methodName, argTypes);
         } catch (NoSuchMethodException ex) {
@@ -755,8 +745,7 @@
         }
     }
 
-    private Object invoke(java.lang.reflect.Method method, Object target,
-            Object[] args) {
+    private Object invoke(Method method, Object target, Object[] args) {
         try {
             return method.invoke(target, args);
         } catch (java.lang.reflect.InvocationTargetException ex) {
@@ -787,8 +776,8 @@
 
     //==========================================================================
     // =========
-    // Helper
-    // ======
+    // General Helper
+    // ==============
     /**
      * To lower case if the type is String.
      * 
@@ -808,7 +797,7 @@
      * @return The value of line separator. (NotNull)
      */
     protected String getLineSeparator() {
-        return System.getProperty("line.separator");
+        return SimpleSystemUtil.getLineSeparator();
     }
 
     protected <ENTITY extends Entity> ENTITY helpDowncastInternally(

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/load/LoadReferrerOption.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/load/LoadReferrerOption.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/load/LoadReferrerOption.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +1,7 @@
 package jp.sf.pal.bookmark.db.allcommon.bhv.load;
 
+import java.util.List;
+
 import jp.sf.pal.bookmark.db.allcommon.Entity;
 import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ConditionBeanSetupper;
 import jp.sf.pal.bookmark.db.allcommon.bhv.setup.EntityListSetupper;
@@ -97,8 +99,7 @@
         }
     }
 
-    public void delegateEntitySettingUp(
-            java.util.List<REFERRER_ENTITY> entityList) {// Internal
+    public void delegateEntitySettingUp(List<REFERRER_ENTITY> entityList) {// Internal
         if (_entityListSetupper != null) {
             _entityListSetupper.setup(entityList);
         }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/setup/EntityListSetupper.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/setup/EntityListSetupper.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/bhv/setup/EntityListSetupper.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +1,7 @@
 package jp.sf.pal.bookmark.db.allcommon.bhv.setup;
 
+import java.util.List;
+
 import jp.sf.pal.bookmark.db.allcommon.Entity;
 
 /**
@@ -11,9 +13,9 @@
 public interface EntityListSetupper<ENTITY extends Entity> {
 
     /**
-     * Set up entity list.
+     * Set up the list of entity.
      * 
-     * @param entityList Entity list. (NotNull)
+     * @param entityList The list of entity. (NotNull)
      */
-    public void setup(java.util.List<ENTITY> entityList);
+    public void setup(List<ENTITY> entityList);
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/AbstractConditionBean.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/AbstractConditionBean.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/AbstractConditionBean.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1037,23 +1037,6 @@
 
     //==========================================================================
     // =========
-    // Format SQL
-    // ==========
-    /** @deprecated Sorry! ConditionBean must be formatted as default. */
-    public void formatSql() {
-        getSqlClause().makeFormatClauseEffective();
-    }
-
-    /**
-     * @return Is the SQL formatted?
-     * @deprecated Sorry! ConditionBean must be formatted as default.
-     */
-    public boolean isFormatSql() {
-        return getSqlClause().isFormatClauseEffective();
-    }
-
-    //==========================================================================
-    // =========
     // Assist Helper
     // =============
     protected void doSetupSelect(SsCall callback) {

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBean.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBean.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBean.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -135,7 +135,8 @@
     // Limit Select
     // ============
     /**
-     * Limit select PK only.
+     * Limit select PK only. This is OLD style. You can do the same thing by
+     * specify().
      * 
      * @return this. (NotNull)
      */
@@ -214,19 +215,6 @@
 
     //==========================================================================
     // =========
-    // Format SQL
-    // ==========
-    /** @deprecated Sorry! ConditionBean must be formatted as default. */
-    public void formatSql();
-
-    /**
-     * @return Is the SQL formatted?
-     * @deprecated Sorry! ConditionBean must be formatted as default.
-     */
-    public boolean isFormatSql();
-
-    //==========================================================================
-    // =========
     // Display SQL
     // ===========
     /**

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBeanContext.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBeanContext.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ConditionBeanContext.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -21,7 +21,7 @@
 import org.apache.commons.logging.LogFactory;
 
 /**
- * Condition-Bean context.
+ * The context of condition-bean.
  * 
  * @author DBFlute(AutoGenerator)
  */
@@ -95,7 +95,9 @@
             }
         }
         {
-            Class<?> clazz = jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption.class;
+            Class<?> clazz = jp.sf.pal.bookmark.db.allcommon.AccessContext.class;
+            clazz = jp.sf.pal.bookmark.db.allcommon.CallbackContext.class;
+            clazz = jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption.class;
             clazz = jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption.class;
             clazz = jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption.class;
             clazz = jp.sf.pal.bookmark.db.allcommon.cbean.grouping.GroupingOption.class;
@@ -308,7 +310,7 @@
         msg = msg + getLineSeparator();
         if (searchKey4Log != null && searchKey4Log instanceof ConditionBean) {
             final ConditionBean cb = (ConditionBean) searchKey4Log;
-            msg = msg + "[Executed SQL for Display]" + getLineSeparator()
+            msg = msg + "[Display SQL]" + getLineSeparator()
                     + cb.toDisplaySql() + getLineSeparator();
         } else {
             msg = msg + "[Search Condition]" + getLineSeparator()
@@ -339,7 +341,7 @@
         msg = msg + getLineSeparator();
         if (searchKey4Log != null && searchKey4Log instanceof ConditionBean) {
             final ConditionBean cb = (ConditionBean) searchKey4Log;
-            msg = msg + "[Executed SQL for Display]" + getLineSeparator()
+            msg = msg + "[Display SQL]" + getLineSeparator()
                     + cb.toDisplaySql() + getLineSeparator();
         } else {
             msg = msg + "[Search Condition]" + getLineSeparator()

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ListResultBean.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ListResultBean.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ListResultBean.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,7 +1,11 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean;
 
+import java.io.Serializable;
 import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
 import java.util.List;
+import java.util.ListIterator;
 
 import jp.sf.pal.bookmark.db.allcommon.cbean.grouping.GroupingOption;
 import jp.sf.pal.bookmark.db.allcommon.cbean.grouping.GroupingRowEndDeterminer;
@@ -11,13 +15,12 @@
 import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.OrderByClause;
 
 /**
- * The list-result-bean for ListResultBean.
+ * The result bean for list.
  * 
  * @param <ENTITY> The type of entity for the element of selected list.
  * @author DBFlute(AutoGenerator)
  */
-public class ListResultBean<ENTITY> implements List<ENTITY>,
-        java.io.Serializable {
+public class ListResultBean<ENTITY> implements List<ENTITY>, Serializable {
 
     //==========================================================================
     // =========
@@ -30,16 +33,19 @@
     // =========
     // Attribute
     // =========
-    /** The value of table db-name. */
+    /**
+     * The value of table db-name. (Nullable: If it's null, it means 'Not
+     * Selected Yet'.)
+     */
     protected String _tableDbName;
 
     /** The value of all record count. */
     protected int _allRecordCount;
 
-    /** Selected list. */
-    protected List<ENTITY> _selectedList = new java.util.ArrayList<ENTITY>();
+    /** The list of selected entity. (NotNull) */
+    protected List<ENTITY> _selectedList = new ArrayList<ENTITY>();
 
-    /** Order-by clause. */
+    /** The clause of order-by. (NotNull) */
     protected OrderByClause _orderByClause = new OrderByClause();
 
     //==========================================================================
@@ -56,6 +62,15 @@
     // =========
     // Grouping
     // ========
+    /**
+     * Group the list. This method needs the property 'selectedList' only.
+     * 
+     * @param <ROW> The type of row.
+     * @param groupingRowSetupper The setupper of grouping row. (NotNull)
+     * @param groupingOption The option of grouping. (NotNull and it requires
+     *            the breakCount or the determiner)
+     * @return The grouped list. (NotNull)
+     */
     public <ROW> List<ROW> groupingList(
             GroupingRowSetupper<ROW, ENTITY> groupingRowSetupper,
             GroupingOption<ENTITY> groupingOption) {
@@ -64,23 +79,25 @@
                 .getGroupingRowEndDeterminer();
         if (rowEndDeterminer == null) {
             rowEndDeterminer = new GroupingRowEndDeterminer<ENTITY>() {
-                public boolean determine(int columnIndex, int columnCount,
+                public boolean determine(
                         GroupingRowResource<ENTITY> rowResource,
                         ENTITY nextEntity) {
-                    return columnIndex == (columnCount - 1);
+                    return rowResource.isSizeUpBreakCount();
                 }
-            };// as Default
+            }; // as Default
         }
         GroupingRowResource<ENTITY> rowResource = new GroupingRowResource<ENTITY>();
-        int columnCount = groupingOption.getColumnCount();
-        int columnIndex = 0;
-        int rowIndex = 0;
+        int breakCount = groupingOption.getElementCount();
+        int rowElementIndex = 0;
+        int allElementIndex = 0;
         for (ENTITY entity : _selectedList) {
             // Set up row resource.
             rowResource.addGroupingRowList(entity);
+            rowResource.setElementCurrentIndex(rowElementIndex);
+            rowResource.setBreakCount(breakCount);
 
-            if (_selectedList.size() == (rowIndex + 1)) {// Last Loop!
-                // Callback!
+            if (_selectedList.size() == (allElementIndex + 1)) { // Last Loop!
+                // Set up the object of grouping row!
                 final ROW groupingRowObject = groupingRowSetupper
                         .setup(rowResource);
 
@@ -89,15 +106,15 @@
                 break;
             }
 
-            ENTITY nextElement = null;
-            if (_selectedList.size() > (rowIndex + 1)) {
-                nextElement = _selectedList.get(rowIndex);
-            }
+            // Not last loop so the nextElement must exist.
+            final ENTITY nextElement = _selectedList.get(allElementIndex + 1);
 
             // Do at row end.
-            if (rowEndDeterminer.determine(columnIndex, columnCount,
-                    rowResource, nextElement)) {
-                // Callback!
+            if (rowEndDeterminer.determine(rowResource, nextElement)) { // Determine
+                // the
+                // row
+                // end!
+                // Set up the object of grouping row!
                 final ROW groupingRowObject = groupingRowSetupper
                         .setup(rowResource);
 
@@ -106,12 +123,12 @@
 
                 // Initialize!
                 rowResource = new GroupingRowResource<ENTITY>();
-                columnIndex = 0;
-                ++rowIndex;
+                rowElementIndex = 0;
+                ++allElementIndex;
                 continue;
             }
-            ++columnIndex;
-            ++rowIndex;
+            ++rowElementIndex;
+            ++allElementIndex;
         }
         return groupingList;
     }
@@ -139,7 +156,7 @@
     /**
      * Has this result selected?
      * 
-     * @return Determination.
+     * @return Determination. {Whether table DB name is not null}
      */
     public boolean isSelectedResult() {
         return _tableDbName != null;
@@ -182,12 +199,13 @@
     @Override
     public String toString() {
         final StringBuilder sb = new StringBuilder();
-
-        sb.append(" tableDbName=").append(_tableDbName);
-        sb.append(" allRecordCount=").append(_allRecordCount);
-        sb.append(" selectedList.size()=").append(_selectedList.size());
-        sb.append(" orderByClause=").append(_orderByClause);
-
+        sb.append("{").append(_tableDbName);
+        sb.append(",").append(_allRecordCount);
+        sb.append(",").append(
+                _orderByClause != null ? _orderByClause.getOrderByClause()
+                        : null);
+        sb.append(",").append(_selectedList);
+        sb.append("}");
         return sb.toString();
     }
 
@@ -199,7 +217,7 @@
         return _selectedList.add(o);
     }
 
-    public boolean addAll(java.util.Collection<? extends ENTITY> c) {
+    public boolean addAll(Collection<? extends ENTITY> c) {
         return _selectedList.addAll(c);
     }
 
@@ -211,7 +229,7 @@
         return _selectedList.contains(o);
     }
 
-    public boolean containsAll(java.util.Collection<?> c) {
+    public boolean containsAll(Collection<?> c) {
         return _selectedList.containsAll(c);
     }
 
@@ -219,7 +237,7 @@
         return _selectedList.isEmpty();
     }
 
-    public java.util.Iterator<ENTITY> iterator() {
+    public Iterator<ENTITY> iterator() {
         return _selectedList.iterator();
     }
 
@@ -227,11 +245,11 @@
         return _selectedList.remove(o);
     }
 
-    public boolean removeAll(java.util.Collection<?> c) {
+    public boolean removeAll(Collection<?> c) {
         return _selectedList.removeAll(c);
     }
 
-    public boolean retainAll(java.util.Collection<?> c) {
+    public boolean retainAll(Collection<?> c) {
         return _selectedList.retainAll(c);
     }
 
@@ -251,7 +269,7 @@
         _selectedList.add(index, element);
     }
 
-    public boolean addAll(int index, java.util.Collection<? extends ENTITY> c) {
+    public boolean addAll(int index, Collection<? extends ENTITY> c) {
         return _selectedList.addAll(index, c);
     }
 
@@ -267,11 +285,11 @@
         return _selectedList.lastIndexOf(o);
     }
 
-    public java.util.ListIterator<ENTITY> listIterator() {
+    public ListIterator<ENTITY> listIterator() {
         return _selectedList.listIterator();
     }
 
-    public java.util.ListIterator<ENTITY> listIterator(int index) {
+    public ListIterator<ENTITY> listIterator(int index) {
         return _selectedList.listIterator(index);
     }
 
@@ -283,7 +301,7 @@
         return _selectedList.set(index, element);
     }
 
-    public java.util.List<ENTITY> subList(int fromIndex, int toIndex) {
+    public List<ENTITY> subList(int fromIndex, int toIndex) {
         return _selectedList.subList(fromIndex, toIndex);
     }
 
@@ -331,8 +349,7 @@
     /**
      * Get the value of selectedList.
      * 
-     * @return Selected list. (Nullable: If it's null, it means 'Not Selected
-     *         Yet'.)
+     * @return Selected list. (NotNull)
      */
     public List<ENTITY> getSelectedList() {
         return _selectedList;
@@ -341,17 +358,20 @@
     /**
      * Set the value of selectedList.
      * 
-     * @param selectedList Selected list. (NotNull)
+     * @param selectedList Selected list. (NotNull: If you set null, it ignores
+     *            it.)
      */
     public void setSelectedList(List<ENTITY> selectedList) {
+        if (selectedList == null) {
+            return;
+        } // Not allowed to set null value to the selected list
         _selectedList = selectedList;
     }
 
     /**
      * Get the value of orderByClause.
      * 
-     * @return The value of orderByClause. (Nullable: If it's null, it means
-     *         'Not Selected Yet'.)
+     * @return The value of orderByClause. (NotNull)
      */
     public OrderByClause getOrderByClause() {
         return _orderByClause;
@@ -360,9 +380,13 @@
     /**
      * Set the value of orderByClause.
      * 
-     * @param orderByClause The value of orderByClause. (NotNull)
+     * @param orderByClause The value of orderByClause. (NotNull: If you set
+     *            null, it ignores it.)
      */
     public void setOrderByClause(OrderByClause orderByClause) {
+        if (orderByClause == null) {
+            return;
+        } // Not allowed to set null value to the selected list
         _orderByClause = orderByClause;
     }
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/PagingResultBean.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/PagingResultBean.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/PagingResultBean.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -7,7 +7,7 @@
 import jp.sf.pal.bookmark.db.allcommon.cbean.pagenavi.range.PageRangeOption;
 
 /**
- * The paging-result-bean for specified entity.
+ * The result bean of paging.
  * 
  * @param <ENTITY> The type of entity for the element of selected list.
  * @author DBFlute(AutoGenerator)
@@ -309,18 +309,27 @@
     @Override
     public String toString() {
         final StringBuilder sb = new StringBuilder();
-
-        sb.append(getCurrentPageNumber()).append("/").append(getAllPageCount());
+        sb.append("{").append(getCurrentPageNumber()).append("/").append(
+                getAllPageCount());
         sb.append(" of ").append(getAllRecordCount());
-        sb.append(" listSize=").append(
-                getSelectedList() != null ? new Integer(getSelectedList()
+        sb.append(" ").append(isExistPrePage()).append("/").append(
+                isExistNextPage());
+        if (_pageGroupOption != null) {
+            sb.append(" group:{").append(getPageGroupSize()).append(",")
+                    .append(pageGroup().createPageNumberList()).append("}");
+        }
+        if (_pageRangeOption != null) {
+            sb.append(" range:{").append(getPageRangeSize()).append(",")
+                    .append(_pageRangeOption.isFillLimit());
+            sb.append(",").append(pageRange().createPageNumberList()).append(
+                    "}");
+        }
+        sb.append(" list=").append(
+                getSelectedList() != null ? Integer.valueOf(getSelectedList()
                         .size()) : null);
-        sb.append(" pageSize=").append(getPageSize());
-        sb.append(" page:{").append(isExistPrePage()).append("/").append(
-                isExistNextPage()).append("}");
-        sb.append(" groupSize=").append(getPageGroupSize());
-        sb.append(" rangeSize=").append(getPageRangeSize());
-
+        sb.append(" page=").append(getPageSize());
+        sb.append("}");
+        sb.append(":selectedList=").append(getSelectedList());
         return sb.toString();
     }
 

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ResultBeanBuilder.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ResultBeanBuilder.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/ResultBeanBuilder.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -3,7 +3,7 @@
 import java.util.List;
 
 /**
- * The list-result-bean for ${myClassName}.
+ * The builder of result bean.
  * 
  * @param <ENTITY> The type of entity.
  * @author DBFlute(AutoGenerator)
@@ -29,24 +29,38 @@
     // Builder
     // =======
     /**
-     * Build the result bean of list.
+     * Build the result bean of list without order-by clause. {for Various}
      * 
-     * @param ob The bean of orderBy. (NotNull)
      * @param selectedList Selected list. (NotNull)
      * @return The result bean of list. (NotNull)
      */
-    public ListResultBean<ENTITY> buildListResultBean(ConditionBean ob,
+    public ListResultBean<ENTITY> buildListResultBean(List<ENTITY> selectedList) {
+        ListResultBean<ENTITY> rb = new ListResultBean<ENTITY>();
+        rb.setTableDbName(_tableDbName);
+        rb.setAllRecordCount(selectedList.size());
+        rb.setSelectedList(selectedList);
+        return rb;
+    }
+
+    /**
+     * Build the result bean of list. {for CB}
+     * 
+     * @param cb The condition-bean. (NotNull)
+     * @param selectedList Selected list. (NotNull)
+     * @return The result bean of list. (NotNull)
+     */
+    public ListResultBean<ENTITY> buildListResultBean(ConditionBean cb,
             List<ENTITY> selectedList) {
         ListResultBean<ENTITY> rb = new ListResultBean<ENTITY>();
         rb.setTableDbName(_tableDbName);
         rb.setAllRecordCount(selectedList.size());
         rb.setSelectedList(selectedList);
-        rb.setOrderByClause(ob.getSqlComponentOfOrderByClause());
+        rb.setOrderByClause(cb.getSqlComponentOfOrderByClause());
         return rb;
     }
 
     /**
-     * Build the result bean of paging.
+     * Build the result bean of paging. {for Paging}
      * 
      * @param pb The bean of paging. (NotNull)
      * @param allRecordCount All record count.

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingOption.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingOption.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingOption.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,7 +1,7 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean.grouping;
 
 /**
- * The class of option for grouping making.
+ * The class of option for grouping.
  * 
  * @param <ENTITY> The type of entity.
  * @author DBFlute(AutoGenerator)
@@ -12,7 +12,7 @@
     // ===========
     // Attribute
     // =========
-    protected int _columnCount;
+    protected int _elementCount;
 
     protected GroupingRowEndDeterminer<ENTITY> _groupingRowEndDeterminer;
 
@@ -20,21 +20,28 @@
     // ===========
     // Constructor
     // ===========
-    public GroupingOption(int columnCount) {
-        _columnCount = columnCount;
+    /**
+     * Constructor. You should set the determiner of grouping row end after you
+     * create the instance.
+     */
+    public GroupingOption() {
     }
 
-    //==========================================================================
-    // ===========
-    // Easy-to-Use
-    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param elementCount The count of row element in a group.
+     */
+    public GroupingOption(int elementCount) {
+        _elementCount = elementCount;
+    }
 
     //==========================================================================
     // ===========
     // Accessor
     // ========
-    public int getColumnCount() {
-        return this._columnCount;
+    public int getElementCount() {
+        return this._elementCount;
     }
 
     public GroupingRowEndDeterminer<ENTITY> getGroupingRowEndDeterminer() {

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,13 +1,24 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean.grouping;
 
 /**
- * The interface of grouping switch point determiner.
+ * The interface of grouping end(switch point) determiner.
  * 
  * @param <ENTITY> The type of entity.
  * @author DBFlute(AutoGenerator)
  */
 public interface GroupingRowEndDeterminer<ENTITY> {
 
-    public boolean determine(int columnIndex, int columnCount,
-            GroupingRowResource<ENTITY> rowResource, ENTITY nextEntity);
+    /**
+     * Determine whether the grouping row is end.
+     * 
+     * @param rowResource The resource of grouping row. (NotNull and the
+     *            property 'groupingRowList' is not empty and the property
+     *            'currentEntity' is not null)
+     * @param nextEntity The entity of next element. (NotNull and the
+     *            rowResource does not contain yet)
+     * @return Whether the grouping row is end. (If the value is true, break
+     *         grouping row and the nextEntity is registered to next row)
+     */
+    public boolean determine(GroupingRowResource<ENTITY> rowResource,
+            ENTITY nextEntity);
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowResource.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowResource.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowResource.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +1,8 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean.grouping;
 
+import java.util.ArrayList;
+import java.util.List;
+
 /**
  * The class of row resource for grouping making.
  * 
@@ -12,22 +15,79 @@
     // ===========
     // Attribute
     // =========
-    protected java.util.List<ENTITY> _groupingRowList = new java.util.ArrayList<ENTITY>();
+    protected List<ENTITY> _groupingRowList = new ArrayList<ENTITY>();
 
+    protected int _elementCurrentIndex;
+
+    protected int _breakCount;
+
     //==========================================================================
     // ===========
     // Easy-to-Use
     // ===========
+    /**
+     * @return Does the list of grouping row size up the break count?
+     */
+    public boolean isSizeUpBreakCount() {
+        return _elementCurrentIndex == (_breakCount - 1);
+    }
 
     //==========================================================================
     // ===========
     // Accessor
     // ========
-    public java.util.List<ENTITY> getGroupingRowList() {
+    /**
+     * @return The list of grouping row. (NotNull and NotEmpty)
+     */
+    public List<ENTITY> getGroupingRowList() {
         return this._groupingRowList;
     }
 
+    /**
+     * Add the element entity to the list of grouping row. {INTERNAL METHOD}
+     * 
+     * @param groupingRow The element entity to the list of grouping row.
+     */
     public void addGroupingRowList(ENTITY groupingRow) {
         this._groupingRowList.add(groupingRow);
     }
+
+    /**
+     * @return The entity of element current index. (NotNull)
+     */
+    public ENTITY getCurrentEntity() {
+        return _groupingRowList.get(_elementCurrentIndex);
+    }
+
+    /**
+     * @return The index of current element.
+     */
+    public int getElementCurrentIndex() {
+        return this._elementCurrentIndex;
+    }
+
+    /**
+     * Set the index of current element. {INTERNAL METHOD}
+     * 
+     * @param elementCurrentIndex The index of current element.
+     */
+    public void setElementCurrentIndex(int elementCurrentIndex) {
+        this._elementCurrentIndex = elementCurrentIndex;
+    }
+
+    /**
+     * @return The count of break loop.
+     */
+    public int getBreakCount() {
+        return this._breakCount;
+    }
+
+    /**
+     * Set the count of break loop. {INTERNAL METHOD}
+     * 
+     * @param breakCount The count of break loop.
+     */
+    public void setBreakCount(int breakCount) {
+        this._breakCount = breakCount;
+    }
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowSetupper.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowSetupper.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/grouping/GroupingRowSetupper.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,7 +1,7 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean.grouping;
 
 /**
- * The interface of grouping row setupper.
+ * The setupper of grouping row.
  * 
  * @param <ROW> The type of row.
  * @param <ENTITY> The type of entity.
@@ -10,10 +10,10 @@
 public interface GroupingRowSetupper<ROW, ENTITY> {
 
     /**
-     * Set up grouping row object.
+     * Set up the instance of grouping row.
      * 
      * @param groupingRowResource Grouping row resource. (NotNull)
-     * @return Grouping row object. (NotNull)
+     * @return The instance of grouping row. (NotNull)
      */
     public ROW setup(GroupingRowResource<ENTITY> groupingRowResource);
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -2,6 +2,8 @@
 
 import java.util.List;
 
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlDao;
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlOption;
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.ProcedurePmb;
@@ -76,14 +78,16 @@
      * @param pmb The parameter-bean. Allowed types are Bean object and Map
      *            object. (Nullable)
      * @param entityType The element type of entity. (NotNull)
-     * @return The list of selected entity. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.OutsideSqlNotFoundException
-     *                When the sql is not found.
+     *                When the outside-sql is not found.
      */
-    public <ENTITY> List<ENTITY> selectList(String path, Object pmb,
+    public <ENTITY> ListResultBean<ENTITY> selectList(String path, Object pmb,
             Class<ENTITY> entityType) {
-        return _outsideSqlDao.selectList(path, pmb, createOutsideSqlOption(),
-                entityType);
+        List<ENTITY> resultList = _outsideSqlDao.selectList(path, pmb,
+                createOutsideSqlOption(), entityType);
+        return new ResultBeanBuilder<ENTITY>(_tableDbName)
+                .buildListResultBean(resultList);
     }
 
     //==========================================================================
@@ -98,7 +102,7 @@
      *            object. (Nullable)
      * @return The count of execution.
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.OutsideSqlNotFoundException
-     *                When the sql is not found.
+     *                When the outside-sql is not found.
      */
     public int execute(String path, Object pmb) {
         return _outsideSqlDao.execute(path, pmb, createOutsideSqlOption());

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -35,6 +35,17 @@
     // =========
     // Select
     // ======
+    /**
+     * Select the cursor of the entity.
+     * 
+     * @param path The path of SQL file. (NotNull)
+     * @param pmb The parameter-bean. Allowed types are Bean object and Map
+     *            object. (Nullable)
+     * @param handler The handler of cursor. (NotNull)
+     * @return The result object that the cursor handler returns. (Nullable)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.OutsideSqlNotFoundException
+     *                When the outside-sql is not found.
+     */
     public Object selectCursor(String path, PARAMETER_BEAN pmb,
             CursorHandler handler) {
         return _outsideSqlDao.selectCursor(path, pmb, _outsideSqlOption,
@@ -45,14 +56,14 @@
     // =========
     // Option
     // ======
+    public OutsideSqlCursorExecutor<PARAMETER_BEAN> dynamicBinding() {
+        _outsideSqlOption.dynamicBinding();
+        return this;
+    }
+
     public OutsideSqlCursorExecutor<PARAMETER_BEAN> configure(
             StatementConfig statementConfig) {
         _outsideSqlOption.setStatementConfig(statementConfig);
         return this;
     }
-
-    public OutsideSqlCursorExecutor<PARAMETER_BEAN> dynamicBinding() {
-        _outsideSqlOption.dynamicBinding();
-        return this;
-    }
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -48,8 +48,9 @@
      * @param entityType The type of entity. (NotNull)
      * @return The selected entity. (Nullable)
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.OutsideSqlNotFoundException
-     *                When the sql is not found.
+     *                When the outside-sql is not found.
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity is duplicated.
      */
     public <ENTITY> ENTITY selectEntity(String path, PARAMETER_BEAN pmb,
             Class<ENTITY> entityType) {
@@ -75,7 +76,7 @@
      * @param entityType The type of entity. (NotNull)
      * @return The selected entity. (Nullable)
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.OutsideSqlNotFoundException
-     *                When the sql is not found.
+     *                When the outside-sql is not found.
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
      *                When the entity has already been deleted(not found).
      * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -3,10 +3,12 @@
 import java.util.List;
 
 import jp.sf.pal.bookmark.db.allcommon.DBFluteConfig;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
 import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
 import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlDao;
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlOption;
 import jp.sf.pal.bookmark.db.allcommon.jdbc.StatementConfig;
@@ -46,20 +48,57 @@
     // =========
     // Select
     // ======
-    public <ENTITY> List<ENTITY> selectList(String path, PagingBean pmb,
-            Class<ENTITY> entityType) {
+    /**
+     * Select list with paging.
+     * <p>
+     * The SQL should have Paging without Count. <br /> You do not need to use
+     * pagingBean's isPaging() method on your 'Parameter Comment'. <br />
+     * 
+     * <pre>
+     * - - - - - - - - - - - - - - - - - - - - - - -
+     * ex) Your Correct SQL {MySQL and manualPaging}
+     * - - - - - - - - - - - - - - - - - - - - - - -
+     * # select member.MEMBER_ID
+     * #      , member.MEMBER_NAME
+     * #      , memberStatus.MEMBER_STATUS_NAME
+     * #   from MEMBER member
+     * #     left outer join MEMBER_STATUS memberStatus
+     * #       on member.MEMBER_STATUS_CODE = memberStatus.MEMBER_STATUS_CODE
+     * #  /[*]BEGIN[*]/where
+     * #    /[*]IF pmb.memberId != null[*]/member.MEMBER_ID = /[*]pmb.memberId[*]/'123'/[*]END[*]/
+     * #    /[*]IF pmb.memberName != null[*]/and member.MEMBER_NAME like /[*]pmb.memberName[*]/'Billy' || '%'/[*]END[*]/
+     * #  /[*]END[*]/
+     * #  order by member.UPDATE_DATETIME desc
+     * #  limit /[*]$pmb.pageStartIndex[*]/80, /[*]$pmb.fetchSize[*]/20
+     * # 
+     * o [*] is easy escape to Java Doc Comment.
+     * o If it's autoPaging, the line of 'limit 80, 20' is unnecessary!
+     * </pre>
+     * 
+     * @param <ENTITY> The type of entity.
+     * @param path The path of SQL that executes count and paging. (NotNull)
+     * @param pmb The bean of paging parameter. (NotNull)
+     * @param entityType The type of result entity. (NotNull)
+     * @return The result bean of paged list. (NotNull)
+     * @exception com.example.dbflute.basic.dbflute.allcommon.exception.OutsideSqlNotFoundException
+     *                When the outside-sql is not found.
+     */
+    public <ENTITY> ListResultBean<ENTITY> selectList(String path,
+            PagingBean pmb, Class<ENTITY> entityType) {
         setupScrollableCursorIfNeeds();
-        return _outsideSqlDao.selectList(path, pmb, _outsideSqlOption,
-                entityType);
+        List<ENTITY> resultList = _outsideSqlDao.selectList(path, pmb,
+                _outsideSqlOption, entityType);
+        return new ResultBeanBuilder<ENTITY>(_tableDbName)
+                .buildListResultBean(resultList);
     }
 
     /**
      * Select page.
      * <p>
      * The SQL should have Count and Paging. <br /> You can realize by
-     * pagingBean's isPaging() method on your 'SQL Comment'. For example, 'IF
-     * Comment'. <br /> It returns false when it executes Count. And it returns
-     * true when it executes Paging. <br />
+     * pagingBean's isPaging() method on your 'Parameter Comment'. For example,
+     * 'IF Comment'. <br /> It returns false when it executes Count. And it
+     * returns true when it executes Paging. <br />
      * 
      * <pre>
      * - - - - - - - - - - - - - - - - - - - - - - -
@@ -107,10 +146,11 @@
      * 
      * @param <ENTITY> The type of entity.
      * @param path The path of SQL that executes count and paging. (NotNull)
-     * @param pagingPath The path of paging SQL. (NotNull)
      * @param pmb The bean of paging parameter. (NotNull)
      * @param entityType The type of result entity. (NotNull)
      * @return The result bean of paging. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.OutsideSqlNotFoundException
+     *                When the outside-sql is not found.
      */
     public <ENTITY> PagingResultBean<ENTITY> selectPage(final String path,
             final PagingBean pmb, final Class<ENTITY> entityType) {

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/AbstractSqlClause.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/AbstractSqlClause.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/AbstractSqlClause.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1300,7 +1300,7 @@
     /**
      * The implementation.
      * 
-     * @return Determiantion.
+     * @return Determination.
      */
     public boolean isFetchNarrowingEffective() {
         return _isFetchScopeEffective;

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByClause.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByClause.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByClause.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +1,6 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
@@ -9,7 +10,7 @@
 /**
  * @author DBFlute(AutoGenerator)
  */
-public class OrderByClause implements java.io.Serializable {
+public class OrderByClause implements Serializable {
 
     /** Serial version UID. (Default) */
     private static final long serialVersionUID = 1L;
@@ -32,8 +33,8 @@
 
     //==========================================================================
     // ===========
-    // Behavior
-    // ========
+    // Manipulation
+    // ============
     /**
      * Add order-by element.
      * 
@@ -91,6 +92,10 @@
                 boolean nullsFirst);
     }
 
+    //==========================================================================
+    // ===========
+    // Order-By Expression
+    // ===================
     public List<OrderByElement> getOrderByList() {
         return _orderByList;
     }
@@ -250,7 +255,7 @@
      * 
      * @return Determination.
      */
-    public java.util.Iterator<OrderByElement> iterator() {
+    public Iterator<OrderByElement> iterator() {
         return _orderByList.iterator();
     }
 
@@ -263,12 +268,12 @@
 
     //==========================================================================
     // ===========
-    // Basic-Override Method
-    // =====================
+    // Basic Override
+    // ==============
     /**
      * This method overrides the method that is declared at super.
      * 
-     * @return View-string of all-columns value.
+     * @return The view string of all-columns value. (NotNUll)
      */
     public String toString() {
         return _orderByList.toString();

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByElement.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByElement.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/cbean/sqlclause/OrderByElement.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +1,6 @@
 package jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause;
 
+import java.io.Serializable;
 import java.util.Map;
 
 import jp.sf.pal.bookmark.db.allcommon.util.SimpleSystemUtil;
@@ -7,7 +8,7 @@
 /**
  * @author DBFlute(AutoGenerator)
  */
-public class OrderByElement implements java.io.Serializable {
+public class OrderByElement implements Serializable {
 
     /** Serial version UID. (Default) */
     private static final long serialVersionUID = 1L;
@@ -39,58 +40,8 @@
 
     //==========================================================================
     // ===========
-    // Accessor
-    // ========
-    public String getAliasName() {
-        return _aliasName;
-    }
-
-    public String getColumnName() {
-        return _columnName;
-    }
-
-    public String getRegisteredAliasName() {
-        return _registeredAliasName;
-    }
-
-    public String getRegisteredColumnName() {
-        return _registeredColumnName;
-    }
-
-    public String getAscDesc() {
-        return _ascDesc;
-    }
-
-    public void setAliasName(String value) {
-        _aliasName = value;
-    }
-
-    public void setColumnName(String value) {
-        _columnName = value;
-    }
-
-    public void setRegisteredAliasName(String value) {
-        _registeredAliasName = value;
-    }
-
-    public void setRegisteredColumnName(String value) {
-        _registeredColumnName = value;
-    }
-
-    public void setAscDesc(String value) {
-        _ascDesc = value;
-    }
-
-    public void setOrderByNullsSetupper(
-            OrderByClause.OrderByNullsSetupper value, boolean nullsFirst) {
-        _orderByNullsSetupper = value;
-        _nullsFirst = nullsFirst;
-    }
-
-    //==========================================================================
-    // ===========
-    // Behavior
-    // ========
+    // Manipulation
+    // ============
     public void setupAsc() {
         _ascDesc = "asc";
     }
@@ -115,6 +66,10 @@
         }
     }
 
+    //==========================================================================
+    // ===========
+    // Order-By Expression
+    // ===================
     public boolean isAsc() {
         if (_ascDesc == null) {
             String msg = "The attribute[ascDesc] should not be null.";
@@ -254,15 +209,65 @@
     /**
      * This method overrides the method that is declared at super.
      * 
-     * @return View-string of all-columns value.
+     * @return The view-string of all-columns value. (NotNull)
      */
     public String toString() {
         final StringBuilder sb = new StringBuilder();
-        sb.append("[OrderByElement] aliasName=").append(_aliasName);
+        sb.append("{aliasName=").append(_aliasName);
         sb.append(" columnName=").append(_columnName);
         sb.append(" registeredAliasName=").append(_registeredAliasName);
         sb.append(" registeredColumnName=").append(_registeredColumnName);
-        sb.append(" ascDesc=").append(_ascDesc);
+        sb.append(" ascDesc=").append(_ascDesc).append("}");
         return sb.toString();
     }
+
+    //==========================================================================
+    // ===========
+    // Accessor
+    // ========
+    public String getAliasName() {
+        return _aliasName;
+    }
+
+    public String getColumnName() {
+        return _columnName;
+    }
+
+    public String getRegisteredAliasName() {
+        return _registeredAliasName;
+    }
+
+    public String getRegisteredColumnName() {
+        return _registeredColumnName;
+    }
+
+    public String getAscDesc() {
+        return _ascDesc;
+    }
+
+    public void setAliasName(String value) {
+        _aliasName = value;
+    }
+
+    public void setColumnName(String value) {
+        _columnName = value;
+    }
+
+    public void setRegisteredAliasName(String value) {
+        _registeredAliasName = value;
+    }
+
+    public void setRegisteredColumnName(String value) {
+        _registeredColumnName = value;
+    }
+
+    public void setAscDesc(String value) {
+        _ascDesc = value;
+    }
+
+    public void setOrderByNullsSetupper(
+            OrderByClause.OrderByNullsSetupper value, boolean nullsFirst) {
+        _orderByNullsSetupper = value;
+        _nullsFirst = nullsFirst;
+    }
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/AbstractDBMeta.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/AbstractDBMeta.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/AbstractDBMeta.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -550,6 +550,10 @@
         return false;
     }
 
+    public String getSequenceNextValSql() {
+        return null;
+    }
+
     public boolean hasVersionNo() {
         return false;
     }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMeta.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMeta.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMeta.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -54,12 +54,19 @@
     public String getTableDbName();
 
     /**
-     * Get table prop-name(JavaBeansRule).
+     * Get table property-name(JavaBeansRule).
      * 
      * @return Table property-name(JavaBeansRule). (NotNull)
      */
     public String getTablePropertyName();
 
+    /**
+     * Get table SQL-name.
+     * 
+     * @return Table SQL-name. (NotNull)
+     */
+    public String getTableSqlName();
+
     //==========================================================================
     // =========
     // Name Handling
@@ -335,6 +342,14 @@
      */
     public boolean hasSequence();
 
+    /**
+     * Get the SQL string for getting next value of sequence.
+     * 
+     * @return The SQL string for getting next value of sequence. (Nullable: If
+     *         it does not have sequence, returns null.)
+     */
+    public String getSequenceNextValSql();
+
     //==========================================================================
     // =========
     // Optimistic Lock Info

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMetaInstanceHandler.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMetaInstanceHandler.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/dbmeta/DBMetaInstanceHandler.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -27,9 +27,20 @@
     static {
         Map<String, String> tmpMap = new LinkedHashMap<String, String>();
 
-        tmpMap.put("CATEGORY",
-                "jp.sf.pal.bookmark.db.bsentity.dbmeta.CategoryDbm");
-        tmpMap.put("LINK", "jp.sf.pal.bookmark.db.bsentity.dbmeta.LinkDbm");
+        tmpMap.put("BOOKMARK_CATEGORY",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.BookmarkCategoryDbm");
+        tmpMap.put("BOOKMARK_LINK",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.BookmarkLinkDbm");
+        tmpMap.put("GROUP_INFO",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.GroupInfoDbm");
+        tmpMap.put("GROUP_MAPPING",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.GroupMappingDbm");
+        tmpMap.put("ROLE_INFO",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.RoleInfoDbm");
+        tmpMap.put("ROLE_MAPPING",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.RoleMappingDbm");
+        tmpMap.put("USER_INFO",
+                "jp.sf.pal.bookmark.db.bsentity.dbmeta.UserInfoDbm");
 
         _tableDbNameClassNameMap = Collections.unmodifiableMap(tmpMap);
     }
@@ -39,8 +50,13 @@
     static {
         Map<String, String> tmpMap = new LinkedHashMap<String, String>();
 
-        tmpMap.put("CATEGORY".toLowerCase(), "category");
-        tmpMap.put("LINK".toLowerCase(), "link");
+        tmpMap.put("BOOKMARK_CATEGORY".toLowerCase(), "bookmarkCategory");
+        tmpMap.put("BOOKMARK_LINK".toLowerCase(), "bookmarkLink");
+        tmpMap.put("GROUP_INFO".toLowerCase(), "groupInfo");
+        tmpMap.put("GROUP_MAPPING".toLowerCase(), "groupMapping");
+        tmpMap.put("ROLE_INFO".toLowerCase(), "roleInfo");
+        tmpMap.put("ROLE_MAPPING".toLowerCase(), "roleMapping");
+        tmpMap.put("USER_INFO".toLowerCase(), "userInfo");
 
         _tableDbNamePropertyNameKeyToLowerMap = Collections
                 .unmodifiableMap(tmpMap);
@@ -51,8 +67,13 @@
     static {
         Map<String, String> tmpMap = new LinkedHashMap<String, String>();
 
-        tmpMap.put("category".toLowerCase(), "CATEGORY");
-        tmpMap.put("link".toLowerCase(), "LINK");
+        tmpMap.put("bookmarkCategory".toLowerCase(), "BOOKMARK_CATEGORY");
+        tmpMap.put("bookmarkLink".toLowerCase(), "BOOKMARK_LINK");
+        tmpMap.put("groupInfo".toLowerCase(), "GROUP_INFO");
+        tmpMap.put("groupMapping".toLowerCase(), "GROUP_MAPPING");
+        tmpMap.put("roleInfo".toLowerCase(), "ROLE_INFO");
+        tmpMap.put("roleMapping".toLowerCase(), "ROLE_MAPPING");
+        tmpMap.put("userInfo".toLowerCase(), "USER_INFO");
 
         _tablePropertyNameDbNameKeyToLowerMap = Collections
                 .unmodifiableMap(tmpMap);

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/helper/token/line/impl/LineTokenImpl.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/helper/token/line/impl/LineTokenImpl.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/helper/token/line/impl/LineTokenImpl.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -13,6 +13,10 @@
  */
 public class LineTokenImpl implements LineToken {
 
+    //==========================================================================
+    // =========
+    // Tokenize Line
+    // =============
     public List<String> tokenize(String lineString,
             LineTokenizingOption lineTokenizingOption) {
         final String delimiter = lineTokenizingOption.getDelimiter();
@@ -37,7 +41,7 @@
                 list.add(filterHandlingEmptyAsNull(pureValue,
                         lineTokenizingOption));
             }
-            i = j + 1;
+            i = j + delimiter.length();
             j = lineString.indexOf(delimiter, i);
         }
         list.add(filterHandlingEmptyAsNull(lineString.substring(i),
@@ -56,6 +60,10 @@
         return target;
     }
 
+    //==========================================================================
+    // =========
+    // Make Line
+    // =========
     public String make(java.util.List<String> valueList,
             LineMakingOption lineMakingOption) {
         assertObjectNotNull("valueList", valueList);
@@ -85,9 +93,10 @@
         return sb.toString();
     }
 
-    // ----------------------------------------------------------------
-    // Assert Object
-    // -------------
+    //==========================================================================
+    // =========
+    // General Helper
+    // ==============
     /**
      * Assert that the object is not null.
      * 
@@ -108,9 +117,6 @@
         }
     }
 
-    // ----------------------------------------------------------------
-    // Assert String
-    // -------------
     /**
      * Assert that the entity is not null and not trimmed empty.
      * 

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/CursorHandler.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/CursorHandler.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/CursorHandler.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,7 +1,10 @@
 package jp.sf.pal.bookmark.db.allcommon.jdbc;
 
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
 /**
- * The interface of statement history witness.
+ * The handler of cursor.
  * 
  * @author DBFlute(AutoGenerator)
  */
@@ -12,5 +15,5 @@
      * @return Result
      * @throws java.sql.SQLException
      */
-    Object handle(java.sql.ResultSet resultSet) throws java.sql.SQLException;
+    Object handle(ResultSet resultSet) throws SQLException;
 }

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/SqlLogHandler.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/SqlLogHandler.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/SqlLogHandler.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,18 @@
+package jp.sf.pal.bookmark.db.allcommon.jdbc;
+
+/**
+ * The handler of SQL log.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface SqlLogHandler {
+
+    /**
+     * @param executedSql The executed SQL. (NotNull)
+     * @param displaySql The SQL for display. (NotNull)
+     * @param args The arguments of the SQL. (Nullable)
+     * @param argTypes The argument types of the SQL. (Nullable)
+     */
+    void handle(String executedSql, String displaySql, Object[] args,
+            Class<?>[] argTypes);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/jdbc/SqlLogHandler.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoLatestSqlProvider.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoLatestSqlProvider.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoLatestSqlProvider.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -4,30 +4,17 @@
 import jp.sf.pal.bookmark.db.allcommon.s2dao.internal.sqllog.InternalSqlLogRegistry;
 
 /**
- * The provider of latest SQL as S2Dao. <br /> This instance should be
- * singleton. <br />
+ * The provider of latest SQL as S2Dao. This instance should be singleton.
  * 
  * @author DBFlute(AutoGenerator)
  */
 public class S2DaoLatestSqlProvider implements LatestSqlProvider {
 
-    /**
-     * The implementation.
-     * 
-     * @return Display SQL. (Nullable: If it was not found, returns null.)
-     */
     public String getDisplaySql() {
-        return getLastCompleteSql();
+        return InternalSqlLogRegistry.peekCompleteSql();
     }
 
-    protected String getLastCompleteSql() {
-        try {
-            return InternalSqlLogRegistry.peekCompleteSql();
-        } catch (RuntimeException ignored) {
-            return null;
-        }
-    }
-
     public void clearSqlCache() {
+        InternalSqlLogRegistry.clearSqlLogRegistry();
     }
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataExtension.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataExtension.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataExtension.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -15,10 +15,12 @@
 import javax.sql.DataSource;
 
 import jp.sf.pal.bookmark.db.allcommon.BehaviorSelector;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
 import jp.sf.pal.bookmark.db.allcommon.annotation.OutsideSql;
 import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
 import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBeanContext;
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlContext;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException;
 import jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException;
 import jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException;
@@ -43,6 +45,7 @@
 import jp.sf.pal.bookmark.db.allcommon.s2dao.internal.various.InternalProcedureMetaDataFactory;
 import jp.sf.pal.bookmark.db.allcommon.s2dao.internal.various.InternalRelationRowCreator;
 import jp.sf.pal.bookmark.db.allcommon.s2dao.internal.various.InternalRowCreator;
+import jp.sf.pal.bookmark.db.allcommon.util.SimpleSystemUtil;
 
 import org.seasar.dao.BeanEnhancer;
 import org.seasar.dao.BeanMetaData;
@@ -241,9 +244,57 @@
 
     //==========================================================================
     // =========
-    // Setup Method by Auto
-    // ====================
+    // Assert Override
+    // ===============
     @Override
+    protected void setupMethodByAnnotation(Class daoInterface, Method method) {
+        final String sql = daoAnnotationReader.getSQL(method, dbms.getSuffix());
+        assertSQLAnnotationUnsupported(method, sql);
+        super.setupMethodByAnnotation(daoInterface, method);
+    }
+
+    protected void assertSQLAnnotationUnsupported(final Method method,
+            String sql) {
+        if (sql != null) {
+            throwS2DaoSQLAnnotationUnsupportedException(method, sql);
+        }
+    }
+
+    protected void throwS2DaoSQLAnnotationUnsupportedException(
+            final Method method, String sql) {
+        String msg = "Look! Read the message below." + getLineSeparator();
+        msg = msg
+                + "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
+                + getLineSeparator();
+        msg = msg
+                + "Sorry, the SQL annotation of S2Dao is unsupported on DBFlute!"
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Advice]" + getLineSeparator();
+        msg = msg + "Please use outside-sql of behavior." + getLineSeparator();
+        msg = msg + "  For example:" + getLineSeparator();
+        msg = msg + "    memberBhv.outsideSql().selectList(...)"
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "If you've got to use it, you can set the property:"
+                + getLineSeparator();
+        msg = msg + "{torque.isCompatibleS2DaoSQLAnnotationValid = true}"
+                + getLineSeparator();
+        msg = msg + "But pay attention to version up of DBFlute"
+                + getLineSeparator();
+        msg = msg
+                + " because the property will not always supported at the future."
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Method]" + getLineSeparator() + method
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[SQL]" + getLineSeparator() + sql + getLineSeparator();
+        msg = msg + "* * * * * * * * * */";
+        throw new UnsupportedOperationException(msg);
+    }
+
+    @Override
     protected void setupMethodByAuto(Method method) {
         final OutsideSql outsideSql = method.getAnnotation(OutsideSql.class);
         if (outsideSql != null) {
@@ -259,68 +310,115 @@
 
     //==========================================================================
     // =========
-    // ConditionBean Setup
-    // ===================
+    // ConditionBean Override
+    // ======================
     @Override
     protected void setupSelectMethodByAuto(final Method method) {
+        if (setupInternalSelectMethodSequenceNextVal(method)) { // For sequence
+            return;
+        }
+        if (setupInternalSelectMethodEntityByIdsForBuri(method)) { // For Buri
+            return;
+        }
+
+        // Assert unsupported
+        final String query = daoAnnotationReader.getQuery(method);
+        assertQueryAnnotationUnsupported(method, query);
+        final String[] argNames = daoAnnotationReader.getArgNames(method);
+        assertAutoQueryByArgsAnnotationUnsupported(method, argNames);
+
+        // Here it is the only method that the argument is DTO.
         final ResultSetHandler handler = createResultSetHandler(method);
+        final SqlCommand cmd = setupInternalNonQuerySelectMethodByDto(method,
+                handler);
+
+        putSqlCommand(method.getName(), cmd);
+    }
+
+    protected boolean setupInternalSelectMethodSequenceNextVal(
+            final Method method) { // For sequence
+        if (!"selectNextVal".equals(method.getName())) {
+            return false;
+        }
+        final DBMeta dbmeta = findDBMeta();
+        if (!dbmeta.hasSequence()) {
+            String msg = "If the method 'selectNextVal()' exists, DBMeta.hasSequence() should return true:";
+            msg = msg + " dbmeta.hasSequence()=" + dbmeta.hasSequence()
+                    + " method=" + method;
+            throw new IllegalStateException(msg);
+        }
+        final String nextValSql = dbmeta.getSequenceNextValSql();
+        if (nextValSql == null) {
+            String msg = "If the method 'selectNextVal()' exists, DBMeta.getSequenceNextValSql() should not return null:";
+            msg = msg + " dbmeta.getSequenceNextValSql()="
+                    + dbmeta.getSequenceNextValSql() + " method=" + method;
+            throw new IllegalStateException(msg);
+        }
+        setupSelectMethodByManual(method, nextValSql);
+        return true;
+    }
+
+    protected boolean setupInternalSelectMethodEntityByIdsForBuri(
+            final Method method) { // For Buri
+        if (!"getEntityByIds".equals(method.getName())) {
+            return false;
+        }
+        final ResultSetHandler handler = createResultSetHandler(method);
         final String[] argNames = daoAnnotationReader.getArgNames(method);
         final String query = daoAnnotationReader.getQuery(method);
-        final SqlCommand cmd;
-        if (query != null && !startsWithOrderBy(query)) {
-            // For Pure S2Dao *Deprecated at the future...
-            cmd = setupInternalQuerySelectMethodByAuto(method, handler,
-                    argNames, query);
-        } else {
-            cmd = setupInternalNonQuerySelectMethodByAuto(method, handler,
-                    argNames, query);
+        if (query == null) {
+            String msg = "The method 'getEntityByIds()' should have QUERY annotation:";
+            msg = msg + " method=" + method;
+            throw new IllegalStateException(msg);
         }
-        putSqlCommand(method.getName(), cmd);
-    }
-
-    // For Pure S2Dao *Deprecated at the future...
-    protected SelectDynamicCommand setupInternalQuerySelectMethodByAuto(
-            final Method method, final ResultSetHandler handler,
-            final String[] argNames, final String query) {
         final Class[] types = method.getParameterTypes();
         final SelectDynamicCommand cmd = createSelectDynamicCommand(handler,
                 query);
         cmd.setArgNames(argNames);
         cmd.setArgTypes(types);
-        return cmd;
+        putSqlCommand(method.getName(), cmd);
+        return true;
     }
 
-    protected SqlCommand setupInternalNonQuerySelectMethodByAuto(
-            final Method method, final ResultSetHandler handler,
-            final String[] argNames, final String query) {
-        if (isAutoSelectSqlByDto(method, argNames)) {
-            return setupInternalNonQuerySelectMethodByDto(method, handler,
-                    argNames, query);
-        } else {
-            // For Pure S2Dao *Deprecated at the future...
-            return setupNonQuerySelectMethodByArgs(method, handler, argNames,
-                    query);
+    protected void assertQueryAnnotationUnsupported(final Method method,
+            String query) {
+        if (query != null) {
+            String msg = "Sorry! The QUERY annotation of S2Dao is unsupported on DBFlute:";
+            msg = msg + " query=" + query + " method=" + method;
+            throw new UnsupportedOperationException(msg);
         }
     }
 
+    protected void assertAutoQueryByArgsAnnotationUnsupported(
+            final Method method, String[] argNames) {
+        if (!isAutoSelectSqlByDto(method, argNames)) {
+            String msg = "Sorry! The auto query by ARGS annotation of S2Dao is unsupported on DBFlute:";
+            msg = msg + " argNames=" + argNames + " method=" + method;
+            throw new UnsupportedOperationException(msg);
+        }
+    }
+
     // For condition-bean!
     protected SqlCommand setupInternalNonQuerySelectMethodByDto(Method method,
-            ResultSetHandler handler, String[] argNames, String query) {
-        Class[] types = method.getParameterTypes();
-        Class clazz = types[0];
-        // /----------------------------------------------------- [MyExtension]
-        if (!ConditionBeanContext.isTheTypeConditionBean(clazz)) {
-            return super.setupNonQuerySelectMethodByDto(method, handler,
-                    argNames, query);
-        }
-        argNames = new String[] { "dto" };
+            ResultSetHandler handler) {
+        final Class[] argTypes = method.getParameterTypes();
+        assertAutoQueryByDtoUnsupported(method, argTypes);
         final S2DaoSelectDynamicCommand cmd = createCustomizeSelectDynamicCommand(handler);
-        cmd.setArgNames(argNames);
-        cmd.setArgTypes(types);
-        // -----------/
+        cmd.setArgNames(new String[] { "dto" });
+        cmd.setArgTypes(argTypes);
         return cmd;
     }
 
+    protected void assertAutoQueryByDtoUnsupported(final Method method,
+            Class[] argTypes) {
+        final Class firstArgType = argTypes[0];
+        if (!ConditionBeanContext.isTheTypeConditionBean(firstArgType)) {
+            String msg = "Sorry! The auto query by DTO of S2Dao is unsupported on DBFlute:";
+            msg = msg + " dto=" + firstArgType + " method=" + method;
+            throw new UnsupportedOperationException(msg);
+        }
+    }
+
     //==========================================================================
     // =========
     // Insert and Update and Delete By Auto Override
@@ -691,9 +789,7 @@
     // Normal OutsideSql
     // -----------------
     @Override
-    protected void setupSelectMethodByManual(Method method, String sql) {// Contains
-        // SQL-
-        // Annotation
+    protected void setupSelectMethodByManual(Method method, String sql) {
         final Class<?>[] pmbTypes = method.getParameterTypes();
         final String[] argNames = this.daoAnnotationReader.getArgNames(method);
         final Class<?>[] argTypes;
@@ -722,29 +818,16 @@
                 .createBeanMetaData(getOutsideSqlDefaultBeanClass(method));
     }
 
-    // @jflute -- This override causes exception, it's pending...
-    // This is for to use QLog about SQL-Annotation. But the priority is very
-    // low.
-    // 
-    // @Override
-    // protected void setupUpdateMethodByManual(Method method, final String sql)
-    // {// Contains SQL-Annotation
-    // final InternalUpdateDynamicCommand cmd = new
-    // InternalUpdateDynamicCommand(dataSource, statementFactory);
-    // cmd.setSql(sql);
-    // String[] argNames = daoAnnotationReader.getArgNames(method);
-    // if (argNames.length == 0 && isUpdateSignatureForBean(method)) {
-    // argNames = new String[] {
-    // StringUtil.decapitalize(ClassUtil.getShortClassName(beanClass)) };
-    // }
-    // 
-    // // It is unnecessary for DBFlute!
-    // // cmd.setNotSingleRowUpdatedExceptionClass(
-    // getNotSingleRowUpdatedExceptionClass(method));
-    // 
-    // registerSqlCommand(method.getName(), method, sql, argNames,
-    // method.getParameterTypes(), cmd);
-    // }
+    @Override
+    protected void setupUpdateMethodByManual(Method method, final String sql) {
+        // DBFlute Extesion does not exist. Because DBFlute methods don't use
+        // this!
+        // The insert/update/delete methods on DAO interface as outside SQL are
+        // target.
+        // And especially NonPrimaryInsertMethod uses this for using S2Dao's
+        // BindVariableNode.
+        super.setupUpdateMethodByManual(method, sql);
+    }
 
     // -----------------------------------------------------
     // Specified OutsideSql
@@ -1260,6 +1343,37 @@
 
     //==========================================================================
     // =========
+    // Assist Helper
+    // =============
+    protected DBMeta findDBMeta() {
+        final Class<?> beanType = getBeanClass();
+        if (beanType == null) {
+            return null;
+        }
+        if (!Entity.class.isAssignableFrom(beanType)) {
+            return null;
+        }
+        final Entity entity;
+        try {
+            entity = (Entity) beanType.newInstance();
+        } catch (InstantiationException e) {
+            throw new IllegalStateException(e);
+        } catch (IllegalAccessException e) {
+            throw new IllegalStateException(e);
+        }
+        return entity.getDBMeta();
+    }
+
+    //==========================================================================
+    // =========
+    // General Helper
+    // ==============
+    protected String getLineSeparator() {
+        return SimpleSystemUtil.getLineSeparator();
+    }
+
+    //==========================================================================
+    // =========
     // Accessor
     // ========
     // -----------------------------------------------------

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -160,24 +160,7 @@
 
         initializeDatabaseProductNameOfContext(xaDataSource);
 
-        final StringBuilder sb = new StringBuilder();
-        sb.append("{SqlLog Information}").append(getLineSeparator());
-        sb.append("  [SqlLogRegistry]").append(getLineSeparator());
-        final Object sqlLogRegistry = InternalSqlLogRegistry
-                .findContainerSqlLogRegistry();
-        if (sqlLogRegistry != null) {
-            InternalSqlLogRegistry.closeRegistration();
-            sb
-                    .append(
-                            "    SqlLogRegistry(org.seasar.extension.jdbc) is close! It's default for DBFlute.")
-                    .append(getLineSeparator());
-            sb
-                    .append("    If you want to use this, set SqlLogRegistry to SqlLogRegistryLocator at yourself.");
-        } else {
-            sb
-                    .append("    SqlLogRegistry(org.seasar.extension.jdbc) was not found!");
-        }
-        _log.info(sb);
+        handleSqlLogRegistry();
 
         DBFluteConfig.getInstance().lock();
         _log.info("* * * * */");
@@ -202,6 +185,41 @@
         _log.info("{Injection Information}" + getLineSeparator() + sb);
     }
 
+    protected void handleSqlLogRegistry() {
+        final StringBuilder sb = new StringBuilder();
+        sb.append("{SqlLog Information}").append(getLineSeparator());
+        sb.append("  [SqlLogRegistry]").append(getLineSeparator());
+        if (DBFluteConfig.getInstance().isUseSqlLogRegistry()) {
+            if (InternalSqlLogRegistry.setupSqlLogRegistry()) {
+                sb
+                        .append(
+                                "    ...Setting up SqlLogRegistry(org.seasar.extension.jdbc)!")
+                        .append(getLineSeparator());
+                sb
+                        .append("    Because the property 'useSqlLogRegistry' of the config of DBFlute is true.");
+            } else {
+                sb
+                        .append("    SqlLogRegistry(org.seasar.extension.jdbc) is not supported at the version!");
+            }
+        } else {
+            final Object sqlLogRegistry = InternalSqlLogRegistry
+                    .findContainerSqlLogRegistry();
+            if (sqlLogRegistry != null) {
+                InternalSqlLogRegistry.closeRegistration();
+                sb
+                        .append(
+                                "    SqlLogRegistry(org.seasar.extension.jdbc) is close! It's default for DBFlute.")
+                        .append(getLineSeparator());
+                sb
+                        .append("    If you want to use this, set SqlLogRegistry to SqlLogRegistryLocator at yourself.");
+            } else {
+                sb
+                        .append("    SqlLogRegistry(org.seasar.extension.jdbc) is not available!");
+            }
+        }
+        _log.info(sb);
+    }
+
     // -----------------------------------------------------
     // Database Product Name
     // ---------------------

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -10,6 +10,7 @@
 
 import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
 import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBeanContext;
+import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlContext;
 
 import org.seasar.dao.BeanMetaData;
 import org.seasar.dao.RelationPropertyType;
@@ -47,42 +48,57 @@
     // Handle
     // ======
     public Object handle(ResultSet rs) throws SQLException {
-        // Set<String(columnName)>
-        Set columnNames = null;
+        // Lazy initialization because if the result is zero, the resources are
+        // unused.
+        Set columnNames = null; // Set<String(columnName)>
+        Map propertyCache = null; // Map<String(columnName), PropertyType>
+        Map relationPropertyCache = null; // Map<String(relationNoSuffix),
+        // Map<String(columnName),
+        // PropertyType>>
+        RelationRowCache relRowCache = null;
 
-        // Map<String(columnName), PropertyType>
-        Map propertyCache = null; // [DAO-118] (2007/08/26)
-
-        // Map<String(relationNoSuffix), Map<String(columnName), PropertyType>>
-        Map relationPropertyCache = null; // [DAO-118] (2007/08/25)
-
         final List list = new ArrayList();
         final int relSize = getBeanMetaData().getRelationPropertyTypeSize();
-        final RelationRowCache relRowCache = new RelationRowCache(relSize);
         final boolean hasCB = hasConditionBean();
-        final boolean emptyRelation = isSelectedForeignInfoEmpty();
+        final boolean skipRelationLoop;
+        {
+            final boolean emptyRelation = isSelectedForeignInfoEmpty();
+            final boolean hasOSC = hasOutsideSqlContext();
+            final boolean specifiedOutsideSql = isSpecifiedOutsideSql();
 
+            // If it has condition-bean that has no relation to get
+            // or it has outside-sql context that is specified-outside-sql,
+            // they are unnecessary to do relation loop!
+            skipRelationLoop = (hasCB && emptyRelation)
+                    || (hasOSC && specifiedOutsideSql);
+        }
+
         while (rs.next()) {
-            // Lazy initialization because if the result is zero, the resources
-            // are unused.
             if (columnNames == null) {
                 columnNames = createColumnNames(rs.getMetaData());
             }
             if (propertyCache == null) {
                 propertyCache = createPropertyCache(columnNames);
             }
-            if (relationPropertyCache == null) {
-                relationPropertyCache = createRelationPropertyCache(columnNames);
-            }
 
             // Create row instance of base table by row property cache.
             final Object row = createRow(rs, propertyCache);
 
-            if (hasCB && emptyRelation) {
+            // If it has condition-bean that has no relation to get
+            // or it has outside-sql context that is specified-outside-sql,
+            // they are unnecessary to do relation loop!
+            if (skipRelationLoop) {
                 postCreateRow(row);
                 list.add(row);
                 continue;
             }
+
+            if (relationPropertyCache == null) {
+                relationPropertyCache = createRelationPropertyCache(columnNames);
+            }
+            if (relRowCache == null) {
+                relRowCache = new RelationRowCache(relSize);
+            }
             for (int i = 0; i < relSize; ++i) {
                 final RelationPropertyType rpt = getBeanMetaData()
                         .getRelationPropertyType(i);
@@ -195,7 +211,26 @@
         return false;
     }
 
+    /**
+     * Build the string of relation No suffix.
+     * 
+     * @param rpt The property type of relation. (NotNull)
+     * @return The string of relation No suffix. (NotNull)
+     */
     protected String buildRelationNoSuffix(RelationPropertyType rpt) {
         return "_" + rpt.getRelationNo();
     }
+
+    protected boolean hasOutsideSqlContext() {
+        return OutsideSqlContext.isExistOutsideSqlContextOnThread();
+    }
+
+    protected boolean isSpecifiedOutsideSql() {
+        if (!hasOutsideSqlContext()) {
+            return false;
+        }
+        final OutsideSqlContext context = OutsideSqlContext
+                .getOutsideSqlContextOnThread();
+        return context.isSpecifiedOutsideSql();
+    }
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -8,6 +8,7 @@
 
 import javax.sql.DataSource;
 
+import jp.sf.pal.bookmark.db.allcommon.CallbackContext;
 import jp.sf.pal.bookmark.db.allcommon.DBFluteConfig;
 import jp.sf.pal.bookmark.db.allcommon.InternalMapContext;
 import jp.sf.pal.bookmark.db.allcommon.QLog;
@@ -16,6 +17,7 @@
 import jp.sf.pal.bookmark.db.allcommon.cbean.outsidesql.OutsideSqlContext;
 import jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException;
 import jp.sf.pal.bookmark.db.allcommon.exception.SQLFailureException;
+import jp.sf.pal.bookmark.db.allcommon.jdbc.SqlLogHandler;
 import jp.sf.pal.bookmark.db.allcommon.s2dao.internal.sqllog.InternalSqlLogRegistry;
 import jp.sf.pal.bookmark.db.allcommon.s2dao.internal.util.InternalBindVariableUtil;
 import jp.sf.pal.bookmark.db.allcommon.util.SimpleSystemUtil;
@@ -60,8 +62,11 @@
 
     //==========================================================================
     // =========
-    // Basic Method for SubClass
-    // =========================
+    // Common Logic
+    // ============
+    // -----------------------------------------------------
+    // Args Handling
+    // -------------
     protected void bindArgs(PreparedStatement ps, Object[] args,
             Class<?>[] argTypes) {
         if (args == null) {
@@ -91,42 +96,65 @@
         return argTypes;
     }
 
-    protected String getCompleteSql(Object[] args) {
-        return InternalBindVariableUtil.getCompleteSql(sql, args);
+    // -----------------------------------------------------
+    // SQL Logging
+    // -----------
+    protected void logSql(Object[] args, Class<?>[] argTypes) {
+        final SqlLogHandler sqlLogHandler = getSqlLogHander();
+        final boolean existsSqlLogHandler = sqlLogHandler != null;
+        final Object sqlLogRegistry = InternalSqlLogRegistry
+                .findContainerSqlLogRegistry();
+        final boolean existsSqlLogRegistry = sqlLogRegistry != null;
+        if (isLogEnabled() || existsSqlLogHandler || existsSqlLogRegistry) {
+            final String completeSql = getCompleteSql(args);
+            if (isLogEnabled()) {
+                log((isContainsLineSeparatorInSql() ? getLineSeparator() : "")
+                        + completeSql);
+            }
+            if (existsSqlLogHandler) { // DBFlute provides
+                sqlLogHandler.handle(getSql(), completeSql, args, argTypes);
+            }
+            if (existsSqlLogRegistry) { // S2Container provides
+                InternalSqlLogRegistry.push(getSql(), completeSql, args,
+                        argTypes, sqlLogRegistry);
+            }
+        }
     }
 
-    protected String getBindVariableText(Object bindVariable) {
-        return InternalBindVariableUtil.getBindVariableText(bindVariable);
+    protected boolean isLogEnabled() {
+        return QLog.isLogEnabled();
     }
 
-    protected ValueType getValueType(Class<?> clazz) {
-        return ValueTypes.getValueType(clazz);
+    protected void log(String msg) {
+        QLog.log(msg);
     }
 
-    protected void logSql(Object[] args, Class<?>[] argTypes) {
-        if (QLog.isLogEnabled()
-                || InternalSqlLogRegistry.existsSqlLogRegistry()) {
-            final String completeSql = getCompleteSql(args);
-            if (isContainsLineSeparatorInSql()) {
-                QLog.log(getLineSeparator() + completeSql);
-            } else {
-                QLog.log(completeSql);
-            }
-            if (InternalSqlLogRegistry.existsSqlLogRegistry()) {
-                final Object sqlLogRegistry = InternalSqlLogRegistry
-                        .findContainerSqlLogRegistry();
-                if (sqlLogRegistry != null) {
-                    InternalSqlLogRegistry.push(getSql(), completeSql, args,
-                            argTypes, sqlLogRegistry);
-                }
-            }
+    protected String getCompleteSql(Object[] args) {
+        return InternalBindVariableUtil.getCompleteSql(sql, args);
+    }
+
+    protected SqlLogHandler getSqlLogHander() {
+        if (!CallbackContext.isExistCallbackContextOnThread()) {
+            return null;
         }
+        return CallbackContext.getCallbackContextOnThread().getSqlLogHandler();
     }
 
     protected boolean isContainsLineSeparatorInSql() {
         return sql != null ? sql.contains(getLineSeparator()) : false;
     }
 
+    // -----------------------------------------------------
+    // Various
+    // -------
+    protected String getBindVariableText(Object bindVariable) {
+        return InternalBindVariableUtil.getBindVariableText(bindVariable);
+    }
+
+    protected ValueType getValueType(Class<?> clazz) {
+        return ValueTypes.getValueType(clazz);
+    }
+
     //==========================================================================
     // =========
     // Exception Handler
@@ -530,6 +558,31 @@
 
     //==========================================================================
     // =========
+    // Assist Helper
+    // =============
+    // It needs this method if the target database doest not support line
+    // comment.
+    protected String removeLineComment(final String sql) { // With removing CR!
+        if (sql == null || sql.trim().length() == 0) {
+            return sql;
+        }
+        final StringBuilder sb = new StringBuilder();
+        final String[] lines = sql.split("\n");
+        for (String line : lines) {
+            if (line == null) {
+                continue;
+            }
+            line = line.replaceAll("\r", ""); // Remove CR!
+            if (line.startsWith("--")) {
+                continue;
+            }
+            sb.append(line).append("\n");
+        }
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
     // General Helper
     // ==============
     protected String getLineSeparator() {

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -28,11 +28,11 @@
 
     protected static final String NAME_SqlLogRegistry = "org.seasar.extension.jdbc.SqlLogRegistry";
 
+    protected static final String NAME_SqlLogRegistryImpl = "org.seasar.extension.jdbc.impl.SqlLogRegistryImpl";
+
     protected static final String NAME_SqlLog = "org.seasar.extension.jdbc.SqlLog";
 
     protected static final String NAME_SqlLogImpl = "org.seasar.extension.jdbc.impl.SqlLogImpl";
-
-    protected static boolean STATUS_SqlLogExists = false;
     static {
         forNameContainerSqlLogRegistryLocator();
     }
@@ -41,10 +41,56 @@
     // =========
     // Public Entry
     // ============
-    public static boolean existsSqlLogRegistry() {
-        return STATUS_SqlLogExists;
+    public static boolean setupSqlLogRegistry() {
+        final Class<?> sqlLogRegistryLocatorType = forNameContainerSqlLogRegistryLocator();
+        if (sqlLogRegistryLocatorType == null) {
+            return false;
+        }
+        final Class<?> sqlLogRegistryType = forNameContainerSqlLogRegistry();
+        if (sqlLogRegistryType == null) {
+            return false;
+        }
+        final Object sqlLogRegistryImpl = createContainerSqlLogRegistryImpl();
+        if (sqlLogRegistryImpl == null) {
+            return false;
+        }
+        try {
+            final Method method = sqlLogRegistryLocatorType.getMethod(
+                    NAME_setInstance, new Class[] { sqlLogRegistryType });
+            _log.info("...Setting the registry of sqlLog to the locator.");
+            method.invoke(null, new Object[] { sqlLogRegistryImpl });
+            return true;
+        } catch (Exception e) {
+            String msg = "InternalSqlLogRegistry.setupSqlLogRegistry() threw the exception:";
+            msg = msg + " sqlLogRegistryLocatorType="
+                    + sqlLogRegistryLocatorType;
+            msg = msg + " NAME_setInstance=" + NAME_setInstance;
+            throw new IllegalStateException(msg, e);
+        }
     }
 
+    public static void clearSqlLogRegistry() {
+        final Class<?> sqlLogRegistryLocatorType = forNameContainerSqlLogRegistryLocator();
+        if (sqlLogRegistryLocatorType == null) {
+            return;
+        }
+        final Object sqlLogRegistry = findContainerSqlLogRegistry();
+        if (sqlLogRegistry == null) {
+            return;
+        }
+        Class<? extends Object> sqlLogRegistryType = sqlLogRegistry.getClass();
+        try {
+            final Method method = sqlLogRegistryType.getMethod("clear",
+                    new Class[] {});
+            method.invoke(sqlLogRegistry, new Object[] {});
+        } catch (Exception e) {
+            String msg = "InternalSqlLogRegistry.clearSqlLogRegistry() threw the exception:";
+            msg = msg + " sqlLogRegistryLocatorType="
+                    + sqlLogRegistryLocatorType;
+            throw new IllegalStateException(msg, e);
+        }
+    }
+
     public static Object findContainerSqlLogRegistry() {
         final Class<?> sqlLogRegistryLocatorType = forNameContainerSqlLogRegistryLocator();
         if (sqlLogRegistryLocatorType == null) {
@@ -75,7 +121,7 @@
         try {
             final Method method = sqlLogRegistryLocatorType.getMethod(
                     NAME_setInstance, new Class[] { sqlLogRegistryType });
-            _log.info("...Closing the registration of sqlLog.");
+            _log.info("...Closing the registry of sqlLog.");
             method.invoke(null, new Object[] { null });
         } catch (Exception e) {
             String msg = "InternalSqlLogRegistry.closeRegistration() threw the exception:";
@@ -113,6 +159,22 @@
     // =========
     // Container Reflection
     // ====================
+    protected static Object createContainerSqlLogRegistryImpl() {
+        try {
+            final Class<?> clazz = forNameContainerSqlLogRegistryImpl();
+            if (clazz == null) {
+                return null;
+            }
+            final Constructor<?> constructor = clazz.getConstructor(int.class);
+            return constructor.newInstance(new Object[] { 3 });
+        } catch (Exception e) {
+            String msg = NAME_SqlLogRegistry
+                    + ".class.newInstance threw the exception:";
+            msg = msg + " NAME_SqlLogRegistry=" + NAME_SqlLogRegistry;
+            throw new IllegalStateException(msg, e);
+        }
+    }
+
     protected static Object createContainerSqlLogImpl(String rawSql,
             String completeSql, Object[] bindArgs, Class<?>[] bindArgTypes) {
         try {
@@ -187,9 +249,7 @@
         Class<?> clazz = null;
         try {
             clazz = Class.forName(NAME_SqlLogRegistryLocator);
-            STATUS_SqlLogExists = true;
         } catch (Exception ignored) {
-            STATUS_SqlLogExists = false;
             return null;
         }
         return clazz;
@@ -204,4 +264,14 @@
         }
         return clazz;
     }
+
+    protected static Class<?> forNameContainerSqlLogRegistryImpl() {
+        Class<?> clazz = null;
+        try {
+            clazz = Class.forName(NAME_SqlLogRegistryImpl);
+        } catch (Exception ignored) {
+            return null;
+        }
+        return clazz;
+    }
 }

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,137 @@
+package jp.sf.pal.bookmark.db.allcommon.s2dao.internal.valuetype;
+
+import java.io.ByteArrayInputStream;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.sql.Blob;
+import java.sql.CallableStatement;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.sql.Types;
+
+import org.seasar.extension.jdbc.types.BytesType;
+
+/**
+ * The value type of bytes OID. (for PostgreSQL)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public class InternalBytesOidType extends BytesType {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public InternalBytesOidType() {
+        super(new InternalBytesOidTrait());
+    }
+
+    //==========================================================================
+    // =========
+    // Blob Trait
+    // ==========
+    protected static class InternalBytesOidTrait implements Trait {
+
+        public int getSqlType() {
+            return Types.BLOB;
+        }
+
+        public void set(PreparedStatement ps, int parameterIndex, byte[] bytes)
+                throws SQLException {
+            ps.setBlob(parameterIndex, createBytesOidImpl(bytes));
+        }
+
+        protected Blob createBytesOidImpl(byte[] bytes) {
+            return new InternalBytesOidImpl(bytes);
+        }
+
+        public void set(CallableStatement cs, String parameterName, byte[] bytes)
+                throws SQLException {
+            cs.setBytes(parameterName, bytes);
+        }
+
+        public byte[] get(ResultSet rs, int columnIndex) throws SQLException {
+            return BytesType.toBytes(rs.getBlob(columnIndex));
+        }
+
+        public byte[] get(ResultSet rs, String columnName) throws SQLException {
+            return BytesType.toBytes(rs.getBlob(columnName));
+        }
+
+        public byte[] get(CallableStatement cs, int columnIndex)
+                throws SQLException {
+            return BytesType.toBytes(cs.getBlob(columnIndex));
+        }
+
+        public byte[] get(CallableStatement cs, String columnName)
+                throws SQLException {
+            return BytesType.toBytes(cs.getBlob(columnName));
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Blob Implementation
+    // ===================
+    protected static class InternalBytesOidImpl implements Blob {
+
+        protected byte[] bytes;
+
+        public InternalBytesOidImpl(byte[] bytes) {
+            this.bytes = bytes;
+        }
+
+        public void free() throws SQLException { // for JDK-6.0
+            throw new UnsupportedOperationException("free()");
+        }
+
+        public InputStream getBinaryStream() throws SQLException {
+            return new ByteArrayInputStream(bytes);
+        }
+
+        public InputStream getBinaryStream(long pos, long length)
+                throws SQLException { // for JDK-6.0
+            throw new UnsupportedOperationException(
+                    "getBinaryStream(pos, length)");
+        }
+
+        public byte[] getBytes(long pos, int length) throws SQLException {
+            if (length == bytes.length) {
+                return bytes;
+            }
+            byte[] result = new byte[length];
+            System.arraycopy(bytes, 0, result, 0, length);
+            return result;
+        }
+
+        public long length() throws SQLException {
+            return bytes.length;
+        }
+
+        public long position(Blob pattern, long start) throws SQLException {
+            throw new UnsupportedOperationException("position");
+        }
+
+        public long position(byte[] pattern, long start) throws SQLException {
+            throw new UnsupportedOperationException("position");
+        }
+
+        public OutputStream setBinaryStream(long pos) throws SQLException {
+            throw new UnsupportedOperationException("setBinaryStream");
+        }
+
+        public int setBytes(long pos, byte[] bytes, int offset, int len)
+                throws SQLException {
+            throw new UnsupportedOperationException("setBytes");
+        }
+
+        public int setBytes(long pos, byte[] bytes) throws SQLException {
+            throw new UnsupportedOperationException("setBytes");
+        }
+
+        public void truncate(long len) throws SQLException {
+            throw new UnsupportedOperationException("truncate");
+        }
+    }
+}
\ No newline at end of file


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkCategoryBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkCategoryBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkCategoryBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,827 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.BookmarkCategoryDbm;
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.exbhv.BookmarkLinkBhv;
+import jp.sf.pal.bookmark.db.exdao.BookmarkCategoryDao;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
+
+/**
+ * The behavior of BOOKMARK_CATEGORY.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, NAME, MEMO, TYPE, SORT_ORDER, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     
+ * 
+ * [referrer-table]
+ *     BOOKMARK_LINK
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     bookmarkLinkList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsBookmarkCategoryBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BookmarkCategoryDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return BookmarkCategoryDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public BookmarkCategoryDbm getMyDBMeta() {
+        return BookmarkCategoryDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public BookmarkCategoryDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(BookmarkCategoryDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public BookmarkCategory newMyEntity() {
+        return new BookmarkCategory();
+    }
+
+    public BookmarkCategoryCB newMyConditionBean() {
+        return new BookmarkCategoryCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of BookmarkCategory. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(BookmarkCategoryCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of BookmarkCategory. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public BookmarkCategory selectEntity(final BookmarkCategoryCB cb) {
+        return helpSelectEntityInternally(
+                cb,
+                new InternalSelectEntityCallback<BookmarkCategory, BookmarkCategoryCB>() {
+                    public List<BookmarkCategory> callbackSelectList(
+                            BookmarkCategoryCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of BookmarkCategory. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public BookmarkCategory selectEntityWithDeletedCheck(
+            final BookmarkCategoryCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<BookmarkCategory, BookmarkCategoryCB>() {
+                    public List<BookmarkCategory> callbackSelectList(
+                            BookmarkCategoryCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public BookmarkCategory selectByPKValueWithDeletedCheck(Integer id) {
+        BookmarkCategory entity = new BookmarkCategory();
+        entity.setId(id);
+        final BookmarkCategoryCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of BookmarkCategory. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<BookmarkCategory> selectList(BookmarkCategoryCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<BookmarkCategory>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of BookmarkCategory. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<BookmarkCategory> selectPage(
+            final BookmarkCategoryCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<BookmarkCategory> invoker = new PagingInvoker<BookmarkCategory>(
+                getTableDbName());
+        final PagingHandler<BookmarkCategory> handler = new PagingHandler<BookmarkCategory>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<BookmarkCategory> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of BookmarkCategory. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            BookmarkCategoryCB cb,
+            ValueLabelSetupper<BookmarkCategory> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+    /**
+     * Load referrer of bookmarkLinkList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setCategoryId_InScope(pkList);
+     * cb.query().addOrderBy_CategoryId_Asc();
+     * </pre>
+     * 
+     * @param bookmarkCategoryList The entity list of bookmarkCategory.
+     *            (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadBookmarkLinkList(
+            List<BookmarkCategory> bookmarkCategoryList,
+            ConditionBeanSetupper<BookmarkLinkCB> conditionBeanSetupper) {
+        assertObjectNotNull("bookmarkCategoryList<BookmarkCategory>",
+                bookmarkCategoryList);
+        assertObjectNotNull("conditionBeanSetupper<BookmarkLinkCB>",
+                conditionBeanSetupper);
+        if (bookmarkCategoryList.isEmpty()) {
+            return;
+        }
+        loadBookmarkLinkList(bookmarkCategoryList,
+                new LoadReferrerOption<BookmarkLinkCB, BookmarkLink>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param bookmarkCategoryList The entity list of bookmarkCategory.
+     *            (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadBookmarkLinkList(
+            List<BookmarkCategory> bookmarkCategoryList,
+            LoadReferrerOption<BookmarkLinkCB, BookmarkLink> loadReferrerOption) {
+        assertObjectNotNull("bookmarkCategoryList<BookmarkCategory>",
+                bookmarkCategoryList);
+        assertObjectNotNull("loadReferrerOption<BookmarkLink, BookmarkLinkCB>",
+                loadReferrerOption);
+        if (bookmarkCategoryList.isEmpty()) {
+            return;
+        }
+        final BookmarkLinkBhv referrerBhv = xgetBSFLR().select(
+                BookmarkLinkBhv.class);
+        helpLoadReferrerInternally(
+                bookmarkCategoryList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<BookmarkCategory, Integer, BookmarkLinkCB, BookmarkLink>() {
+                    public Integer callbackBase_getPrimaryKeyValue(
+                            BookmarkCategory entity) {
+                        return entity.getId();
+                    }
+
+                    public void callbackBase_setReferrerList(
+                            BookmarkCategory entity,
+                            List<BookmarkLink> referrerList) {
+                        entity.setBookmarkLinkList(referrerList);
+                    }
+
+                    public BookmarkLinkCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            BookmarkLinkCB cb, List<Integer> pkList) {
+                        cb.query().setCategoryId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            BookmarkLinkCB cb) {
+                        cb.query().addOrderBy_CategoryId_Asc();
+                    }
+
+                    public List<BookmarkLink> callbackReferrer_selectList(
+                            BookmarkLinkCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public Integer callbackReferrer_getForeignKeyValue(
+                            BookmarkLink entity) {
+                        return entity.getCategoryId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            BookmarkLink referrerEntity,
+                            BookmarkCategory baseEntity) {
+                        referrerEntity.setBookmarkCategory(baseEntity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param bookmarkCategory The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(BookmarkCategory bookmarkCategory) {
+        assertEntityNotNull(bookmarkCategory);
+        delegateInsert(bookmarkCategory);
+    }
+
+    @Override
+    protected void doCreate(Entity bookmarkCategory) {
+        insert((BookmarkCategory) bookmarkCategory);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param bookmarkCategory The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final BookmarkCategory bookmarkCategory) {
+        helpUpdateInternally(bookmarkCategory,
+                new InternalUpdateCallback<BookmarkCategory>() {
+                    public int callbackDelegateUpdate(BookmarkCategory entity) {
+                        return delegateUpdate(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((BookmarkCategory) entity);
+    }
+
+    /**
+     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param bookmarkCategory The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void updateNonstrict(final BookmarkCategory bookmarkCategory) {
+        helpUpdateNonstrictInternally(bookmarkCategory,
+                new InternalUpdateNonstrictCallback<BookmarkCategory>() {
+                    public int callbackDelegateUpdateNonstrict(
+                            BookmarkCategory entity) {
+                        return delegateUpdateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        updateNonstrict((BookmarkCategory) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param bookmarkCategory The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final BookmarkCategory bookmarkCategory) {
+        helpInsertOrUpdateInternally(
+                bookmarkCategory,
+                new InternalInsertOrUpdateCallback<BookmarkCategory, BookmarkCategoryCB>() {
+                    public void callbackInsert(BookmarkCategory entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(BookmarkCategory entity) {
+                        update(entity);
+                    }
+
+                    public BookmarkCategoryCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(BookmarkCategoryCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity bookmarkCategory) {
+        insertOrUpdate((BookmarkCategory) bookmarkCategory);
+    }
+
+    /**
+     * Insert or update the entity non-strictly modified-only.
+     * {NonConcurrencyControl(when update)}
+     * 
+     * @param bookmarkCategory The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdateNonstrict(BookmarkCategory bookmarkCategory) {
+        helpInsertOrUpdateInternally(
+                bookmarkCategory,
+                new InternalInsertOrUpdateNonstrictCallback<BookmarkCategory>() {
+                    public void callbackInsert(BookmarkCategory entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdateNonstrict(BookmarkCategory entity) {
+                        updateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdateNonstrict((BookmarkCategory) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param bookmarkCategory The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(BookmarkCategory bookmarkCategory) {
+        helpDeleteInternally(bookmarkCategory,
+                new InternalDeleteCallback<BookmarkCategory>() {
+                    public int callbackDelegateDelete(BookmarkCategory entity) {
+                        return delegateDelete(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doRemove(Entity bookmarkCategory) {
+        delete((BookmarkCategory) bookmarkCategory);
+    }
+
+    /**
+     * Delete the entity non-strictly. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param bookmarkCategory Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrict(BookmarkCategory bookmarkCategory) {
+        helpDeleteNonstrictInternally(bookmarkCategory,
+                new InternalDeleteNonstrictCallback<BookmarkCategory>() {
+                    public int callbackDelegateDeleteNonstrict(
+                            BookmarkCategory entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    /**
+     * Delete the entity non-strictly ignoring deleted.
+     * {UpdateCountZeroException, NonConcurrencyControl}
+     * 
+     * @param bookmarkCategory Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrictIgnoreDeleted(BookmarkCategory bookmarkCategory) {
+        helpDeleteNonstrictIgnoreDeletedInternally(
+                bookmarkCategory,
+                new InternalDeleteNonstrictIgnoreDeletedCallback<BookmarkCategory>() {
+                    public int callbackDelegateDeleteNonstrict(
+                            BookmarkCategory entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param bookmarkCategoryList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<BookmarkCategory> bookmarkCategoryList) {
+        assertObjectNotNull("bookmarkCategoryList", bookmarkCategoryList);
+        return delegateInsertList(bookmarkCategoryList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param bookmarkCategoryList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchUpdate(List<BookmarkCategory> bookmarkCategoryList) {
+        assertObjectNotNull("bookmarkCategoryList", bookmarkCategoryList);
+        return delegateUpdateList(bookmarkCategoryList);
+    }
+
+    /**
+     * Batch update the list non-strictly. All columns are update target. {NOT
+     * modified only} <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param bookmarkCategoryList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdateNonstrict(
+            List<BookmarkCategory> bookmarkCategoryList) {
+        assertObjectNotNull("bookmarkCategoryList", bookmarkCategoryList);
+        return delegateUpdateListNonstrict(bookmarkCategoryList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param bookmarkCategoryList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchDelete(List<BookmarkCategory> bookmarkCategoryList) {
+        assertObjectNotNull("bookmarkCategoryList", bookmarkCategoryList);
+        return delegateDeleteList(bookmarkCategoryList);
+    }
+
+    /**
+     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
+     * of java.sql.PreparedStatement.
+     * 
+     * @param bookmarkCategoryList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDeleteNonstrict(
+            List<BookmarkCategory> bookmarkCategoryList) {
+        assertObjectNotNull("bookmarkCategoryList", bookmarkCategoryList);
+        return delegateDeleteListNonstrict(bookmarkCategoryList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param bookmarkCategory Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(BookmarkCategory bookmarkCategory,
+            BookmarkCategoryCB cb) {
+        assertObjectNotNull("bookmarkCategory", bookmarkCategory);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(bookmarkCategory);
+        filterEntityOfUpdate(bookmarkCategory);
+        assertEntityOfUpdate(bookmarkCategory);
+        return getMyDao().updateByQuery(cb, bookmarkCategory);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(BookmarkCategoryCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(BookmarkCategoryCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<BookmarkCategory> delegateSelectList(BookmarkCategoryCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(BookmarkCategory e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(BookmarkCategory e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateUpdateNonstrict(BookmarkCategory e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateNonstrictModifiedOnly(e);
+    }
+
+    protected int delegateDelete(BookmarkCategory e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int delegateDeleteNonstrict(BookmarkCategory e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().deleteNonstrict(e);
+    }
+
+    protected int[] delegateInsertList(List<BookmarkCategory> ls) {
+        assertObjectNotNull("bookmarkCategoryList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<BookmarkCategory> ls) {
+        assertObjectNotNull("bookmarkCategoryList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateUpdateListNonstrict(List<BookmarkCategory> ls) {
+        assertObjectNotNull("bookmarkCategoryList", ls);
+        return getMyDao().updateListNonstrict(
+                helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<BookmarkCategory> ls) {
+        assertObjectNotNull("bookmarkCategoryList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    protected int[] delegateDeleteListNonstrict(List<BookmarkCategory> ls) {
+        assertObjectNotNull("bookmarkCategoryList", ls);
+        return getMyDao().deleteListNonstrict(
+                helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return !(downcast(entity).getVersionno() + "").equals("null");// For
+        // primitive
+        // type
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected BookmarkCategory downcast(Entity entity) {
+        return helpDowncastInternally(entity, BookmarkCategory.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkCategoryBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkLinkBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkLinkBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkLinkBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,735 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.BookmarkLinkDbm;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.exdao.BookmarkLinkDao;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
+
+/**
+ * The behavior of BOOKMARK_LINK.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, NAME, MEMO, URL, TYPE, SORT_ORDER, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     BOOKMARK_CATEGORY
+ * 
+ * [referrer-table]
+ *     
+ * 
+ * [foreign-property]
+ *     bookmarkCategory
+ * 
+ * [referrer-property]
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsBookmarkLinkBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BookmarkLinkDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "BOOKMARK_LINK";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return BookmarkLinkDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public BookmarkLinkDbm getMyDBMeta() {
+        return BookmarkLinkDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public BookmarkLinkDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(BookmarkLinkDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public BookmarkLink newMyEntity() {
+        return new BookmarkLink();
+    }
+
+    public BookmarkLinkCB newMyConditionBean() {
+        return new BookmarkLinkCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of BookmarkLink. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(BookmarkLinkCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of BookmarkLink. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public BookmarkLink selectEntity(final BookmarkLinkCB cb) {
+        return helpSelectEntityInternally(
+                cb,
+                new InternalSelectEntityCallback<BookmarkLink, BookmarkLinkCB>() {
+                    public List<BookmarkLink> callbackSelectList(
+                            BookmarkLinkCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of BookmarkLink. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public BookmarkLink selectEntityWithDeletedCheck(final BookmarkLinkCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<BookmarkLink, BookmarkLinkCB>() {
+                    public List<BookmarkLink> callbackSelectList(
+                            BookmarkLinkCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public BookmarkLink selectByPKValueWithDeletedCheck(Long id) {
+        BookmarkLink entity = new BookmarkLink();
+        entity.setId(id);
+        final BookmarkLinkCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of BookmarkLink. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<BookmarkLink> selectList(BookmarkLinkCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<BookmarkLink>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of BookmarkLink. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<BookmarkLink> selectPage(final BookmarkLinkCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<BookmarkLink> invoker = new PagingInvoker<BookmarkLink>(
+                getTableDbName());
+        final PagingHandler<BookmarkLink> handler = new PagingHandler<BookmarkLink>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<BookmarkLink> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of BookmarkLink. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            BookmarkLinkCB cb,
+            ValueLabelSetupper<BookmarkLink> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+    /**
+     * Pull out the list of foreign table 'BookmarkCategory'.
+     * 
+     * @param bookmarkLinkList The list of bookmarkLink. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<BookmarkCategory> pulloutBookmarkCategory(
+            List<BookmarkLink> bookmarkLinkList) {
+        return helpPulloutInternally(bookmarkLinkList,
+                new InternalPulloutCallback<BookmarkLink, BookmarkCategory>() {
+                    public BookmarkCategory callbackGetForeignEntity(
+                            BookmarkLink entity) {
+                        return entity.getBookmarkCategory();
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param bookmarkLink The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(BookmarkLink bookmarkLink) {
+        assertEntityNotNull(bookmarkLink);
+        delegateInsert(bookmarkLink);
+    }
+
+    @Override
+    protected void doCreate(Entity bookmarkLink) {
+        insert((BookmarkLink) bookmarkLink);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param bookmarkLink The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final BookmarkLink bookmarkLink) {
+        helpUpdateInternally(bookmarkLink,
+                new InternalUpdateCallback<BookmarkLink>() {
+                    public int callbackDelegateUpdate(BookmarkLink entity) {
+                        return delegateUpdate(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((BookmarkLink) entity);
+    }
+
+    /**
+     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param bookmarkLink The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void updateNonstrict(final BookmarkLink bookmarkLink) {
+        helpUpdateNonstrictInternally(bookmarkLink,
+                new InternalUpdateNonstrictCallback<BookmarkLink>() {
+                    public int callbackDelegateUpdateNonstrict(
+                            BookmarkLink entity) {
+                        return delegateUpdateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        updateNonstrict((BookmarkLink) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param bookmarkLink The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final BookmarkLink bookmarkLink) {
+        helpInsertOrUpdateInternally(
+                bookmarkLink,
+                new InternalInsertOrUpdateCallback<BookmarkLink, BookmarkLinkCB>() {
+                    public void callbackInsert(BookmarkLink entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(BookmarkLink entity) {
+                        update(entity);
+                    }
+
+                    public BookmarkLinkCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(BookmarkLinkCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity bookmarkLink) {
+        insertOrUpdate((BookmarkLink) bookmarkLink);
+    }
+
+    /**
+     * Insert or update the entity non-strictly modified-only.
+     * {NonConcurrencyControl(when update)}
+     * 
+     * @param bookmarkLink The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdateNonstrict(BookmarkLink bookmarkLink) {
+        helpInsertOrUpdateInternally(bookmarkLink,
+                new InternalInsertOrUpdateNonstrictCallback<BookmarkLink>() {
+                    public void callbackInsert(BookmarkLink entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdateNonstrict(BookmarkLink entity) {
+                        updateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdateNonstrict((BookmarkLink) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param bookmarkLink The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(BookmarkLink bookmarkLink) {
+        helpDeleteInternally(bookmarkLink,
+                new InternalDeleteCallback<BookmarkLink>() {
+                    public int callbackDelegateDelete(BookmarkLink entity) {
+                        return delegateDelete(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doRemove(Entity bookmarkLink) {
+        delete((BookmarkLink) bookmarkLink);
+    }
+
+    /**
+     * Delete the entity non-strictly. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param bookmarkLink Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrict(BookmarkLink bookmarkLink) {
+        helpDeleteNonstrictInternally(bookmarkLink,
+                new InternalDeleteNonstrictCallback<BookmarkLink>() {
+                    public int callbackDelegateDeleteNonstrict(
+                            BookmarkLink entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    /**
+     * Delete the entity non-strictly ignoring deleted.
+     * {UpdateCountZeroException, NonConcurrencyControl}
+     * 
+     * @param bookmarkLink Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrictIgnoreDeleted(BookmarkLink bookmarkLink) {
+        helpDeleteNonstrictIgnoreDeletedInternally(
+                bookmarkLink,
+                new InternalDeleteNonstrictIgnoreDeletedCallback<BookmarkLink>() {
+                    public int callbackDelegateDeleteNonstrict(
+                            BookmarkLink entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param bookmarkLinkList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<BookmarkLink> bookmarkLinkList) {
+        assertObjectNotNull("bookmarkLinkList", bookmarkLinkList);
+        return delegateInsertList(bookmarkLinkList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param bookmarkLinkList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchUpdate(List<BookmarkLink> bookmarkLinkList) {
+        assertObjectNotNull("bookmarkLinkList", bookmarkLinkList);
+        return delegateUpdateList(bookmarkLinkList);
+    }
+
+    /**
+     * Batch update the list non-strictly. All columns are update target. {NOT
+     * modified only} <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param bookmarkLinkList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdateNonstrict(List<BookmarkLink> bookmarkLinkList) {
+        assertObjectNotNull("bookmarkLinkList", bookmarkLinkList);
+        return delegateUpdateListNonstrict(bookmarkLinkList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param bookmarkLinkList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchDelete(List<BookmarkLink> bookmarkLinkList) {
+        assertObjectNotNull("bookmarkLinkList", bookmarkLinkList);
+        return delegateDeleteList(bookmarkLinkList);
+    }
+
+    /**
+     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
+     * of java.sql.PreparedStatement.
+     * 
+     * @param bookmarkLinkList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDeleteNonstrict(List<BookmarkLink> bookmarkLinkList) {
+        assertObjectNotNull("bookmarkLinkList", bookmarkLinkList);
+        return delegateDeleteListNonstrict(bookmarkLinkList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param bookmarkLink Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(BookmarkLink bookmarkLink, BookmarkLinkCB cb) {
+        assertObjectNotNull("bookmarkLink", bookmarkLink);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(bookmarkLink);
+        filterEntityOfUpdate(bookmarkLink);
+        assertEntityOfUpdate(bookmarkLink);
+        return getMyDao().updateByQuery(cb, bookmarkLink);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(BookmarkLinkCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(BookmarkLinkCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<BookmarkLink> delegateSelectList(BookmarkLinkCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(BookmarkLink e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(BookmarkLink e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateUpdateNonstrict(BookmarkLink e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateNonstrictModifiedOnly(e);
+    }
+
+    protected int delegateDelete(BookmarkLink e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int delegateDeleteNonstrict(BookmarkLink e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().deleteNonstrict(e);
+    }
+
+    protected int[] delegateInsertList(List<BookmarkLink> ls) {
+        assertObjectNotNull("bookmarkLinkList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<BookmarkLink> ls) {
+        assertObjectNotNull("bookmarkLinkList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateUpdateListNonstrict(List<BookmarkLink> ls) {
+        assertObjectNotNull("bookmarkLinkList", ls);
+        return getMyDao().updateListNonstrict(
+                helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<BookmarkLink> ls) {
+        assertObjectNotNull("bookmarkLinkList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    protected int[] delegateDeleteListNonstrict(List<BookmarkLink> ls) {
+        assertObjectNotNull("bookmarkLinkList", ls);
+        return getMyDao().deleteListNonstrict(
+                helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return !(downcast(entity).getVersionno() + "").equals("null");// For
+        // primitive
+        // type
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected BookmarkLink downcast(Entity entity) {
+        return helpDowncastInternally(entity, BookmarkLink.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsBookmarkLinkBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsCategoryBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsCategoryBhv.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsCategoryBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,812 +0,0 @@
-package jp.sf.pal.bookmark.db.bsbhv;
-
-import java.util.List;
-
-import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
-import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
-import jp.sf.pal.bookmark.db.allcommon.Entity;
-import jp.sf.pal.bookmark.db.allcommon.bhv.load.LoadReferrerOption;
-import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ConditionBeanSetupper;
-import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
-import jp.sf.pal.bookmark.db.bsentity.dbmeta.CategoryDbm;
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.exbhv.LinkBhv;
-import jp.sf.pal.bookmark.db.exdao.CategoryDao;
-import jp.sf.pal.bookmark.db.exentity.Category;
-import jp.sf.pal.bookmark.db.exentity.Link;
-
-/**
- * The behavior of CATEGORY.
- * 
- * <pre>
- * [primary-key]
- *     ID
- * 
- * [column]
- *     ID, NAME, MEMO, SORT_ORDER, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
- * 
- * [sequence]
- *     
- * 
- * [identity]
- *     ID
- * 
- * [version-no]
- *     VERSIONNO
- * 
- * [foreign-table]
- *     
- * 
- * [referrer-table]
- *     LINK
- * 
- * [foreign-property]
- *     
- * 
- * [referrer-property]
- *     linkList
- * </pre>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public abstract class BsCategoryBhv extends
-        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
-
-    //==========================================================================
-    // =========
-    // Definition
-    // ==========
-    /* df:BehaviorQueryPathBegin */
-    /* df:BehaviorQueryPathEnd */
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected CategoryDao _dao;
-
-    //==========================================================================
-    // =========
-    // Table name
-    // ==========
-    /** @return The name on database of table. (NotNull) */
-    public String getTableDbName() {
-        return "CATEGORY";
-    }
-
-    //==========================================================================
-    // =========
-    // DBMeta
-    // ======
-    /** @return The meta data of the database. (NotNull) */
-    public DBMeta getDBMeta() {
-        return CategoryDbm.getInstance();
-    }
-
-    /** @return The meta data of the database as my table type. (NotNull) */
-    public CategoryDbm getMyDBMeta() {
-        return CategoryDbm.getInstance();
-    }
-
-    //==========================================================================
-    // =========
-    // Dao Accessor
-    // ============
-    public CategoryDao getMyDao() {
-        return _dao;
-    }
-
-    public void setMyDao(CategoryDao dao) {
-        assertObjectNotNull("dao", dao);
-        _dao = dao;
-    }
-
-    public DaoReadable getDaoReadable() {
-        return getMyDao();
-    }
-
-    public DaoWritable getDaoWritable() {
-        return getMyDao();
-    }
-
-    //==========================================================================
-    // =========
-    // New Instance
-    // ============
-    public Entity newEntity() {
-        return newMyEntity();
-    }
-
-    public ConditionBean newConditionBean() {
-        return newMyConditionBean();
-    }
-
-    public Category newMyEntity() {
-        return new Category();
-    }
-
-    public CategoryCB newMyConditionBean() {
-        return new CategoryCB();
-    }
-
-    //==========================================================================
-    // =========
-    // Count Select
-    // ============
-    /**
-     * Select the count of the condition-bean. {IgnorePagingCondition}
-     * 
-     * @param cb The condition-bean of Category. (NotNull)
-     * @return The selected count.
-     */
-    public int selectCount(CategoryCB cb) {
-        assertConditionBeanNotNull(cb);
-        return delegateSelectCount(cb);
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Select
-    // =============
-    /**
-     * Select the entity by the condition-bean.
-     * 
-     * @param cb The condition-bean of Category. (NotNull)
-     * @return The selected entity. (Nullalble)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public Category selectEntity(final CategoryCB cb) {
-        return helpSelectEntityInternally(cb,
-                new InternalSelectEntityCallback<Category, CategoryCB>() {
-                    public List<Category> callbackSelectList(CategoryCB cb) {
-                        return selectList(cb);
-                    }
-                });
-    }
-
-    /**
-     * Select the entity by the condition-bean with deleted check.
-     * 
-     * @param cb The condition-bean of Category. (NotNull)
-     * @return The selected entity. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public Category selectEntityWithDeletedCheck(final CategoryCB cb) {
-        return helpSelectEntityWithDeletedCheckInternally(
-                cb,
-                new InternalSelectEntityWithDeletedCheckCallback<Category, CategoryCB>() {
-                    public List<Category> callbackSelectList(CategoryCB cb) {
-                        return selectList(cb);
-                    }
-                });
-    }
-
-    /*
-     * (non-javadoc) Select the entity with deleted check. {by primary-key
-     * value}
-     * @param primaryKey The keys of primary.
-     * @return The selected entity. (NotNull)
-     * @exception
-     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     * When the entity has already been deleted.
-     * @exception
-     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
-     * the entity has been duplicated.
-     */
-    public Category selectByPKValueWithDeletedCheck(Integer id) {
-        Category entity = new Category();
-        entity.setId(id);
-        final CategoryCB cb = newMyConditionBean();
-        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
-                entity));
-        return selectEntityWithDeletedCheck(cb);
-    }
-
-    //==========================================================================
-    // =========
-    // List Select
-    // ===========
-    /**
-     * Select the list as result-bean.
-     * 
-     * @param cb The condition-bean of Category. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
-     */
-    public ListResultBean<Category> selectList(CategoryCB cb) {
-        assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder<Category>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
-    }
-
-    //==========================================================================
-    // =========
-    // Page Select
-    // ===========
-    /**
-     * Select the page as result-bean.
-     * 
-     * @param cb The condition-bean of Category. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
-     */
-    public PagingResultBean<Category> selectPage(final CategoryCB cb) {
-        assertConditionBeanNotNull(cb);
-        final PagingInvoker<Category> invoker = new PagingInvoker<Category>(
-                getTableDbName());
-        final PagingHandler<Category> handler = new PagingHandler<Category>() {
-            public PagingBean getPagingBean() {
-                return cb;
-            }
-
-            public int count() {
-                return selectCount(cb);
-            }
-
-            public List<Category> paging() {
-                return selectList(cb);
-            }
-        };
-        return invoker.invokePaging(handler);
-    }
-
-    //==========================================================================
-    // =========
-    // Various Select
-    // ==============
-    /**
-     * Select the list of value-label.
-     * 
-     * @param cb The condition-bean of Category. (NotNull)
-     * @param valueLabelSetupper The setupper of value-label. (NotNull)
-     * @return The list of value-label. (NotNull)
-     */
-    public List<java.util.Map<String, Object>> selectValueLabelList(
-            CategoryCB cb, ValueLabelSetupper<Category> valueLabelSetupper) {
-        return createValueLabelList(selectList(cb), valueLabelSetupper);
-    }
-
-    //==========================================================================
-    // =========
-    // Load Referrer
-    // =============
-    /**
-     * Load referrer of linkList with the setupper for condition-bean of
-     * referrer. <br /> About internal policy, the value of primary key(and
-     * others too) is treated as case-insensitive. <br /> The conditionBean that
-     * the setupper provides have settings before you touch it. It is as
-     * follows:
-     * 
-     * <pre>
-     * cb.query().setCategoryId_InScope(pkList);
-     * cb.query().addOrderBy_CategoryId_Asc();
-     * </pre>
-     * 
-     * @param categoryList The entity list of category. (NotNull)
-     * @param conditionBeanSetupper Referrer condition setupper instance for
-     *            registering referrer condition. (NotNull)
-     */
-    public void loadLinkList(List<Category> categoryList,
-            ConditionBeanSetupper<LinkCB> conditionBeanSetupper) {
-        assertObjectNotNull("categoryList<Category>", categoryList);
-        assertObjectNotNull("conditionBeanSetupper<LinkCB>",
-                conditionBeanSetupper);
-        if (categoryList.isEmpty()) {
-            return;
-        }
-        loadLinkList(categoryList, new LoadReferrerOption<LinkCB, Link>(
-                conditionBeanSetupper));
-    }
-
-    /**
-     * {Refer to overload method that has an argument of condition-bean
-     * setupper.}
-     * 
-     * @param categoryList The entity list of category. (NotNull)
-     * @param loadReferrerOption the option of load-referrer. (NotNull)
-     */
-    public void loadLinkList(List<Category> categoryList,
-            LoadReferrerOption<LinkCB, Link> loadReferrerOption) {
-        assertObjectNotNull("categoryList<Category>", categoryList);
-        assertObjectNotNull("loadReferrerOption<Link, LinkCB>",
-                loadReferrerOption);
-        if (categoryList.isEmpty()) {
-            return;
-        }
-        final LinkBhv referrerBhv = getBehaviorSelector().select(LinkBhv.class);
-        helpLoadReferrerInternally(
-                categoryList,
-                loadReferrerOption,
-                new InternalLoadReferrerCallback<Category, Integer, LinkCB, Link>() {
-                    public Integer callbackBase_getPrimaryKeyValue(
-                            Category entity) {
-                        return entity.getId();
-                    }
-
-                    public void callbackBase_setReferrerList(Category entity,
-                            List<Link> referrerList) {
-                        entity.setLinkList(referrerList);
-                    }
-
-                    public LinkCB callbackReferrer_newMyConditionBean() {
-                        return referrerBhv.newMyConditionBean();
-                    }
-
-                    public void callbackReferrer_queryForeignKeyInScope(
-                            LinkCB cb, List<Integer> pkList) {
-                        cb.query().setCategoryId_InScope(pkList);
-                    }
-
-                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
-                            LinkCB cb) {
-                        cb.query().addOrderBy_CategoryId_Asc();
-                    }
-
-                    public List<Link> callbackReferrer_selectList(LinkCB cb) {
-                        return referrerBhv.selectList(cb);
-                    }
-
-                    public Integer callbackReferrer_getForeignKeyValue(
-                            Link entity) {
-                        return entity.getCategoryId();
-                    }
-
-                    public void callbackReferrer_setForeignEntity(
-                            Link referrerEntity, Category baseEntity) {
-                        referrerEntity.setCategory(baseEntity);
-                    }
-                });
-    }
-
-    //==========================================================================
-    // =========
-    // Pull Out Foreign
-    // ================
-
-    //==========================================================================
-    // =========
-    // Entity Update
-    // =============
-    /**
-     * Insert the entity.
-     * 
-     * @param category The entity of insert target. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void insert(Category category) {
-        assertEntityNotNull(category);
-        delegateInsert(category);
-    }
-
-    @Override
-    protected void doCreate(Entity category) {
-        insert((Category) category);
-    }
-
-    /**
-     * Update the entity modified-only. {UpdateCountZeroException,
-     * ConcurrencyControl}
-     * 
-     * @param category The entity of update target. (NotNull)
-     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
-     *                When the entity has already been updated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void update(final Category category) {
-        helpUpdateInternally(category, new InternalUpdateCallback<Category>() {
-            public int callbackDelegateUpdate(Category entity) {
-                return delegateUpdate(entity);
-            }
-        });
-    }
-
-    @Override
-    protected void doModify(Entity entity) {
-        update((Category) entity);
-    }
-
-    /**
-     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
-     * NonConcurrencyControl}
-     * 
-     * @param category The entity of update target. (NotNull)
-     *            {PrimaryKeyRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void updateNonstrict(final Category category) {
-        helpUpdateNonstrictInternally(category,
-                new InternalUpdateNonstrictCallback<Category>() {
-                    public int callbackDelegateUpdateNonstrict(Category entity) {
-                        return delegateUpdateNonstrict(entity);
-                    }
-                });
-    }
-
-    @Override
-    protected void doModifyNonstrict(Entity entity) {
-        updateNonstrict((Category) entity);
-    }
-
-    /**
-     * Insert or update the entity modified-only. {ConcurrencyControl(when
-     * update)}
-     * 
-     * @param category The entity of insert or update target. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
-     *                When the entity has already been updated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void insertOrUpdate(final Category category) {
-        helpInsertOrUpdateInternally(category,
-                new InternalInsertOrUpdateCallback<Category, CategoryCB>() {
-                    public void callbackInsert(Category entity) {
-                        insert(entity);
-                    }
-
-                    public void callbackUpdate(Category entity) {
-                        update(entity);
-                    }
-
-                    public CategoryCB callbackNewMyConditionBean() {
-                        return newMyConditionBean();
-                    }
-
-                    public int callbackSelectCount(CategoryCB cb) {
-                        return selectCount(cb);
-                    }
-                });
-    }
-
-    @Override
-    protected void doCreateOrUpdate(Entity category) {
-        insertOrUpdate((Category) category);
-    }
-
-    /**
-     * Insert or update the entity non-strictly modified-only.
-     * {NonConcurrencyControl(when update)}
-     * 
-     * @param category The entity of insert or update target. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void insertOrUpdateNonstrict(Category category) {
-        helpInsertOrUpdateInternally(category,
-                new InternalInsertOrUpdateNonstrictCallback<Category>() {
-                    public void callbackInsert(Category entity) {
-                        insert(entity);
-                    }
-
-                    public void callbackUpdateNonstrict(Category entity) {
-                        updateNonstrict(entity);
-                    }
-                });
-    }
-
-    @Override
-    protected void doCreateOrUpdateNonstrict(Entity entity) {
-        insertOrUpdateNonstrict((Category) entity);
-    }
-
-    /**
-     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
-     * 
-     * @param category The entity of delete target. (NotNull)
-     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
-     *                When the entity has already been updated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public void delete(Category category) {
-        helpDeleteInternally(category, new InternalDeleteCallback<Category>() {
-            public int callbackDelegateDelete(Category entity) {
-                return delegateDelete(entity);
-            }
-        });
-    }
-
-    @Override
-    protected void doRemove(Entity category) {
-        delete((Category) category);
-    }
-
-    /**
-     * Delete the entity non-strictly. {UpdateCountZeroException,
-     * NonConcurrencyControl}
-     * 
-     * @param category Entity. (NotNull) {PrimaryKeyRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public void deleteNonstrict(Category category) {
-        helpDeleteNonstrictInternally(category,
-                new InternalDeleteNonstrictCallback<Category>() {
-                    public int callbackDelegateDeleteNonstrict(Category entity) {
-                        return delegateDeleteNonstrict(entity);
-                    }
-                });
-    }
-
-    /**
-     * Delete the entity non-strictly ignoring deleted.
-     * {UpdateCountZeroException, NonConcurrencyControl}
-     * 
-     * @param category Entity. (NotNull) {PrimaryKeyRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public void deleteNonstrictIgnoreDeleted(Category category) {
-        helpDeleteNonstrictIgnoreDeletedInternally(category,
-                new InternalDeleteNonstrictIgnoreDeletedCallback<Category>() {
-                    public int callbackDelegateDeleteNonstrict(Category entity) {
-                        return delegateDeleteNonstrict(entity);
-                    }
-                });
-    }
-
-    //==========================================================================
-    // =========
-    // Batch Update
-    // ============
-    /**
-     * Batch insert the list. This method use 'Batch Update' of
-     * java.sql.PreparedStatement.
-     * 
-     * @param categoryList The list of the entity. (NotNull)
-     * @return The array of inserted count.
-     */
-    public int[] batchInsert(List<Category> categoryList) {
-        assertObjectNotNull("categoryList", categoryList);
-        return delegateInsertList(categoryList);
-    }
-
-    /**
-     * Batch update the list. All columns are update target. {NOT modified only}
-     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
-     * 
-     * @param categoryList The list of the entity. (NotNull)
-     * @return The array of updated count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
-     *                When the entity has already been updated. This exception
-     *                extends ${glEntityAlreadyUpdateException}.
-     */
-    public int[] batchUpdate(List<Category> categoryList) {
-        assertObjectNotNull("categoryList", categoryList);
-        return delegateUpdateList(categoryList);
-    }
-
-    /**
-     * Batch update the list non-strictly. All columns are update target. {NOT
-     * modified only} <br /> This method use 'Batch Update' of
-     * java.sql.PreparedStatement.
-     * 
-     * @param categoryList The list of the entity. (NotNull)
-     * @return The array of updated count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     */
-    public int[] batchUpdateNonstrict(List<Category> categoryList) {
-        assertObjectNotNull("categoryList", categoryList);
-        return delegateUpdateListNonstrict(categoryList);
-    }
-
-    /**
-     * Batch delete the list. <br /> This method use 'Batch Update' of
-     * java.sql.PreparedStatement.
-     * 
-     * @param categoryList The list of the entity. (NotNull)
-     * @return The array of deleted count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
-     *                When the entity has already been updated. This exception
-     *                extends ${glEntityAlreadyUpdateException}.
-     */
-    public int[] batchDelete(List<Category> categoryList) {
-        assertObjectNotNull("categoryList", categoryList);
-        return delegateDeleteList(categoryList);
-    }
-
-    /**
-     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
-     * of java.sql.PreparedStatement.
-     * 
-     * @param categoryList The list of the entity. (NotNull)
-     * @return The array of deleted count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     */
-    public int[] batchDeleteNonstrict(List<Category> categoryList) {
-        assertObjectNotNull("categoryList", categoryList);
-        return delegateDeleteListNonstrict(categoryList);
-    }
-
-    //==========================================================================
-    // =========
-    // Query Update
-    // ============
-    /**
-     * Query update the several entities. {NoConcurrencyControl}
-     * 
-     * @param category Entity. (NotNull) {PrimaryKeyNotRequired}
-     * @param cb Condition-bean. (NotNull)
-     * @return The updated count.
-     */
-    public int queryUpdate(Category category, CategoryCB cb) {
-        assertObjectNotNull("category", category);
-        assertConditionBeanNotNull(cb);
-        setupCommonColumnOfUpdateIfNeeds(category);
-        filterEntityOfUpdate(category);
-        assertEntityOfUpdate(category);
-        return getMyDao().updateByQuery(cb, category);
-    }
-
-    /**
-     * Query delete the several entities. {NoConcurrencyControl}
-     * 
-     * @param cb Condition-bean. (NotNull)
-     * @return The deleted count.
-     */
-    public int queryDelete(CategoryCB cb) {
-        assertConditionBeanNotNull(cb);
-        return getMyDao().deleteByQuery(cb);
-    }
-
-    //==========================================================================
-    // =========
-    // Various Update
-    // ==============
-
-    //==========================================================================
-    // =========
-    // Delegate Method
-    // ===============
-    // -----------------------------------------------------
-    // Select
-    // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<Category> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected Category delegateGetEntity(Integer id) {
-        return getMyDao().getEntity(id);
-    }
-
-    protected int delegateSelectCount(CategoryCB cb) {
-        assertConditionBeanNotNull(cb);
-        return getMyDao().selectCount(cb);
-    }
-
-    protected List<Category> delegateSelectList(CategoryCB cb) {
-        assertConditionBeanNotNull(cb);
-        return getMyDao().selectList(cb);
-    }
-
-    // -----------------------------------------------------
-    // Update
-    // ------
-    protected int delegateInsert(Category e) {
-        if (!processBeforeInsert(e)) {
-            return 1;
-        }
-        return getMyDao().insert(e);
-    }
-
-    protected int delegateUpdate(Category e) {
-        if (!processBeforeUpdate(e)) {
-            return 1;
-        }
-        return getMyDao().updateModifiedOnly(e);
-    }
-
-    protected int delegateUpdateNonstrict(Category e) {
-        if (!processBeforeUpdate(e)) {
-            return 1;
-        }
-        return getMyDao().updateNonstrictModifiedOnly(e);
-    }
-
-    protected int delegateDelete(Category e) {
-        if (!processBeforeDelete(e)) {
-            return 1;
-        }
-        return getMyDao().delete(e);
-    }
-
-    protected int delegateDeleteNonstrict(Category e) {
-        if (!processBeforeDelete(e)) {
-            return 1;
-        }
-        return getMyDao().deleteNonstrict(e);
-    }
-
-    protected int[] delegateInsertList(List<Category> ls) {
-        assertObjectNotNull("categoryList", ls);
-        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
-    }
-
-    protected int[] delegateUpdateList(List<Category> ls) {
-        assertObjectNotNull("categoryList", ls);
-        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
-    }
-
-    protected int[] delegateUpdateListNonstrict(List<Category> ls) {
-        assertObjectNotNull("categoryList", ls);
-        return getMyDao().updateListNonstrict(
-                helpFilterBeforeUpdateInternally(ls));
-    }
-
-    protected int[] delegateDeleteList(List<Category> ls) {
-        assertObjectNotNull("categoryList", ls);
-        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
-    }
-
-    protected int[] delegateDeleteListNonstrict(List<Category> ls) {
-        assertObjectNotNull("categoryList", ls);
-        return getMyDao().deleteListNonstrict(
-                helpFilterBeforeDeleteInternally(ls));
-    }
-
-    //==========================================================================
-    // =========
-    // Optimistic Lock Info
-    // ====================
-    @Override
-    protected boolean hasVersionNoValue(Entity entity) {
-        return !(downcast(entity).getVersionno() + "").equals("null");// For
-        // primitive
-        // type
-    }
-
-    @Override
-    protected boolean hasUpdateDateValue(Entity entity) {
-        return false;
-    }
-
-    //==========================================================================
-    // =========
-    // Helper
-    // ======
-    protected Category downcast(Entity entity) {
-        return helpDowncastInternally(entity, Category.class);
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupInfoBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupInfoBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupInfoBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,897 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.GroupInfoDbm;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.exbhv.GroupMappingBhv;
+import jp.sf.pal.bookmark.db.exbhv.UserInfoBhv;
+import jp.sf.pal.bookmark.db.exdao.GroupInfoDao;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The behavior of GROUP_INFO.
+ * 
+ * <pre>
+ * [primary-key]
+ *     GROUP_ID
+ * 
+ * [column]
+ *     GROUP_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     
+ * 
+ * [referrer-table]
+ *     GROUP_MAPPING, USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     groupMappingList, userInfoList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsGroupInfoBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected GroupInfoDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "GROUP_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return GroupInfoDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public GroupInfoDbm getMyDBMeta() {
+        return GroupInfoDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public GroupInfoDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(GroupInfoDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public GroupInfo newMyEntity() {
+        return new GroupInfo();
+    }
+
+    public GroupInfoCB newMyConditionBean() {
+        return new GroupInfoCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of GroupInfo. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(GroupInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of GroupInfo. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public GroupInfo selectEntity(final GroupInfoCB cb) {
+        return helpSelectEntityInternally(cb,
+                new InternalSelectEntityCallback<GroupInfo, GroupInfoCB>() {
+                    public List<GroupInfo> callbackSelectList(GroupInfoCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of GroupInfo. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public GroupInfo selectEntityWithDeletedCheck(final GroupInfoCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<GroupInfo, GroupInfoCB>() {
+                    public List<GroupInfo> callbackSelectList(GroupInfoCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public GroupInfo selectByPKValueWithDeletedCheck(String groupId) {
+        GroupInfo entity = new GroupInfo();
+        entity.setGroupId(groupId);
+        final GroupInfoCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of GroupInfo. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<GroupInfo> selectList(GroupInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<GroupInfo>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of GroupInfo. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<GroupInfo> selectPage(final GroupInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<GroupInfo> invoker = new PagingInvoker<GroupInfo>(
+                getTableDbName());
+        final PagingHandler<GroupInfo> handler = new PagingHandler<GroupInfo>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<GroupInfo> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of GroupInfo. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            GroupInfoCB cb, ValueLabelSetupper<GroupInfo> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+    /**
+     * Load referrer of groupMappingList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setGroupId_InScope(pkList);
+     * cb.query().addOrderBy_GroupId_Asc();
+     * </pre>
+     * 
+     * @param groupInfoList The entity list of groupInfo. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadGroupMappingList(List<GroupInfo> groupInfoList,
+            ConditionBeanSetupper<GroupMappingCB> conditionBeanSetupper) {
+        assertObjectNotNull("groupInfoList<GroupInfo>", groupInfoList);
+        assertObjectNotNull("conditionBeanSetupper<GroupMappingCB>",
+                conditionBeanSetupper);
+        if (groupInfoList.isEmpty()) {
+            return;
+        }
+        loadGroupMappingList(groupInfoList,
+                new LoadReferrerOption<GroupMappingCB, GroupMapping>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param groupInfoList The entity list of groupInfo. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadGroupMappingList(List<GroupInfo> groupInfoList,
+            LoadReferrerOption<GroupMappingCB, GroupMapping> loadReferrerOption) {
+        assertObjectNotNull("groupInfoList<GroupInfo>", groupInfoList);
+        assertObjectNotNull("loadReferrerOption<GroupMapping, GroupMappingCB>",
+                loadReferrerOption);
+        if (groupInfoList.isEmpty()) {
+            return;
+        }
+        final GroupMappingBhv referrerBhv = xgetBSFLR().select(
+                GroupMappingBhv.class);
+        helpLoadReferrerInternally(
+                groupInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<GroupInfo, String, GroupMappingCB, GroupMapping>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            GroupInfo entity) {
+                        return entity.getGroupId();
+                    }
+
+                    public void callbackBase_setReferrerList(GroupInfo entity,
+                            List<GroupMapping> referrerList) {
+                        entity.setGroupMappingList(referrerList);
+                    }
+
+                    public GroupMappingCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            GroupMappingCB cb, List<String> pkList) {
+                        cb.query().setGroupId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            GroupMappingCB cb) {
+                        cb.query().addOrderBy_GroupId_Asc();
+                    }
+
+                    public List<GroupMapping> callbackReferrer_selectList(
+                            GroupMappingCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            GroupMapping entity) {
+                        return entity.getGroupId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            GroupMapping referrerEntity, GroupInfo baseEntity) {
+                        referrerEntity.setGroupInfo(baseEntity);
+                    }
+                });
+    }
+
+    /**
+     * Load referrer of userInfoList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setGroupId_InScope(pkList);
+     * cb.query().addOrderBy_GroupId_Asc();
+     * </pre>
+     * 
+     * @param groupInfoList The entity list of groupInfo. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadUserInfoList(List<GroupInfo> groupInfoList,
+            ConditionBeanSetupper<UserInfoCB> conditionBeanSetupper) {
+        assertObjectNotNull("groupInfoList<GroupInfo>", groupInfoList);
+        assertObjectNotNull("conditionBeanSetupper<UserInfoCB>",
+                conditionBeanSetupper);
+        if (groupInfoList.isEmpty()) {
+            return;
+        }
+        loadUserInfoList(groupInfoList,
+                new LoadReferrerOption<UserInfoCB, UserInfo>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param groupInfoList The entity list of groupInfo. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadUserInfoList(List<GroupInfo> groupInfoList,
+            LoadReferrerOption<UserInfoCB, UserInfo> loadReferrerOption) {
+        assertObjectNotNull("groupInfoList<GroupInfo>", groupInfoList);
+        assertObjectNotNull("loadReferrerOption<UserInfo, UserInfoCB>",
+                loadReferrerOption);
+        if (groupInfoList.isEmpty()) {
+            return;
+        }
+        final UserInfoBhv referrerBhv = xgetBSFLR().select(UserInfoBhv.class);
+        helpLoadReferrerInternally(
+                groupInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<GroupInfo, String, UserInfoCB, UserInfo>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            GroupInfo entity) {
+                        return entity.getGroupId();
+                    }
+
+                    public void callbackBase_setReferrerList(GroupInfo entity,
+                            List<UserInfo> referrerList) {
+                        entity.setUserInfoList(referrerList);
+                    }
+
+                    public UserInfoCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            UserInfoCB cb, List<String> pkList) {
+                        cb.query().setGroupId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            UserInfoCB cb) {
+                        cb.query().addOrderBy_GroupId_Asc();
+                    }
+
+                    public List<UserInfo> callbackReferrer_selectList(
+                            UserInfoCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            UserInfo entity) {
+                        return entity.getGroupId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            UserInfo referrerEntity, GroupInfo baseEntity) {
+                        referrerEntity.setGroupInfo(baseEntity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param groupInfo The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(GroupInfo groupInfo) {
+        assertEntityNotNull(groupInfo);
+        delegateInsert(groupInfo);
+    }
+
+    @Override
+    protected void doCreate(Entity groupInfo) {
+        insert((GroupInfo) groupInfo);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param groupInfo The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final GroupInfo groupInfo) {
+        helpUpdateInternally(groupInfo,
+                new InternalUpdateCallback<GroupInfo>() {
+                    public int callbackDelegateUpdate(GroupInfo entity) {
+                        return delegateUpdate(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((GroupInfo) entity);
+    }
+
+    /**
+     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param groupInfo The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void updateNonstrict(final GroupInfo groupInfo) {
+        helpUpdateNonstrictInternally(groupInfo,
+                new InternalUpdateNonstrictCallback<GroupInfo>() {
+                    public int callbackDelegateUpdateNonstrict(GroupInfo entity) {
+                        return delegateUpdateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        updateNonstrict((GroupInfo) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param groupInfo The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final GroupInfo groupInfo) {
+        helpInsertOrUpdateInternally(groupInfo,
+                new InternalInsertOrUpdateCallback<GroupInfo, GroupInfoCB>() {
+                    public void callbackInsert(GroupInfo entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(GroupInfo entity) {
+                        update(entity);
+                    }
+
+                    public GroupInfoCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(GroupInfoCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity groupInfo) {
+        insertOrUpdate((GroupInfo) groupInfo);
+    }
+
+    /**
+     * Insert or update the entity non-strictly modified-only.
+     * {NonConcurrencyControl(when update)}
+     * 
+     * @param groupInfo The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdateNonstrict(GroupInfo groupInfo) {
+        helpInsertOrUpdateInternally(groupInfo,
+                new InternalInsertOrUpdateNonstrictCallback<GroupInfo>() {
+                    public void callbackInsert(GroupInfo entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdateNonstrict(GroupInfo entity) {
+                        updateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdateNonstrict((GroupInfo) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param groupInfo The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(GroupInfo groupInfo) {
+        helpDeleteInternally(groupInfo,
+                new InternalDeleteCallback<GroupInfo>() {
+                    public int callbackDelegateDelete(GroupInfo entity) {
+                        return delegateDelete(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doRemove(Entity groupInfo) {
+        delete((GroupInfo) groupInfo);
+    }
+
+    /**
+     * Delete the entity non-strictly. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param groupInfo Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrict(GroupInfo groupInfo) {
+        helpDeleteNonstrictInternally(groupInfo,
+                new InternalDeleteNonstrictCallback<GroupInfo>() {
+                    public int callbackDelegateDeleteNonstrict(GroupInfo entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    /**
+     * Delete the entity non-strictly ignoring deleted.
+     * {UpdateCountZeroException, NonConcurrencyControl}
+     * 
+     * @param groupInfo Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrictIgnoreDeleted(GroupInfo groupInfo) {
+        helpDeleteNonstrictIgnoreDeletedInternally(groupInfo,
+                new InternalDeleteNonstrictIgnoreDeletedCallback<GroupInfo>() {
+                    public int callbackDelegateDeleteNonstrict(GroupInfo entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param groupInfoList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<GroupInfo> groupInfoList) {
+        assertObjectNotNull("groupInfoList", groupInfoList);
+        return delegateInsertList(groupInfoList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param groupInfoList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchUpdate(List<GroupInfo> groupInfoList) {
+        assertObjectNotNull("groupInfoList", groupInfoList);
+        return delegateUpdateList(groupInfoList);
+    }
+
+    /**
+     * Batch update the list non-strictly. All columns are update target. {NOT
+     * modified only} <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param groupInfoList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdateNonstrict(List<GroupInfo> groupInfoList) {
+        assertObjectNotNull("groupInfoList", groupInfoList);
+        return delegateUpdateListNonstrict(groupInfoList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param groupInfoList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchDelete(List<GroupInfo> groupInfoList) {
+        assertObjectNotNull("groupInfoList", groupInfoList);
+        return delegateDeleteList(groupInfoList);
+    }
+
+    /**
+     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
+     * of java.sql.PreparedStatement.
+     * 
+     * @param groupInfoList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDeleteNonstrict(List<GroupInfo> groupInfoList) {
+        assertObjectNotNull("groupInfoList", groupInfoList);
+        return delegateDeleteListNonstrict(groupInfoList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param groupInfo Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(GroupInfo groupInfo, GroupInfoCB cb) {
+        assertObjectNotNull("groupInfo", groupInfo);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(groupInfo);
+        filterEntityOfUpdate(groupInfo);
+        assertEntityOfUpdate(groupInfo);
+        return getMyDao().updateByQuery(cb, groupInfo);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(GroupInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(GroupInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<GroupInfo> delegateSelectList(GroupInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(GroupInfo e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(GroupInfo e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateUpdateNonstrict(GroupInfo e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateNonstrictModifiedOnly(e);
+    }
+
+    protected int delegateDelete(GroupInfo e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int delegateDeleteNonstrict(GroupInfo e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().deleteNonstrict(e);
+    }
+
+    protected int[] delegateInsertList(List<GroupInfo> ls) {
+        assertObjectNotNull("groupInfoList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<GroupInfo> ls) {
+        assertObjectNotNull("groupInfoList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateUpdateListNonstrict(List<GroupInfo> ls) {
+        assertObjectNotNull("groupInfoList", ls);
+        return getMyDao().updateListNonstrict(
+                helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<GroupInfo> ls) {
+        assertObjectNotNull("groupInfoList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    protected int[] delegateDeleteListNonstrict(List<GroupInfo> ls) {
+        assertObjectNotNull("groupInfoList", ls);
+        return getMyDao().deleteListNonstrict(
+                helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return !(downcast(entity).getVersionno() + "").equals("null");// For
+        // primitive
+        // type
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected GroupInfo downcast(Entity entity) {
+        return helpDowncastInternally(entity, GroupInfo.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupMappingBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupMappingBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupMappingBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,602 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.GroupMappingDbm;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.exdao.GroupMappingDao;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The behavior of GROUP_MAPPING.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, USER_ID, GROUP_ID
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     
+ * 
+ * [foreign-table]
+ *     GROUP_INFO, USER_INFO
+ * 
+ * [referrer-table]
+ *     
+ * 
+ * [foreign-property]
+ *     groupInfo, userInfo
+ * 
+ * [referrer-property]
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsGroupMappingBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected GroupMappingDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "GROUP_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return GroupMappingDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public GroupMappingDbm getMyDBMeta() {
+        return GroupMappingDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public GroupMappingDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(GroupMappingDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public GroupMapping newMyEntity() {
+        return new GroupMapping();
+    }
+
+    public GroupMappingCB newMyConditionBean() {
+        return new GroupMappingCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of GroupMapping. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(GroupMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of GroupMapping. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public GroupMapping selectEntity(final GroupMappingCB cb) {
+        return helpSelectEntityInternally(
+                cb,
+                new InternalSelectEntityCallback<GroupMapping, GroupMappingCB>() {
+                    public List<GroupMapping> callbackSelectList(
+                            GroupMappingCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of GroupMapping. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public GroupMapping selectEntityWithDeletedCheck(final GroupMappingCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<GroupMapping, GroupMappingCB>() {
+                    public List<GroupMapping> callbackSelectList(
+                            GroupMappingCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public GroupMapping selectByPKValueWithDeletedCheck(Integer id) {
+        GroupMapping entity = new GroupMapping();
+        entity.setId(id);
+        final GroupMappingCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of GroupMapping. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<GroupMapping> selectList(GroupMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<GroupMapping>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of GroupMapping. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<GroupMapping> selectPage(final GroupMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<GroupMapping> invoker = new PagingInvoker<GroupMapping>(
+                getTableDbName());
+        final PagingHandler<GroupMapping> handler = new PagingHandler<GroupMapping>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<GroupMapping> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of GroupMapping. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            GroupMappingCB cb,
+            ValueLabelSetupper<GroupMapping> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+    /**
+     * Pull out the list of foreign table 'GroupInfo'.
+     * 
+     * @param groupMappingList The list of groupMapping. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<GroupInfo> pulloutGroupInfo(List<GroupMapping> groupMappingList) {
+        return helpPulloutInternally(groupMappingList,
+                new InternalPulloutCallback<GroupMapping, GroupInfo>() {
+                    public GroupInfo callbackGetForeignEntity(
+                            GroupMapping entity) {
+                        return entity.getGroupInfo();
+                    }
+                });
+    }
+
+    /**
+     * Pull out the list of foreign table 'UserInfo'.
+     * 
+     * @param groupMappingList The list of groupMapping. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<UserInfo> pulloutUserInfo(List<GroupMapping> groupMappingList) {
+        return helpPulloutInternally(groupMappingList,
+                new InternalPulloutCallback<GroupMapping, UserInfo>() {
+                    public UserInfo callbackGetForeignEntity(GroupMapping entity) {
+                        return entity.getUserInfo();
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param groupMapping The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(GroupMapping groupMapping) {
+        assertEntityNotNull(groupMapping);
+        delegateInsert(groupMapping);
+    }
+
+    @Override
+    protected void doCreate(Entity groupMapping) {
+        insert((GroupMapping) groupMapping);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param groupMapping The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final GroupMapping groupMapping) {
+        helpUpdateInternally(groupMapping,
+                new InternalUpdateCallback<GroupMapping>() {
+                    public int callbackDelegateUpdate(GroupMapping entity) {
+                        return delegateUpdate(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((GroupMapping) entity);
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        update((GroupMapping) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param groupMapping The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final GroupMapping groupMapping) {
+        helpInsertOrUpdateInternally(
+                groupMapping,
+                new InternalInsertOrUpdateCallback<GroupMapping, GroupMappingCB>() {
+                    public void callbackInsert(GroupMapping entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(GroupMapping entity) {
+                        update(entity);
+                    }
+
+                    public GroupMappingCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(GroupMappingCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity groupMapping) {
+        insertOrUpdate((GroupMapping) groupMapping);
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdate((GroupMapping) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param groupMapping The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(GroupMapping groupMapping) {
+        helpDeleteInternally(groupMapping,
+                new InternalDeleteCallback<GroupMapping>() {
+                    public int callbackDelegateDelete(GroupMapping entity) {
+                        return delegateDelete(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doRemove(Entity groupMapping) {
+        delete((GroupMapping) groupMapping);
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param groupMappingList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<GroupMapping> groupMappingList) {
+        assertObjectNotNull("groupMappingList", groupMappingList);
+        return delegateInsertList(groupMappingList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param groupMappingList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdate(List<GroupMapping> groupMappingList) {
+        assertObjectNotNull("groupMappingList", groupMappingList);
+        return delegateUpdateList(groupMappingList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param groupMappingList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDelete(List<GroupMapping> groupMappingList) {
+        assertObjectNotNull("groupMappingList", groupMappingList);
+        return delegateDeleteList(groupMappingList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param groupMapping Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(GroupMapping groupMapping, GroupMappingCB cb) {
+        assertObjectNotNull("groupMapping", groupMapping);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(groupMapping);
+        filterEntityOfUpdate(groupMapping);
+        assertEntityOfUpdate(groupMapping);
+        return getMyDao().updateByQuery(cb, groupMapping);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(GroupMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(GroupMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<GroupMapping> delegateSelectList(GroupMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(GroupMapping e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(GroupMapping e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateDelete(GroupMapping e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int[] delegateInsertList(List<GroupMapping> ls) {
+        assertObjectNotNull("groupMappingList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<GroupMapping> ls) {
+        assertObjectNotNull("groupMappingList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<GroupMapping> ls) {
+        assertObjectNotNull("groupMappingList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return false;
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected GroupMapping downcast(Entity entity) {
+        return helpDowncastInternally(entity, GroupMapping.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsGroupMappingBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsLinkBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsLinkBhv.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsLinkBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,735 +0,0 @@
-package jp.sf.pal.bookmark.db.bsbhv;
-
-import java.util.List;
-
-import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
-import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
-import jp.sf.pal.bookmark.db.allcommon.Entity;
-import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
-import jp.sf.pal.bookmark.db.bsentity.dbmeta.LinkDbm;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.exdao.LinkDao;
-import jp.sf.pal.bookmark.db.exentity.Category;
-import jp.sf.pal.bookmark.db.exentity.Link;
-
-/**
- * The behavior of LINK.
- * 
- * <pre>
- * [primary-key]
- *     ID
- * 
- * [column]
- *     ID, NAME, MEMO, URL, TYPE, SORT_ORDER, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
- * 
- * [sequence]
- *     
- * 
- * [identity]
- *     ID
- * 
- * [version-no]
- *     VERSIONNO
- * 
- * [foreign-table]
- *     CATEGORY
- * 
- * [referrer-table]
- *     
- * 
- * [foreign-property]
- *     category
- * 
- * [referrer-property]
- * 
- * </pre>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public abstract class BsLinkBhv extends
-        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
-
-    //==========================================================================
-    // =========
-    // Definition
-    // ==========
-    /* df:BehaviorQueryPathBegin */
-    /* df:BehaviorQueryPathEnd */
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected LinkDao _dao;
-
-    //==========================================================================
-    // =========
-    // Table name
-    // ==========
-    /** @return The name on database of table. (NotNull) */
-    public String getTableDbName() {
-        return "LINK";
-    }
-
-    //==========================================================================
-    // =========
-    // DBMeta
-    // ======
-    /** @return The meta data of the database. (NotNull) */
-    public DBMeta getDBMeta() {
-        return LinkDbm.getInstance();
-    }
-
-    /** @return The meta data of the database as my table type. (NotNull) */
-    public LinkDbm getMyDBMeta() {
-        return LinkDbm.getInstance();
-    }
-
-    //==========================================================================
-    // =========
-    // Dao Accessor
-    // ============
-    public LinkDao getMyDao() {
-        return _dao;
-    }
-
-    public void setMyDao(LinkDao dao) {
-        assertObjectNotNull("dao", dao);
-        _dao = dao;
-    }
-
-    public DaoReadable getDaoReadable() {
-        return getMyDao();
-    }
-
-    public DaoWritable getDaoWritable() {
-        return getMyDao();
-    }
-
-    //==========================================================================
-    // =========
-    // New Instance
-    // ============
-    public Entity newEntity() {
-        return newMyEntity();
-    }
-
-    public ConditionBean newConditionBean() {
-        return newMyConditionBean();
-    }
-
-    public Link newMyEntity() {
-        return new Link();
-    }
-
-    public LinkCB newMyConditionBean() {
-        return new LinkCB();
-    }
-
-    //==========================================================================
-    // =========
-    // Count Select
-    // ============
-    /**
-     * Select the count of the condition-bean. {IgnorePagingCondition}
-     * 
-     * @param cb The condition-bean of Link. (NotNull)
-     * @return The selected count.
-     */
-    public int selectCount(LinkCB cb) {
-        assertConditionBeanNotNull(cb);
-        return delegateSelectCount(cb);
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Select
-    // =============
-    /**
-     * Select the entity by the condition-bean.
-     * 
-     * @param cb The condition-bean of Link. (NotNull)
-     * @return The selected entity. (Nullalble)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public Link selectEntity(final LinkCB cb) {
-        return helpSelectEntityInternally(cb,
-                new InternalSelectEntityCallback<Link, LinkCB>() {
-                    public List<Link> callbackSelectList(LinkCB cb) {
-                        return selectList(cb);
-                    }
-                });
-    }
-
-    /**
-     * Select the entity by the condition-bean with deleted check.
-     * 
-     * @param cb The condition-bean of Link. (NotNull)
-     * @return The selected entity. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public Link selectEntityWithDeletedCheck(final LinkCB cb) {
-        return helpSelectEntityWithDeletedCheckInternally(
-                cb,
-                new InternalSelectEntityWithDeletedCheckCallback<Link, LinkCB>() {
-                    public List<Link> callbackSelectList(LinkCB cb) {
-                        return selectList(cb);
-                    }
-                });
-    }
-
-    /*
-     * (non-javadoc) Select the entity with deleted check. {by primary-key
-     * value}
-     * @param primaryKey The keys of primary.
-     * @return The selected entity. (NotNull)
-     * @exception
-     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     * When the entity has already been deleted.
-     * @exception
-     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
-     * the entity has been duplicated.
-     */
-    public Link selectByPKValueWithDeletedCheck(Long id) {
-        Link entity = new Link();
-        entity.setId(id);
-        final LinkCB cb = newMyConditionBean();
-        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
-                entity));
-        return selectEntityWithDeletedCheck(cb);
-    }
-
-    //==========================================================================
-    // =========
-    // List Select
-    // ===========
-    /**
-     * Select the list as result-bean.
-     * 
-     * @param cb The condition-bean of Link. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
-     */
-    public ListResultBean<Link> selectList(LinkCB cb) {
-        assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder<Link>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
-    }
-
-    //==========================================================================
-    // =========
-    // Page Select
-    // ===========
-    /**
-     * Select the page as result-bean.
-     * 
-     * @param cb The condition-bean of Link. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
-     */
-    public PagingResultBean<Link> selectPage(final LinkCB cb) {
-        assertConditionBeanNotNull(cb);
-        final PagingInvoker<Link> invoker = new PagingInvoker<Link>(
-                getTableDbName());
-        final PagingHandler<Link> handler = new PagingHandler<Link>() {
-            public PagingBean getPagingBean() {
-                return cb;
-            }
-
-            public int count() {
-                return selectCount(cb);
-            }
-
-            public List<Link> paging() {
-                return selectList(cb);
-            }
-        };
-        return invoker.invokePaging(handler);
-    }
-
-    //==========================================================================
-    // =========
-    // Various Select
-    // ==============
-    /**
-     * Select the list of value-label.
-     * 
-     * @param cb The condition-bean of Link. (NotNull)
-     * @param valueLabelSetupper The setupper of value-label. (NotNull)
-     * @return The list of value-label. (NotNull)
-     */
-    public List<java.util.Map<String, Object>> selectValueLabelList(LinkCB cb,
-            ValueLabelSetupper<Link> valueLabelSetupper) {
-        return createValueLabelList(selectList(cb), valueLabelSetupper);
-    }
-
-    //==========================================================================
-    // =========
-    // Load Referrer
-    // =============
-
-    //==========================================================================
-    // =========
-    // Pull Out Foreign
-    // ================
-
-    /**
-     * Pull out the list of foreign table 'Category'.
-     * 
-     * @param linkList The list of link. (NotNull)
-     * @return The list of foreign table. (NotNull)
-     */
-    public List<Category> pulloutCategory(List<Link> linkList) {
-        return helpPulloutInternally(linkList,
-                new InternalPulloutCallback<Link, Category>() {
-                    public Category callbackGetForeignEntity(Link entity) {
-                        return entity.getCategory();
-                    }
-                });
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Update
-    // =============
-    /**
-     * Insert the entity.
-     * 
-     * @param link The entity of insert target. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void insert(Link link) {
-        assertEntityNotNull(link);
-        delegateInsert(link);
-    }
-
-    @Override
-    protected void doCreate(Entity link) {
-        insert((Link) link);
-    }
-
-    /**
-     * Update the entity modified-only. {UpdateCountZeroException,
-     * ConcurrencyControl}
-     * 
-     * @param link The entity of update target. (NotNull) {PrimaryKeyRequired,
-     *            ConcurrencyColumnRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
-     *                When the entity has already been updated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void update(final Link link) {
-        helpUpdateInternally(link, new InternalUpdateCallback<Link>() {
-            public int callbackDelegateUpdate(Link entity) {
-                return delegateUpdate(entity);
-            }
-        });
-    }
-
-    @Override
-    protected void doModify(Entity entity) {
-        update((Link) entity);
-    }
-
-    /**
-     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
-     * NonConcurrencyControl}
-     * 
-     * @param link The entity of update target. (NotNull) {PrimaryKeyRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void updateNonstrict(final Link link) {
-        helpUpdateNonstrictInternally(link,
-                new InternalUpdateNonstrictCallback<Link>() {
-                    public int callbackDelegateUpdateNonstrict(Link entity) {
-                        return delegateUpdateNonstrict(entity);
-                    }
-                });
-    }
-
-    @Override
-    protected void doModifyNonstrict(Entity entity) {
-        updateNonstrict((Link) entity);
-    }
-
-    /**
-     * Insert or update the entity modified-only. {ConcurrencyControl(when
-     * update)}
-     * 
-     * @param link The entity of insert or update target. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
-     *                When the entity has already been updated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void insertOrUpdate(final Link link) {
-        helpInsertOrUpdateInternally(link,
-                new InternalInsertOrUpdateCallback<Link, LinkCB>() {
-                    public void callbackInsert(Link entity) {
-                        insert(entity);
-                    }
-
-                    public void callbackUpdate(Link entity) {
-                        update(entity);
-                    }
-
-                    public LinkCB callbackNewMyConditionBean() {
-                        return newMyConditionBean();
-                    }
-
-                    public int callbackSelectCount(LinkCB cb) {
-                        return selectCount(cb);
-                    }
-                });
-    }
-
-    @Override
-    protected void doCreateOrUpdate(Entity link) {
-        insertOrUpdate((Link) link);
-    }
-
-    /**
-     * Insert or update the entity non-strictly modified-only.
-     * {NonConcurrencyControl(when update)}
-     * 
-     * @param link The entity of insert or update target. (NotNull)
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
-     *                When the entity already exists. (Unique Constraint
-     *                Violation)
-     */
-    public void insertOrUpdateNonstrict(Link link) {
-        helpInsertOrUpdateInternally(link,
-                new InternalInsertOrUpdateNonstrictCallback<Link>() {
-                    public void callbackInsert(Link entity) {
-                        insert(entity);
-                    }
-
-                    public void callbackUpdateNonstrict(Link entity) {
-                        updateNonstrict(entity);
-                    }
-                });
-    }
-
-    @Override
-    protected void doCreateOrUpdateNonstrict(Entity entity) {
-        insertOrUpdateNonstrict((Link) entity);
-    }
-
-    /**
-     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
-     * 
-     * @param link The entity of delete target. (NotNull) {PrimaryKeyRequired,
-     *            ConcurrencyColumnRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
-     *                When the entity has already been updated.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public void delete(Link link) {
-        helpDeleteInternally(link, new InternalDeleteCallback<Link>() {
-            public int callbackDelegateDelete(Link entity) {
-                return delegateDelete(entity);
-            }
-        });
-    }
-
-    @Override
-    protected void doRemove(Entity link) {
-        delete((Link) link);
-    }
-
-    /**
-     * Delete the entity non-strictly. {UpdateCountZeroException,
-     * NonConcurrencyControl}
-     * 
-     * @param link Entity. (NotNull) {PrimaryKeyRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public void deleteNonstrict(Link link) {
-        helpDeleteNonstrictInternally(link,
-                new InternalDeleteNonstrictCallback<Link>() {
-                    public int callbackDelegateDeleteNonstrict(Link entity) {
-                        return delegateDeleteNonstrict(entity);
-                    }
-                });
-    }
-
-    /**
-     * Delete the entity non-strictly ignoring deleted.
-     * {UpdateCountZeroException, NonConcurrencyControl}
-     * 
-     * @param link Entity. (NotNull) {PrimaryKeyRequired}
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
-     *                When the entity has been duplicated.
-     */
-    public void deleteNonstrictIgnoreDeleted(Link link) {
-        helpDeleteNonstrictIgnoreDeletedInternally(link,
-                new InternalDeleteNonstrictIgnoreDeletedCallback<Link>() {
-                    public int callbackDelegateDeleteNonstrict(Link entity) {
-                        return delegateDeleteNonstrict(entity);
-                    }
-                });
-    }
-
-    //==========================================================================
-    // =========
-    // Batch Update
-    // ============
-    /**
-     * Batch insert the list. This method use 'Batch Update' of
-     * java.sql.PreparedStatement.
-     * 
-     * @param linkList The list of the entity. (NotNull)
-     * @return The array of inserted count.
-     */
-    public int[] batchInsert(List<Link> linkList) {
-        assertObjectNotNull("linkList", linkList);
-        return delegateInsertList(linkList);
-    }
-
-    /**
-     * Batch update the list. All columns are update target. {NOT modified only}
-     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
-     * 
-     * @param linkList The list of the entity. (NotNull)
-     * @return The array of updated count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
-     *                When the entity has already been updated. This exception
-     *                extends ${glEntityAlreadyUpdateException}.
-     */
-    public int[] batchUpdate(List<Link> linkList) {
-        assertObjectNotNull("linkList", linkList);
-        return delegateUpdateList(linkList);
-    }
-
-    /**
-     * Batch update the list non-strictly. All columns are update target. {NOT
-     * modified only} <br /> This method use 'Batch Update' of
-     * java.sql.PreparedStatement.
-     * 
-     * @param linkList The list of the entity. (NotNull)
-     * @return The array of updated count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     */
-    public int[] batchUpdateNonstrict(List<Link> linkList) {
-        assertObjectNotNull("linkList", linkList);
-        return delegateUpdateListNonstrict(linkList);
-    }
-
-    /**
-     * Batch delete the list. <br /> This method use 'Batch Update' of
-     * java.sql.PreparedStatement.
-     * 
-     * @param linkList The list of the entity. (NotNull)
-     * @return The array of deleted count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
-     *                When the entity has already been updated. This exception
-     *                extends ${glEntityAlreadyUpdateException}.
-     */
-    public int[] batchDelete(List<Link> linkList) {
-        assertObjectNotNull("linkList", linkList);
-        return delegateDeleteList(linkList);
-    }
-
-    /**
-     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
-     * of java.sql.PreparedStatement.
-     * 
-     * @param linkList The list of the entity. (NotNull)
-     * @return The array of deleted count.
-     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
-     *                When the entity has already been deleted.
-     */
-    public int[] batchDeleteNonstrict(List<Link> linkList) {
-        assertObjectNotNull("linkList", linkList);
-        return delegateDeleteListNonstrict(linkList);
-    }
-
-    //==========================================================================
-    // =========
-    // Query Update
-    // ============
-    /**
-     * Query update the several entities. {NoConcurrencyControl}
-     * 
-     * @param link Entity. (NotNull) {PrimaryKeyNotRequired}
-     * @param cb Condition-bean. (NotNull)
-     * @return The updated count.
-     */
-    public int queryUpdate(Link link, LinkCB cb) {
-        assertObjectNotNull("link", link);
-        assertConditionBeanNotNull(cb);
-        setupCommonColumnOfUpdateIfNeeds(link);
-        filterEntityOfUpdate(link);
-        assertEntityOfUpdate(link);
-        return getMyDao().updateByQuery(cb, link);
-    }
-
-    /**
-     * Query delete the several entities. {NoConcurrencyControl}
-     * 
-     * @param cb Condition-bean. (NotNull)
-     * @return The deleted count.
-     */
-    public int queryDelete(LinkCB cb) {
-        assertConditionBeanNotNull(cb);
-        return getMyDao().deleteByQuery(cb);
-    }
-
-    //==========================================================================
-    // =========
-    // Various Update
-    // ==============
-
-    //==========================================================================
-    // =========
-    // Delegate Method
-    // ===============
-    // -----------------------------------------------------
-    // Select
-    // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<Link> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected Link delegateGetEntity(Long id) {
-        return getMyDao().getEntity(id);
-    }
-
-    protected int delegateSelectCount(LinkCB cb) {
-        assertConditionBeanNotNull(cb);
-        return getMyDao().selectCount(cb);
-    }
-
-    protected List<Link> delegateSelectList(LinkCB cb) {
-        assertConditionBeanNotNull(cb);
-        return getMyDao().selectList(cb);
-    }
-
-    // -----------------------------------------------------
-    // Update
-    // ------
-    protected int delegateInsert(Link e) {
-        if (!processBeforeInsert(e)) {
-            return 1;
-        }
-        return getMyDao().insert(e);
-    }
-
-    protected int delegateUpdate(Link e) {
-        if (!processBeforeUpdate(e)) {
-            return 1;
-        }
-        return getMyDao().updateModifiedOnly(e);
-    }
-
-    protected int delegateUpdateNonstrict(Link e) {
-        if (!processBeforeUpdate(e)) {
-            return 1;
-        }
-        return getMyDao().updateNonstrictModifiedOnly(e);
-    }
-
-    protected int delegateDelete(Link e) {
-        if (!processBeforeDelete(e)) {
-            return 1;
-        }
-        return getMyDao().delete(e);
-    }
-
-    protected int delegateDeleteNonstrict(Link e) {
-        if (!processBeforeDelete(e)) {
-            return 1;
-        }
-        return getMyDao().deleteNonstrict(e);
-    }
-
-    protected int[] delegateInsertList(List<Link> ls) {
-        assertObjectNotNull("linkList", ls);
-        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
-    }
-
-    protected int[] delegateUpdateList(List<Link> ls) {
-        assertObjectNotNull("linkList", ls);
-        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
-    }
-
-    protected int[] delegateUpdateListNonstrict(List<Link> ls) {
-        assertObjectNotNull("linkList", ls);
-        return getMyDao().updateListNonstrict(
-                helpFilterBeforeUpdateInternally(ls));
-    }
-
-    protected int[] delegateDeleteList(List<Link> ls) {
-        assertObjectNotNull("linkList", ls);
-        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
-    }
-
-    protected int[] delegateDeleteListNonstrict(List<Link> ls) {
-        assertObjectNotNull("linkList", ls);
-        return getMyDao().deleteListNonstrict(
-                helpFilterBeforeDeleteInternally(ls));
-    }
-
-    //==========================================================================
-    // =========
-    // Optimistic Lock Info
-    // ====================
-    @Override
-    protected boolean hasVersionNoValue(Entity entity) {
-        return !(downcast(entity).getVersionno() + "").equals("null");// For
-        // primitive
-        // type
-    }
-
-    @Override
-    protected boolean hasUpdateDateValue(Entity entity) {
-        return false;
-    }
-
-    //==========================================================================
-    // =========
-    // Helper
-    // ======
-    protected Link downcast(Entity entity) {
-        return helpDowncastInternally(entity, Link.class);
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleInfoBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleInfoBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleInfoBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,895 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.RoleInfoDbm;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.exbhv.RoleMappingBhv;
+import jp.sf.pal.bookmark.db.exbhv.UserInfoBhv;
+import jp.sf.pal.bookmark.db.exdao.RoleInfoDao;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The behavior of ROLE_INFO.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ROLE_ID
+ * 
+ * [column]
+ *     ROLE_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     
+ * 
+ * [referrer-table]
+ *     ROLE_MAPPING, USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     roleMappingList, userInfoList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsRoleInfoBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected RoleInfoDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "ROLE_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return RoleInfoDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public RoleInfoDbm getMyDBMeta() {
+        return RoleInfoDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public RoleInfoDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(RoleInfoDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public RoleInfo newMyEntity() {
+        return new RoleInfo();
+    }
+
+    public RoleInfoCB newMyConditionBean() {
+        return new RoleInfoCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of RoleInfo. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(RoleInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of RoleInfo. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public RoleInfo selectEntity(final RoleInfoCB cb) {
+        return helpSelectEntityInternally(cb,
+                new InternalSelectEntityCallback<RoleInfo, RoleInfoCB>() {
+                    public List<RoleInfo> callbackSelectList(RoleInfoCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of RoleInfo. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public RoleInfo selectEntityWithDeletedCheck(final RoleInfoCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<RoleInfo, RoleInfoCB>() {
+                    public List<RoleInfo> callbackSelectList(RoleInfoCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public RoleInfo selectByPKValueWithDeletedCheck(String roleId) {
+        RoleInfo entity = new RoleInfo();
+        entity.setRoleId(roleId);
+        final RoleInfoCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of RoleInfo. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<RoleInfo> selectList(RoleInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<RoleInfo>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of RoleInfo. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<RoleInfo> selectPage(final RoleInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<RoleInfo> invoker = new PagingInvoker<RoleInfo>(
+                getTableDbName());
+        final PagingHandler<RoleInfo> handler = new PagingHandler<RoleInfo>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<RoleInfo> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of RoleInfo. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            RoleInfoCB cb, ValueLabelSetupper<RoleInfo> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+    /**
+     * Load referrer of roleMappingList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setRoleId_InScope(pkList);
+     * cb.query().addOrderBy_RoleId_Asc();
+     * </pre>
+     * 
+     * @param roleInfoList The entity list of roleInfo. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadRoleMappingList(List<RoleInfo> roleInfoList,
+            ConditionBeanSetupper<RoleMappingCB> conditionBeanSetupper) {
+        assertObjectNotNull("roleInfoList<RoleInfo>", roleInfoList);
+        assertObjectNotNull("conditionBeanSetupper<RoleMappingCB>",
+                conditionBeanSetupper);
+        if (roleInfoList.isEmpty()) {
+            return;
+        }
+        loadRoleMappingList(roleInfoList,
+                new LoadReferrerOption<RoleMappingCB, RoleMapping>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param roleInfoList The entity list of roleInfo. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadRoleMappingList(List<RoleInfo> roleInfoList,
+            LoadReferrerOption<RoleMappingCB, RoleMapping> loadReferrerOption) {
+        assertObjectNotNull("roleInfoList<RoleInfo>", roleInfoList);
+        assertObjectNotNull("loadReferrerOption<RoleMapping, RoleMappingCB>",
+                loadReferrerOption);
+        if (roleInfoList.isEmpty()) {
+            return;
+        }
+        final RoleMappingBhv referrerBhv = xgetBSFLR().select(
+                RoleMappingBhv.class);
+        helpLoadReferrerInternally(
+                roleInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<RoleInfo, String, RoleMappingCB, RoleMapping>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            RoleInfo entity) {
+                        return entity.getRoleId();
+                    }
+
+                    public void callbackBase_setReferrerList(RoleInfo entity,
+                            List<RoleMapping> referrerList) {
+                        entity.setRoleMappingList(referrerList);
+                    }
+
+                    public RoleMappingCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            RoleMappingCB cb, List<String> pkList) {
+                        cb.query().setRoleId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            RoleMappingCB cb) {
+                        cb.query().addOrderBy_RoleId_Asc();
+                    }
+
+                    public List<RoleMapping> callbackReferrer_selectList(
+                            RoleMappingCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            RoleMapping entity) {
+                        return entity.getRoleId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            RoleMapping referrerEntity, RoleInfo baseEntity) {
+                        referrerEntity.setRoleInfo(baseEntity);
+                    }
+                });
+    }
+
+    /**
+     * Load referrer of userInfoList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setRoleId_InScope(pkList);
+     * cb.query().addOrderBy_RoleId_Asc();
+     * </pre>
+     * 
+     * @param roleInfoList The entity list of roleInfo. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadUserInfoList(List<RoleInfo> roleInfoList,
+            ConditionBeanSetupper<UserInfoCB> conditionBeanSetupper) {
+        assertObjectNotNull("roleInfoList<RoleInfo>", roleInfoList);
+        assertObjectNotNull("conditionBeanSetupper<UserInfoCB>",
+                conditionBeanSetupper);
+        if (roleInfoList.isEmpty()) {
+            return;
+        }
+        loadUserInfoList(roleInfoList,
+                new LoadReferrerOption<UserInfoCB, UserInfo>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param roleInfoList The entity list of roleInfo. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadUserInfoList(List<RoleInfo> roleInfoList,
+            LoadReferrerOption<UserInfoCB, UserInfo> loadReferrerOption) {
+        assertObjectNotNull("roleInfoList<RoleInfo>", roleInfoList);
+        assertObjectNotNull("loadReferrerOption<UserInfo, UserInfoCB>",
+                loadReferrerOption);
+        if (roleInfoList.isEmpty()) {
+            return;
+        }
+        final UserInfoBhv referrerBhv = xgetBSFLR().select(UserInfoBhv.class);
+        helpLoadReferrerInternally(
+                roleInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<RoleInfo, String, UserInfoCB, UserInfo>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            RoleInfo entity) {
+                        return entity.getRoleId();
+                    }
+
+                    public void callbackBase_setReferrerList(RoleInfo entity,
+                            List<UserInfo> referrerList) {
+                        entity.setUserInfoList(referrerList);
+                    }
+
+                    public UserInfoCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            UserInfoCB cb, List<String> pkList) {
+                        cb.query().setRoleId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            UserInfoCB cb) {
+                        cb.query().addOrderBy_RoleId_Asc();
+                    }
+
+                    public List<UserInfo> callbackReferrer_selectList(
+                            UserInfoCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            UserInfo entity) {
+                        return entity.getRoleId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            UserInfo referrerEntity, RoleInfo baseEntity) {
+                        referrerEntity.setRoleInfo(baseEntity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param roleInfo The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(RoleInfo roleInfo) {
+        assertEntityNotNull(roleInfo);
+        delegateInsert(roleInfo);
+    }
+
+    @Override
+    protected void doCreate(Entity roleInfo) {
+        insert((RoleInfo) roleInfo);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param roleInfo The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final RoleInfo roleInfo) {
+        helpUpdateInternally(roleInfo, new InternalUpdateCallback<RoleInfo>() {
+            public int callbackDelegateUpdate(RoleInfo entity) {
+                return delegateUpdate(entity);
+            }
+        });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((RoleInfo) entity);
+    }
+
+    /**
+     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param roleInfo The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void updateNonstrict(final RoleInfo roleInfo) {
+        helpUpdateNonstrictInternally(roleInfo,
+                new InternalUpdateNonstrictCallback<RoleInfo>() {
+                    public int callbackDelegateUpdateNonstrict(RoleInfo entity) {
+                        return delegateUpdateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        updateNonstrict((RoleInfo) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param roleInfo The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final RoleInfo roleInfo) {
+        helpInsertOrUpdateInternally(roleInfo,
+                new InternalInsertOrUpdateCallback<RoleInfo, RoleInfoCB>() {
+                    public void callbackInsert(RoleInfo entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(RoleInfo entity) {
+                        update(entity);
+                    }
+
+                    public RoleInfoCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(RoleInfoCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity roleInfo) {
+        insertOrUpdate((RoleInfo) roleInfo);
+    }
+
+    /**
+     * Insert or update the entity non-strictly modified-only.
+     * {NonConcurrencyControl(when update)}
+     * 
+     * @param roleInfo The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdateNonstrict(RoleInfo roleInfo) {
+        helpInsertOrUpdateInternally(roleInfo,
+                new InternalInsertOrUpdateNonstrictCallback<RoleInfo>() {
+                    public void callbackInsert(RoleInfo entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdateNonstrict(RoleInfo entity) {
+                        updateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdateNonstrict((RoleInfo) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param roleInfo The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(RoleInfo roleInfo) {
+        helpDeleteInternally(roleInfo, new InternalDeleteCallback<RoleInfo>() {
+            public int callbackDelegateDelete(RoleInfo entity) {
+                return delegateDelete(entity);
+            }
+        });
+    }
+
+    @Override
+    protected void doRemove(Entity roleInfo) {
+        delete((RoleInfo) roleInfo);
+    }
+
+    /**
+     * Delete the entity non-strictly. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param roleInfo Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrict(RoleInfo roleInfo) {
+        helpDeleteNonstrictInternally(roleInfo,
+                new InternalDeleteNonstrictCallback<RoleInfo>() {
+                    public int callbackDelegateDeleteNonstrict(RoleInfo entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    /**
+     * Delete the entity non-strictly ignoring deleted.
+     * {UpdateCountZeroException, NonConcurrencyControl}
+     * 
+     * @param roleInfo Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrictIgnoreDeleted(RoleInfo roleInfo) {
+        helpDeleteNonstrictIgnoreDeletedInternally(roleInfo,
+                new InternalDeleteNonstrictIgnoreDeletedCallback<RoleInfo>() {
+                    public int callbackDelegateDeleteNonstrict(RoleInfo entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param roleInfoList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<RoleInfo> roleInfoList) {
+        assertObjectNotNull("roleInfoList", roleInfoList);
+        return delegateInsertList(roleInfoList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param roleInfoList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchUpdate(List<RoleInfo> roleInfoList) {
+        assertObjectNotNull("roleInfoList", roleInfoList);
+        return delegateUpdateList(roleInfoList);
+    }
+
+    /**
+     * Batch update the list non-strictly. All columns are update target. {NOT
+     * modified only} <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param roleInfoList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdateNonstrict(List<RoleInfo> roleInfoList) {
+        assertObjectNotNull("roleInfoList", roleInfoList);
+        return delegateUpdateListNonstrict(roleInfoList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param roleInfoList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchDelete(List<RoleInfo> roleInfoList) {
+        assertObjectNotNull("roleInfoList", roleInfoList);
+        return delegateDeleteList(roleInfoList);
+    }
+
+    /**
+     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
+     * of java.sql.PreparedStatement.
+     * 
+     * @param roleInfoList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDeleteNonstrict(List<RoleInfo> roleInfoList) {
+        assertObjectNotNull("roleInfoList", roleInfoList);
+        return delegateDeleteListNonstrict(roleInfoList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param roleInfo Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(RoleInfo roleInfo, RoleInfoCB cb) {
+        assertObjectNotNull("roleInfo", roleInfo);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(roleInfo);
+        filterEntityOfUpdate(roleInfo);
+        assertEntityOfUpdate(roleInfo);
+        return getMyDao().updateByQuery(cb, roleInfo);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(RoleInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(RoleInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<RoleInfo> delegateSelectList(RoleInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(RoleInfo e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(RoleInfo e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateUpdateNonstrict(RoleInfo e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateNonstrictModifiedOnly(e);
+    }
+
+    protected int delegateDelete(RoleInfo e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int delegateDeleteNonstrict(RoleInfo e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().deleteNonstrict(e);
+    }
+
+    protected int[] delegateInsertList(List<RoleInfo> ls) {
+        assertObjectNotNull("roleInfoList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<RoleInfo> ls) {
+        assertObjectNotNull("roleInfoList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateUpdateListNonstrict(List<RoleInfo> ls) {
+        assertObjectNotNull("roleInfoList", ls);
+        return getMyDao().updateListNonstrict(
+                helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<RoleInfo> ls) {
+        assertObjectNotNull("roleInfoList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    protected int[] delegateDeleteListNonstrict(List<RoleInfo> ls) {
+        assertObjectNotNull("roleInfoList", ls);
+        return getMyDao().deleteListNonstrict(
+                helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return !(downcast(entity).getVersionno() + "").equals("null");// For
+        // primitive
+        // type
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected RoleInfo downcast(Entity entity) {
+        return helpDowncastInternally(entity, RoleInfo.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleMappingBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleMappingBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleMappingBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,597 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.RoleMappingDbm;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.exdao.RoleMappingDao;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The behavior of ROLE_MAPPING.
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, USER_ID, ROLE_ID
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     
+ * 
+ * [foreign-table]
+ *     ROLE_INFO, USER_INFO
+ * 
+ * [referrer-table]
+ *     
+ * 
+ * [foreign-property]
+ *     roleInfo, userInfo
+ * 
+ * [referrer-property]
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsRoleMappingBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected RoleMappingDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "ROLE_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return RoleMappingDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public RoleMappingDbm getMyDBMeta() {
+        return RoleMappingDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public RoleMappingDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(RoleMappingDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public RoleMapping newMyEntity() {
+        return new RoleMapping();
+    }
+
+    public RoleMappingCB newMyConditionBean() {
+        return new RoleMappingCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of RoleMapping. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(RoleMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of RoleMapping. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public RoleMapping selectEntity(final RoleMappingCB cb) {
+        return helpSelectEntityInternally(cb,
+                new InternalSelectEntityCallback<RoleMapping, RoleMappingCB>() {
+                    public List<RoleMapping> callbackSelectList(RoleMappingCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of RoleMapping. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public RoleMapping selectEntityWithDeletedCheck(final RoleMappingCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<RoleMapping, RoleMappingCB>() {
+                    public List<RoleMapping> callbackSelectList(RoleMappingCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public RoleMapping selectByPKValueWithDeletedCheck(Integer id) {
+        RoleMapping entity = new RoleMapping();
+        entity.setId(id);
+        final RoleMappingCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of RoleMapping. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<RoleMapping> selectList(RoleMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<RoleMapping>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of RoleMapping. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<RoleMapping> selectPage(final RoleMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<RoleMapping> invoker = new PagingInvoker<RoleMapping>(
+                getTableDbName());
+        final PagingHandler<RoleMapping> handler = new PagingHandler<RoleMapping>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<RoleMapping> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of RoleMapping. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            RoleMappingCB cb, ValueLabelSetupper<RoleMapping> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+    /**
+     * Pull out the list of foreign table 'RoleInfo'.
+     * 
+     * @param roleMappingList The list of roleMapping. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<RoleInfo> pulloutRoleInfo(List<RoleMapping> roleMappingList) {
+        return helpPulloutInternally(roleMappingList,
+                new InternalPulloutCallback<RoleMapping, RoleInfo>() {
+                    public RoleInfo callbackGetForeignEntity(RoleMapping entity) {
+                        return entity.getRoleInfo();
+                    }
+                });
+    }
+
+    /**
+     * Pull out the list of foreign table 'UserInfo'.
+     * 
+     * @param roleMappingList The list of roleMapping. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<UserInfo> pulloutUserInfo(List<RoleMapping> roleMappingList) {
+        return helpPulloutInternally(roleMappingList,
+                new InternalPulloutCallback<RoleMapping, UserInfo>() {
+                    public UserInfo callbackGetForeignEntity(RoleMapping entity) {
+                        return entity.getUserInfo();
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param roleMapping The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(RoleMapping roleMapping) {
+        assertEntityNotNull(roleMapping);
+        delegateInsert(roleMapping);
+    }
+
+    @Override
+    protected void doCreate(Entity roleMapping) {
+        insert((RoleMapping) roleMapping);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param roleMapping The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final RoleMapping roleMapping) {
+        helpUpdateInternally(roleMapping,
+                new InternalUpdateCallback<RoleMapping>() {
+                    public int callbackDelegateUpdate(RoleMapping entity) {
+                        return delegateUpdate(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((RoleMapping) entity);
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        update((RoleMapping) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param roleMapping The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final RoleMapping roleMapping) {
+        helpInsertOrUpdateInternally(
+                roleMapping,
+                new InternalInsertOrUpdateCallback<RoleMapping, RoleMappingCB>() {
+                    public void callbackInsert(RoleMapping entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(RoleMapping entity) {
+                        update(entity);
+                    }
+
+                    public RoleMappingCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(RoleMappingCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity roleMapping) {
+        insertOrUpdate((RoleMapping) roleMapping);
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdate((RoleMapping) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param roleMapping The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(RoleMapping roleMapping) {
+        helpDeleteInternally(roleMapping,
+                new InternalDeleteCallback<RoleMapping>() {
+                    public int callbackDelegateDelete(RoleMapping entity) {
+                        return delegateDelete(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doRemove(Entity roleMapping) {
+        delete((RoleMapping) roleMapping);
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param roleMappingList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<RoleMapping> roleMappingList) {
+        assertObjectNotNull("roleMappingList", roleMappingList);
+        return delegateInsertList(roleMappingList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param roleMappingList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdate(List<RoleMapping> roleMappingList) {
+        assertObjectNotNull("roleMappingList", roleMappingList);
+        return delegateUpdateList(roleMappingList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param roleMappingList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDelete(List<RoleMapping> roleMappingList) {
+        assertObjectNotNull("roleMappingList", roleMappingList);
+        return delegateDeleteList(roleMappingList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param roleMapping Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(RoleMapping roleMapping, RoleMappingCB cb) {
+        assertObjectNotNull("roleMapping", roleMapping);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(roleMapping);
+        filterEntityOfUpdate(roleMapping);
+        assertEntityOfUpdate(roleMapping);
+        return getMyDao().updateByQuery(cb, roleMapping);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(RoleMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(RoleMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<RoleMapping> delegateSelectList(RoleMappingCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(RoleMapping e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(RoleMapping e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateDelete(RoleMapping e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int[] delegateInsertList(List<RoleMapping> ls) {
+        assertObjectNotNull("roleMappingList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<RoleMapping> ls) {
+        assertObjectNotNull("roleMappingList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<RoleMapping> ls) {
+        assertObjectNotNull("roleMappingList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return false;
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected RoleMapping downcast(Entity entity) {
+        return helpDowncastInternally(entity, RoleMapping.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsRoleMappingBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsUserInfoBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsUserInfoBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsUserInfoBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,927 @@
+package jp.sf.pal.bookmark.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.allcommon.DaoReadable;
+import jp.sf.pal.bookmark.db.allcommon.DaoWritable;
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.bookmark.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.bsentity.dbmeta.UserInfoDbm;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.exbhv.GroupMappingBhv;
+import jp.sf.pal.bookmark.db.exbhv.RoleMappingBhv;
+import jp.sf.pal.bookmark.db.exdao.UserInfoDao;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The behavior of USER_INFO.
+ * 
+ * <pre>
+ * [primary-key]
+ *     USER_ID
+ * 
+ * [column]
+ *     USER_ID, GIVEN_NAME, FAMILY_NAME, MIDDLE_NAME, GIVEN_NAME_DESC, FAMILY_NAME_DESC, EMAIL, URL, TELEPHONE, ROLE_ID, GROUP_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     GROUP_INFO, ROLE_INFO
+ * 
+ * [referrer-table]
+ *     GROUP_MAPPING, ROLE_MAPPING
+ * 
+ * [foreign-property]
+ *     groupInfo, roleInfo
+ * 
+ * [referrer-property]
+ *     groupMappingList, roleMappingList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public abstract class BsUserInfoBhv extends
+        jp.sf.pal.bookmark.db.allcommon.bhv.AbstractBehaviorWritable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /* df:BehaviorQueryPathBegin */
+    /* df:BehaviorQueryPathEnd */
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected UserInfoDao _dao;
+
+    //==========================================================================
+    // =========
+    // Table name
+    // ==========
+    /** @return The name on database of table. (NotNull) */
+    public String getTableDbName() {
+        return "USER_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    /** @return The meta data of the database. (NotNull) */
+    public DBMeta getDBMeta() {
+        return UserInfoDbm.getInstance();
+    }
+
+    /** @return The meta data of the database as my table type. (NotNull) */
+    public UserInfoDbm getMyDBMeta() {
+        return UserInfoDbm.getInstance();
+    }
+
+    //==========================================================================
+    // =========
+    // Dao Accessor
+    // ============
+    public UserInfoDao getMyDao() {
+        return _dao;
+    }
+
+    public void setMyDao(UserInfoDao dao) {
+        assertObjectNotNull("dao", dao);
+        _dao = dao;
+    }
+
+    public DaoReadable getDaoReadable() {
+        return getMyDao();
+    }
+
+    public DaoWritable getDaoWritable() {
+        return getMyDao();
+    }
+
+    //==========================================================================
+    // =========
+    // New Instance
+    // ============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public ConditionBean newConditionBean() {
+        return newMyConditionBean();
+    }
+
+    public UserInfo newMyEntity() {
+        return new UserInfo();
+    }
+
+    public UserInfoCB newMyConditionBean() {
+        return new UserInfoCB();
+    }
+
+    //==========================================================================
+    // =========
+    // Count Select
+    // ============
+    /**
+     * Select the count of the condition-bean. {IgnorePagingCondition}
+     * 
+     * @param cb The condition-bean of UserInfo. (NotNull)
+     * @return The selected count.
+     */
+    public int selectCount(UserInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return delegateSelectCount(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Select
+    // =============
+    /**
+     * Select the entity by the condition-bean.
+     * 
+     * @param cb The condition-bean of UserInfo. (NotNull)
+     * @return The selected entity. (Nullalble)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public UserInfo selectEntity(final UserInfoCB cb) {
+        return helpSelectEntityInternally(cb,
+                new InternalSelectEntityCallback<UserInfo, UserInfoCB>() {
+                    public List<UserInfo> callbackSelectList(UserInfoCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /**
+     * Select the entity by the condition-bean with deleted check.
+     * 
+     * @param cb The condition-bean of UserInfo. (NotNull)
+     * @return The selected entity. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public UserInfo selectEntityWithDeletedCheck(final UserInfoCB cb) {
+        return helpSelectEntityWithDeletedCheckInternally(
+                cb,
+                new InternalSelectEntityWithDeletedCheckCallback<UserInfo, UserInfoCB>() {
+                    public List<UserInfo> callbackSelectList(UserInfoCB cb) {
+                        return selectList(cb);
+                    }
+                });
+    }
+
+    /*
+     * (non-javadoc) Select the entity with deleted check. {by primary-key
+     * value}
+     * @param primaryKey The keys of primary.
+     * @return The selected entity. (NotNull)
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException When
+     * the entity has been duplicated.
+     */
+    public UserInfo selectByPKValueWithDeletedCheck(String userId) {
+        UserInfo entity = new UserInfo();
+        entity.setUserId(userId);
+        final UserInfoCB cb = newMyConditionBean();
+        cb.acceptPrimaryKeyMapString(getDBMeta().extractPrimaryKeyMapString(
+                entity));
+        return selectEntityWithDeletedCheck(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // List Select
+    // ===========
+    /**
+     * Select the list as result bean.
+     * 
+     * @param cb The condition-bean of UserInfo. (NotNull)
+     * @return The result bean of selected list. (NotNull)
+     */
+    public ListResultBean<UserInfo> selectList(UserInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return new ResultBeanBuilder<UserInfo>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
+    }
+
+    //==========================================================================
+    // =========
+    // Page Select
+    // ===========
+    /**
+     * Select the page as result bean.
+     * 
+     * @param cb The condition-bean of UserInfo. (NotNull)
+     * @return The result bean of selected page. (NotNull)
+     */
+    public PagingResultBean<UserInfo> selectPage(final UserInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        final PagingInvoker<UserInfo> invoker = new PagingInvoker<UserInfo>(
+                getTableDbName());
+        final PagingHandler<UserInfo> handler = new PagingHandler<UserInfo>() {
+            public PagingBean getPagingBean() {
+                return cb;
+            }
+
+            public int count() {
+                return selectCount(cb);
+            }
+
+            public List<UserInfo> paging() {
+                return selectList(cb);
+            }
+        };
+        return invoker.invokePaging(handler);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Select
+    // ==============
+    /**
+     * Select the list of value-label.
+     * 
+     * @param cb The condition-bean of UserInfo. (NotNull)
+     * @param valueLabelSetupper The setupper of value-label. (NotNull)
+     * @return The list of value-label. (NotNull)
+     */
+    public List<java.util.Map<String, Object>> selectValueLabelList(
+            UserInfoCB cb, ValueLabelSetupper<UserInfo> valueLabelSetupper) {
+        return createValueLabelList(selectList(cb), valueLabelSetupper);
+    }
+
+    //==========================================================================
+    // =========
+    // Load Referrer
+    // =============
+    /**
+     * Load referrer of groupMappingList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setUserId_InScope(pkList);
+     * cb.query().addOrderBy_UserId_Asc();
+     * </pre>
+     * 
+     * @param userInfoList The entity list of userInfo. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadGroupMappingList(List<UserInfo> userInfoList,
+            ConditionBeanSetupper<GroupMappingCB> conditionBeanSetupper) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("conditionBeanSetupper<GroupMappingCB>",
+                conditionBeanSetupper);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        loadGroupMappingList(userInfoList,
+                new LoadReferrerOption<GroupMappingCB, GroupMapping>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param userInfoList The entity list of userInfo. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadGroupMappingList(List<UserInfo> userInfoList,
+            LoadReferrerOption<GroupMappingCB, GroupMapping> loadReferrerOption) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("loadReferrerOption<GroupMapping, GroupMappingCB>",
+                loadReferrerOption);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        final GroupMappingBhv referrerBhv = xgetBSFLR().select(
+                GroupMappingBhv.class);
+        helpLoadReferrerInternally(
+                userInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<UserInfo, String, GroupMappingCB, GroupMapping>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            UserInfo entity) {
+                        return entity.getUserId();
+                    }
+
+                    public void callbackBase_setReferrerList(UserInfo entity,
+                            List<GroupMapping> referrerList) {
+                        entity.setGroupMappingList(referrerList);
+                    }
+
+                    public GroupMappingCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            GroupMappingCB cb, List<String> pkList) {
+                        cb.query().setUserId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            GroupMappingCB cb) {
+                        cb.query().addOrderBy_UserId_Asc();
+                    }
+
+                    public List<GroupMapping> callbackReferrer_selectList(
+                            GroupMappingCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            GroupMapping entity) {
+                        return entity.getUserId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            GroupMapping referrerEntity, UserInfo baseEntity) {
+                        referrerEntity.setUserInfo(baseEntity);
+                    }
+                });
+    }
+
+    /**
+     * Load referrer of roleMappingList with the setupper for condition-bean of
+     * referrer. <br /> About internal policy, the value of primary key(and
+     * others too) is treated as case-insensitive. <br /> The condition-bean
+     * that the setupper provides have settings before you touch it. It is as
+     * follows:
+     * 
+     * <pre>
+     * cb.query().setUserId_InScope(pkList);
+     * cb.query().addOrderBy_UserId_Asc();
+     * </pre>
+     * 
+     * @param userInfoList The entity list of userInfo. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
+     */
+    public void loadRoleMappingList(List<UserInfo> userInfoList,
+            ConditionBeanSetupper<RoleMappingCB> conditionBeanSetupper) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("conditionBeanSetupper<RoleMappingCB>",
+                conditionBeanSetupper);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        loadRoleMappingList(userInfoList,
+                new LoadReferrerOption<RoleMappingCB, RoleMapping>(
+                        conditionBeanSetupper));
+    }
+
+    /**
+     * {Refer to overload method that has an argument of condition-bean
+     * setupper.}
+     * 
+     * @param userInfoList The entity list of userInfo. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
+     */
+    public void loadRoleMappingList(List<UserInfo> userInfoList,
+            LoadReferrerOption<RoleMappingCB, RoleMapping> loadReferrerOption) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("loadReferrerOption<RoleMapping, RoleMappingCB>",
+                loadReferrerOption);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        final RoleMappingBhv referrerBhv = xgetBSFLR().select(
+                RoleMappingBhv.class);
+        helpLoadReferrerInternally(
+                userInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<UserInfo, String, RoleMappingCB, RoleMapping>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            UserInfo entity) {
+                        return entity.getUserId();
+                    }
+
+                    public void callbackBase_setReferrerList(UserInfo entity,
+                            List<RoleMapping> referrerList) {
+                        entity.setRoleMappingList(referrerList);
+                    }
+
+                    public RoleMappingCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            RoleMappingCB cb, List<String> pkList) {
+                        cb.query().setUserId_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            RoleMappingCB cb) {
+                        cb.query().addOrderBy_UserId_Asc();
+                    }
+
+                    public List<RoleMapping> callbackReferrer_selectList(
+                            RoleMappingCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            RoleMapping entity) {
+                        return entity.getUserId();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            RoleMapping referrerEntity, UserInfo baseEntity) {
+                        referrerEntity.setUserInfo(baseEntity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pullout Foreign
+    // ===============
+    /**
+     * Pull out the list of foreign table 'GroupInfo'.
+     * 
+     * @param userInfoList The list of userInfo. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<GroupInfo> pulloutGroupInfo(List<UserInfo> userInfoList) {
+        return helpPulloutInternally(userInfoList,
+                new InternalPulloutCallback<UserInfo, GroupInfo>() {
+                    public GroupInfo callbackGetForeignEntity(UserInfo entity) {
+                        return entity.getGroupInfo();
+                    }
+                });
+    }
+
+    /**
+     * Pull out the list of foreign table 'RoleInfo'.
+     * 
+     * @param userInfoList The list of userInfo. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<RoleInfo> pulloutRoleInfo(List<UserInfo> userInfoList) {
+        return helpPulloutInternally(userInfoList,
+                new InternalPulloutCallback<UserInfo, RoleInfo>() {
+                    public RoleInfo callbackGetForeignEntity(UserInfo entity) {
+                        return entity.getRoleInfo();
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param userInfo The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insert(UserInfo userInfo) {
+        assertEntityNotNull(userInfo);
+        delegateInsert(userInfo);
+    }
+
+    @Override
+    protected void doCreate(Entity userInfo) {
+        insert((UserInfo) userInfo);
+    }
+
+    /**
+     * Update the entity modified-only. {UpdateCountZeroException,
+     * ConcurrencyControl}
+     * 
+     * @param userInfo The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void update(final UserInfo userInfo) {
+        helpUpdateInternally(userInfo, new InternalUpdateCallback<UserInfo>() {
+            public int callbackDelegateUpdate(UserInfo entity) {
+                return delegateUpdate(entity);
+            }
+        });
+    }
+
+    @Override
+    protected void doModify(Entity entity) {
+        update((UserInfo) entity);
+    }
+
+    /**
+     * Update the entity non-strictly modified-only. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param userInfo The entity of update target. (NotNull)
+     *            {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void updateNonstrict(final UserInfo userInfo) {
+        helpUpdateNonstrictInternally(userInfo,
+                new InternalUpdateNonstrictCallback<UserInfo>() {
+                    public int callbackDelegateUpdateNonstrict(UserInfo entity) {
+                        return delegateUpdateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doModifyNonstrict(Entity entity) {
+        updateNonstrict((UserInfo) entity);
+    }
+
+    /**
+     * Insert or update the entity modified-only. {ConcurrencyControl(when
+     * update)}
+     * 
+     * @param userInfo The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdate(final UserInfo userInfo) {
+        helpInsertOrUpdateInternally(userInfo,
+                new InternalInsertOrUpdateCallback<UserInfo, UserInfoCB>() {
+                    public void callbackInsert(UserInfo entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdate(UserInfo entity) {
+                        update(entity);
+                    }
+
+                    public UserInfoCB callbackNewMyConditionBean() {
+                        return newMyConditionBean();
+                    }
+
+                    public int callbackSelectCount(UserInfoCB cb) {
+                        return selectCount(cb);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdate(Entity userInfo) {
+        insertOrUpdate((UserInfo) userInfo);
+    }
+
+    /**
+     * Insert or update the entity non-strictly modified-only.
+     * {NonConcurrencyControl(when update)}
+     * 
+     * @param userInfo The entity of insert or update target. (NotNull)
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyExistsException
+     *                When the entity already exists. (Unique Constraint
+     *                Violation)
+     */
+    public void insertOrUpdateNonstrict(UserInfo userInfo) {
+        helpInsertOrUpdateInternally(userInfo,
+                new InternalInsertOrUpdateNonstrictCallback<UserInfo>() {
+                    public void callbackInsert(UserInfo entity) {
+                        insert(entity);
+                    }
+
+                    public void callbackUpdateNonstrict(UserInfo entity) {
+                        updateNonstrict(entity);
+                    }
+                });
+    }
+
+    @Override
+    protected void doCreateOrUpdateNonstrict(Entity entity) {
+        insertOrUpdateNonstrict((UserInfo) entity);
+    }
+
+    /**
+     * Delete the entity. {UpdateCountZeroException, ConcurrencyControl}
+     * 
+     * @param userInfo The entity of delete target. (NotNull)
+     *            {PrimaryKeyRequired, ConcurrencyColumnRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void delete(UserInfo userInfo) {
+        helpDeleteInternally(userInfo, new InternalDeleteCallback<UserInfo>() {
+            public int callbackDelegateDelete(UserInfo entity) {
+                return delegateDelete(entity);
+            }
+        });
+    }
+
+    @Override
+    protected void doRemove(Entity userInfo) {
+        delete((UserInfo) userInfo);
+    }
+
+    /**
+     * Delete the entity non-strictly. {UpdateCountZeroException,
+     * NonConcurrencyControl}
+     * 
+     * @param userInfo Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrict(UserInfo userInfo) {
+        helpDeleteNonstrictInternally(userInfo,
+                new InternalDeleteNonstrictCallback<UserInfo>() {
+                    public int callbackDelegateDeleteNonstrict(UserInfo entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    /**
+     * Delete the entity non-strictly ignoring deleted.
+     * {UpdateCountZeroException, NonConcurrencyControl}
+     * 
+     * @param userInfo Entity. (NotNull) {PrimaryKeyRequired}
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     */
+    public void deleteNonstrictIgnoreDeleted(UserInfo userInfo) {
+        helpDeleteNonstrictIgnoreDeletedInternally(userInfo,
+                new InternalDeleteNonstrictIgnoreDeletedCallback<UserInfo>() {
+                    public int callbackDelegateDeleteNonstrict(UserInfo entity) {
+                        return delegateDeleteNonstrict(entity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Batch Update
+    // ============
+    /**
+     * Batch insert the list. This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param userInfoList The list of the entity. (NotNull)
+     * @return The array of inserted count.
+     */
+    public int[] batchInsert(List<UserInfo> userInfoList) {
+        assertObjectNotNull("userInfoList", userInfoList);
+        return delegateInsertList(userInfoList);
+    }
+
+    /**
+     * Batch update the list. All columns are update target. {NOT modified only}
+     * <br /> This method use 'Batch Update' of java.sql.PreparedStatement.
+     * 
+     * @param userInfoList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchUpdate(List<UserInfo> userInfoList) {
+        assertObjectNotNull("userInfoList", userInfoList);
+        return delegateUpdateList(userInfoList);
+    }
+
+    /**
+     * Batch update the list non-strictly. All columns are update target. {NOT
+     * modified only} <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param userInfoList The list of the entity. (NotNull)
+     * @return The array of updated count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchUpdateNonstrict(List<UserInfo> userInfoList) {
+        assertObjectNotNull("userInfoList", userInfoList);
+        return delegateUpdateListNonstrict(userInfoList);
+    }
+
+    /**
+     * Batch delete the list. <br /> This method use 'Batch Update' of
+     * java.sql.PreparedStatement.
+     * 
+     * @param userInfoList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.BatchEntityAlreadyUpdatedException
+     *                When the entity has already been updated. This exception
+     *                extends ${glEntityAlreadyUpdateException}.
+     */
+    public int[] batchDelete(List<UserInfo> userInfoList) {
+        assertObjectNotNull("userInfoList", userInfoList);
+        return delegateDeleteList(userInfoList);
+    }
+
+    /**
+     * Batch delete the list non-strictly. <br /> This method use 'Batch Update'
+     * of java.sql.PreparedStatement.
+     * 
+     * @param userInfoList The list of the entity. (NotNull)
+     * @return The array of deleted count.
+     * @exception jp.sf.pal.bookmark.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     */
+    public int[] batchDeleteNonstrict(List<UserInfo> userInfoList) {
+        assertObjectNotNull("userInfoList", userInfoList);
+        return delegateDeleteListNonstrict(userInfoList);
+    }
+
+    //==========================================================================
+    // =========
+    // Query Update
+    // ============
+    /**
+     * Query update the several entities. {NoConcurrencyControl}
+     * 
+     * @param userInfo Entity. (NotNull) {PrimaryKeyNotRequired}
+     * @param cb Condition-bean. (NotNull)
+     * @return The updated count.
+     */
+    public int queryUpdate(UserInfo userInfo, UserInfoCB cb) {
+        assertObjectNotNull("userInfo", userInfo);
+        assertConditionBeanNotNull(cb);
+        setupCommonColumnOfUpdateIfNeeds(userInfo);
+        filterEntityOfUpdate(userInfo);
+        assertEntityOfUpdate(userInfo);
+        return getMyDao().updateByQuery(cb, userInfo);
+    }
+
+    /**
+     * Query delete the several entities. {NoConcurrencyControl}
+     * 
+     * @param cb Condition-bean. (NotNull)
+     * @return The deleted count.
+     */
+    public int queryDelete(UserInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().deleteByQuery(cb);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Update
+    // ==============
+
+    //==========================================================================
+    // =========
+    // Delegate Method
+    // ===============
+    // -----------------------------------------------------
+    // Select
+    // ------
+    protected int delegateSelectCount(UserInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectCount(cb);
+    }
+
+    protected List<UserInfo> delegateSelectList(UserInfoCB cb) {
+        assertConditionBeanNotNull(cb);
+        return getMyDao().selectList(cb);
+    }
+
+    // -----------------------------------------------------
+    // Update
+    // ------
+    protected int delegateInsert(UserInfo e) {
+        if (!processBeforeInsert(e)) {
+            return 1;
+        }
+        return getMyDao().insert(e);
+    }
+
+    protected int delegateUpdate(UserInfo e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateModifiedOnly(e);
+    }
+
+    protected int delegateUpdateNonstrict(UserInfo e) {
+        if (!processBeforeUpdate(e)) {
+            return 1;
+        }
+        return getMyDao().updateNonstrictModifiedOnly(e);
+    }
+
+    protected int delegateDelete(UserInfo e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().delete(e);
+    }
+
+    protected int delegateDeleteNonstrict(UserInfo e) {
+        if (!processBeforeDelete(e)) {
+            return 1;
+        }
+        return getMyDao().deleteNonstrict(e);
+    }
+
+    protected int[] delegateInsertList(List<UserInfo> ls) {
+        assertObjectNotNull("userInfoList", ls);
+        return getMyDao().insertList(helpFilterBeforeInsertInternally(ls));
+    }
+
+    protected int[] delegateUpdateList(List<UserInfo> ls) {
+        assertObjectNotNull("userInfoList", ls);
+        return getMyDao().updateList(helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateUpdateListNonstrict(List<UserInfo> ls) {
+        assertObjectNotNull("userInfoList", ls);
+        return getMyDao().updateListNonstrict(
+                helpFilterBeforeUpdateInternally(ls));
+    }
+
+    protected int[] delegateDeleteList(List<UserInfo> ls) {
+        assertObjectNotNull("userInfoList", ls);
+        return getMyDao().deleteList(helpFilterBeforeDeleteInternally(ls));
+    }
+
+    protected int[] delegateDeleteListNonstrict(List<UserInfo> ls) {
+        assertObjectNotNull("userInfoList", ls);
+        return getMyDao().deleteListNonstrict(
+                helpFilterBeforeDeleteInternally(ls));
+    }
+
+    //==========================================================================
+    // =========
+    // Optimistic Lock Info
+    // ====================
+    @Override
+    protected boolean hasVersionNoValue(Entity entity) {
+        return !(downcast(entity).getVersionno() + "").equals("null");// For
+        // primitive
+        // type
+    }
+
+    @Override
+    protected boolean hasUpdateDateValue(Entity entity) {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Helper
+    // ======
+    protected UserInfo downcast(Entity entity) {
+        return helpDowncastInternally(entity, UserInfo.class);
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsbhv/BsUserInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkCategoryDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkCategoryDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkCategoryDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
+
+/**
+ * The DAO interface of BOOKMARK_CATEGORY.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsBookmarkCategoryDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = BookmarkCategory.class; // For S2Dao
+
+    public int selectCount(BookmarkCategoryCB cb);
+
+    public List<BookmarkCategory> selectList(BookmarkCategoryCB cb);
+
+    int insert(BookmarkCategory entity);
+
+    int updateModifiedOnly(BookmarkCategory entity);
+
+    int updateNonstrictModifiedOnly(BookmarkCategory entity);
+
+    int delete(BookmarkCategory entity);
+
+    int deleteNonstrict(BookmarkCategory entity);
+
+    int[] insertList(List<BookmarkCategory> entityList);
+
+    int[] updateList(List<BookmarkCategory> entityList);
+
+    int[] updateListNonstrict(List<BookmarkCategory> entityList);
+
+    int updateByQuery(BookmarkCategoryCB cb, BookmarkCategory entity);
+
+    int[] deleteList(List<BookmarkCategory> entityList);
+
+    int[] deleteListNonstrict(List<BookmarkCategory> entityList);
+
+    int deleteByQuery(BookmarkCategoryCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkCategoryDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkLinkDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkLinkDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkLinkDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
+
+/**
+ * The DAO interface of BOOKMARK_LINK.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsBookmarkLinkDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = BookmarkLink.class; // For S2Dao
+
+    public int selectCount(BookmarkLinkCB cb);
+
+    public List<BookmarkLink> selectList(BookmarkLinkCB cb);
+
+    int insert(BookmarkLink entity);
+
+    int updateModifiedOnly(BookmarkLink entity);
+
+    int updateNonstrictModifiedOnly(BookmarkLink entity);
+
+    int delete(BookmarkLink entity);
+
+    int deleteNonstrict(BookmarkLink entity);
+
+    int[] insertList(List<BookmarkLink> entityList);
+
+    int[] updateList(List<BookmarkLink> entityList);
+
+    int[] updateListNonstrict(List<BookmarkLink> entityList);
+
+    int updateByQuery(BookmarkLinkCB cb, BookmarkLink entity);
+
+    int[] deleteList(List<BookmarkLink> entityList);
+
+    int[] deleteListNonstrict(List<BookmarkLink> entityList);
+
+    int deleteByQuery(BookmarkLinkCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsBookmarkLinkDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsCategoryDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsCategoryDao.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsCategoryDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,60 +0,0 @@
-package jp.sf.pal.bookmark.db.bsdao;
-
-import java.util.List;
-
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.exentity.Category;
-
-/**
- * The dao interface of CATEGORY.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public interface BsCategoryDao extends
-        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
-
-    public Class BEAN = Category.class;// For S2Dao
-
-    public static final String getCountAll_SQL = "select count(*) from CATEGORY";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, NAME, MEMO, SORT_ORDER, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from CATEGORY";
-
-    public java.util.List<Category> getListAll();
-
-    public static final String getEntity_SQL = "select ID, NAME, MEMO, SORT_ORDER, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from CATEGORY where CATEGORY.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public Category getEntity(Integer id);
-
-    public int selectCount(CategoryCB cb);
-
-    public List<Category> selectList(CategoryCB cb);
-
-    public int insert(Category entity);
-
-    public int updateModifiedOnly(Category entity);
-
-    public int updateNonstrictModifiedOnly(Category entity);
-
-    public int delete(Category entity);
-
-    public int deleteNonstrict(Category entity);
-
-    public int[] insertList(List<Category> entityList);
-
-    public int[] updateList(List<Category> entityList);
-
-    public int[] updateListNonstrict(List<Category> entityList);
-
-    public int updateByQuery(CategoryCB cb, Category entity);// {DBFlute-0.7.5}
-
-    public int[] deleteList(List<Category> entityList);
-
-    public int[] deleteListNonstrict(List<Category> entityList);
-
-    public int deleteByQuery(CategoryCB cb);
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupInfoDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupInfoDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupInfoDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+
+/**
+ * The DAO interface of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsGroupInfoDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = GroupInfo.class; // For S2Dao
+
+    public int selectCount(GroupInfoCB cb);
+
+    public List<GroupInfo> selectList(GroupInfoCB cb);
+
+    int insert(GroupInfo entity);
+
+    int updateModifiedOnly(GroupInfo entity);
+
+    int updateNonstrictModifiedOnly(GroupInfo entity);
+
+    int delete(GroupInfo entity);
+
+    int deleteNonstrict(GroupInfo entity);
+
+    int[] insertList(List<GroupInfo> entityList);
+
+    int[] updateList(List<GroupInfo> entityList);
+
+    int[] updateListNonstrict(List<GroupInfo> entityList);
+
+    int updateByQuery(GroupInfoCB cb, GroupInfo entity);
+
+    int[] deleteList(List<GroupInfo> entityList);
+
+    int[] deleteListNonstrict(List<GroupInfo> entityList);
+
+    int deleteByQuery(GroupInfoCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupMappingDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupMappingDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupMappingDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,37 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+
+/**
+ * The DAO interface of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsGroupMappingDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = GroupMapping.class; // For S2Dao
+
+    public int selectCount(GroupMappingCB cb);
+
+    public List<GroupMapping> selectList(GroupMappingCB cb);
+
+    int insert(GroupMapping entity);
+
+    int updateModifiedOnly(GroupMapping entity);
+
+    int delete(GroupMapping entity);
+
+    int[] insertList(List<GroupMapping> entityList);
+
+    int[] updateList(List<GroupMapping> entityList);
+
+    int updateByQuery(GroupMappingCB cb, GroupMapping entity);
+
+    int[] deleteList(List<GroupMapping> entityList);
+
+    int deleteByQuery(GroupMappingCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsGroupMappingDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsLinkDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsLinkDao.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsLinkDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,59 +0,0 @@
-package jp.sf.pal.bookmark.db.bsdao;
-
-import java.util.List;
-
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.exentity.Link;
-
-/**
- * The dao interface of LINK.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public interface BsLinkDao extends jp.sf.pal.bookmark.db.allcommon.DaoWritable {
-
-    public Class BEAN = Link.class;// For S2Dao
-
-    public static final String getCountAll_SQL = "select count(*) from LINK";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, NAME, MEMO, URL, TYPE, SORT_ORDER, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from LINK";
-
-    public java.util.List<Link> getListAll();
-
-    public static final String getEntity_SQL = "select ID, NAME, MEMO, URL, TYPE, SORT_ORDER, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from LINK where LINK.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public Link getEntity(Long id);
-
-    public int selectCount(LinkCB cb);
-
-    public List<Link> selectList(LinkCB cb);
-
-    public int insert(Link entity);
-
-    public int updateModifiedOnly(Link entity);
-
-    public int updateNonstrictModifiedOnly(Link entity);
-
-    public int delete(Link entity);
-
-    public int deleteNonstrict(Link entity);
-
-    public int[] insertList(List<Link> entityList);
-
-    public int[] updateList(List<Link> entityList);
-
-    public int[] updateListNonstrict(List<Link> entityList);
-
-    public int updateByQuery(LinkCB cb, Link entity);// {DBFlute-0.7.5}
-
-    public int[] deleteList(List<Link> entityList);
-
-    public int[] deleteListNonstrict(List<Link> entityList);
-
-    public int deleteByQuery(LinkCB cb);
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleInfoDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleInfoDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleInfoDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+
+/**
+ * The DAO interface of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsRoleInfoDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = RoleInfo.class; // For S2Dao
+
+    public int selectCount(RoleInfoCB cb);
+
+    public List<RoleInfo> selectList(RoleInfoCB cb);
+
+    int insert(RoleInfo entity);
+
+    int updateModifiedOnly(RoleInfo entity);
+
+    int updateNonstrictModifiedOnly(RoleInfo entity);
+
+    int delete(RoleInfo entity);
+
+    int deleteNonstrict(RoleInfo entity);
+
+    int[] insertList(List<RoleInfo> entityList);
+
+    int[] updateList(List<RoleInfo> entityList);
+
+    int[] updateListNonstrict(List<RoleInfo> entityList);
+
+    int updateByQuery(RoleInfoCB cb, RoleInfo entity);
+
+    int[] deleteList(List<RoleInfo> entityList);
+
+    int[] deleteListNonstrict(List<RoleInfo> entityList);
+
+    int deleteByQuery(RoleInfoCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleMappingDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleMappingDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleMappingDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,37 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+
+/**
+ * The DAO interface of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsRoleMappingDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = RoleMapping.class; // For S2Dao
+
+    public int selectCount(RoleMappingCB cb);
+
+    public List<RoleMapping> selectList(RoleMappingCB cb);
+
+    int insert(RoleMapping entity);
+
+    int updateModifiedOnly(RoleMapping entity);
+
+    int delete(RoleMapping entity);
+
+    int[] insertList(List<RoleMapping> entityList);
+
+    int[] updateList(List<RoleMapping> entityList);
+
+    int updateByQuery(RoleMappingCB cb, RoleMapping entity);
+
+    int[] deleteList(List<RoleMapping> entityList);
+
+    int deleteByQuery(RoleMappingCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsRoleMappingDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsUserInfoDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsUserInfoDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsUserInfoDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The DAO interface of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsUserInfoDao extends
+        jp.sf.pal.bookmark.db.allcommon.DaoWritable {
+
+    public Class<?> BEAN = UserInfo.class; // For S2Dao
+
+    public int selectCount(UserInfoCB cb);
+
+    public List<UserInfo> selectList(UserInfoCB cb);
+
+    int insert(UserInfo entity);
+
+    int updateModifiedOnly(UserInfo entity);
+
+    int updateNonstrictModifiedOnly(UserInfo entity);
+
+    int delete(UserInfo entity);
+
+    int deleteNonstrict(UserInfo entity);
+
+    int[] insertList(List<UserInfo> entityList);
+
+    int[] updateList(List<UserInfo> entityList);
+
+    int[] updateListNonstrict(List<UserInfo> entityList);
+
+    int updateByQuery(UserInfoCB cb, UserInfo entity);
+
+    int[] deleteList(List<UserInfo> entityList);
+
+    int[] deleteListNonstrict(List<UserInfo> entityList);
+
+    int deleteByQuery(UserInfoCB cb);
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsdao/BsUserInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkCategory.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkCategory.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkCategory.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,558 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
+
+/**
+ * The entity of BOOKMARK_CATEGORY that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, NAME, MEMO, TYPE, SORT_ORDER, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     
+ * 
+ * [referrer-table]
+ *     BOOKMARK_LINK
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     bookmarkLinkList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsBookmarkCategory implements Entity,
+        java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is BOOKMARK_CATEGORY. */
+    public static final String TABLE = "BOOKMARK_CATEGORY";
+
+    /** VERSION_NO-Annotation */
+    public static final String VERSION_NO_PROPERTY = "versionno";
+
+    /** ID-Annotation */
+    public static final String id_ID = "identity";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** ID: {PK : ID : NotNull : INTEGER} */
+    protected Integer _id;
+
+    /** NAME: {NotNull : VARCHAR(100)} */
+    protected String _name;
+
+    /** MEMO: {VARCHAR(200)} */
+    protected String _memo;
+
+    /** TYPE: {NotNull : VARCHAR(1) : Default=[P]} */
+    protected String _type;
+
+    /** SORT_ORDER: {NotNull : INTEGER : Default=[0]} */
+    protected Integer _sortOrder;
+
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _createdBy;
+
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _updatedBy;
+
+    /** DELETED_TIME: {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** DELETED_BY: {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** VERSIONNO: {NotNull : INTEGER : Default=[0]} */
+    protected Integer _versionno;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsBookmarkCategory() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "bookmarkCategory";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [bookmarkLinkList]
+    // * * * * * * * * */
+    /** BOOKMARK_LINK as 'bookmarkLinkList'. */
+    protected List<BookmarkLink> _childrenBookmarkLinkList;
+
+    /**
+     * BOOKMARK_LINK as 'bookmarkLinkList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'bookmarkLinkList'.
+     *         (NotNull: If it's not loaded yet, initializes the list instance
+     *         of referrer as empty and returns it.)
+     */
+    public List<BookmarkLink> getBookmarkLinkList() {
+        if (_childrenBookmarkLinkList == null) {
+            _childrenBookmarkLinkList = new ArrayList<BookmarkLink>();
+        }
+        return _childrenBookmarkLinkList;
+    }
+
+    /**
+     * BOOKMARK_LINK as 'bookmarkLinkList'.
+     * 
+     * @param bookmarkLinkList The entity list of referrer property
+     *            'bookmarkLinkList'. (Nullable)
+     */
+    public void setBookmarkLinkList(List<BookmarkLink> bookmarkLinkList) {
+        _childrenBookmarkLinkList = bookmarkLinkList;
+    }
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_id == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsBookmarkCategory)) {
+            return false;
+        }
+        BsBookmarkCategory otherEntity = (BsBookmarkCategory) other;
+        if (!helpComparingValue(getId(), otherEntity.getId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getId() != null) {
+            result = result + getId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getId());
+        sb.append(delimiter).append(getName());
+        sb.append(delimiter).append(getMemo());
+        sb.append(delimiter).append(getType());
+        sb.append(delimiter).append(getSortOrder());
+        sb.append(delimiter).append(getCreatedTime());
+        sb.append(delimiter).append(getCreatedBy());
+        sb.append(delimiter).append(getUpdatedTime());
+        sb.append(delimiter).append(getUpdatedBy());
+        sb.append(delimiter).append(getDeletedTime());
+        sb.append(delimiter).append(getDeletedBy());
+        sb.append(delimiter).append(getVersionno());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : ID : NotNull : INTEGER} */
+    public static final String id_COLUMN = "ID";
+
+    /**
+     * ID: {PK : ID : NotNull : INTEGER} <br />
+     * 
+     * @return The value of the column 'ID'. (Nullable)
+     */
+    public Integer getId() {
+        return _id;
+    }
+
+    /**
+     * ID: {PK : ID : NotNull : INTEGER} <br />
+     * 
+     * @param id The value of the column 'ID'. (Nullable)
+     */
+    public void setId(Integer id) {
+        _modifiedProperties.addPropertyName("id");
+        this._id = id;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(100)} */
+    public static final String name_COLUMN = "NAME";
+
+    /**
+     * NAME: {NotNull : VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'NAME'. (Nullable)
+     */
+    public String getName() {
+        return _name;
+    }
+
+    /**
+     * NAME: {NotNull : VARCHAR(100)} <br />
+     * 
+     * @param name The value of the column 'NAME'. (Nullable)
+     */
+    public void setName(String name) {
+        _modifiedProperties.addPropertyName("name");
+        this._name = name;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(200)} */
+    public static final String memo_COLUMN = "MEMO";
+
+    /**
+     * MEMO: {VARCHAR(200)} <br />
+     * 
+     * @return The value of the column 'MEMO'. (Nullable)
+     */
+    public String getMemo() {
+        return _memo;
+    }
+
+    /**
+     * MEMO: {VARCHAR(200)} <br />
+     * 
+     * @param memo The value of the column 'MEMO'. (Nullable)
+     */
+    public void setMemo(String memo) {
+        _modifiedProperties.addPropertyName("memo");
+        this._memo = memo;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(1) : Default=[P]} */
+    public static final String type_COLUMN = "TYPE";
+
+    /**
+     * TYPE: {NotNull : VARCHAR(1) : Default=[P]} <br />
+     * 
+     * @return The value of the column 'TYPE'. (Nullable)
+     */
+    public String getType() {
+        return _type;
+    }
+
+    /**
+     * TYPE: {NotNull : VARCHAR(1) : Default=[P]} <br />
+     * 
+     * @param type The value of the column 'TYPE'. (Nullable)
+     */
+    public void setType(String type) {
+        _modifiedProperties.addPropertyName("type");
+        this._type = type;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
+    public static final String sortOrder_COLUMN = "SORT_ORDER";
+
+    /**
+     * SORT_ORDER: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @return The value of the column 'SORT_ORDER'. (Nullable)
+     */
+    public Integer getSortOrder() {
+        return _sortOrder;
+    }
+
+    /**
+     * SORT_ORDER: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @param sortOrder The value of the column 'SORT_ORDER'. (Nullable)
+     */
+    public void setSortOrder(Integer sortOrder) {
+        _modifiedProperties.addPropertyName("sortOrder");
+        this._sortOrder = sortOrder;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkCategory.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkLink.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkLink.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkLink.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,612 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
+
+/**
+ * The entity of BOOKMARK_LINK that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, NAME, MEMO, URL, TYPE, SORT_ORDER, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     BOOKMARK_CATEGORY
+ * 
+ * [referrer-table]
+ *     
+ * 
+ * [foreign-property]
+ *     bookmarkCategory
+ * 
+ * [referrer-property]
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsBookmarkLink implements Entity, java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is BOOKMARK_LINK. */
+    public static final String TABLE = "BOOKMARK_LINK";
+
+    /** VERSION_NO-Annotation */
+    public static final String VERSION_NO_PROPERTY = "versionno";
+
+    /** ID-Annotation */
+    public static final String id_ID = "identity";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** ID: {PK : ID : NotNull : BIGINT} */
+    protected Long _id;
+
+    /** NAME: {NotNull : VARCHAR(100)} */
+    protected String _name;
+
+    /** MEMO: {VARCHAR(200)} */
+    protected String _memo;
+
+    /** URL: {NotNull : VARCHAR(255) : Default=[E]} */
+    protected String _url;
+
+    /** TYPE: {NotNull : VARCHAR(1)} */
+    protected String _type;
+
+    /** SORT_ORDER: {NotNull : INTEGER : Default=[0]} */
+    protected Integer _sortOrder;
+
+    /** CATEGORY_ID: {INTEGER : Default=[0] : FK to BOOKMARK_CATEGORY} */
+    protected Integer _categoryId;
+
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _createdBy;
+
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _updatedBy;
+
+    /** DELETED_TIME: {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** DELETED_BY: {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** VERSIONNO: {NotNull : INTEGER : Default=[0]} */
+    protected Integer _versionno;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsBookmarkLink() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_LINK";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "bookmarkLink";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [bookmarkCategory]
+    // * * * * * * * * */
+    public static final int bookmarkCategory_RELNO = 0;
+
+    public static final String bookmarkCategory_RELKEYS = "CATEGORY_ID:ID";
+
+    /** BOOKMARK_CATEGORY as 'bookmarkCategory'. */
+    protected BookmarkCategory _parentBookmarkCategory;
+
+    /**
+     * BOOKMARK_CATEGORY as 'bookmarkCategory'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'bookmarkCategory'. (Nullable: If
+     *         the foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public BookmarkCategory getBookmarkCategory() {
+        return _parentBookmarkCategory;
+    }
+
+    /**
+     * BOOKMARK_CATEGORY as 'bookmarkCategory'.
+     * 
+     * @param bookmarkCategory The entity of foreign property
+     *            'bookmarkCategory'. (Nullable)
+     */
+    public void setBookmarkCategory(BookmarkCategory bookmarkCategory) {
+        _parentBookmarkCategory = bookmarkCategory;
+    }
+
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_id == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsBookmarkLink)) {
+            return false;
+        }
+        BsBookmarkLink otherEntity = (BsBookmarkLink) other;
+        if (!helpComparingValue(getId(), otherEntity.getId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getId() != null) {
+            result = result + getId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getId());
+        sb.append(delimiter).append(getName());
+        sb.append(delimiter).append(getMemo());
+        sb.append(delimiter).append(getUrl());
+        sb.append(delimiter).append(getType());
+        sb.append(delimiter).append(getSortOrder());
+        sb.append(delimiter).append(getCategoryId());
+        sb.append(delimiter).append(getCreatedTime());
+        sb.append(delimiter).append(getCreatedBy());
+        sb.append(delimiter).append(getUpdatedTime());
+        sb.append(delimiter).append(getUpdatedBy());
+        sb.append(delimiter).append(getDeletedTime());
+        sb.append(delimiter).append(getDeletedBy());
+        sb.append(delimiter).append(getVersionno());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : ID : NotNull : BIGINT} */
+    public static final String id_COLUMN = "ID";
+
+    /**
+     * ID: {PK : ID : NotNull : BIGINT} <br />
+     * 
+     * @return The value of the column 'ID'. (Nullable)
+     */
+    public Long getId() {
+        return _id;
+    }
+
+    /**
+     * ID: {PK : ID : NotNull : BIGINT} <br />
+     * 
+     * @param id The value of the column 'ID'. (Nullable)
+     */
+    public void setId(Long id) {
+        _modifiedProperties.addPropertyName("id");
+        this._id = id;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(100)} */
+    public static final String name_COLUMN = "NAME";
+
+    /**
+     * NAME: {NotNull : VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'NAME'. (Nullable)
+     */
+    public String getName() {
+        return _name;
+    }
+
+    /**
+     * NAME: {NotNull : VARCHAR(100)} <br />
+     * 
+     * @param name The value of the column 'NAME'. (Nullable)
+     */
+    public void setName(String name) {
+        _modifiedProperties.addPropertyName("name");
+        this._name = name;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(200)} */
+    public static final String memo_COLUMN = "MEMO";
+
+    /**
+     * MEMO: {VARCHAR(200)} <br />
+     * 
+     * @return The value of the column 'MEMO'. (Nullable)
+     */
+    public String getMemo() {
+        return _memo;
+    }
+
+    /**
+     * MEMO: {VARCHAR(200)} <br />
+     * 
+     * @param memo The value of the column 'MEMO'. (Nullable)
+     */
+    public void setMemo(String memo) {
+        _modifiedProperties.addPropertyName("memo");
+        this._memo = memo;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255) : Default=[E]} */
+    public static final String url_COLUMN = "URL";
+
+    /**
+     * URL: {NotNull : VARCHAR(255) : Default=[E]} <br />
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * URL: {NotNull : VARCHAR(255) : Default=[E]} <br />
+     * 
+     * @param url The value of the column 'URL'. (Nullable)
+     */
+    public void setUrl(String url) {
+        _modifiedProperties.addPropertyName("url");
+        this._url = url;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(1)} */
+    public static final String type_COLUMN = "TYPE";
+
+    /**
+     * TYPE: {NotNull : VARCHAR(1)} <br />
+     * 
+     * @return The value of the column 'TYPE'. (Nullable)
+     */
+    public String getType() {
+        return _type;
+    }
+
+    /**
+     * TYPE: {NotNull : VARCHAR(1)} <br />
+     * 
+     * @param type The value of the column 'TYPE'. (Nullable)
+     */
+    public void setType(String type) {
+        _modifiedProperties.addPropertyName("type");
+        this._type = type;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
+    public static final String sortOrder_COLUMN = "SORT_ORDER";
+
+    /**
+     * SORT_ORDER: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @return The value of the column 'SORT_ORDER'. (Nullable)
+     */
+    public Integer getSortOrder() {
+        return _sortOrder;
+    }
+
+    /**
+     * SORT_ORDER: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @param sortOrder The value of the column 'SORT_ORDER'. (Nullable)
+     */
+    public void setSortOrder(Integer sortOrder) {
+        _modifiedProperties.addPropertyName("sortOrder");
+        this._sortOrder = sortOrder;
+    }
+
+    /**
+     * The column annotation for S2Dao. {INTEGER : Default=[0] : FK to
+     * BOOKMARK_CATEGORY}
+     */
+    public static final String categoryId_COLUMN = "CATEGORY_ID";
+
+    /**
+     * CATEGORY_ID: {INTEGER : Default=[0] : FK to BOOKMARK_CATEGORY} <br />
+     * 
+     * @return The value of the column 'CATEGORY_ID'. (Nullable)
+     */
+    public Integer getCategoryId() {
+        return _categoryId;
+    }
+
+    /**
+     * CATEGORY_ID: {INTEGER : Default=[0] : FK to BOOKMARK_CATEGORY} <br />
+     * 
+     * @param categoryId The value of the column 'CATEGORY_ID'. (Nullable)
+     */
+    public void setCategoryId(Integer categoryId) {
+        _modifiedProperties.addPropertyName("categoryId");
+        this._categoryId = categoryId;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsBookmarkLink.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsCategory.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsCategory.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsCategory.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,555 +0,0 @@
-package jp.sf.pal.bookmark.db.bsentity;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Set;
-
-import jp.sf.pal.bookmark.db.allcommon.Entity;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
-import jp.sf.pal.bookmark.db.exentity.Link;
-
-/**
- * The entity of CATEGORY(TABLE).
- * 
- * <pre>
- * [primary-key]
- *     ID
- * 
- * [column]
- *     ID, NAME, MEMO, SORT_ORDER, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
- * 
- * [sequence]
- *     
- * 
- * [identity]
- *     ID
- * 
- * [version-no]
- *     VERSIONNO
- * 
- * [foreign-table]
- *     
- * 
- * [referrer-table]
- *     LINK
- * 
- * [foreign-property]
- *     
- * 
- * [referrer-property]
- *     linkList
- * </pre>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public abstract class BsCategory implements Entity, java.io.Serializable {
-
-    //==========================================================================
-    // =========
-    // Definition
-    // ==========
-    /** Serial version UID. (Default) */
-    private static final long serialVersionUID = 1L;
-
-    /** TABLE-Annotation for S2Dao. The value is CATEGORY. */
-    public static final String TABLE = "CATEGORY";
-
-    /** VERSION_NO-Annotation */
-    public static final String VERSION_NO_PROPERTY = "versionno";
-
-    /** ID-Annotation */
-    public static final String id_ID = "identity";
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    // -----------------------------------------------------
-    // Column
-    // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_E60DF65A_0492_4AB9_BDAC_14AD8BA5A874]}
-     */
-    protected Integer _id;
-
-    /** The attribute of the column 'NAME'. {VARCHAR(100) : NotNull} */
-    protected String _name;
-
-    /** The attribute of the column 'MEMO'. {VARCHAR(200)} */
-    protected String _memo;
-
-    /**
-     * The attribute of the column 'SORT_ORDER'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
-    protected Integer _sortOrder;
-
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
-    protected java.sql.Timestamp _createdTime;
-
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
-    protected String _createdBy;
-
-    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
-    protected java.sql.Timestamp _updatedTime;
-
-    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
-    protected String _updatedBy;
-
-    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
-    protected java.sql.Timestamp _deletedTime;
-
-    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
-    protected String _deletedBy;
-
-    /**
-     * The attribute of the column 'VERSIONNO'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
-    protected Integer _versionno;
-
-    // -----------------------------------------------------
-    // Internal
-    // --------
-    /** The attribute of entity modified properties. (for S2Dao) */
-    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public BsCategory() {
-    }
-
-    //==========================================================================
-    // =========
-    // Table Name
-    // ==========
-    public String getTableDbName() {
-        return "CATEGORY";
-    }
-
-    public String getTablePropertyName() {// as JavaBeansRule
-        return "category";
-    }
-
-    //==========================================================================
-    // =========
-    // DBMeta
-    // ======
-    public DBMeta getDBMeta() {
-        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
-    }
-
-    //==========================================================================
-    // =========
-    // Classification Classifying
-    // ==========================
-    //==========================================================================
-    // =========
-    // Classification Determination
-    // ============================
-    //==========================================================================
-    // =========
-    // Classification Name/Alias
-    // =========================
-    //==========================================================================
-    // =========
-    // Foreign Property
-    // ================
-    //==========================================================================
-    // =========
-    // Referrer Property
-    // =================
-    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    // Referrer Property = [linkList]
-    // * * * * * * * * */
-
-    /** The entity list of referrer property 'linkList'. */
-    protected List<Link> _childrenLinkList;
-
-    /**
-     * Get the entity list of referrer property 'linkList'. {without lazy-load}
-     * <br />
-     * 
-     * @return The entity list of referrer property 'linkList'. (NotNull: If
-     *         it's not loaded yet, initializes the list instance of referrer as
-     *         empty and returns it.)
-     */
-    public List<Link> getLinkList() {
-        if (_childrenLinkList == null) {
-            _childrenLinkList = new ArrayList<Link>();
-        }
-        return _childrenLinkList;
-    }
-
-    /**
-     * Set the entity list of referrer property 'linkList'.
-     * 
-     * @param linkList The entity list of referrer property 'linkList'.
-     *            (Nullable)
-     */
-    public void setLinkList(List<Link> linkList) {
-        _childrenLinkList = linkList;
-    }
-
-    //==========================================================================
-    // =========
-    // Determination
-    // =============
-    public boolean hasPrimaryKeyValue() {
-        if (_id == null) {
-            return false;
-        }
-        return true;
-    }
-
-    //==========================================================================
-    // =========
-    // Modified Properties
-    // ===================
-    public Set<String> getModifiedPropertyNames() {
-        return _modifiedProperties.getPropertyNames();
-    }
-
-    protected EntityModifiedProperties newEntityModifiedProperties() {
-        return new EntityModifiedProperties();
-    }
-
-    public void clearModifiedPropertyNames() {
-        _modifiedProperties.clear();
-    }
-
-    public boolean hasModification() {
-        return !_modifiedProperties.isEmpty();
-    }
-
-    //==========================================================================
-    // =========
-    // Basic Override
-    // ==============
-    /**
-     * If the primary-key of the other is same as this one, returns true.
-     * 
-     * @param other Other entity.
-     * @return Comparing result.
-     */
-    public boolean equals(Object other) {
-        if (other == null || !(other instanceof BsCategory)) {
-            return false;
-        }
-        BsCategory otherEntity = (BsCategory) other;
-        if (!helpComparingValue(getId(), otherEntity.getId())) {
-            return false;
-        }
-        return true;
-    }
-
-    protected boolean helpComparingValue(Object value1, Object value2) {
-        if (value1 == null && value2 == null) {
-            return true;
-        }
-        return value1 != null && value2 != null && value1.equals(value2);
-    }
-
-    /**
-     * Calculates hash-code from primary-key.
-     * 
-     * @return Hash-code from primary-keys.
-     */
-    public int hashCode() {
-        int result = 17;
-        if (this.getId() != null) {
-            result = result + getId().hashCode();
-        }
-        return result;
-    }
-
-    /**
-     * @return The view string of columns. (NotNull)
-     */
-    public String toString() {
-        String delimiter = ",";
-        StringBuilder sb = new StringBuilder();
-        sb.append(delimiter).append(getId());
-        sb.append(delimiter).append(getName());
-        sb.append(delimiter).append(getMemo());
-        sb.append(delimiter).append(getSortOrder());
-        sb.append(delimiter).append(getCreatedTime());
-        sb.append(delimiter).append(getCreatedBy());
-        sb.append(delimiter).append(getUpdatedTime());
-        sb.append(delimiter).append(getUpdatedBy());
-        sb.append(delimiter).append(getDeletedTime());
-        sb.append(delimiter).append(getDeletedBy());
-        sb.append(delimiter).append(getVersionno());
-        if (sb.length() > 0) {
-            sb.delete(0, delimiter.length());
-        }
-        sb.insert(0, "{").append("}");
-        return sb.toString();
-    }
-
-    //==========================================================================
-    // =========
-    // Accessor
-    // ========
-
-    /**
-     * The column annotation for S2Dao. {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_E60DF65A_0492_4AB9_BDAC_14AD8BA5A874]}
-     */
-    public static final String id_COLUMN = "ID";
-
-    /**
-     * Get the value of the column 'ID'. <br /> {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_E60DF65A_0492_4AB9_BDAC_14AD8BA5A874]}
-     * 
-     * @return The value of the column 'ID'. (Nullable)
-     */
-    public Integer getId() {
-        return _id;
-    }
-
-    /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_E60DF65A_0492_4AB9_BDAC_14AD8BA5A874]}
-     * 
-     * @param id The value of the column 'ID'. (Nullable)
-     */
-    public void setId(Integer id) {
-        _modifiedProperties.addPropertyName("id");
-        this._id = id;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(100) : NotNull} */
-    public static final String name_COLUMN = "NAME";
-
-    /**
-     * Get the value of the column 'NAME'. <br /> {VARCHAR(100) : NotNull}
-     * 
-     * @return The value of the column 'NAME'. (Nullable)
-     */
-    public String getName() {
-        return _name;
-    }
-
-    /**
-     * Set the value of the column 'NAME'. <br /> {VARCHAR(100) : NotNull}
-     * 
-     * @param name The value of the column 'NAME'. (Nullable)
-     */
-    public void setName(String name) {
-        _modifiedProperties.addPropertyName("name");
-        this._name = name;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(200)} */
-    public static final String memo_COLUMN = "MEMO";
-
-    /**
-     * Get the value of the column 'MEMO'. <br /> {VARCHAR(200)}
-     * 
-     * @return The value of the column 'MEMO'. (Nullable)
-     */
-    public String getMemo() {
-        return _memo;
-    }
-
-    /**
-     * Set the value of the column 'MEMO'. <br /> {VARCHAR(200)}
-     * 
-     * @param memo The value of the column 'MEMO'. (Nullable)
-     */
-    public void setMemo(String memo) {
-        _modifiedProperties.addPropertyName("memo");
-        this._memo = memo;
-    }
-
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
-    public static final String sortOrder_COLUMN = "SORT_ORDER";
-
-    /**
-     * Get the value of the column 'SORT_ORDER'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @return The value of the column 'SORT_ORDER'. (Nullable)
-     */
-    public Integer getSortOrder() {
-        return _sortOrder;
-    }
-
-    /**
-     * Set the value of the column 'SORT_ORDER'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param sortOrder The value of the column 'SORT_ORDER'. (Nullable)
-     */
-    public void setSortOrder(Integer sortOrder) {
-        _modifiedProperties.addPropertyName("sortOrder");
-        this._sortOrder = sortOrder;
-    }
-
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
-    public static final String createdTime_COLUMN = "CREATED_TIME";
-
-    /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @return The value of the column 'CREATED_TIME'. (Nullable)
-     */
-    public java.sql.Timestamp getCreatedTime() {
-        return _createdTime;
-    }
-
-    /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
-     */
-    public void setCreatedTime(java.sql.Timestamp createdTime) {
-        _modifiedProperties.addPropertyName("createdTime");
-        this._createdTime = createdTime;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
-    public static final String createdBy_COLUMN = "CREATED_BY";
-
-    /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @return The value of the column 'CREATED_BY'. (Nullable)
-     */
-    public String getCreatedBy() {
-        return _createdBy;
-    }
-
-    /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
-     */
-    public void setCreatedBy(String createdBy) {
-        _modifiedProperties.addPropertyName("createdBy");
-        this._createdBy = createdBy;
-    }
-
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
-    public static final String updatedTime_COLUMN = "UPDATED_TIME";
-
-    /**
-     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @return The value of the column 'UPDATED_TIME'. (Nullable)
-     */
-    public java.sql.Timestamp getUpdatedTime() {
-        return _updatedTime;
-    }
-
-    /**
-     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
-     */
-    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
-        _modifiedProperties.addPropertyName("updatedTime");
-        this._updatedTime = updatedTime;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
-    public static final String updatedBy_COLUMN = "UPDATED_BY";
-
-    /**
-     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @return The value of the column 'UPDATED_BY'. (Nullable)
-     */
-    public String getUpdatedBy() {
-        return _updatedBy;
-    }
-
-    /**
-     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
-     */
-    public void setUpdatedBy(String updatedBy) {
-        _modifiedProperties.addPropertyName("updatedBy");
-        this._updatedBy = updatedBy;
-    }
-
-    /** The column annotation for S2Dao. {TIMESTAMP} */
-    public static final String deletedTime_COLUMN = "DELETED_TIME";
-
-    /**
-     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
-     * 
-     * @return The value of the column 'DELETED_TIME'. (Nullable)
-     */
-    public java.sql.Timestamp getDeletedTime() {
-        return _deletedTime;
-    }
-
-    /**
-     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
-     * 
-     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
-     */
-    public void setDeletedTime(java.sql.Timestamp deletedTime) {
-        _modifiedProperties.addPropertyName("deletedTime");
-        this._deletedTime = deletedTime;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255)} */
-    public static final String deletedBy_COLUMN = "DELETED_BY";
-
-    /**
-     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
-     * 
-     * @return The value of the column 'DELETED_BY'. (Nullable)
-     */
-    public String getDeletedBy() {
-        return _deletedBy;
-    }
-
-    /**
-     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
-     * 
-     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
-     */
-    public void setDeletedBy(String deletedBy) {
-        _modifiedProperties.addPropertyName("deletedBy");
-        this._deletedBy = deletedBy;
-    }
-
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
-    public static final String versionno_COLUMN = "VERSIONNO";
-
-    /**
-     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @return The value of the column 'VERSIONNO'. (Nullable)
-     */
-    public Integer getVersionno() {
-        return _versionno;
-    }
-
-    /**
-     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
-     */
-    public void setVersionno(Integer versionno) {
-        _modifiedProperties.addPropertyName("versionno");
-        this._versionno = versionno;
-    }
-
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupInfo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupInfo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupInfo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,611 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The entity of GROUP_INFO that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     GROUP_ID
+ * 
+ * [column]
+ *     GROUP_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     
+ * 
+ * [referrer-table]
+ *     GROUP_MAPPING, USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     groupMappingList, userInfoList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsGroupInfo implements Entity, java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is GROUP_INFO. */
+    public static final String TABLE = "GROUP_INFO";
+
+    /** VERSION_NO-Annotation */
+    public static final String VERSION_NO_PROPERTY = "versionno";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** GROUP_ID: {PK : NotNull : VARCHAR(255)} */
+    protected String _groupId;
+
+    /** NAME: {VARCHAR(100)} */
+    protected String _name;
+
+    /** DESCRIPTION: {VARCHAR(255)} */
+    protected String _description;
+
+    /** EMAIL: {VARCHAR(255)} */
+    protected String _email;
+
+    /** URL: {VARCHAR(255)} */
+    protected String _url;
+
+    /** TELEPHONE: {VARCHAR(40)} */
+    protected String _telephone;
+
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _createdBy;
+
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _updatedBy;
+
+    /** DELETED_TIME: {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** DELETED_BY: {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** VERSIONNO: {NotNull : INTEGER} */
+    protected Integer _versionno;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsGroupInfo() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_INFO";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "groupInfo";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [groupMappingList]
+    // * * * * * * * * */
+    /** GROUP_MAPPING as 'groupMappingList'. */
+    protected List<GroupMapping> _childrenGroupMappingList;
+
+    /**
+     * GROUP_MAPPING as 'groupMappingList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'groupMappingList'.
+     *         (NotNull: If it's not loaded yet, initializes the list instance
+     *         of referrer as empty and returns it.)
+     */
+    public List<GroupMapping> getGroupMappingList() {
+        if (_childrenGroupMappingList == null) {
+            _childrenGroupMappingList = new ArrayList<GroupMapping>();
+        }
+        return _childrenGroupMappingList;
+    }
+
+    /**
+     * GROUP_MAPPING as 'groupMappingList'.
+     * 
+     * @param groupMappingList The entity list of referrer property
+     *            'groupMappingList'. (Nullable)
+     */
+    public void setGroupMappingList(List<GroupMapping> groupMappingList) {
+        _childrenGroupMappingList = groupMappingList;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [userInfoList]
+    // * * * * * * * * */
+    /** USER_INFO as 'userInfoList'. */
+    protected List<UserInfo> _childrenUserInfoList;
+
+    /**
+     * USER_INFO as 'userInfoList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'userInfoList'. (NotNull: If
+     *         it's not loaded yet, initializes the list instance of referrer as
+     *         empty and returns it.)
+     */
+    public List<UserInfo> getUserInfoList() {
+        if (_childrenUserInfoList == null) {
+            _childrenUserInfoList = new ArrayList<UserInfo>();
+        }
+        return _childrenUserInfoList;
+    }
+
+    /**
+     * USER_INFO as 'userInfoList'.
+     * 
+     * @param userInfoList The entity list of referrer property 'userInfoList'.
+     *            (Nullable)
+     */
+    public void setUserInfoList(List<UserInfo> userInfoList) {
+        _childrenUserInfoList = userInfoList;
+    }
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_groupId == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsGroupInfo)) {
+            return false;
+        }
+        BsGroupInfo otherEntity = (BsGroupInfo) other;
+        if (!helpComparingValue(getGroupId(), otherEntity.getGroupId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getGroupId() != null) {
+            result = result + getGroupId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getGroupId());
+        sb.append(delimiter).append(getName());
+        sb.append(delimiter).append(getDescription());
+        sb.append(delimiter).append(getEmail());
+        sb.append(delimiter).append(getUrl());
+        sb.append(delimiter).append(getTelephone());
+        sb.append(delimiter).append(getCreatedTime());
+        sb.append(delimiter).append(getCreatedBy());
+        sb.append(delimiter).append(getUpdatedTime());
+        sb.append(delimiter).append(getUpdatedBy());
+        sb.append(delimiter).append(getDeletedTime());
+        sb.append(delimiter).append(getDeletedBy());
+        sb.append(delimiter).append(getVersionno());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : NotNull : VARCHAR(255)} */
+    public static final String groupId_COLUMN = "GROUP_ID";
+
+    /**
+     * GROUP_ID: {PK : NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public String getGroupId() {
+        return _groupId;
+    }
+
+    /**
+     * GROUP_ID: {PK : NotNull : VARCHAR(255)} <br />
+     * 
+     * @param groupId The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public void setGroupId(String groupId) {
+        _modifiedProperties.addPropertyName("groupId");
+        this._groupId = groupId;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(100)} */
+    public static final String name_COLUMN = "NAME";
+
+    /**
+     * NAME: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'NAME'. (Nullable)
+     */
+    public String getName() {
+        return _name;
+    }
+
+    /**
+     * NAME: {VARCHAR(100)} <br />
+     * 
+     * @param name The value of the column 'NAME'. (Nullable)
+     */
+    public void setName(String name) {
+        _modifiedProperties.addPropertyName("name");
+        this._name = name;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String description_COLUMN = "DESCRIPTION";
+
+    /**
+     * DESCRIPTION: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DESCRIPTION'. (Nullable)
+     */
+    public String getDescription() {
+        return _description;
+    }
+
+    /**
+     * DESCRIPTION: {VARCHAR(255)} <br />
+     * 
+     * @param description The value of the column 'DESCRIPTION'. (Nullable)
+     */
+    public void setDescription(String description) {
+        _modifiedProperties.addPropertyName("description");
+        this._description = description;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String email_COLUMN = "EMAIL";
+
+    /**
+     * EMAIL: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'EMAIL'. (Nullable)
+     */
+    public String getEmail() {
+        return _email;
+    }
+
+    /**
+     * EMAIL: {VARCHAR(255)} <br />
+     * 
+     * @param email The value of the column 'EMAIL'. (Nullable)
+     */
+    public void setEmail(String email) {
+        _modifiedProperties.addPropertyName("email");
+        this._email = email;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String url_COLUMN = "URL";
+
+    /**
+     * URL: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * URL: {VARCHAR(255)} <br />
+     * 
+     * @param url The value of the column 'URL'. (Nullable)
+     */
+    public void setUrl(String url) {
+        _modifiedProperties.addPropertyName("url");
+        this._url = url;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(40)} */
+    public static final String telephone_COLUMN = "TELEPHONE";
+
+    /**
+     * TELEPHONE: {VARCHAR(40)} <br />
+     * 
+     * @return The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public String getTelephone() {
+        return _telephone;
+    }
+
+    /**
+     * TELEPHONE: {VARCHAR(40)} <br />
+     * 
+     * @param telephone The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public void setTelephone(String telephone) {
+        _modifiedProperties.addPropertyName("telephone");
+        this._telephone = telephone;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER} <br />
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER} <br />
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupMapping.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupMapping.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupMapping.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,356 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The entity of GROUP_MAPPING that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, USER_ID, GROUP_ID
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     
+ * 
+ * [foreign-table]
+ *     GROUP_INFO, USER_INFO
+ * 
+ * [referrer-table]
+ *     
+ * 
+ * [foreign-property]
+ *     groupInfo, userInfo
+ * 
+ * [referrer-property]
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsGroupMapping implements Entity, java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is GROUP_MAPPING. */
+    public static final String TABLE = "GROUP_MAPPING";
+
+    /** ID-Annotation */
+    public static final String id_ID = "identity";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** ID: {PK : ID : NotNull : INTEGER} */
+    protected Integer _id;
+
+    /** USER_ID: {NotNull : VARCHAR(255) : FK to USER_INFO} */
+    protected String _userId;
+
+    /** GROUP_ID: {NotNull : VARCHAR(255) : FK to GROUP_INFO} */
+    protected String _groupId;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsGroupMapping() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_MAPPING";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "groupMapping";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [groupInfo]
+    // * * * * * * * * */
+    public static final int groupInfo_RELNO = 0;
+
+    public static final String groupInfo_RELKEYS = "GROUP_ID:GROUP_ID";
+
+    /** GROUP_INFO as 'groupInfo'. */
+    protected GroupInfo _parentGroupInfo;
+
+    /**
+     * GROUP_INFO as 'groupInfo'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'groupInfo'. (Nullable: If the
+     *         foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public GroupInfo getGroupInfo() {
+        return _parentGroupInfo;
+    }
+
+    /**
+     * GROUP_INFO as 'groupInfo'.
+     * 
+     * @param groupInfo The entity of foreign property 'groupInfo'. (Nullable)
+     */
+    public void setGroupInfo(GroupInfo groupInfo) {
+        _parentGroupInfo = groupInfo;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [userInfo]
+    // * * * * * * * * */
+    public static final int userInfo_RELNO = 1;
+
+    public static final String userInfo_RELKEYS = "USER_ID:USER_ID";
+
+    /** USER_INFO as 'userInfo'. */
+    protected UserInfo _parentUserInfo;
+
+    /**
+     * USER_INFO as 'userInfo'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'userInfo'. (Nullable: If the
+     *         foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public UserInfo getUserInfo() {
+        return _parentUserInfo;
+    }
+
+    /**
+     * USER_INFO as 'userInfo'.
+     * 
+     * @param userInfo The entity of foreign property 'userInfo'. (Nullable)
+     */
+    public void setUserInfo(UserInfo userInfo) {
+        _parentUserInfo = userInfo;
+    }
+
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_id == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsGroupMapping)) {
+            return false;
+        }
+        BsGroupMapping otherEntity = (BsGroupMapping) other;
+        if (!helpComparingValue(getId(), otherEntity.getId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getId() != null) {
+            result = result + getId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getId());
+        sb.append(delimiter).append(getUserId());
+        sb.append(delimiter).append(getGroupId());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : ID : NotNull : INTEGER} */
+    public static final String id_COLUMN = "ID";
+
+    /**
+     * ID: {PK : ID : NotNull : INTEGER} <br />
+     * 
+     * @return The value of the column 'ID'. (Nullable)
+     */
+    public Integer getId() {
+        return _id;
+    }
+
+    /**
+     * ID: {PK : ID : NotNull : INTEGER} <br />
+     * 
+     * @param id The value of the column 'ID'. (Nullable)
+     */
+    public void setId(Integer id) {
+        _modifiedProperties.addPropertyName("id");
+        this._id = id;
+    }
+
+    /**
+     * The column annotation for S2Dao. {NotNull : VARCHAR(255) : FK to
+     * USER_INFO}
+     */
+    public static final String userId_COLUMN = "USER_ID";
+
+    /**
+     * USER_ID: {NotNull : VARCHAR(255) : FK to USER_INFO} <br />
+     * 
+     * @return The value of the column 'USER_ID'. (Nullable)
+     */
+    public String getUserId() {
+        return _userId;
+    }
+
+    /**
+     * USER_ID: {NotNull : VARCHAR(255) : FK to USER_INFO} <br />
+     * 
+     * @param userId The value of the column 'USER_ID'. (Nullable)
+     */
+    public void setUserId(String userId) {
+        _modifiedProperties.addPropertyName("userId");
+        this._userId = userId;
+    }
+
+    /**
+     * The column annotation for S2Dao. {NotNull : VARCHAR(255) : FK to
+     * GROUP_INFO}
+     */
+    public static final String groupId_COLUMN = "GROUP_ID";
+
+    /**
+     * GROUP_ID: {NotNull : VARCHAR(255) : FK to GROUP_INFO} <br />
+     * 
+     * @return The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public String getGroupId() {
+        return _groupId;
+    }
+
+    /**
+     * GROUP_ID: {NotNull : VARCHAR(255) : FK to GROUP_INFO} <br />
+     * 
+     * @param groupId The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public void setGroupId(String groupId) {
+        _modifiedProperties.addPropertyName("groupId");
+        this._groupId = groupId;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsGroupMapping.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsLink.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsLink.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsLink.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,641 +0,0 @@
-package jp.sf.pal.bookmark.db.bsentity;
-
-import java.util.Set;
-
-import jp.sf.pal.bookmark.db.allcommon.Entity;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
-import jp.sf.pal.bookmark.db.exentity.Category;
-
-/**
- * The entity of LINK(TABLE).
- * 
- * <pre>
- * [primary-key]
- *     ID
- * 
- * [column]
- *     ID, NAME, MEMO, URL, TYPE, SORT_ORDER, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
- * 
- * [sequence]
- *     
- * 
- * [identity]
- *     ID
- * 
- * [version-no]
- *     VERSIONNO
- * 
- * [foreign-table]
- *     CATEGORY
- * 
- * [referrer-table]
- *     
- * 
- * [foreign-property]
- *     category
- * 
- * [referrer-property]
- * 
- * </pre>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public abstract class BsLink implements Entity, java.io.Serializable {
-
-    //==========================================================================
-    // =========
-    // Definition
-    // ==========
-    /** Serial version UID. (Default) */
-    private static final long serialVersionUID = 1L;
-
-    /** TABLE-Annotation for S2Dao. The value is LINK. */
-    public static final String TABLE = "LINK";
-
-    /** VERSION_NO-Annotation */
-    public static final String VERSION_NO_PROPERTY = "versionno";
-
-    /** ID-Annotation */
-    public static final String id_ID = "identity";
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    // -----------------------------------------------------
-    // Column
-    // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_22BA7FAB_912D_4214_94D9_E64E5C53706F]}
-     */
-    protected Long _id;
-
-    /** The attribute of the column 'NAME'. {VARCHAR(100) : NotNull} */
-    protected String _name;
-
-    /** The attribute of the column 'MEMO'. {VARCHAR(200)} */
-    protected String _memo;
-
-    /**
-     * The attribute of the column 'URL'. {VARCHAR(255) : NotNull : Default=[E]}
-     */
-    protected String _url;
-
-    /** The attribute of the column 'TYPE'. {VARCHAR(1) : NotNull} */
-    protected String _type;
-
-    /**
-     * The attribute of the column 'SORT_ORDER'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
-    protected Integer _sortOrder;
-
-    /**
-     * The attribute of the column 'CATEGORY_ID'. {INTEGER : Default=[0] : FK to
-     * CATEGORY}
-     */
-    protected Integer _categoryId;
-
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
-    protected java.sql.Timestamp _createdTime;
-
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
-    protected String _createdBy;
-
-    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
-    protected java.sql.Timestamp _updatedTime;
-
-    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
-    protected String _updatedBy;
-
-    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
-    protected java.sql.Timestamp _deletedTime;
-
-    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
-    protected String _deletedBy;
-
-    /**
-     * The attribute of the column 'VERSIONNO'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
-    protected Integer _versionno;
-
-    // -----------------------------------------------------
-    // Internal
-    // --------
-    /** The attribute of entity modified properties. (for S2Dao) */
-    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public BsLink() {
-    }
-
-    //==========================================================================
-    // =========
-    // Table Name
-    // ==========
-    public String getTableDbName() {
-        return "LINK";
-    }
-
-    public String getTablePropertyName() {// as JavaBeansRule
-        return "link";
-    }
-
-    //==========================================================================
-    // =========
-    // DBMeta
-    // ======
-    public DBMeta getDBMeta() {
-        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
-    }
-
-    //==========================================================================
-    // =========
-    // Classification Classifying
-    // ==========================
-    //==========================================================================
-    // =========
-    // Classification Determination
-    // ============================
-    //==========================================================================
-    // =========
-    // Classification Name/Alias
-    // =========================
-    //==========================================================================
-    // =========
-    // Foreign Property
-    // ================
-    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-    // Foreign Property = [category]
-    // * * * * * * * * */
-    public static final int category_RELNO = 0;
-
-    public static final String category_RELKEYS = "CATEGORY_ID:ID";
-
-    /** The entity of foreign property 'category'. */
-    protected Category _parentCategory;
-
-    /**
-     * Get the entity of foreign property 'category'. {without lazy-load}
-     * 
-     * @return The entity of foreign property 'category'. (Nullable: If the
-     *         foreign key does not have 'NotNull' constraint, please check
-     *         null.)
-     */
-    public Category getCategory() {
-        return _parentCategory;
-    }
-
-    /**
-     * Set the entity of foreign property 'category'.
-     * 
-     * @param category The entity of foreign property 'category'. (Nullable)
-     */
-    public void setCategory(Category category) {
-        _parentCategory = category;
-    }
-
-    //==========================================================================
-    // =========
-    // Referrer Property
-    // =================
-
-    //==========================================================================
-    // =========
-    // Determination
-    // =============
-    public boolean hasPrimaryKeyValue() {
-        if (_id == null) {
-            return false;
-        }
-        return true;
-    }
-
-    //==========================================================================
-    // =========
-    // Modified Properties
-    // ===================
-    public Set<String> getModifiedPropertyNames() {
-        return _modifiedProperties.getPropertyNames();
-    }
-
-    protected EntityModifiedProperties newEntityModifiedProperties() {
-        return new EntityModifiedProperties();
-    }
-
-    public void clearModifiedPropertyNames() {
-        _modifiedProperties.clear();
-    }
-
-    public boolean hasModification() {
-        return !_modifiedProperties.isEmpty();
-    }
-
-    //==========================================================================
-    // =========
-    // Basic Override
-    // ==============
-    /**
-     * If the primary-key of the other is same as this one, returns true.
-     * 
-     * @param other Other entity.
-     * @return Comparing result.
-     */
-    public boolean equals(Object other) {
-        if (other == null || !(other instanceof BsLink)) {
-            return false;
-        }
-        BsLink otherEntity = (BsLink) other;
-        if (!helpComparingValue(getId(), otherEntity.getId())) {
-            return false;
-        }
-        return true;
-    }
-
-    protected boolean helpComparingValue(Object value1, Object value2) {
-        if (value1 == null && value2 == null) {
-            return true;
-        }
-        return value1 != null && value2 != null && value1.equals(value2);
-    }
-
-    /**
-     * Calculates hash-code from primary-key.
-     * 
-     * @return Hash-code from primary-keys.
-     */
-    public int hashCode() {
-        int result = 17;
-        if (this.getId() != null) {
-            result = result + getId().hashCode();
-        }
-        return result;
-    }
-
-    /**
-     * @return The view string of columns. (NotNull)
-     */
-    public String toString() {
-        String delimiter = ",";
-        StringBuilder sb = new StringBuilder();
-        sb.append(delimiter).append(getId());
-        sb.append(delimiter).append(getName());
-        sb.append(delimiter).append(getMemo());
-        sb.append(delimiter).append(getUrl());
-        sb.append(delimiter).append(getType());
-        sb.append(delimiter).append(getSortOrder());
-        sb.append(delimiter).append(getCategoryId());
-        sb.append(delimiter).append(getCreatedTime());
-        sb.append(delimiter).append(getCreatedBy());
-        sb.append(delimiter).append(getUpdatedTime());
-        sb.append(delimiter).append(getUpdatedBy());
-        sb.append(delimiter).append(getDeletedTime());
-        sb.append(delimiter).append(getDeletedBy());
-        sb.append(delimiter).append(getVersionno());
-        if (sb.length() > 0) {
-            sb.delete(0, delimiter.length());
-        }
-        sb.insert(0, "{").append("}");
-        return sb.toString();
-    }
-
-    //==========================================================================
-    // =========
-    // Accessor
-    // ========
-
-    /**
-     * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_22BA7FAB_912D_4214_94D9_E64E5C53706F]}
-     */
-    public static final String id_COLUMN = "ID";
-
-    /**
-     * Get the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_22BA7FAB_912D_4214_94D9_E64E5C53706F]}
-     * 
-     * @return The value of the column 'ID'. (Nullable)
-     */
-    public Long getId() {
-        return _id;
-    }
-
-    /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_22BA7FAB_912D_4214_94D9_E64E5C53706F]}
-     * 
-     * @param id The value of the column 'ID'. (Nullable)
-     */
-    public void setId(Long id) {
-        _modifiedProperties.addPropertyName("id");
-        this._id = id;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(100) : NotNull} */
-    public static final String name_COLUMN = "NAME";
-
-    /**
-     * Get the value of the column 'NAME'. <br /> {VARCHAR(100) : NotNull}
-     * 
-     * @return The value of the column 'NAME'. (Nullable)
-     */
-    public String getName() {
-        return _name;
-    }
-
-    /**
-     * Set the value of the column 'NAME'. <br /> {VARCHAR(100) : NotNull}
-     * 
-     * @param name The value of the column 'NAME'. (Nullable)
-     */
-    public void setName(String name) {
-        _modifiedProperties.addPropertyName("name");
-        this._name = name;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(200)} */
-    public static final String memo_COLUMN = "MEMO";
-
-    /**
-     * Get the value of the column 'MEMO'. <br /> {VARCHAR(200)}
-     * 
-     * @return The value of the column 'MEMO'. (Nullable)
-     */
-    public String getMemo() {
-        return _memo;
-    }
-
-    /**
-     * Set the value of the column 'MEMO'. <br /> {VARCHAR(200)}
-     * 
-     * @param memo The value of the column 'MEMO'. (Nullable)
-     */
-    public void setMemo(String memo) {
-        _modifiedProperties.addPropertyName("memo");
-        this._memo = memo;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull : Default=[E]} */
-    public static final String url_COLUMN = "URL";
-
-    /**
-     * Get the value of the column 'URL'. <br /> {VARCHAR(255) : NotNull :
-     * Default=[E]}
-     * 
-     * @return The value of the column 'URL'. (Nullable)
-     */
-    public String getUrl() {
-        return _url;
-    }
-
-    /**
-     * Set the value of the column 'URL'. <br /> {VARCHAR(255) : NotNull :
-     * Default=[E]}
-     * 
-     * @param url The value of the column 'URL'. (Nullable)
-     */
-    public void setUrl(String url) {
-        _modifiedProperties.addPropertyName("url");
-        this._url = url;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(1) : NotNull} */
-    public static final String type_COLUMN = "TYPE";
-
-    /**
-     * Get the value of the column 'TYPE'. <br /> {VARCHAR(1) : NotNull}
-     * 
-     * @return The value of the column 'TYPE'. (Nullable)
-     */
-    public String getType() {
-        return _type;
-    }
-
-    /**
-     * Set the value of the column 'TYPE'. <br /> {VARCHAR(1) : NotNull}
-     * 
-     * @param type The value of the column 'TYPE'. (Nullable)
-     */
-    public void setType(String type) {
-        _modifiedProperties.addPropertyName("type");
-        this._type = type;
-    }
-
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
-    public static final String sortOrder_COLUMN = "SORT_ORDER";
-
-    /**
-     * Get the value of the column 'SORT_ORDER'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @return The value of the column 'SORT_ORDER'. (Nullable)
-     */
-    public Integer getSortOrder() {
-        return _sortOrder;
-    }
-
-    /**
-     * Set the value of the column 'SORT_ORDER'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param sortOrder The value of the column 'SORT_ORDER'. (Nullable)
-     */
-    public void setSortOrder(Integer sortOrder) {
-        _modifiedProperties.addPropertyName("sortOrder");
-        this._sortOrder = sortOrder;
-    }
-
-    /**
-     * The column annotation for S2Dao. {INTEGER : Default=[0] : FK to CATEGORY}
-     */
-    public static final String categoryId_COLUMN = "CATEGORY_ID";
-
-    /**
-     * Get the value of the column 'CATEGORY_ID'. <br /> {INTEGER : Default=[0]
-     * : FK to CATEGORY}
-     * 
-     * @return The value of the column 'CATEGORY_ID'. (Nullable)
-     */
-    public Integer getCategoryId() {
-        return _categoryId;
-    }
-
-    /**
-     * Set the value of the column 'CATEGORY_ID'. <br /> {INTEGER : Default=[0]
-     * : FK to CATEGORY}
-     * 
-     * @param categoryId The value of the column 'CATEGORY_ID'. (Nullable)
-     */
-    public void setCategoryId(Integer categoryId) {
-        _modifiedProperties.addPropertyName("categoryId");
-        this._categoryId = categoryId;
-    }
-
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
-    public static final String createdTime_COLUMN = "CREATED_TIME";
-
-    /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @return The value of the column 'CREATED_TIME'. (Nullable)
-     */
-    public java.sql.Timestamp getCreatedTime() {
-        return _createdTime;
-    }
-
-    /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
-     */
-    public void setCreatedTime(java.sql.Timestamp createdTime) {
-        _modifiedProperties.addPropertyName("createdTime");
-        this._createdTime = createdTime;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
-    public static final String createdBy_COLUMN = "CREATED_BY";
-
-    /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @return The value of the column 'CREATED_BY'. (Nullable)
-     */
-    public String getCreatedBy() {
-        return _createdBy;
-    }
-
-    /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
-     */
-    public void setCreatedBy(String createdBy) {
-        _modifiedProperties.addPropertyName("createdBy");
-        this._createdBy = createdBy;
-    }
-
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
-    public static final String updatedTime_COLUMN = "UPDATED_TIME";
-
-    /**
-     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @return The value of the column 'UPDATED_TIME'. (Nullable)
-     */
-    public java.sql.Timestamp getUpdatedTime() {
-        return _updatedTime;
-    }
-
-    /**
-     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
-     * 
-     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
-     */
-    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
-        _modifiedProperties.addPropertyName("updatedTime");
-        this._updatedTime = updatedTime;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
-    public static final String updatedBy_COLUMN = "UPDATED_BY";
-
-    /**
-     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @return The value of the column 'UPDATED_BY'. (Nullable)
-     */
-    public String getUpdatedBy() {
-        return _updatedBy;
-    }
-
-    /**
-     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
-     * 
-     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
-     */
-    public void setUpdatedBy(String updatedBy) {
-        _modifiedProperties.addPropertyName("updatedBy");
-        this._updatedBy = updatedBy;
-    }
-
-    /** The column annotation for S2Dao. {TIMESTAMP} */
-    public static final String deletedTime_COLUMN = "DELETED_TIME";
-
-    /**
-     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
-     * 
-     * @return The value of the column 'DELETED_TIME'. (Nullable)
-     */
-    public java.sql.Timestamp getDeletedTime() {
-        return _deletedTime;
-    }
-
-    /**
-     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
-     * 
-     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
-     */
-    public void setDeletedTime(java.sql.Timestamp deletedTime) {
-        _modifiedProperties.addPropertyName("deletedTime");
-        this._deletedTime = deletedTime;
-    }
-
-    /** The column annotation for S2Dao. {VARCHAR(255)} */
-    public static final String deletedBy_COLUMN = "DELETED_BY";
-
-    /**
-     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
-     * 
-     * @return The value of the column 'DELETED_BY'. (Nullable)
-     */
-    public String getDeletedBy() {
-        return _deletedBy;
-    }
-
-    /**
-     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
-     * 
-     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
-     */
-    public void setDeletedBy(String deletedBy) {
-        _modifiedProperties.addPropertyName("deletedBy");
-        this._deletedBy = deletedBy;
-    }
-
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
-    public static final String versionno_COLUMN = "VERSIONNO";
-
-    /**
-     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @return The value of the column 'VERSIONNO'. (Nullable)
-     */
-    public Integer getVersionno() {
-        return _versionno;
-    }
-
-    /**
-     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
-     */
-    public void setVersionno(Integer versionno) {
-        _modifiedProperties.addPropertyName("versionno");
-        this._versionno = versionno;
-    }
-
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleInfo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleInfo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleInfo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,611 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The entity of ROLE_INFO that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     ROLE_ID
+ * 
+ * [column]
+ *     ROLE_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     
+ * 
+ * [referrer-table]
+ *     ROLE_MAPPING, USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     roleMappingList, userInfoList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsRoleInfo implements Entity, java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is ROLE_INFO. */
+    public static final String TABLE = "ROLE_INFO";
+
+    /** VERSION_NO-Annotation */
+    public static final String VERSION_NO_PROPERTY = "versionno";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** ROLE_ID: {PK : NotNull : VARCHAR(255)} */
+    protected String _roleId;
+
+    /** NAME: {VARCHAR(100)} */
+    protected String _name;
+
+    /** DESCRIPTION: {VARCHAR(255)} */
+    protected String _description;
+
+    /** EMAIL: {VARCHAR(255)} */
+    protected String _email;
+
+    /** URL: {VARCHAR(255)} */
+    protected String _url;
+
+    /** TELEPHONE: {VARCHAR(40)} */
+    protected String _telephone;
+
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _createdBy;
+
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _updatedBy;
+
+    /** DELETED_TIME: {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** DELETED_BY: {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** VERSIONNO: {NotNull : INTEGER} */
+    protected Integer _versionno;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsRoleInfo() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_INFO";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "roleInfo";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [roleMappingList]
+    // * * * * * * * * */
+    /** ROLE_MAPPING as 'roleMappingList'. */
+    protected List<RoleMapping> _childrenRoleMappingList;
+
+    /**
+     * ROLE_MAPPING as 'roleMappingList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'roleMappingList'. (NotNull:
+     *         If it's not loaded yet, initializes the list instance of referrer
+     *         as empty and returns it.)
+     */
+    public List<RoleMapping> getRoleMappingList() {
+        if (_childrenRoleMappingList == null) {
+            _childrenRoleMappingList = new ArrayList<RoleMapping>();
+        }
+        return _childrenRoleMappingList;
+    }
+
+    /**
+     * ROLE_MAPPING as 'roleMappingList'.
+     * 
+     * @param roleMappingList The entity list of referrer property
+     *            'roleMappingList'. (Nullable)
+     */
+    public void setRoleMappingList(List<RoleMapping> roleMappingList) {
+        _childrenRoleMappingList = roleMappingList;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [userInfoList]
+    // * * * * * * * * */
+    /** USER_INFO as 'userInfoList'. */
+    protected List<UserInfo> _childrenUserInfoList;
+
+    /**
+     * USER_INFO as 'userInfoList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'userInfoList'. (NotNull: If
+     *         it's not loaded yet, initializes the list instance of referrer as
+     *         empty and returns it.)
+     */
+    public List<UserInfo> getUserInfoList() {
+        if (_childrenUserInfoList == null) {
+            _childrenUserInfoList = new ArrayList<UserInfo>();
+        }
+        return _childrenUserInfoList;
+    }
+
+    /**
+     * USER_INFO as 'userInfoList'.
+     * 
+     * @param userInfoList The entity list of referrer property 'userInfoList'.
+     *            (Nullable)
+     */
+    public void setUserInfoList(List<UserInfo> userInfoList) {
+        _childrenUserInfoList = userInfoList;
+    }
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_roleId == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsRoleInfo)) {
+            return false;
+        }
+        BsRoleInfo otherEntity = (BsRoleInfo) other;
+        if (!helpComparingValue(getRoleId(), otherEntity.getRoleId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getRoleId() != null) {
+            result = result + getRoleId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getRoleId());
+        sb.append(delimiter).append(getName());
+        sb.append(delimiter).append(getDescription());
+        sb.append(delimiter).append(getEmail());
+        sb.append(delimiter).append(getUrl());
+        sb.append(delimiter).append(getTelephone());
+        sb.append(delimiter).append(getCreatedTime());
+        sb.append(delimiter).append(getCreatedBy());
+        sb.append(delimiter).append(getUpdatedTime());
+        sb.append(delimiter).append(getUpdatedBy());
+        sb.append(delimiter).append(getDeletedTime());
+        sb.append(delimiter).append(getDeletedBy());
+        sb.append(delimiter).append(getVersionno());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : NotNull : VARCHAR(255)} */
+    public static final String roleId_COLUMN = "ROLE_ID";
+
+    /**
+     * ROLE_ID: {PK : NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public String getRoleId() {
+        return _roleId;
+    }
+
+    /**
+     * ROLE_ID: {PK : NotNull : VARCHAR(255)} <br />
+     * 
+     * @param roleId The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public void setRoleId(String roleId) {
+        _modifiedProperties.addPropertyName("roleId");
+        this._roleId = roleId;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(100)} */
+    public static final String name_COLUMN = "NAME";
+
+    /**
+     * NAME: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'NAME'. (Nullable)
+     */
+    public String getName() {
+        return _name;
+    }
+
+    /**
+     * NAME: {VARCHAR(100)} <br />
+     * 
+     * @param name The value of the column 'NAME'. (Nullable)
+     */
+    public void setName(String name) {
+        _modifiedProperties.addPropertyName("name");
+        this._name = name;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String description_COLUMN = "DESCRIPTION";
+
+    /**
+     * DESCRIPTION: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DESCRIPTION'. (Nullable)
+     */
+    public String getDescription() {
+        return _description;
+    }
+
+    /**
+     * DESCRIPTION: {VARCHAR(255)} <br />
+     * 
+     * @param description The value of the column 'DESCRIPTION'. (Nullable)
+     */
+    public void setDescription(String description) {
+        _modifiedProperties.addPropertyName("description");
+        this._description = description;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String email_COLUMN = "EMAIL";
+
+    /**
+     * EMAIL: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'EMAIL'. (Nullable)
+     */
+    public String getEmail() {
+        return _email;
+    }
+
+    /**
+     * EMAIL: {VARCHAR(255)} <br />
+     * 
+     * @param email The value of the column 'EMAIL'. (Nullable)
+     */
+    public void setEmail(String email) {
+        _modifiedProperties.addPropertyName("email");
+        this._email = email;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String url_COLUMN = "URL";
+
+    /**
+     * URL: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * URL: {VARCHAR(255)} <br />
+     * 
+     * @param url The value of the column 'URL'. (Nullable)
+     */
+    public void setUrl(String url) {
+        _modifiedProperties.addPropertyName("url");
+        this._url = url;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(40)} */
+    public static final String telephone_COLUMN = "TELEPHONE";
+
+    /**
+     * TELEPHONE: {VARCHAR(40)} <br />
+     * 
+     * @return The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public String getTelephone() {
+        return _telephone;
+    }
+
+    /**
+     * TELEPHONE: {VARCHAR(40)} <br />
+     * 
+     * @param telephone The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public void setTelephone(String telephone) {
+        _modifiedProperties.addPropertyName("telephone");
+        this._telephone = telephone;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER} <br />
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER} <br />
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleMapping.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleMapping.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleMapping.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,356 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The entity of ROLE_MAPPING that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     ID
+ * 
+ * [column]
+ *     ID, USER_ID, ROLE_ID
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     ID
+ * 
+ * [version-no]
+ *     
+ * 
+ * [foreign-table]
+ *     ROLE_INFO, USER_INFO
+ * 
+ * [referrer-table]
+ *     
+ * 
+ * [foreign-property]
+ *     roleInfo, userInfo
+ * 
+ * [referrer-property]
+ * 
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsRoleMapping implements Entity, java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is ROLE_MAPPING. */
+    public static final String TABLE = "ROLE_MAPPING";
+
+    /** ID-Annotation */
+    public static final String id_ID = "identity";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** ID: {PK : ID : NotNull : INTEGER} */
+    protected Integer _id;
+
+    /** USER_ID: {NotNull : VARCHAR(255) : FK to USER_INFO} */
+    protected String _userId;
+
+    /** ROLE_ID: {NotNull : VARCHAR(255) : FK to ROLE_INFO} */
+    protected String _roleId;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsRoleMapping() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_MAPPING";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "roleMapping";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [roleInfo]
+    // * * * * * * * * */
+    public static final int roleInfo_RELNO = 0;
+
+    public static final String roleInfo_RELKEYS = "ROLE_ID:ROLE_ID";
+
+    /** ROLE_INFO as 'roleInfo'. */
+    protected RoleInfo _parentRoleInfo;
+
+    /**
+     * ROLE_INFO as 'roleInfo'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'roleInfo'. (Nullable: If the
+     *         foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public RoleInfo getRoleInfo() {
+        return _parentRoleInfo;
+    }
+
+    /**
+     * ROLE_INFO as 'roleInfo'.
+     * 
+     * @param roleInfo The entity of foreign property 'roleInfo'. (Nullable)
+     */
+    public void setRoleInfo(RoleInfo roleInfo) {
+        _parentRoleInfo = roleInfo;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [userInfo]
+    // * * * * * * * * */
+    public static final int userInfo_RELNO = 1;
+
+    public static final String userInfo_RELKEYS = "USER_ID:USER_ID";
+
+    /** USER_INFO as 'userInfo'. */
+    protected UserInfo _parentUserInfo;
+
+    /**
+     * USER_INFO as 'userInfo'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'userInfo'. (Nullable: If the
+     *         foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public UserInfo getUserInfo() {
+        return _parentUserInfo;
+    }
+
+    /**
+     * USER_INFO as 'userInfo'.
+     * 
+     * @param userInfo The entity of foreign property 'userInfo'. (Nullable)
+     */
+    public void setUserInfo(UserInfo userInfo) {
+        _parentUserInfo = userInfo;
+    }
+
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_id == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsRoleMapping)) {
+            return false;
+        }
+        BsRoleMapping otherEntity = (BsRoleMapping) other;
+        if (!helpComparingValue(getId(), otherEntity.getId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getId() != null) {
+            result = result + getId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getId());
+        sb.append(delimiter).append(getUserId());
+        sb.append(delimiter).append(getRoleId());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : ID : NotNull : INTEGER} */
+    public static final String id_COLUMN = "ID";
+
+    /**
+     * ID: {PK : ID : NotNull : INTEGER} <br />
+     * 
+     * @return The value of the column 'ID'. (Nullable)
+     */
+    public Integer getId() {
+        return _id;
+    }
+
+    /**
+     * ID: {PK : ID : NotNull : INTEGER} <br />
+     * 
+     * @param id The value of the column 'ID'. (Nullable)
+     */
+    public void setId(Integer id) {
+        _modifiedProperties.addPropertyName("id");
+        this._id = id;
+    }
+
+    /**
+     * The column annotation for S2Dao. {NotNull : VARCHAR(255) : FK to
+     * USER_INFO}
+     */
+    public static final String userId_COLUMN = "USER_ID";
+
+    /**
+     * USER_ID: {NotNull : VARCHAR(255) : FK to USER_INFO} <br />
+     * 
+     * @return The value of the column 'USER_ID'. (Nullable)
+     */
+    public String getUserId() {
+        return _userId;
+    }
+
+    /**
+     * USER_ID: {NotNull : VARCHAR(255) : FK to USER_INFO} <br />
+     * 
+     * @param userId The value of the column 'USER_ID'. (Nullable)
+     */
+    public void setUserId(String userId) {
+        _modifiedProperties.addPropertyName("userId");
+        this._userId = userId;
+    }
+
+    /**
+     * The column annotation for S2Dao. {NotNull : VARCHAR(255) : FK to
+     * ROLE_INFO}
+     */
+    public static final String roleId_COLUMN = "ROLE_ID";
+
+    /**
+     * ROLE_ID: {NotNull : VARCHAR(255) : FK to ROLE_INFO} <br />
+     * 
+     * @return The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public String getRoleId() {
+        return _roleId;
+    }
+
+    /**
+     * ROLE_ID: {NotNull : VARCHAR(255) : FK to ROLE_INFO} <br />
+     * 
+     * @param roleId The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public void setRoleId(String roleId) {
+        _modifiedProperties.addPropertyName("roleId");
+        this._roleId = roleId;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsRoleMapping.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsUserInfo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsUserInfo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsUserInfo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,805 @@
+package jp.sf.pal.bookmark.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+
+/**
+ * The entity of USER_INFO that the type is TABLE. <br />
+ * 
+ * <pre>
+ * [primary-key]
+ *     USER_ID
+ * 
+ * [column]
+ *     USER_ID, GIVEN_NAME, FAMILY_NAME, MIDDLE_NAME, GIVEN_NAME_DESC, FAMILY_NAME_DESC, EMAIL, URL, TELEPHONE, ROLE_ID, GROUP_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO
+ * 
+ * [sequence]
+ *     
+ * 
+ * [identity]
+ *     
+ * 
+ * [version-no]
+ *     VERSIONNO
+ * 
+ * [foreign-table]
+ *     GROUP_INFO, ROLE_INFO
+ * 
+ * [referrer-table]
+ *     GROUP_MAPPING, ROLE_MAPPING
+ * 
+ * [foreign-property]
+ *     groupInfo, roleInfo
+ * 
+ * [referrer-property]
+ *     groupMappingList, roleMappingList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsUserInfo implements Entity, java.io.Serializable {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+
+    /** TABLE-Annotation for S2Dao. The value is USER_INFO. */
+    public static final String TABLE = "USER_INFO";
+
+    /** VERSION_NO-Annotation */
+    public static final String VERSION_NO_PROPERTY = "versionno";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    // -----------------------------------------------------
+    // Column
+    // ------
+    /** USER_ID: {PK : NotNull : VARCHAR(255)} */
+    protected String _userId;
+
+    /** GIVEN_NAME: {VARCHAR(100)} */
+    protected String _givenName;
+
+    /** FAMILY_NAME: {VARCHAR(100)} */
+    protected String _familyName;
+
+    /** MIDDLE_NAME: {VARCHAR(50)} */
+    protected String _middleName;
+
+    /** GIVEN_NAME_DESC: {VARCHAR(100)} */
+    protected String _givenNameDesc;
+
+    /** FAMILY_NAME_DESC: {VARCHAR(100)} */
+    protected String _familyNameDesc;
+
+    /** EMAIL: {VARCHAR(255)} */
+    protected String _email;
+
+    /** URL: {VARCHAR(255)} */
+    protected String _url;
+
+    /** TELEPHONE: {VARCHAR(40)} */
+    protected String _telephone;
+
+    /** ROLE_ID: {VARCHAR(255) : FK to ROLE_INFO} */
+    protected String _roleId;
+
+    /** GROUP_ID: {VARCHAR(255) : FK to GROUP_INFO} */
+    protected String _groupId;
+
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _createdBy;
+
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
+    protected String _updatedBy;
+
+    /** DELETED_TIME: {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** DELETED_BY: {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** VERSIONNO: {NotNull : INTEGER} */
+    protected Integer _versionno;
+
+    // -----------------------------------------------------
+    // Internal
+    // --------
+    /** The attribute of entity modified properties. (for S2Dao) */
+    protected EntityModifiedProperties _modifiedProperties = newEntityModifiedProperties();
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsUserInfo() {
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "USER_INFO";
+    }
+
+    public String getTablePropertyName() {// as JavaBeansRule
+        return "userInfo";
+    }
+
+    //==========================================================================
+    // =========
+    // DBMeta
+    // ======
+    public DBMeta getDBMeta() {
+        return DBMetaInstanceHandler.findDBMeta(getTableDbName());
+    }
+
+    //==========================================================================
+    // =========
+    // Classification Classifying
+    // ==========================
+    //==========================================================================
+    // =========
+    // Classification Determination
+    // ============================
+    //==========================================================================
+    // =========
+    // Classification Name/Alias
+    // =========================
+    //==========================================================================
+    // =========
+    // Foreign Property
+    // ================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [groupInfo]
+    // * * * * * * * * */
+    public static final int groupInfo_RELNO = 0;
+
+    public static final String groupInfo_RELKEYS = "GROUP_ID:GROUP_ID";
+
+    /** GROUP_INFO as 'groupInfo'. */
+    protected GroupInfo _parentGroupInfo;
+
+    /**
+     * GROUP_INFO as 'groupInfo'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'groupInfo'. (Nullable: If the
+     *         foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public GroupInfo getGroupInfo() {
+        return _parentGroupInfo;
+    }
+
+    /**
+     * GROUP_INFO as 'groupInfo'.
+     * 
+     * @param groupInfo The entity of foreign property 'groupInfo'. (Nullable)
+     */
+    public void setGroupInfo(GroupInfo groupInfo) {
+        _parentGroupInfo = groupInfo;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [roleInfo]
+    // * * * * * * * * */
+    public static final int roleInfo_RELNO = 1;
+
+    public static final String roleInfo_RELKEYS = "ROLE_ID:ROLE_ID";
+
+    /** ROLE_INFO as 'roleInfo'. */
+    protected RoleInfo _parentRoleInfo;
+
+    /**
+     * ROLE_INFO as 'roleInfo'. {without lazy-load}
+     * 
+     * @return The entity of foreign property 'roleInfo'. (Nullable: If the
+     *         foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public RoleInfo getRoleInfo() {
+        return _parentRoleInfo;
+    }
+
+    /**
+     * ROLE_INFO as 'roleInfo'.
+     * 
+     * @param roleInfo The entity of foreign property 'roleInfo'. (Nullable)
+     */
+    public void setRoleInfo(RoleInfo roleInfo) {
+        _parentRoleInfo = roleInfo;
+    }
+
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [groupMappingList]
+    // * * * * * * * * */
+    /** GROUP_MAPPING as 'groupMappingList'. */
+    protected List<GroupMapping> _childrenGroupMappingList;
+
+    /**
+     * GROUP_MAPPING as 'groupMappingList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'groupMappingList'.
+     *         (NotNull: If it's not loaded yet, initializes the list instance
+     *         of referrer as empty and returns it.)
+     */
+    public List<GroupMapping> getGroupMappingList() {
+        if (_childrenGroupMappingList == null) {
+            _childrenGroupMappingList = new ArrayList<GroupMapping>();
+        }
+        return _childrenGroupMappingList;
+    }
+
+    /**
+     * GROUP_MAPPING as 'groupMappingList'.
+     * 
+     * @param groupMappingList The entity list of referrer property
+     *            'groupMappingList'. (Nullable)
+     */
+    public void setGroupMappingList(List<GroupMapping> groupMappingList) {
+        _childrenGroupMappingList = groupMappingList;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [roleMappingList]
+    // * * * * * * * * */
+    /** ROLE_MAPPING as 'roleMappingList'. */
+    protected List<RoleMapping> _childrenRoleMappingList;
+
+    /**
+     * ROLE_MAPPING as 'roleMappingList'. {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'roleMappingList'. (NotNull:
+     *         If it's not loaded yet, initializes the list instance of referrer
+     *         as empty and returns it.)
+     */
+    public List<RoleMapping> getRoleMappingList() {
+        if (_childrenRoleMappingList == null) {
+            _childrenRoleMappingList = new ArrayList<RoleMapping>();
+        }
+        return _childrenRoleMappingList;
+    }
+
+    /**
+     * ROLE_MAPPING as 'roleMappingList'.
+     * 
+     * @param roleMappingList The entity list of referrer property
+     *            'roleMappingList'. (Nullable)
+     */
+    public void setRoleMappingList(List<RoleMapping> roleMappingList) {
+        _childrenRoleMappingList = roleMappingList;
+    }
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_userId == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsUserInfo)) {
+            return false;
+        }
+        BsUserInfo otherEntity = (BsUserInfo) other;
+        if (!helpComparingValue(getUserId(), otherEntity.getUserId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getUserId() != null) {
+            result = result + getUserId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getUserId());
+        sb.append(delimiter).append(getGivenName());
+        sb.append(delimiter).append(getFamilyName());
+        sb.append(delimiter).append(getMiddleName());
+        sb.append(delimiter).append(getGivenNameDesc());
+        sb.append(delimiter).append(getFamilyNameDesc());
+        sb.append(delimiter).append(getEmail());
+        sb.append(delimiter).append(getUrl());
+        sb.append(delimiter).append(getTelephone());
+        sb.append(delimiter).append(getRoleId());
+        sb.append(delimiter).append(getGroupId());
+        sb.append(delimiter).append(getCreatedTime());
+        sb.append(delimiter).append(getCreatedBy());
+        sb.append(delimiter).append(getUpdatedTime());
+        sb.append(delimiter).append(getUpdatedBy());
+        sb.append(delimiter).append(getDeletedTime());
+        sb.append(delimiter).append(getDeletedBy());
+        sb.append(delimiter).append(getVersionno());
+        if (sb.length() > 0) {
+            sb.delete(0, delimiter.length());
+        }
+        sb.insert(0, "{").append("}");
+        return sb.toString();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+
+    /** The column annotation for S2Dao. {PK : NotNull : VARCHAR(255)} */
+    public static final String userId_COLUMN = "USER_ID";
+
+    /**
+     * USER_ID: {PK : NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'USER_ID'. (Nullable)
+     */
+    public String getUserId() {
+        return _userId;
+    }
+
+    /**
+     * USER_ID: {PK : NotNull : VARCHAR(255)} <br />
+     * 
+     * @param userId The value of the column 'USER_ID'. (Nullable)
+     */
+    public void setUserId(String userId) {
+        _modifiedProperties.addPropertyName("userId");
+        this._userId = userId;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(100)} */
+    public static final String givenName_COLUMN = "GIVEN_NAME";
+
+    /**
+     * GIVEN_NAME: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'GIVEN_NAME'. (Nullable)
+     */
+    public String getGivenName() {
+        return _givenName;
+    }
+
+    /**
+     * GIVEN_NAME: {VARCHAR(100)} <br />
+     * 
+     * @param givenName The value of the column 'GIVEN_NAME'. (Nullable)
+     */
+    public void setGivenName(String givenName) {
+        _modifiedProperties.addPropertyName("givenName");
+        this._givenName = givenName;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(100)} */
+    public static final String familyName_COLUMN = "FAMILY_NAME";
+
+    /**
+     * FAMILY_NAME: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'FAMILY_NAME'. (Nullable)
+     */
+    public String getFamilyName() {
+        return _familyName;
+    }
+
+    /**
+     * FAMILY_NAME: {VARCHAR(100)} <br />
+     * 
+     * @param familyName The value of the column 'FAMILY_NAME'. (Nullable)
+     */
+    public void setFamilyName(String familyName) {
+        _modifiedProperties.addPropertyName("familyName");
+        this._familyName = familyName;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(50)} */
+    public static final String middleName_COLUMN = "MIDDLE_NAME";
+
+    /**
+     * MIDDLE_NAME: {VARCHAR(50)} <br />
+     * 
+     * @return The value of the column 'MIDDLE_NAME'. (Nullable)
+     */
+    public String getMiddleName() {
+        return _middleName;
+    }
+
+    /**
+     * MIDDLE_NAME: {VARCHAR(50)} <br />
+     * 
+     * @param middleName The value of the column 'MIDDLE_NAME'. (Nullable)
+     */
+    public void setMiddleName(String middleName) {
+        _modifiedProperties.addPropertyName("middleName");
+        this._middleName = middleName;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(100)} */
+    public static final String givenNameDesc_COLUMN = "GIVEN_NAME_DESC";
+
+    /**
+     * GIVEN_NAME_DESC: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'GIVEN_NAME_DESC'. (Nullable)
+     */
+    public String getGivenNameDesc() {
+        return _givenNameDesc;
+    }
+
+    /**
+     * GIVEN_NAME_DESC: {VARCHAR(100)} <br />
+     * 
+     * @param givenNameDesc The value of the column 'GIVEN_NAME_DESC'.
+     *            (Nullable)
+     */
+    public void setGivenNameDesc(String givenNameDesc) {
+        _modifiedProperties.addPropertyName("givenNameDesc");
+        this._givenNameDesc = givenNameDesc;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(100)} */
+    public static final String familyNameDesc_COLUMN = "FAMILY_NAME_DESC";
+
+    /**
+     * FAMILY_NAME_DESC: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'FAMILY_NAME_DESC'. (Nullable)
+     */
+    public String getFamilyNameDesc() {
+        return _familyNameDesc;
+    }
+
+    /**
+     * FAMILY_NAME_DESC: {VARCHAR(100)} <br />
+     * 
+     * @param familyNameDesc The value of the column 'FAMILY_NAME_DESC'.
+     *            (Nullable)
+     */
+    public void setFamilyNameDesc(String familyNameDesc) {
+        _modifiedProperties.addPropertyName("familyNameDesc");
+        this._familyNameDesc = familyNameDesc;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String email_COLUMN = "EMAIL";
+
+    /**
+     * EMAIL: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'EMAIL'. (Nullable)
+     */
+    public String getEmail() {
+        return _email;
+    }
+
+    /**
+     * EMAIL: {VARCHAR(255)} <br />
+     * 
+     * @param email The value of the column 'EMAIL'. (Nullable)
+     */
+    public void setEmail(String email) {
+        _modifiedProperties.addPropertyName("email");
+        this._email = email;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String url_COLUMN = "URL";
+
+    /**
+     * URL: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * URL: {VARCHAR(255)} <br />
+     * 
+     * @param url The value of the column 'URL'. (Nullable)
+     */
+    public void setUrl(String url) {
+        _modifiedProperties.addPropertyName("url");
+        this._url = url;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(40)} */
+    public static final String telephone_COLUMN = "TELEPHONE";
+
+    /**
+     * TELEPHONE: {VARCHAR(40)} <br />
+     * 
+     * @return The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public String getTelephone() {
+        return _telephone;
+    }
+
+    /**
+     * TELEPHONE: {VARCHAR(40)} <br />
+     * 
+     * @param telephone The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public void setTelephone(String telephone) {
+        _modifiedProperties.addPropertyName("telephone");
+        this._telephone = telephone;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : FK to ROLE_INFO} */
+    public static final String roleId_COLUMN = "ROLE_ID";
+
+    /**
+     * ROLE_ID: {VARCHAR(255) : FK to ROLE_INFO} <br />
+     * 
+     * @return The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public String getRoleId() {
+        return _roleId;
+    }
+
+    /**
+     * ROLE_ID: {VARCHAR(255) : FK to ROLE_INFO} <br />
+     * 
+     * @param roleId The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public void setRoleId(String roleId) {
+        _modifiedProperties.addPropertyName("roleId");
+        this._roleId = roleId;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : FK to GROUP_INFO} */
+    public static final String groupId_COLUMN = "GROUP_ID";
+
+    /**
+     * GROUP_ID: {VARCHAR(255) : FK to GROUP_INFO} <br />
+     * 
+     * @return The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public String getGroupId() {
+        return _groupId;
+    }
+
+    /**
+     * GROUP_ID: {VARCHAR(255) : FK to GROUP_INFO} <br />
+     * 
+     * @param groupId The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public void setGroupId(String groupId) {
+        _modifiedProperties.addPropertyName("groupId");
+        this._groupId = groupId;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * DELETED_TIME: {TIMESTAMP} <br />
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * DELETED_BY: {VARCHAR(255)} <br />
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {NotNull : INTEGER} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER} <br />
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * VERSIONNO: {NotNull : INTEGER} <br />
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/BsUserInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkCategoryDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkCategoryDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkCategoryDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,428 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
+
+/**
+ * The DB meta of BOOKMARK_CATEGORY. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategoryDbm extends AbstractDBMeta {
+
+    private static final BookmarkCategoryDbm _instance = new BookmarkCategoryDbm();
+
+    private BookmarkCategoryDbm() {
+    }
+
+    public static BookmarkCategoryDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    public String getTablePropertyName() {
+        return "bookmarkCategory";
+    }
+
+    public String getTableSqlName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnId = cci("ID", "id", Integer.class, true, null,
+            null);
+
+    protected ColumnInfo _columnName = cci("NAME", "name", String.class, false,
+            100, 0);
+
+    protected ColumnInfo _columnMemo = cci("MEMO", "memo", String.class, false,
+            200, 0);
+
+    protected ColumnInfo _columnType = cci("TYPE", "type", String.class, false,
+            1, 0);
+
+    protected ColumnInfo _columnSortOrder = cci("SORT_ORDER", "sortOrder",
+            Integer.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
+            "createdTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
+            "updatedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
+            "deletedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
+            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
+
+    public ColumnInfo columnId() {
+        return _columnId;
+    }
+
+    public ColumnInfo columnName() {
+        return _columnName;
+    }
+
+    public ColumnInfo columnMemo() {
+        return _columnMemo;
+    }
+
+    public ColumnInfo columnType() {
+        return _columnType;
+    }
+
+    public ColumnInfo columnSortOrder() {
+        return _columnSortOrder;
+    }
+
+    public ColumnInfo columnCreatedTime() {
+        return _columnCreatedTime;
+    }
+
+    public ColumnInfo columnCreatedBy() {
+        return _columnCreatedBy;
+    }
+
+    public ColumnInfo columnUpdatedTime() {
+        return _columnUpdatedTime;
+    }
+
+    public ColumnInfo columnUpdatedBy() {
+        return _columnUpdatedBy;
+    }
+
+    public ColumnInfo columnDeletedTime() {
+        return _columnDeletedTime;
+    }
+
+    public ColumnInfo columnDeletedBy() {
+        return _columnDeletedBy;
+    }
+
+    public ColumnInfo columnVersionno() {
+        return _columnVersionno;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.BookmarkCategory";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.BookmarkCategoryCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.BookmarkCategoryDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.BookmarkCategoryBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<BookmarkCategory> getEntityType() {
+        return BookmarkCategory.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public BookmarkCategory newMyEntity() {
+        return new BookmarkCategory();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+    public ReferrerInfo referrerBookmarkLinkList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnId(),
+                BookmarkLinkDbm.getInstance().columnCategoryId());
+        return cri("bookmarkLinkList", this, BookmarkLinkDbm.getInstance(),
+                map, false);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+    public boolean hasVersionNo() {
+        return true;
+    }
+
+    public ColumnInfo getVersionNoColumnInfo() {
+        return _columnVersionno;
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((BookmarkCategory) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((BookmarkCategory) entity, columnValueMap,
+                _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<BookmarkCategory>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsId(), columnId());
+        setupEps(_epsMap, new EpsName(), columnName());
+        setupEps(_epsMap, new EpsMemo(), columnMemo());
+        setupEps(_epsMap, new EpsType(), columnType());
+        setupEps(_epsMap, new EpsSortOrder(), columnSortOrder());
+        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
+        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
+        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
+        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
+        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
+        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
+        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((BookmarkCategory) entity, value);
+    }
+
+    public static class EpsId implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setId((Integer) v);
+        }
+    }
+
+    public static class EpsName implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setName((String) v);
+        }
+    }
+
+    public static class EpsMemo implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setMemo((String) v);
+        }
+    }
+
+    public static class EpsType implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setType((String) v);
+        }
+    }
+
+    public static class EpsSortOrder implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setSortOrder((Integer) v);
+        }
+    }
+
+    public static class EpsCreatedTime implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setCreatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsCreatedBy implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setCreatedBy((String) v);
+        }
+    }
+
+    public static class EpsUpdatedTime implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setUpdatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsUpdatedBy implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setUpdatedBy((String) v);
+        }
+    }
+
+    public static class EpsDeletedTime implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setDeletedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsDeletedBy implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setDeletedBy((String) v);
+        }
+    }
+
+    public static class EpsVersionno implements Eps<BookmarkCategory> {
+        public void setup(BookmarkCategory e, Object v) {
+            e.setVersionno((Integer) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkCategoryDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkLinkDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkLinkDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkLinkDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,455 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
+
+/**
+ * The DB meta of BOOKMARK_LINK. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLinkDbm extends AbstractDBMeta {
+
+    private static final BookmarkLinkDbm _instance = new BookmarkLinkDbm();
+
+    private BookmarkLinkDbm() {
+    }
+
+    public static BookmarkLinkDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_LINK";
+    }
+
+    public String getTablePropertyName() {
+        return "bookmarkLink";
+    }
+
+    public String getTableSqlName() {
+        return "BOOKMARK_LINK";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnId = cci("ID", "id", Long.class, true, null,
+            null);
+
+    protected ColumnInfo _columnName = cci("NAME", "name", String.class, false,
+            100, 0);
+
+    protected ColumnInfo _columnMemo = cci("MEMO", "memo", String.class, false,
+            200, 0);
+
+    protected ColumnInfo _columnUrl = cci("URL", "url", String.class, false,
+            255, 0);
+
+    protected ColumnInfo _columnType = cci("TYPE", "type", String.class, false,
+            1, 0);
+
+    protected ColumnInfo _columnSortOrder = cci("SORT_ORDER", "sortOrder",
+            Integer.class, false, null, null);
+
+    protected ColumnInfo _columnCategoryId = cci("CATEGORY_ID", "categoryId",
+            Integer.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
+            "createdTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
+            "updatedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
+            "deletedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
+            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
+
+    public ColumnInfo columnId() {
+        return _columnId;
+    }
+
+    public ColumnInfo columnName() {
+        return _columnName;
+    }
+
+    public ColumnInfo columnMemo() {
+        return _columnMemo;
+    }
+
+    public ColumnInfo columnUrl() {
+        return _columnUrl;
+    }
+
+    public ColumnInfo columnType() {
+        return _columnType;
+    }
+
+    public ColumnInfo columnSortOrder() {
+        return _columnSortOrder;
+    }
+
+    public ColumnInfo columnCategoryId() {
+        return _columnCategoryId;
+    }
+
+    public ColumnInfo columnCreatedTime() {
+        return _columnCreatedTime;
+    }
+
+    public ColumnInfo columnCreatedBy() {
+        return _columnCreatedBy;
+    }
+
+    public ColumnInfo columnUpdatedTime() {
+        return _columnUpdatedTime;
+    }
+
+    public ColumnInfo columnUpdatedBy() {
+        return _columnUpdatedBy;
+    }
+
+    public ColumnInfo columnDeletedTime() {
+        return _columnDeletedTime;
+    }
+
+    public ColumnInfo columnDeletedBy() {
+        return _columnDeletedBy;
+    }
+
+    public ColumnInfo columnVersionno() {
+        return _columnVersionno;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.BookmarkLink";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.BookmarkLinkCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.BookmarkLinkDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.BookmarkLinkBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<BookmarkLink> getEntityType() {
+        return BookmarkLink.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public BookmarkLink newMyEntity() {
+        return new BookmarkLink();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+    public ForeignInfo foreignBookmarkCategory() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnCategoryId(),
+                BookmarkCategoryDbm.getInstance().columnId());
+        return cfi("bookmarkCategory", this, BookmarkCategoryDbm.getInstance(),
+                map, 0, false);
+    }
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+    public boolean hasVersionNo() {
+        return true;
+    }
+
+    public ColumnInfo getVersionNoColumnInfo() {
+        return _columnVersionno;
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((BookmarkLink) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((BookmarkLink) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<BookmarkLink>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsId(), columnId());
+        setupEps(_epsMap, new EpsName(), columnName());
+        setupEps(_epsMap, new EpsMemo(), columnMemo());
+        setupEps(_epsMap, new EpsUrl(), columnUrl());
+        setupEps(_epsMap, new EpsType(), columnType());
+        setupEps(_epsMap, new EpsSortOrder(), columnSortOrder());
+        setupEps(_epsMap, new EpsCategoryId(), columnCategoryId());
+        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
+        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
+        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
+        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
+        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
+        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
+        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((BookmarkLink) entity, value);
+    }
+
+    public static class EpsId implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setId((Long) v);
+        }
+    }
+
+    public static class EpsName implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setName((String) v);
+        }
+    }
+
+    public static class EpsMemo implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setMemo((String) v);
+        }
+    }
+
+    public static class EpsUrl implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setUrl((String) v);
+        }
+    }
+
+    public static class EpsType implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setType((String) v);
+        }
+    }
+
+    public static class EpsSortOrder implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setSortOrder((Integer) v);
+        }
+    }
+
+    public static class EpsCategoryId implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setCategoryId((Integer) v);
+        }
+    }
+
+    public static class EpsCreatedTime implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setCreatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsCreatedBy implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setCreatedBy((String) v);
+        }
+    }
+
+    public static class EpsUpdatedTime implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setUpdatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsUpdatedBy implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setUpdatedBy((String) v);
+        }
+    }
+
+    public static class EpsDeletedTime implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setDeletedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsDeletedBy implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setDeletedBy((String) v);
+        }
+    }
+
+    public static class EpsVersionno implements Eps<BookmarkLink> {
+        public void setup(BookmarkLink e, Object v) {
+            e.setVersionno((Integer) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/BookmarkLinkDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/CategoryDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/CategoryDbm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/CategoryDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,408 +0,0 @@
-package jp.sf.pal.bookmark.db.bsentity.dbmeta;
-
-import java.util.List;
-import java.util.Map;
-
-import jp.sf.pal.bookmark.db.allcommon.Entity;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ReferrerInfo;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
-import jp.sf.pal.bookmark.db.exentity.Category;
-
-/**
- * The DB meta of CATEGORY. (Singleton)
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class CategoryDbm extends AbstractDBMeta {
-
-    private static final CategoryDbm _instance = new CategoryDbm();
-
-    private CategoryDbm() {
-    }
-
-    public static CategoryDbm getInstance() {
-        return _instance;
-    }
-
-    //==========================================================================
-    // =========
-    // Table Info
-    // ==========
-    public String getTableDbName() {
-        return "CATEGORY";
-    }
-
-    public String getTablePropertyName() {
-        return "category";
-    }
-
-    //==========================================================================
-    // =========
-    // Column Info
-    // ===========
-    protected ColumnInfo _columnId = cci("ID", "id", Integer.class, true, null,
-            null);
-
-    protected ColumnInfo _columnName = cci("NAME", "name", String.class, false,
-            100, 0);
-
-    protected ColumnInfo _columnMemo = cci("MEMO", "memo", String.class, false,
-            200, 0);
-
-    protected ColumnInfo _columnSortOrder = cci("SORT_ORDER", "sortOrder",
-            Integer.class, false, null, null);
-
-    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
-            "createdTime", java.sql.Timestamp.class, false, null, null);
-
-    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
-            String.class, false, 255, 0);
-
-    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
-            "updatedTime", java.sql.Timestamp.class, false, null, null);
-
-    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
-            String.class, false, 255, 0);
-
-    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
-            "deletedTime", java.sql.Timestamp.class, false, null, null);
-
-    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
-            String.class, false, 255, 0);
-
-    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
-            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
-
-    public ColumnInfo columnId() {
-        return _columnId;
-    }
-
-    public ColumnInfo columnName() {
-        return _columnName;
-    }
-
-    public ColumnInfo columnMemo() {
-        return _columnMemo;
-    }
-
-    public ColumnInfo columnSortOrder() {
-        return _columnSortOrder;
-    }
-
-    public ColumnInfo columnCreatedTime() {
-        return _columnCreatedTime;
-    }
-
-    public ColumnInfo columnCreatedBy() {
-        return _columnCreatedBy;
-    }
-
-    public ColumnInfo columnUpdatedTime() {
-        return _columnUpdatedTime;
-    }
-
-    public ColumnInfo columnUpdatedBy() {
-        return _columnUpdatedBy;
-    }
-
-    public ColumnInfo columnDeletedTime() {
-        return _columnDeletedTime;
-    }
-
-    public ColumnInfo columnDeletedBy() {
-        return _columnDeletedBy;
-    }
-
-    public ColumnInfo columnVersionno() {
-        return _columnVersionno;
-    }
-
-    {
-        initializeColumnInfoList();
-    }
-
-    //==========================================================================
-    // =========
-    // Name Map
-    // ========
-    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
-        return createDbNamePropertyNameKeyToLowerMap();
-    }
-
-    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
-        return createPropertyNameDbNameKeyToLowerMap();
-    }
-
-    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
-
-    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
-        if (_dbNamePropertyNameKeyToLowerMap == null) {
-            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
-        }
-        return _dbNamePropertyNameKeyToLowerMap;
-    }
-
-    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
-
-    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
-        if (_propertyNameDbNameKeyToLowerMap == null) {
-            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
-        }
-        return _propertyNameDbNameKeyToLowerMap;
-    }
-
-    //==========================================================================
-    // =========
-    // Type Name
-    // =========
-    public String getEntityTypeName() {
-        return "jp.sf.pal.bookmark.db.exentity.Category";
-    }
-
-    public String getConditionBeanTypeName() {
-        return "jp.sf.pal.bookmark.db.cbean.bs.CategoryCB";
-    }
-
-    public String getDaoTypeName() {
-        return "jp.sf.pal.bookmark.db.exdao.CategoryDao";
-    }
-
-    public String getBehaviorTypeName() {
-        return "jp.sf.pal.bookmark.db.exbhv.CategoryBhv";
-    }
-
-    //==========================================================================
-    // =========
-    // Object Type
-    // ===========
-    public Class<Category> getEntityType() {
-        return Category.class;
-    }
-
-    //==========================================================================
-    // =========
-    // Object Instance
-    // ===============
-    public Entity newEntity() {
-        return newMyEntity();
-    }
-
-    public Category newMyEntity() {
-        return new Category();
-    }
-
-    //==========================================================================
-    // =========
-    // Unique Info
-    // ===========
-    // -----------------------------------------------------
-    // Primary Element
-    // ---------------
-    public UniqueInfo getPrimaryUniqueInfo() {
-        return createPrimaryUniqueInfo(columnId());
-    }
-
-    public boolean hasPrimaryKey() {
-        return true;
-    }
-
-    public boolean hasTwoOrMorePrimaryKeys() {
-        return false;
-    }
-
-    //==========================================================================
-    // =========
-    // Relation Info
-    // =============
-    // -----------------------------------------------------
-    // Foreign Property
-    // ----------------
-
-    // -----------------------------------------------------
-    // Referrer Property
-    // -----------------
-    public ReferrerInfo referrerLinkList() {
-        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnId(), LinkDbm
-                .getInstance().columnCategoryId());
-        return cri("linkList", this, LinkDbm.getInstance(), map, false);
-    }
-
-    //==========================================================================
-    // =========
-    // Various Info
-    // ============
-    public boolean hasVersionNo() {
-        return true;
-    }
-
-    public ColumnInfo getVersionNoColumnInfo() {
-        return _columnVersionno;
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Handling
-    // ===============
-    // -----------------------------------------------------
-    // Accept
-    // ------
-    public void acceptPrimaryKeyMap(Entity entity,
-            Map<String, ? extends Object> primaryKeyMap) {
-        doAcceptPrimaryKeyMap((Category) entity, primaryKeyMap, _epsMap);
-    }
-
-    public void acceptPrimaryKeyMapString(Entity entity,
-            String primaryKeyMapString) {
-        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
-    }
-
-    public void acceptColumnValueMap(Entity entity,
-            Map<String, ? extends Object> columnValueMap) {
-        doAcceptColumnValueMap((Category) entity, columnValueMap, _epsMap);
-    }
-
-    public void acceptColumnValueMapString(Entity entity,
-            String columnValueMapString) {
-        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
-    }
-
-    // -----------------------------------------------------
-    // Extract
-    // -------
-    public String extractPrimaryKeyMapString(Entity entity) {
-        return MapStringUtil.extractPrimaryKeyMapString(entity);
-    }
-
-    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
-            String endBrace, String delimiter, String equal) {
-        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
-                delimiter, equal);
-    }
-
-    public String extractColumnValueMapString(Entity entity) {
-        return MapStringUtil.extractColumnValueMapString(entity);
-    }
-
-    public String extractColumnValueMapString(Entity entity, String startBrace,
-            String endBrace, String delimiter, String equal) {
-        return doExtractColumnValueMapString(entity, startBrace, endBrace,
-                delimiter, equal);
-    }
-
-    // -----------------------------------------------------
-    // Convert
-    // -------
-    public List<Object> convertToColumnValueList(Entity entity) {
-        return newArrayList(convertToColumnValueMap(entity).values());
-    }
-
-    public Map<String, Object> convertToColumnValueMap(Entity entity) {
-        return doConvertToColumnValueMap(entity);
-    }
-
-    public List<String> convertToColumnStringValueList(Entity entity) {
-        return newArrayList(convertToColumnStringValueMap(entity).values());
-    }
-
-    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
-        return doConvertToColumnStringValueMap(entity);
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Property Setup
-    // =====================
-    // It's very INTERNAL!
-    protected Map<String, Eps<Category>> _epsMap = newHashMap();
-    {
-        setupEps(_epsMap, new EpsId(), columnId());
-        setupEps(_epsMap, new EpsName(), columnName());
-        setupEps(_epsMap, new EpsMemo(), columnMemo());
-        setupEps(_epsMap, new EpsSortOrder(), columnSortOrder());
-        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
-        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
-        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
-        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
-        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
-        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
-        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
-    }
-
-    public boolean hasEntityPropertySetupper(String propertyName) {
-        return _epsMap.containsKey(propertyName);
-    }
-
-    public void setupEntityProperty(String propertyName, Object entity,
-            Object value) {
-        findEps(_epsMap, propertyName).setup((Category) entity, value);
-    }
-
-    public static class EpsId implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setId((Integer) v);
-        }
-    }
-
-    public static class EpsName implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setName((String) v);
-        }
-    }
-
-    public static class EpsMemo implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setMemo((String) v);
-        }
-    }
-
-    public static class EpsSortOrder implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setSortOrder((Integer) v);
-        }
-    }
-
-    public static class EpsCreatedTime implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setCreatedTime((java.sql.Timestamp) v);
-        }
-    }
-
-    public static class EpsCreatedBy implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setCreatedBy((String) v);
-        }
-    }
-
-    public static class EpsUpdatedTime implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setUpdatedTime((java.sql.Timestamp) v);
-        }
-    }
-
-    public static class EpsUpdatedBy implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setUpdatedBy((String) v);
-        }
-    }
-
-    public static class EpsDeletedTime implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setDeletedTime((java.sql.Timestamp) v);
-        }
-    }
-
-    public static class EpsDeletedBy implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setDeletedBy((String) v);
-        }
-    }
-
-    public static class EpsVersionno implements Eps<Category> {
-        public void setup(Category e, Object v) {
-            e.setVersionno((Integer) v);
-        }
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupInfoDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupInfoDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupInfoDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,447 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.GroupInfo;
+
+/**
+ * The DB meta of GROUP_INFO. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfoDbm extends AbstractDBMeta {
+
+    private static final GroupInfoDbm _instance = new GroupInfoDbm();
+
+    private GroupInfoDbm() {
+    }
+
+    public static GroupInfoDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_INFO";
+    }
+
+    public String getTablePropertyName() {
+        return "groupInfo";
+    }
+
+    public String getTableSqlName() {
+        return "GROUP_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnGroupId = cci("GROUP_ID", "groupId",
+            String.class, true, 255, 0);
+
+    protected ColumnInfo _columnName = cci("NAME", "name", String.class, false,
+            100, 0);
+
+    protected ColumnInfo _columnDescription = cci("DESCRIPTION", "description",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnEmail = cci("EMAIL", "email", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnUrl = cci("URL", "url", String.class, false,
+            255, 0);
+
+    protected ColumnInfo _columnTelephone = cci("TELEPHONE", "telephone",
+            String.class, false, 40, 0);
+
+    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
+            "createdTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
+            "updatedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
+            "deletedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
+            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
+
+    public ColumnInfo columnGroupId() {
+        return _columnGroupId;
+    }
+
+    public ColumnInfo columnName() {
+        return _columnName;
+    }
+
+    public ColumnInfo columnDescription() {
+        return _columnDescription;
+    }
+
+    public ColumnInfo columnEmail() {
+        return _columnEmail;
+    }
+
+    public ColumnInfo columnUrl() {
+        return _columnUrl;
+    }
+
+    public ColumnInfo columnTelephone() {
+        return _columnTelephone;
+    }
+
+    public ColumnInfo columnCreatedTime() {
+        return _columnCreatedTime;
+    }
+
+    public ColumnInfo columnCreatedBy() {
+        return _columnCreatedBy;
+    }
+
+    public ColumnInfo columnUpdatedTime() {
+        return _columnUpdatedTime;
+    }
+
+    public ColumnInfo columnUpdatedBy() {
+        return _columnUpdatedBy;
+    }
+
+    public ColumnInfo columnDeletedTime() {
+        return _columnDeletedTime;
+    }
+
+    public ColumnInfo columnDeletedBy() {
+        return _columnDeletedBy;
+    }
+
+    public ColumnInfo columnVersionno() {
+        return _columnVersionno;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.GroupInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.GroupInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.GroupInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.GroupInfoBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<GroupInfo> getEntityType() {
+        return GroupInfo.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public GroupInfo newMyEntity() {
+        return new GroupInfo();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnGroupId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+    public ReferrerInfo referrerGroupMappingList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnGroupId(),
+                GroupMappingDbm.getInstance().columnGroupId());
+        return cri("groupMappingList", this, GroupMappingDbm.getInstance(),
+                map, false);
+    }
+
+    public ReferrerInfo referrerUserInfoList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnGroupId(),
+                UserInfoDbm.getInstance().columnGroupId());
+        return cri("userInfoList", this, UserInfoDbm.getInstance(), map, false);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+    public boolean hasVersionNo() {
+        return true;
+    }
+
+    public ColumnInfo getVersionNoColumnInfo() {
+        return _columnVersionno;
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((GroupInfo) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((GroupInfo) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<GroupInfo>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsGroupId(), columnGroupId());
+        setupEps(_epsMap, new EpsName(), columnName());
+        setupEps(_epsMap, new EpsDescription(), columnDescription());
+        setupEps(_epsMap, new EpsEmail(), columnEmail());
+        setupEps(_epsMap, new EpsUrl(), columnUrl());
+        setupEps(_epsMap, new EpsTelephone(), columnTelephone());
+        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
+        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
+        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
+        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
+        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
+        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
+        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((GroupInfo) entity, value);
+    }
+
+    public static class EpsGroupId implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setGroupId((String) v);
+        }
+    }
+
+    public static class EpsName implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setName((String) v);
+        }
+    }
+
+    public static class EpsDescription implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setDescription((String) v);
+        }
+    }
+
+    public static class EpsEmail implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setEmail((String) v);
+        }
+    }
+
+    public static class EpsUrl implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setUrl((String) v);
+        }
+    }
+
+    public static class EpsTelephone implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setTelephone((String) v);
+        }
+    }
+
+    public static class EpsCreatedTime implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setCreatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsCreatedBy implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setCreatedBy((String) v);
+        }
+    }
+
+    public static class EpsUpdatedTime implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setUpdatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsUpdatedBy implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setUpdatedBy((String) v);
+        }
+    }
+
+    public static class EpsDeletedTime implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setDeletedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsDeletedBy implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setDeletedBy((String) v);
+        }
+    }
+
+    public static class EpsVersionno implements Eps<GroupInfo> {
+        public void setup(GroupInfo e, Object v) {
+            e.setVersionno((Integer) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupMappingDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupMappingDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupMappingDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,299 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.GroupMapping;
+
+/**
+ * The DB meta of GROUP_MAPPING. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMappingDbm extends AbstractDBMeta {
+
+    private static final GroupMappingDbm _instance = new GroupMappingDbm();
+
+    private GroupMappingDbm() {
+    }
+
+    public static GroupMappingDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_MAPPING";
+    }
+
+    public String getTablePropertyName() {
+        return "groupMapping";
+    }
+
+    public String getTableSqlName() {
+        return "GROUP_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnId = cci("ID", "id", Integer.class, true, null,
+            null);
+
+    protected ColumnInfo _columnUserId = cci("USER_ID", "userId", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnGroupId = cci("GROUP_ID", "groupId",
+            String.class, false, 255, 0);
+
+    public ColumnInfo columnId() {
+        return _columnId;
+    }
+
+    public ColumnInfo columnUserId() {
+        return _columnUserId;
+    }
+
+    public ColumnInfo columnGroupId() {
+        return _columnGroupId;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.GroupMapping";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.GroupMappingCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.GroupMappingDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.GroupMappingBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<GroupMapping> getEntityType() {
+        return GroupMapping.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public GroupMapping newMyEntity() {
+        return new GroupMapping();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+    public ForeignInfo foreignGroupInfo() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnGroupId(),
+                GroupInfoDbm.getInstance().columnGroupId());
+        return cfi("groupInfo", this, GroupInfoDbm.getInstance(), map, 0, false);
+    }
+
+    public ForeignInfo foreignUserInfo() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUserId(),
+                UserInfoDbm.getInstance().columnUserId());
+        return cfi("userInfo", this, UserInfoDbm.getInstance(), map, 1, false);
+    }
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((GroupMapping) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((GroupMapping) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<GroupMapping>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsId(), columnId());
+        setupEps(_epsMap, new EpsUserId(), columnUserId());
+        setupEps(_epsMap, new EpsGroupId(), columnGroupId());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((GroupMapping) entity, value);
+    }
+
+    public static class EpsId implements Eps<GroupMapping> {
+        public void setup(GroupMapping e, Object v) {
+            e.setId((Integer) v);
+        }
+    }
+
+    public static class EpsUserId implements Eps<GroupMapping> {
+        public void setup(GroupMapping e, Object v) {
+            e.setUserId((String) v);
+        }
+    }
+
+    public static class EpsGroupId implements Eps<GroupMapping> {
+        public void setup(GroupMapping e, Object v) {
+            e.setGroupId((String) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/GroupMappingDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/LinkDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/LinkDbm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/LinkDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,450 +0,0 @@
-package jp.sf.pal.bookmark.db.bsentity.dbmeta;
-
-import java.util.List;
-import java.util.Map;
-
-import jp.sf.pal.bookmark.db.allcommon.Entity;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ForeignInfo;
-import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
-import jp.sf.pal.bookmark.db.exentity.Link;
-
-/**
- * The DB meta of LINK. (Singleton)
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class LinkDbm extends AbstractDBMeta {
-
-    private static final LinkDbm _instance = new LinkDbm();
-
-    private LinkDbm() {
-    }
-
-    public static LinkDbm getInstance() {
-        return _instance;
-    }
-
-    //==========================================================================
-    // =========
-    // Table Info
-    // ==========
-    public String getTableDbName() {
-        return "LINK";
-    }
-
-    public String getTablePropertyName() {
-        return "link";
-    }
-
-    //==========================================================================
-    // =========
-    // Column Info
-    // ===========
-    protected ColumnInfo _columnId = cci("ID", "id", Long.class, true, null,
-            null);
-
-    protected ColumnInfo _columnName = cci("NAME", "name", String.class, false,
-            100, 0);
-
-    protected ColumnInfo _columnMemo = cci("MEMO", "memo", String.class, false,
-            200, 0);
-
-    protected ColumnInfo _columnUrl = cci("URL", "url", String.class, false,
-            255, 0);
-
-    protected ColumnInfo _columnType = cci("TYPE", "type", String.class, false,
-            1, 0);
-
-    protected ColumnInfo _columnSortOrder = cci("SORT_ORDER", "sortOrder",
-            Integer.class, false, null, null);
-
-    protected ColumnInfo _columnCategoryId = cci("CATEGORY_ID", "categoryId",
-            Integer.class, false, null, null);
-
-    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
-            "createdTime", java.sql.Timestamp.class, false, null, null);
-
-    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
-            String.class, false, 255, 0);
-
-    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
-            "updatedTime", java.sql.Timestamp.class, false, null, null);
-
-    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
-            String.class, false, 255, 0);
-
-    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
-            "deletedTime", java.sql.Timestamp.class, false, null, null);
-
-    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
-            String.class, false, 255, 0);
-
-    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
-            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
-
-    public ColumnInfo columnId() {
-        return _columnId;
-    }
-
-    public ColumnInfo columnName() {
-        return _columnName;
-    }
-
-    public ColumnInfo columnMemo() {
-        return _columnMemo;
-    }
-
-    public ColumnInfo columnUrl() {
-        return _columnUrl;
-    }
-
-    public ColumnInfo columnType() {
-        return _columnType;
-    }
-
-    public ColumnInfo columnSortOrder() {
-        return _columnSortOrder;
-    }
-
-    public ColumnInfo columnCategoryId() {
-        return _columnCategoryId;
-    }
-
-    public ColumnInfo columnCreatedTime() {
-        return _columnCreatedTime;
-    }
-
-    public ColumnInfo columnCreatedBy() {
-        return _columnCreatedBy;
-    }
-
-    public ColumnInfo columnUpdatedTime() {
-        return _columnUpdatedTime;
-    }
-
-    public ColumnInfo columnUpdatedBy() {
-        return _columnUpdatedBy;
-    }
-
-    public ColumnInfo columnDeletedTime() {
-        return _columnDeletedTime;
-    }
-
-    public ColumnInfo columnDeletedBy() {
-        return _columnDeletedBy;
-    }
-
-    public ColumnInfo columnVersionno() {
-        return _columnVersionno;
-    }
-
-    {
-        initializeColumnInfoList();
-    }
-
-    //==========================================================================
-    // =========
-    // Name Map
-    // ========
-    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
-        return createDbNamePropertyNameKeyToLowerMap();
-    }
-
-    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
-        return createPropertyNameDbNameKeyToLowerMap();
-    }
-
-    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
-
-    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
-        if (_dbNamePropertyNameKeyToLowerMap == null) {
-            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
-        }
-        return _dbNamePropertyNameKeyToLowerMap;
-    }
-
-    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
-
-    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
-        if (_propertyNameDbNameKeyToLowerMap == null) {
-            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
-        }
-        return _propertyNameDbNameKeyToLowerMap;
-    }
-
-    //==========================================================================
-    // =========
-    // Type Name
-    // =========
-    public String getEntityTypeName() {
-        return "jp.sf.pal.bookmark.db.exentity.Link";
-    }
-
-    public String getConditionBeanTypeName() {
-        return "jp.sf.pal.bookmark.db.cbean.bs.LinkCB";
-    }
-
-    public String getDaoTypeName() {
-        return "jp.sf.pal.bookmark.db.exdao.LinkDao";
-    }
-
-    public String getBehaviorTypeName() {
-        return "jp.sf.pal.bookmark.db.exbhv.LinkBhv";
-    }
-
-    //==========================================================================
-    // =========
-    // Object Type
-    // ===========
-    public Class<Link> getEntityType() {
-        return Link.class;
-    }
-
-    //==========================================================================
-    // =========
-    // Object Instance
-    // ===============
-    public Entity newEntity() {
-        return newMyEntity();
-    }
-
-    public Link newMyEntity() {
-        return new Link();
-    }
-
-    //==========================================================================
-    // =========
-    // Unique Info
-    // ===========
-    // -----------------------------------------------------
-    // Primary Element
-    // ---------------
-    public UniqueInfo getPrimaryUniqueInfo() {
-        return createPrimaryUniqueInfo(columnId());
-    }
-
-    public boolean hasPrimaryKey() {
-        return true;
-    }
-
-    public boolean hasTwoOrMorePrimaryKeys() {
-        return false;
-    }
-
-    //==========================================================================
-    // =========
-    // Relation Info
-    // =============
-    // -----------------------------------------------------
-    // Foreign Property
-    // ----------------
-    public ForeignInfo foreignCategory() {
-        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnCategoryId(),
-                CategoryDbm.getInstance().columnId());
-        return cfi("category", this, CategoryDbm.getInstance(), map, 0, false);
-    }
-
-    // -----------------------------------------------------
-    // Referrer Property
-    // -----------------
-
-    //==========================================================================
-    // =========
-    // Various Info
-    // ============
-    public boolean hasVersionNo() {
-        return true;
-    }
-
-    public ColumnInfo getVersionNoColumnInfo() {
-        return _columnVersionno;
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Handling
-    // ===============
-    // -----------------------------------------------------
-    // Accept
-    // ------
-    public void acceptPrimaryKeyMap(Entity entity,
-            Map<String, ? extends Object> primaryKeyMap) {
-        doAcceptPrimaryKeyMap((Link) entity, primaryKeyMap, _epsMap);
-    }
-
-    public void acceptPrimaryKeyMapString(Entity entity,
-            String primaryKeyMapString) {
-        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
-    }
-
-    public void acceptColumnValueMap(Entity entity,
-            Map<String, ? extends Object> columnValueMap) {
-        doAcceptColumnValueMap((Link) entity, columnValueMap, _epsMap);
-    }
-
-    public void acceptColumnValueMapString(Entity entity,
-            String columnValueMapString) {
-        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
-    }
-
-    // -----------------------------------------------------
-    // Extract
-    // -------
-    public String extractPrimaryKeyMapString(Entity entity) {
-        return MapStringUtil.extractPrimaryKeyMapString(entity);
-    }
-
-    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
-            String endBrace, String delimiter, String equal) {
-        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
-                delimiter, equal);
-    }
-
-    public String extractColumnValueMapString(Entity entity) {
-        return MapStringUtil.extractColumnValueMapString(entity);
-    }
-
-    public String extractColumnValueMapString(Entity entity, String startBrace,
-            String endBrace, String delimiter, String equal) {
-        return doExtractColumnValueMapString(entity, startBrace, endBrace,
-                delimiter, equal);
-    }
-
-    // -----------------------------------------------------
-    // Convert
-    // -------
-    public List<Object> convertToColumnValueList(Entity entity) {
-        return newArrayList(convertToColumnValueMap(entity).values());
-    }
-
-    public Map<String, Object> convertToColumnValueMap(Entity entity) {
-        return doConvertToColumnValueMap(entity);
-    }
-
-    public List<String> convertToColumnStringValueList(Entity entity) {
-        return newArrayList(convertToColumnStringValueMap(entity).values());
-    }
-
-    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
-        return doConvertToColumnStringValueMap(entity);
-    }
-
-    //==========================================================================
-    // =========
-    // Entity Property Setup
-    // =====================
-    // It's very INTERNAL!
-    protected Map<String, Eps<Link>> _epsMap = newHashMap();
-    {
-        setupEps(_epsMap, new EpsId(), columnId());
-        setupEps(_epsMap, new EpsName(), columnName());
-        setupEps(_epsMap, new EpsMemo(), columnMemo());
-        setupEps(_epsMap, new EpsUrl(), columnUrl());
-        setupEps(_epsMap, new EpsType(), columnType());
-        setupEps(_epsMap, new EpsSortOrder(), columnSortOrder());
-        setupEps(_epsMap, new EpsCategoryId(), columnCategoryId());
-        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
-        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
-        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
-        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
-        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
-        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
-        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
-    }
-
-    public boolean hasEntityPropertySetupper(String propertyName) {
-        return _epsMap.containsKey(propertyName);
-    }
-
-    public void setupEntityProperty(String propertyName, Object entity,
-            Object value) {
-        findEps(_epsMap, propertyName).setup((Link) entity, value);
-    }
-
-    public static class EpsId implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setId((Long) v);
-        }
-    }
-
-    public static class EpsName implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setName((String) v);
-        }
-    }
-
-    public static class EpsMemo implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setMemo((String) v);
-        }
-    }
-
-    public static class EpsUrl implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setUrl((String) v);
-        }
-    }
-
-    public static class EpsType implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setType((String) v);
-        }
-    }
-
-    public static class EpsSortOrder implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setSortOrder((Integer) v);
-        }
-    }
-
-    public static class EpsCategoryId implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setCategoryId((Integer) v);
-        }
-    }
-
-    public static class EpsCreatedTime implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setCreatedTime((java.sql.Timestamp) v);
-        }
-    }
-
-    public static class EpsCreatedBy implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setCreatedBy((String) v);
-        }
-    }
-
-    public static class EpsUpdatedTime implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setUpdatedTime((java.sql.Timestamp) v);
-        }
-    }
-
-    public static class EpsUpdatedBy implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setUpdatedBy((String) v);
-        }
-    }
-
-    public static class EpsDeletedTime implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setDeletedTime((java.sql.Timestamp) v);
-        }
-    }
-
-    public static class EpsDeletedBy implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setDeletedBy((String) v);
-        }
-    }
-
-    public static class EpsVersionno implements Eps<Link> {
-        public void setup(Link e, Object v) {
-            e.setVersionno((Integer) v);
-        }
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleInfoDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleInfoDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleInfoDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,447 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.RoleInfo;
+
+/**
+ * The DB meta of ROLE_INFO. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfoDbm extends AbstractDBMeta {
+
+    private static final RoleInfoDbm _instance = new RoleInfoDbm();
+
+    private RoleInfoDbm() {
+    }
+
+    public static RoleInfoDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_INFO";
+    }
+
+    public String getTablePropertyName() {
+        return "roleInfo";
+    }
+
+    public String getTableSqlName() {
+        return "ROLE_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnRoleId = cci("ROLE_ID", "roleId", String.class,
+            true, 255, 0);
+
+    protected ColumnInfo _columnName = cci("NAME", "name", String.class, false,
+            100, 0);
+
+    protected ColumnInfo _columnDescription = cci("DESCRIPTION", "description",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnEmail = cci("EMAIL", "email", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnUrl = cci("URL", "url", String.class, false,
+            255, 0);
+
+    protected ColumnInfo _columnTelephone = cci("TELEPHONE", "telephone",
+            String.class, false, 40, 0);
+
+    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
+            "createdTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
+            "updatedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
+            "deletedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
+            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
+
+    public ColumnInfo columnRoleId() {
+        return _columnRoleId;
+    }
+
+    public ColumnInfo columnName() {
+        return _columnName;
+    }
+
+    public ColumnInfo columnDescription() {
+        return _columnDescription;
+    }
+
+    public ColumnInfo columnEmail() {
+        return _columnEmail;
+    }
+
+    public ColumnInfo columnUrl() {
+        return _columnUrl;
+    }
+
+    public ColumnInfo columnTelephone() {
+        return _columnTelephone;
+    }
+
+    public ColumnInfo columnCreatedTime() {
+        return _columnCreatedTime;
+    }
+
+    public ColumnInfo columnCreatedBy() {
+        return _columnCreatedBy;
+    }
+
+    public ColumnInfo columnUpdatedTime() {
+        return _columnUpdatedTime;
+    }
+
+    public ColumnInfo columnUpdatedBy() {
+        return _columnUpdatedBy;
+    }
+
+    public ColumnInfo columnDeletedTime() {
+        return _columnDeletedTime;
+    }
+
+    public ColumnInfo columnDeletedBy() {
+        return _columnDeletedBy;
+    }
+
+    public ColumnInfo columnVersionno() {
+        return _columnVersionno;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.RoleInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.RoleInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.RoleInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.RoleInfoBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<RoleInfo> getEntityType() {
+        return RoleInfo.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public RoleInfo newMyEntity() {
+        return new RoleInfo();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnRoleId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+    public ReferrerInfo referrerRoleMappingList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnRoleId(),
+                RoleMappingDbm.getInstance().columnRoleId());
+        return cri("roleMappingList", this, RoleMappingDbm.getInstance(), map,
+                false);
+    }
+
+    public ReferrerInfo referrerUserInfoList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnRoleId(),
+                UserInfoDbm.getInstance().columnRoleId());
+        return cri("userInfoList", this, UserInfoDbm.getInstance(), map, false);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+    public boolean hasVersionNo() {
+        return true;
+    }
+
+    public ColumnInfo getVersionNoColumnInfo() {
+        return _columnVersionno;
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((RoleInfo) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((RoleInfo) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<RoleInfo>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsRoleId(), columnRoleId());
+        setupEps(_epsMap, new EpsName(), columnName());
+        setupEps(_epsMap, new EpsDescription(), columnDescription());
+        setupEps(_epsMap, new EpsEmail(), columnEmail());
+        setupEps(_epsMap, new EpsUrl(), columnUrl());
+        setupEps(_epsMap, new EpsTelephone(), columnTelephone());
+        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
+        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
+        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
+        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
+        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
+        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
+        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((RoleInfo) entity, value);
+    }
+
+    public static class EpsRoleId implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setRoleId((String) v);
+        }
+    }
+
+    public static class EpsName implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setName((String) v);
+        }
+    }
+
+    public static class EpsDescription implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setDescription((String) v);
+        }
+    }
+
+    public static class EpsEmail implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setEmail((String) v);
+        }
+    }
+
+    public static class EpsUrl implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setUrl((String) v);
+        }
+    }
+
+    public static class EpsTelephone implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setTelephone((String) v);
+        }
+    }
+
+    public static class EpsCreatedTime implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setCreatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsCreatedBy implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setCreatedBy((String) v);
+        }
+    }
+
+    public static class EpsUpdatedTime implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setUpdatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsUpdatedBy implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setUpdatedBy((String) v);
+        }
+    }
+
+    public static class EpsDeletedTime implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setDeletedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsDeletedBy implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setDeletedBy((String) v);
+        }
+    }
+
+    public static class EpsVersionno implements Eps<RoleInfo> {
+        public void setup(RoleInfo e, Object v) {
+            e.setVersionno((Integer) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleMappingDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleMappingDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleMappingDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,299 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.RoleMapping;
+
+/**
+ * The DB meta of ROLE_MAPPING. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMappingDbm extends AbstractDBMeta {
+
+    private static final RoleMappingDbm _instance = new RoleMappingDbm();
+
+    private RoleMappingDbm() {
+    }
+
+    public static RoleMappingDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_MAPPING";
+    }
+
+    public String getTablePropertyName() {
+        return "roleMapping";
+    }
+
+    public String getTableSqlName() {
+        return "ROLE_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnId = cci("ID", "id", Integer.class, true, null,
+            null);
+
+    protected ColumnInfo _columnUserId = cci("USER_ID", "userId", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnRoleId = cci("ROLE_ID", "roleId", String.class,
+            false, 255, 0);
+
+    public ColumnInfo columnId() {
+        return _columnId;
+    }
+
+    public ColumnInfo columnUserId() {
+        return _columnUserId;
+    }
+
+    public ColumnInfo columnRoleId() {
+        return _columnRoleId;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.RoleMapping";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.RoleMappingCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.RoleMappingDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.RoleMappingBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<RoleMapping> getEntityType() {
+        return RoleMapping.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public RoleMapping newMyEntity() {
+        return new RoleMapping();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+    public ForeignInfo foreignRoleInfo() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnRoleId(),
+                RoleInfoDbm.getInstance().columnRoleId());
+        return cfi("roleInfo", this, RoleInfoDbm.getInstance(), map, 0, false);
+    }
+
+    public ForeignInfo foreignUserInfo() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUserId(),
+                UserInfoDbm.getInstance().columnUserId());
+        return cfi("userInfo", this, UserInfoDbm.getInstance(), map, 1, false);
+    }
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((RoleMapping) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((RoleMapping) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<RoleMapping>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsId(), columnId());
+        setupEps(_epsMap, new EpsUserId(), columnUserId());
+        setupEps(_epsMap, new EpsRoleId(), columnRoleId());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((RoleMapping) entity, value);
+    }
+
+    public static class EpsId implements Eps<RoleMapping> {
+        public void setup(RoleMapping e, Object v) {
+            e.setId((Integer) v);
+        }
+    }
+
+    public static class EpsUserId implements Eps<RoleMapping> {
+        public void setup(RoleMapping e, Object v) {
+            e.setUserId((String) v);
+        }
+    }
+
+    public static class EpsRoleId implements Eps<RoleMapping> {
+        public void setup(RoleMapping e, Object v) {
+            e.setRoleId((String) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/RoleMappingDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/UserInfoDbm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/UserInfoDbm.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/UserInfoDbm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,530 @@
+package jp.sf.pal.bookmark.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.Entity;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.bookmark.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.bookmark.db.exentity.UserInfo;
+
+/**
+ * The DB meta of USER_INFO. (Singleton)
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfoDbm extends AbstractDBMeta {
+
+    private static final UserInfoDbm _instance = new UserInfoDbm();
+
+    private UserInfoDbm() {
+    }
+
+    public static UserInfoDbm getInstance() {
+        return _instance;
+    }
+
+    //==========================================================================
+    // =========
+    // Table Info
+    // ==========
+    public String getTableDbName() {
+        return "USER_INFO";
+    }
+
+    public String getTablePropertyName() {
+        return "userInfo";
+    }
+
+    public String getTableSqlName() {
+        return "USER_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnUserId = cci("USER_ID", "userId", String.class,
+            true, 255, 0);
+
+    protected ColumnInfo _columnGivenName = cci("GIVEN_NAME", "givenName",
+            String.class, false, 100, 0);
+
+    protected ColumnInfo _columnFamilyName = cci("FAMILY_NAME", "familyName",
+            String.class, false, 100, 0);
+
+    protected ColumnInfo _columnMiddleName = cci("MIDDLE_NAME", "middleName",
+            String.class, false, 50, 0);
+
+    protected ColumnInfo _columnGivenNameDesc = cci("GIVEN_NAME_DESC",
+            "givenNameDesc", String.class, false, 100, 0);
+
+    protected ColumnInfo _columnFamilyNameDesc = cci("FAMILY_NAME_DESC",
+            "familyNameDesc", String.class, false, 100, 0);
+
+    protected ColumnInfo _columnEmail = cci("EMAIL", "email", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnUrl = cci("URL", "url", String.class, false,
+            255, 0);
+
+    protected ColumnInfo _columnTelephone = cci("TELEPHONE", "telephone",
+            String.class, false, 40, 0);
+
+    protected ColumnInfo _columnRoleId = cci("ROLE_ID", "roleId", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnGroupId = cci("GROUP_ID", "groupId",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
+            "createdTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
+            "updatedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
+            "deletedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
+            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
+
+    public ColumnInfo columnUserId() {
+        return _columnUserId;
+    }
+
+    public ColumnInfo columnGivenName() {
+        return _columnGivenName;
+    }
+
+    public ColumnInfo columnFamilyName() {
+        return _columnFamilyName;
+    }
+
+    public ColumnInfo columnMiddleName() {
+        return _columnMiddleName;
+    }
+
+    public ColumnInfo columnGivenNameDesc() {
+        return _columnGivenNameDesc;
+    }
+
+    public ColumnInfo columnFamilyNameDesc() {
+        return _columnFamilyNameDesc;
+    }
+
+    public ColumnInfo columnEmail() {
+        return _columnEmail;
+    }
+
+    public ColumnInfo columnUrl() {
+        return _columnUrl;
+    }
+
+    public ColumnInfo columnTelephone() {
+        return _columnTelephone;
+    }
+
+    public ColumnInfo columnRoleId() {
+        return _columnRoleId;
+    }
+
+    public ColumnInfo columnGroupId() {
+        return _columnGroupId;
+    }
+
+    public ColumnInfo columnCreatedTime() {
+        return _columnCreatedTime;
+    }
+
+    public ColumnInfo columnCreatedBy() {
+        return _columnCreatedBy;
+    }
+
+    public ColumnInfo columnUpdatedTime() {
+        return _columnUpdatedTime;
+    }
+
+    public ColumnInfo columnUpdatedBy() {
+        return _columnUpdatedBy;
+    }
+
+    public ColumnInfo columnDeletedTime() {
+        return _columnDeletedTime;
+    }
+
+    public ColumnInfo columnDeletedBy() {
+        return _columnDeletedBy;
+    }
+
+    public ColumnInfo columnVersionno() {
+        return _columnVersionno;
+    }
+
+    {
+        initializeColumnInfoList();
+    }
+
+    //==========================================================================
+    // =========
+    // Name Map
+    // ========
+    public Map<String, String> getDbNamePropertyNameKeyToLowerMap() {
+        return createDbNamePropertyNameKeyToLowerMap();
+    }
+
+    public Map<String, String> getPropertyNameDbNameKeyToLowerMap() {
+        return createPropertyNameDbNameKeyToLowerMap();
+    }
+
+    protected static Map<String, String> _dbNamePropertyNameKeyToLowerMap;
+
+    protected Map<String, String> createDbNamePropertyNameKeyToLowerMap() {
+        if (_dbNamePropertyNameKeyToLowerMap == null) {
+            _dbNamePropertyNameKeyToLowerMap = setupKeyToLowerMap(true);
+        }
+        return _dbNamePropertyNameKeyToLowerMap;
+    }
+
+    protected static Map<String, String> _propertyNameDbNameKeyToLowerMap;
+
+    protected Map<String, String> createPropertyNameDbNameKeyToLowerMap() {
+        if (_propertyNameDbNameKeyToLowerMap == null) {
+            _propertyNameDbNameKeyToLowerMap = setupKeyToLowerMap(false);
+        }
+        return _propertyNameDbNameKeyToLowerMap;
+    }
+
+    //==========================================================================
+    // =========
+    // Type Name
+    // =========
+    public String getEntityTypeName() {
+        return "jp.sf.pal.bookmark.db.exentity.UserInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.bookmark.db.cbean.bs.UserInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.bookmark.db.exdao.UserInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.bookmark.db.exbhv.UserInfoBhv";
+    }
+
+    //==========================================================================
+    // =========
+    // Object Type
+    // ===========
+    public Class<UserInfo> getEntityType() {
+        return UserInfo.class;
+    }
+
+    //==========================================================================
+    // =========
+    // Object Instance
+    // ===============
+    public Entity newEntity() {
+        return newMyEntity();
+    }
+
+    public UserInfo newMyEntity() {
+        return new UserInfo();
+    }
+
+    //==========================================================================
+    // =========
+    // Unique Info
+    // ===========
+    // -----------------------------------------------------
+    // Primary Element
+    // ---------------
+    public UniqueInfo getPrimaryUniqueInfo() {
+        return createPrimaryUniqueInfo(columnUserId());
+    }
+
+    public boolean hasPrimaryKey() {
+        return true;
+    }
+
+    public boolean hasTwoOrMorePrimaryKeys() {
+        return false;
+    }
+
+    //==========================================================================
+    // =========
+    // Relation Info
+    // =============
+    // -----------------------------------------------------
+    // Foreign Property
+    // ----------------
+    public ForeignInfo foreignGroupInfo() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnGroupId(),
+                GroupInfoDbm.getInstance().columnGroupId());
+        return cfi("groupInfo", this, GroupInfoDbm.getInstance(), map, 0, false);
+    }
+
+    public ForeignInfo foreignRoleInfo() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnRoleId(),
+                RoleInfoDbm.getInstance().columnRoleId());
+        return cfi("roleInfo", this, RoleInfoDbm.getInstance(), map, 1, false);
+    }
+
+    // -----------------------------------------------------
+    // Referrer Property
+    // -----------------
+    public ReferrerInfo referrerGroupMappingList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUserId(),
+                GroupMappingDbm.getInstance().columnUserId());
+        return cri("groupMappingList", this, GroupMappingDbm.getInstance(),
+                map, false);
+    }
+
+    public ReferrerInfo referrerRoleMappingList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUserId(),
+                RoleMappingDbm.getInstance().columnUserId());
+        return cri("roleMappingList", this, RoleMappingDbm.getInstance(), map,
+                false);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+    public boolean hasVersionNo() {
+        return true;
+    }
+
+    public ColumnInfo getVersionNoColumnInfo() {
+        return _columnVersionno;
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((UserInfo) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((UserInfo) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<UserInfo>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsUserId(), columnUserId());
+        setupEps(_epsMap, new EpsGivenName(), columnGivenName());
+        setupEps(_epsMap, new EpsFamilyName(), columnFamilyName());
+        setupEps(_epsMap, new EpsMiddleName(), columnMiddleName());
+        setupEps(_epsMap, new EpsGivenNameDesc(), columnGivenNameDesc());
+        setupEps(_epsMap, new EpsFamilyNameDesc(), columnFamilyNameDesc());
+        setupEps(_epsMap, new EpsEmail(), columnEmail());
+        setupEps(_epsMap, new EpsUrl(), columnUrl());
+        setupEps(_epsMap, new EpsTelephone(), columnTelephone());
+        setupEps(_epsMap, new EpsRoleId(), columnRoleId());
+        setupEps(_epsMap, new EpsGroupId(), columnGroupId());
+        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
+        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
+        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
+        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
+        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
+        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
+        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((UserInfo) entity, value);
+    }
+
+    public static class EpsUserId implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setUserId((String) v);
+        }
+    }
+
+    public static class EpsGivenName implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setGivenName((String) v);
+        }
+    }
+
+    public static class EpsFamilyName implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setFamilyName((String) v);
+        }
+    }
+
+    public static class EpsMiddleName implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setMiddleName((String) v);
+        }
+    }
+
+    public static class EpsGivenNameDesc implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setGivenNameDesc((String) v);
+        }
+    }
+
+    public static class EpsFamilyNameDesc implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setFamilyNameDesc((String) v);
+        }
+    }
+
+    public static class EpsEmail implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setEmail((String) v);
+        }
+    }
+
+    public static class EpsUrl implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setUrl((String) v);
+        }
+    }
+
+    public static class EpsTelephone implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setTelephone((String) v);
+        }
+    }
+
+    public static class EpsRoleId implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setRoleId((String) v);
+        }
+    }
+
+    public static class EpsGroupId implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setGroupId((String) v);
+        }
+    }
+
+    public static class EpsCreatedTime implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setCreatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsCreatedBy implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setCreatedBy((String) v);
+        }
+    }
+
+    public static class EpsUpdatedTime implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setUpdatedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsUpdatedBy implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setUpdatedBy((String) v);
+        }
+    }
+
+    public static class EpsDeletedTime implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setDeletedTime((java.sql.Timestamp) v);
+        }
+    }
+
+    public static class EpsDeletedBy implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setDeletedBy((String) v);
+        }
+    }
+
+    public static class EpsVersionno implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setVersionno((Integer) v);
+        }
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/bsentity/dbmeta/UserInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkCategoryCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkCategoryCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkCategoryCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of BOOKMARK_CATEGORY.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategoryCB extends
+        jp.sf.pal.bookmark.db.cbean.bs.BsBookmarkCategoryCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkCategoryCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkLinkCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkLinkCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkLinkCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of BOOKMARK_LINK.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLinkCB extends
+        jp.sf.pal.bookmark.db.cbean.bs.BsBookmarkLinkCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/BookmarkLinkCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/CategoryCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/CategoryCB.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/CategoryCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,14 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean;
-
-/**
- * The condition-bean of CATEGORY.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class CategoryCB extends jp.sf.pal.bookmark.db.cbean.bs.BsCategoryCB {
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupInfoCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupInfoCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupInfoCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of GROUP_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfoCB extends jp.sf.pal.bookmark.db.cbean.bs.BsGroupInfoCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupMappingCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupMappingCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupMappingCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of GROUP_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMappingCB extends
+        jp.sf.pal.bookmark.db.cbean.bs.BsGroupMappingCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/GroupMappingCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/LinkCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/LinkCB.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/LinkCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,14 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean;
-
-/**
- * The condition-bean of LINK.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class LinkCB extends jp.sf.pal.bookmark.db.cbean.bs.BsLinkCB {
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleInfoCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleInfoCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleInfoCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of ROLE_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfoCB extends jp.sf.pal.bookmark.db.cbean.bs.BsRoleInfoCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleMappingCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleMappingCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleMappingCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of ROLE_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMappingCB extends
+        jp.sf.pal.bookmark.db.cbean.bs.BsRoleMappingCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/RoleMappingCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/UserInfoCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/UserInfoCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/UserInfoCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.cbean;
+
+/**
+ * The condition-bean of USER_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfoCB extends jp.sf.pal.bookmark.db.cbean.bs.BsUserInfoCB {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/UserInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkCategoryCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkCategoryCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkCategoryCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,279 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+
+/**
+ * The base condition-bean of BOOKMARK_CATEGORY.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsBookmarkCategoryCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BookmarkCategoryCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    public String getTableSqlName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("ID");
+            if (obj instanceof Integer) {
+                query().setId_Equal((Integer) obj);
+            } else {
+                query().setId_Equal(new Integer((String) obj));
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_Id_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_Id_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public BookmarkCategoryCQ query() {
+        return getConditionQuery();
+    }
+
+    public BookmarkCategoryCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new BookmarkCategoryCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;BookmarkCategoryCB&gt;() {
+     *     public void query(BookmarkCategoryCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<BookmarkCategoryCB> unionQuery) {
+        final BookmarkCategoryCB cb = new BookmarkCategoryCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final BookmarkCategoryCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;BookmarkCategoryCB&gt;() {
+     *     public void query(BookmarkCategoryCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<BookmarkCategoryCB> unionQuery) {
+        final BookmarkCategoryCB cb = new BookmarkCategoryCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final BookmarkCategoryCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<BookmarkCategoryCB>
+     *             unionQuery).
+     */
+    public void union(BookmarkCategoryCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<BookmarkCategoryCB>
+     *             unionQuery).
+     */
+    public void unionAll(BookmarkCategoryCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<BookmarkCategoryCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public BookmarkCategoryCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends
+            AbstractSpecification<BookmarkCategoryCQ> {
+        protected SpQyCall<BookmarkCategoryCQ> _myQyCall;
+
+        public Specification(ConditionBean baseCB,
+                SpQyCall<BookmarkCategoryCQ> qyCall, boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnId() {
+            doColumn("ID");
+        }
+
+        public void columnName() {
+            doColumn("NAME");
+        }
+
+        public void columnMemo() {
+            doColumn("MEMO");
+        }
+
+        public void columnType() {
+            doColumn("TYPE");
+        }
+
+        public void columnSortOrder() {
+            doColumn("SORT_ORDER");
+        }
+
+        public void columnCreatedTime() {
+            doColumn("CREATED_TIME");
+        }
+
+        public void columnCreatedBy() {
+            doColumn("CREATED_BY");
+        }
+
+        public void columnUpdatedTime() {
+            doColumn("UPDATED_TIME");
+        }
+
+        public void columnUpdatedBy() {
+            doColumn("UPDATED_BY");
+        }
+
+        public void columnDeletedTime() {
+            doColumn("DELETED_TIME");
+        }
+
+        public void columnDeletedBy() {
+            doColumn("DELETED_BY");
+        }
+
+        public void columnVersionno() {
+            doColumn("VERSIONNO");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnId();// PK
+        }
+
+        protected String getTableDbName() {
+            return "BOOKMARK_CATEGORY";
+        }
+
+        public RAFunction<BookmarkLinkCB, BookmarkCategoryCQ> derivedBookmarkLinkList() {
+            return new RAFunction<BookmarkLinkCB, BookmarkCategoryCQ>(_baseCB,
+                    _myQyCall.qy(),
+                    new RAQSetupper<BookmarkLinkCB, BookmarkCategoryCQ>() {
+                        public void setup(String function,
+                                SubQuery<BookmarkLinkCB> subQuery,
+                                BookmarkCategoryCQ cq, String aliasName) {
+                            cq.xderiveBookmarkLinkList(function, subQuery,
+                                    aliasName);
+                        }
+                    });
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return BookmarkCategoryCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkCategoryCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkCategoryCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkLinkCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkLinkCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkLinkCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,324 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+import jp.sf.pal.bookmark.db.cbean.nss.BookmarkCategoryNss;
+
+/**
+ * The base condition-bean of BOOKMARK_LINK.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsBookmarkLinkCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BookmarkLinkCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_LINK";
+    }
+
+    public String getTableSqlName() {
+        return "BOOKMARK_LINK";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("ID");
+            if (obj instanceof Long) {
+                query().setId_Equal((Long) obj);
+            } else {
+                query().setId_Equal(new Long((String) obj));
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_Id_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_Id_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public BookmarkLinkCQ query() {
+        return getConditionQuery();
+    }
+
+    public BookmarkLinkCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new BookmarkLinkCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;BookmarkLinkCB&gt;() {
+     *     public void query(BookmarkLinkCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<BookmarkLinkCB> unionQuery) {
+        final BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final BookmarkLinkCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;BookmarkLinkCB&gt;() {
+     *     public void query(BookmarkLinkCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<BookmarkLinkCB> unionQuery) {
+        final BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final BookmarkLinkCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<BookmarkLinkCB>
+     *             unionQuery).
+     */
+    public void union(BookmarkLinkCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<BookmarkLinkCB>
+     *             unionQuery).
+     */
+    public void unionAll(BookmarkLinkCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    protected BookmarkCategoryNss _nssBookmarkCategory;
+
+    public BookmarkCategoryNss getNssBookmarkCategory() {
+        if (_nssBookmarkCategory == null) {
+            _nssBookmarkCategory = new BookmarkCategoryNss(null);
+        }
+        return _nssBookmarkCategory;
+    }
+
+    public BookmarkCategoryNss setupSelect_BookmarkCategory() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryBookmarkCategory();
+            }
+        });
+        if (_nssBookmarkCategory == null
+                || !_nssBookmarkCategory.hasConditionQuery()) {
+            _nssBookmarkCategory = new BookmarkCategoryNss(query()
+                    .queryBookmarkCategory());
+        }
+        return _nssBookmarkCategory;
+    }
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<BookmarkLinkCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public BookmarkLinkCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends
+            AbstractSpecification<BookmarkLinkCQ> {
+        protected SpQyCall<BookmarkLinkCQ> _myQyCall;
+
+        protected BookmarkCategoryCB.Specification _bookmarkCategory;
+
+        public Specification(ConditionBean baseCB,
+                SpQyCall<BookmarkLinkCQ> qyCall, boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnId() {
+            doColumn("ID");
+        }
+
+        public void columnName() {
+            doColumn("NAME");
+        }
+
+        public void columnMemo() {
+            doColumn("MEMO");
+        }
+
+        public void columnUrl() {
+            doColumn("URL");
+        }
+
+        public void columnType() {
+            doColumn("TYPE");
+        }
+
+        public void columnSortOrder() {
+            doColumn("SORT_ORDER");
+        }
+
+        public void columnCategoryId() {
+            doColumn("CATEGORY_ID");
+        }
+
+        public void columnCreatedTime() {
+            doColumn("CREATED_TIME");
+        }
+
+        public void columnCreatedBy() {
+            doColumn("CREATED_BY");
+        }
+
+        public void columnUpdatedTime() {
+            doColumn("UPDATED_TIME");
+        }
+
+        public void columnUpdatedBy() {
+            doColumn("UPDATED_BY");
+        }
+
+        public void columnDeletedTime() {
+            doColumn("DELETED_TIME");
+        }
+
+        public void columnDeletedBy() {
+            doColumn("DELETED_BY");
+        }
+
+        public void columnVersionno() {
+            doColumn("VERSIONNO");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnId();// PK
+            if (_myQyCall.qy().hasConditionQueryBookmarkCategory()) {
+                columnCategoryId();// FK
+            }
+        }
+
+        protected String getTableDbName() {
+            return "BOOKMARK_LINK";
+        }
+
+        public BookmarkCategoryCB.Specification specifyBookmarkCategory() {
+            assertForeign("bookmarkCategory");
+            if (_bookmarkCategory == null) {
+                _bookmarkCategory = new BookmarkCategoryCB.Specification(
+                        _baseCB, new SpQyCall<BookmarkCategoryCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall
+                                                .qy()
+                                                .hasConditionQueryBookmarkCategory();
+                            }
+
+                            public BookmarkCategoryCQ qy() {
+                                return _myQyCall.qy().queryBookmarkCategory();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _bookmarkCategory;
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return BookmarkLinkCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkLinkCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsBookmarkLinkCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsCategoryCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsCategoryCB.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsCategoryCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,271 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.bs;
-
-import java.util.Map;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-
-/**
- * The base condition-bean of CATEGORY.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class BsCategoryCB extends AbstractConditionBean {
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected CategoryCQ _conditionQuery;
-
-    //==========================================================================
-    // =========
-    // Table Name
-    // ==========
-    public String getTableDbName() {
-        return "CATEGORY";
-    }
-
-    public String getTableSqlName() {
-        return "CATEGORY";
-    }
-
-    //==========================================================================
-    // =========
-    // PrimaryKey Map
-    // ==============
-    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
-        assertPrimaryKeyMap(primaryKeyMap);
-        {
-            Object obj = primaryKeyMap.get("ID");
-            if (obj instanceof Integer) {
-                query().setId_Equal((Integer) obj);
-            } else {
-                query().setId_Equal(new Integer((String) obj));
-            }
-        }
-
-    }
-
-    //==========================================================================
-    // =========
-    // OrderBy Setting
-    // ===============
-    public ConditionBean addOrderBy_PK_Asc() {
-        query().addOrderBy_Id_Asc();
-        return this;
-    }
-
-    public ConditionBean addOrderBy_PK_Desc() {
-        query().addOrderBy_Id_Desc();
-        return this;
-    }
-
-    //==========================================================================
-    // =========
-    // Query
-    // =====
-    public CategoryCQ query() {
-        return getConditionQuery();
-    }
-
-    public CategoryCQ getConditionQuery() {
-        if (_conditionQuery == null) {
-            _conditionQuery = new CategoryCQ(null, getSqlClause(),
-                    getSqlClause().getLocalTableAliasName(), 0);
-        }
-        return _conditionQuery;
-    }
-
-    public ConditionQuery getConditionQueryAsInterface() {
-        return getConditionQuery();
-    }
-
-    //==========================================================================
-    // =========
-    // Union
-    // =====
-    /**
-     * Set up 'union'.
-     * 
-     * <pre>
-     * cb.query().union(new UnionQuery&lt;CategoryCB&gt;() {
-     *     public void query(CategoryCB unionCB) {
-     *         unionCB.query().setXxx...
-     *     }
-     * });
-     * </pre>
-     * 
-     * @param unionQuery The query of 'union'. (NotNull)
-     */
-    public void union(UnionQuery<CategoryCB> unionQuery) {
-        final CategoryCB cb = new CategoryCB();
-        cb.xsetupForUnion();
-        unionQuery.query(cb);
-        final CategoryCQ cq = cb.query();
-        query().xsetUnionQuery(cq);
-    }
-
-    /**
-     * Set up 'union all'.
-     * 
-     * <pre>
-     * cb.query().unionAll(new UnionQuery&lt;CategoryCB&gt;() {
-     *     public void query(CategoryCB unionCB) {
-     *         unionCB.query().setXxx...
-     *     }
-     * });
-     * </pre>
-     * 
-     * @param unionQuery The query of 'union'. (NotNull)
-     */
-    public void unionAll(UnionQuery<CategoryCB> unionQuery) {
-        final CategoryCB cb = new CategoryCB();
-        cb.xsetupForUnion();
-        unionQuery.query(cb);
-        final CategoryCQ cq = cb.query();
-        query().xsetUnionAllQuery(cq);
-    }
-
-    /**
-     * @param unionQuery The query of 'union'. (NotNull)
-     * @deprecated Sorry! Please use union(UnionQuery<CategoryCB> unionQuery).
-     */
-    public void union(CategoryCQ unionQuery) {
-        query().xsetUnionQuery(unionQuery);
-    }
-
-    /**
-     * @param unionQuery The query of 'union'. (NotNull)
-     * @deprecated Sorry! Please use unionAll(UnionQuery<CategoryCB>
-     *             unionQuery).
-     */
-    public void unionAll(CategoryCQ unionQuery) {
-        query().xsetUnionAllQuery(unionQuery);
-    }
-
-    public boolean hasUnionQueryOrUnionAllQuery() {
-        return query().hasUnionQueryOrUnionAllQuery();
-    }
-
-    //==========================================================================
-    // =========
-    // Setup Select
-    // ============
-
-    // [DBFlute-0.7.4]
-    //==========================================================================
-    // =========
-    // Specify
-    // =======
-    protected Specification _specification;
-
-    public Specification specify() {
-        if (_specification == null) {
-            _specification = new Specification(this,
-                    new SpQyCall<CategoryCQ>() {
-                        public boolean has() {
-                            return true;
-                        }
-
-                        public CategoryCQ qy() {
-                            return query();
-                        }
-                    }, _forDeriveReferrer);
-        }
-        return _specification;
-    }
-
-    public static class Specification extends AbstractSpecification<CategoryCQ> {
-        protected SpQyCall<CategoryCQ> _myQyCall;
-
-        public Specification(ConditionBean baseCB, SpQyCall<CategoryCQ> qyCall,
-                boolean forDeriveReferrer) {
-            super(baseCB, qyCall, forDeriveReferrer);
-            _myQyCall = qyCall;
-        }
-
-        public void columnId() {
-            doColumn("ID");
-        }
-
-        public void columnName() {
-            doColumn("NAME");
-        }
-
-        public void columnMemo() {
-            doColumn("MEMO");
-        }
-
-        public void columnSortOrder() {
-            doColumn("SORT_ORDER");
-        }
-
-        public void columnCreatedTime() {
-            doColumn("CREATED_TIME");
-        }
-
-        public void columnCreatedBy() {
-            doColumn("CREATED_BY");
-        }
-
-        public void columnUpdatedTime() {
-            doColumn("UPDATED_TIME");
-        }
-
-        public void columnUpdatedBy() {
-            doColumn("UPDATED_BY");
-        }
-
-        public void columnDeletedTime() {
-            doColumn("DELETED_TIME");
-        }
-
-        public void columnDeletedBy() {
-            doColumn("DELETED_BY");
-        }
-
-        public void columnVersionno() {
-            doColumn("VERSIONNO");
-        }
-
-        protected void doSpecifyRequiredColumn() {
-            columnId();// PK
-        }
-
-        protected String getTableDbName() {
-            return "CATEGORY";
-        }
-
-        public RAFunction<LinkCB, CategoryCQ> derivedLinkList() {
-            return new RAFunction<LinkCB, CategoryCQ>(_baseCB, _myQyCall.qy(),
-                    new RAQSetupper<LinkCB, CategoryCQ>() {
-                        public void setup(String function,
-                                SubQuery<LinkCB> subQuery, CategoryCQ cq,
-                                String aliasName) {
-                            cq.xderiveLinkList(function, subQuery, aliasName);
-                        }
-                    });
-        }
-    }
-
-    // Very Internal (for Suppressing Warn about 'Not Use Import')
-    protected String getConditionBeanClassNameInternally() {
-        return CategoryCB.class.getName();
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return CategoryCQ.class.getName();
-    }
-
-    protected String getSubQueryClassNameInternally() {
-        return SubQuery.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupInfoCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupInfoCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupInfoCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,295 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+
+/**
+ * The base condition-bean of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsGroupInfoCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected GroupInfoCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "GROUP_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("GROUP_ID");
+            if (obj instanceof String) {
+                query().setGroupId_Equal((String) obj);
+            } else {
+                checkTypeString(obj, "groupId", "String");
+                query().setGroupId_Equal((String) obj);
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_GroupId_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_GroupId_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public GroupInfoCQ query() {
+        return getConditionQuery();
+    }
+
+    public GroupInfoCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new GroupInfoCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;GroupInfoCB&gt;() {
+     *     public void query(GroupInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<GroupInfoCB> unionQuery) {
+        final GroupInfoCB cb = new GroupInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final GroupInfoCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;GroupInfoCB&gt;() {
+     *     public void query(GroupInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<GroupInfoCB> unionQuery) {
+        final GroupInfoCB cb = new GroupInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final GroupInfoCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<GroupInfoCB> unionQuery).
+     */
+    public void union(GroupInfoCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<GroupInfoCB>
+     *             unionQuery).
+     */
+    public void unionAll(GroupInfoCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<GroupInfoCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public GroupInfoCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends
+            AbstractSpecification<GroupInfoCQ> {
+        protected SpQyCall<GroupInfoCQ> _myQyCall;
+
+        public Specification(ConditionBean baseCB,
+                SpQyCall<GroupInfoCQ> qyCall, boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnGroupId() {
+            doColumn("GROUP_ID");
+        }
+
+        public void columnName() {
+            doColumn("NAME");
+        }
+
+        public void columnDescription() {
+            doColumn("DESCRIPTION");
+        }
+
+        public void columnEmail() {
+            doColumn("EMAIL");
+        }
+
+        public void columnUrl() {
+            doColumn("URL");
+        }
+
+        public void columnTelephone() {
+            doColumn("TELEPHONE");
+        }
+
+        public void columnCreatedTime() {
+            doColumn("CREATED_TIME");
+        }
+
+        public void columnCreatedBy() {
+            doColumn("CREATED_BY");
+        }
+
+        public void columnUpdatedTime() {
+            doColumn("UPDATED_TIME");
+        }
+
+        public void columnUpdatedBy() {
+            doColumn("UPDATED_BY");
+        }
+
+        public void columnDeletedTime() {
+            doColumn("DELETED_TIME");
+        }
+
+        public void columnDeletedBy() {
+            doColumn("DELETED_BY");
+        }
+
+        public void columnVersionno() {
+            doColumn("VERSIONNO");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnGroupId();// PK
+        }
+
+        protected String getTableDbName() {
+            return "GROUP_INFO";
+        }
+
+        public RAFunction<GroupMappingCB, GroupInfoCQ> derivedGroupMappingList() {
+            return new RAFunction<GroupMappingCB, GroupInfoCQ>(_baseCB,
+                    _myQyCall.qy(),
+                    new RAQSetupper<GroupMappingCB, GroupInfoCQ>() {
+                        public void setup(String function,
+                                SubQuery<GroupMappingCB> subQuery,
+                                GroupInfoCQ cq, String aliasName) {
+                            cq.xderiveGroupMappingList(function, subQuery,
+                                    aliasName);
+                        }
+                    });
+        }
+
+        public RAFunction<UserInfoCB, GroupInfoCQ> derivedUserInfoList() {
+            return new RAFunction<UserInfoCB, GroupInfoCQ>(_baseCB, _myQyCall
+                    .qy(), new RAQSetupper<UserInfoCB, GroupInfoCQ>() {
+                public void setup(String function,
+                        SubQuery<UserInfoCB> subQuery, GroupInfoCQ cq,
+                        String aliasName) {
+                    cq.xderiveUserInfoList(function, subQuery, aliasName);
+                }
+            });
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return GroupInfoCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupInfoCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupMappingCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupMappingCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupMappingCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,325 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.nss.GroupInfoNss;
+import jp.sf.pal.bookmark.db.cbean.nss.UserInfoNss;
+
+/**
+ * The base condition-bean of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsGroupMappingCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected GroupMappingCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_MAPPING";
+    }
+
+    public String getTableSqlName() {
+        return "GROUP_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("ID");
+            if (obj instanceof Integer) {
+                query().setId_Equal((Integer) obj);
+            } else {
+                query().setId_Equal(new Integer((String) obj));
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_Id_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_Id_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public GroupMappingCQ query() {
+        return getConditionQuery();
+    }
+
+    public GroupMappingCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new GroupMappingCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;GroupMappingCB&gt;() {
+     *     public void query(GroupMappingCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<GroupMappingCB> unionQuery) {
+        final GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final GroupMappingCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;GroupMappingCB&gt;() {
+     *     public void query(GroupMappingCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<GroupMappingCB> unionQuery) {
+        final GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final GroupMappingCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<GroupMappingCB>
+     *             unionQuery).
+     */
+    public void union(GroupMappingCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<GroupMappingCB>
+     *             unionQuery).
+     */
+    public void unionAll(GroupMappingCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    protected GroupInfoNss _nssGroupInfo;
+
+    public GroupInfoNss getNssGroupInfo() {
+        if (_nssGroupInfo == null) {
+            _nssGroupInfo = new GroupInfoNss(null);
+        }
+        return _nssGroupInfo;
+    }
+
+    public GroupInfoNss setupSelect_GroupInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryGroupInfo();
+            }
+        });
+        if (_nssGroupInfo == null || !_nssGroupInfo.hasConditionQuery()) {
+            _nssGroupInfo = new GroupInfoNss(query().queryGroupInfo());
+        }
+        return _nssGroupInfo;
+    }
+
+    protected UserInfoNss _nssUserInfo;
+
+    public UserInfoNss getNssUserInfo() {
+        if (_nssUserInfo == null) {
+            _nssUserInfo = new UserInfoNss(null);
+        }
+        return _nssUserInfo;
+    }
+
+    public UserInfoNss setupSelect_UserInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryUserInfo();
+            }
+        });
+        if (_nssUserInfo == null || !_nssUserInfo.hasConditionQuery()) {
+            _nssUserInfo = new UserInfoNss(query().queryUserInfo());
+        }
+        return _nssUserInfo;
+    }
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<GroupMappingCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public GroupMappingCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends
+            AbstractSpecification<GroupMappingCQ> {
+        protected SpQyCall<GroupMappingCQ> _myQyCall;
+
+        protected GroupInfoCB.Specification _groupInfo;
+
+        protected UserInfoCB.Specification _userInfo;
+
+        public Specification(ConditionBean baseCB,
+                SpQyCall<GroupMappingCQ> qyCall, boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnId() {
+            doColumn("ID");
+        }
+
+        public void columnUserId() {
+            doColumn("USER_ID");
+        }
+
+        public void columnGroupId() {
+            doColumn("GROUP_ID");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnId();// PK
+            if (_myQyCall.qy().hasConditionQueryGroupInfo()) {
+                columnGroupId();// FK
+            }
+            if (_myQyCall.qy().hasConditionQueryUserInfo()) {
+                columnUserId();// FK
+            }
+        }
+
+        protected String getTableDbName() {
+            return "GROUP_MAPPING";
+        }
+
+        public GroupInfoCB.Specification specifyGroupInfo() {
+            assertForeign("groupInfo");
+            if (_groupInfo == null) {
+                _groupInfo = new GroupInfoCB.Specification(_baseCB,
+                        new SpQyCall<GroupInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall.qy()
+                                                .hasConditionQueryGroupInfo();
+                            }
+
+                            public GroupInfoCQ qy() {
+                                return _myQyCall.qy().queryGroupInfo();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _groupInfo;
+        }
+
+        public UserInfoCB.Specification specifyUserInfo() {
+            assertForeign("userInfo");
+            if (_userInfo == null) {
+                _userInfo = new UserInfoCB.Specification(_baseCB,
+                        new SpQyCall<UserInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall.qy()
+                                                .hasConditionQueryUserInfo();
+                            }
+
+                            public UserInfoCQ qy() {
+                                return _myQyCall.qy().queryUserInfo();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _userInfo;
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return GroupMappingCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupMappingCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsGroupMappingCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsLinkCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsLinkCB.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsLinkCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,317 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.bs;
-
-import java.util.Map;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-import jp.sf.pal.bookmark.db.cbean.nss.CategoryNss;
-
-/**
- * The base condition-bean of LINK.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class BsLinkCB extends AbstractConditionBean {
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected LinkCQ _conditionQuery;
-
-    //==========================================================================
-    // =========
-    // Table Name
-    // ==========
-    public String getTableDbName() {
-        return "LINK";
-    }
-
-    public String getTableSqlName() {
-        return "LINK";
-    }
-
-    //==========================================================================
-    // =========
-    // PrimaryKey Map
-    // ==============
-    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
-        assertPrimaryKeyMap(primaryKeyMap);
-        {
-            Object obj = primaryKeyMap.get("ID");
-            if (obj instanceof Long) {
-                query().setId_Equal((Long) obj);
-            } else {
-                query().setId_Equal(new Long((String) obj));
-            }
-        }
-
-    }
-
-    //==========================================================================
-    // =========
-    // OrderBy Setting
-    // ===============
-    public ConditionBean addOrderBy_PK_Asc() {
-        query().addOrderBy_Id_Asc();
-        return this;
-    }
-
-    public ConditionBean addOrderBy_PK_Desc() {
-        query().addOrderBy_Id_Desc();
-        return this;
-    }
-
-    //==========================================================================
-    // =========
-    // Query
-    // =====
-    public LinkCQ query() {
-        return getConditionQuery();
-    }
-
-    public LinkCQ getConditionQuery() {
-        if (_conditionQuery == null) {
-            _conditionQuery = new LinkCQ(null, getSqlClause(), getSqlClause()
-                    .getLocalTableAliasName(), 0);
-        }
-        return _conditionQuery;
-    }
-
-    public ConditionQuery getConditionQueryAsInterface() {
-        return getConditionQuery();
-    }
-
-    //==========================================================================
-    // =========
-    // Union
-    // =====
-    /**
-     * Set up 'union'.
-     * 
-     * <pre>
-     * cb.query().union(new UnionQuery&lt;LinkCB&gt;() {
-     *     public void query(LinkCB unionCB) {
-     *         unionCB.query().setXxx...
-     *     }
-     * });
-     * </pre>
-     * 
-     * @param unionQuery The query of 'union'. (NotNull)
-     */
-    public void union(UnionQuery<LinkCB> unionQuery) {
-        final LinkCB cb = new LinkCB();
-        cb.xsetupForUnion();
-        unionQuery.query(cb);
-        final LinkCQ cq = cb.query();
-        query().xsetUnionQuery(cq);
-    }
-
-    /**
-     * Set up 'union all'.
-     * 
-     * <pre>
-     * cb.query().unionAll(new UnionQuery&lt;LinkCB&gt;() {
-     *     public void query(LinkCB unionCB) {
-     *         unionCB.query().setXxx...
-     *     }
-     * });
-     * </pre>
-     * 
-     * @param unionQuery The query of 'union'. (NotNull)
-     */
-    public void unionAll(UnionQuery<LinkCB> unionQuery) {
-        final LinkCB cb = new LinkCB();
-        cb.xsetupForUnion();
-        unionQuery.query(cb);
-        final LinkCQ cq = cb.query();
-        query().xsetUnionAllQuery(cq);
-    }
-
-    /**
-     * @param unionQuery The query of 'union'. (NotNull)
-     * @deprecated Sorry! Please use union(UnionQuery<LinkCB> unionQuery).
-     */
-    public void union(LinkCQ unionQuery) {
-        query().xsetUnionQuery(unionQuery);
-    }
-
-    /**
-     * @param unionQuery The query of 'union'. (NotNull)
-     * @deprecated Sorry! Please use unionAll(UnionQuery<LinkCB> unionQuery).
-     */
-    public void unionAll(LinkCQ unionQuery) {
-        query().xsetUnionAllQuery(unionQuery);
-    }
-
-    public boolean hasUnionQueryOrUnionAllQuery() {
-        return query().hasUnionQueryOrUnionAllQuery();
-    }
-
-    //==========================================================================
-    // =========
-    // Setup Select
-    // ============
-
-    protected CategoryNss _nssCategory;
-
-    public CategoryNss getNssCategory() {
-        if (_nssCategory == null) {
-            _nssCategory = new CategoryNss(null);
-        }
-        return _nssCategory;
-    }
-
-    public CategoryNss setupSelect_Category() {
-        doSetupSelect(new SsCall() {
-            public ConditionQuery qf() {
-                return query().queryCategory();
-            }
-        });
-        if (_nssCategory == null || !_nssCategory.hasConditionQuery()) {
-            _nssCategory = new CategoryNss(query().queryCategory());
-        }
-        return _nssCategory;
-    }
-
-    // [DBFlute-0.7.4]
-    //==========================================================================
-    // =========
-    // Specify
-    // =======
-    protected Specification _specification;
-
-    public Specification specify() {
-        if (_specification == null) {
-            _specification = new Specification(this, new SpQyCall<LinkCQ>() {
-                public boolean has() {
-                    return true;
-                }
-
-                public LinkCQ qy() {
-                    return query();
-                }
-            }, _forDeriveReferrer);
-        }
-        return _specification;
-    }
-
-    public static class Specification extends AbstractSpecification<LinkCQ> {
-        protected SpQyCall<LinkCQ> _myQyCall;
-
-        protected CategoryCB.Specification _category;
-
-        public Specification(ConditionBean baseCB, SpQyCall<LinkCQ> qyCall,
-                boolean forDeriveReferrer) {
-            super(baseCB, qyCall, forDeriveReferrer);
-            _myQyCall = qyCall;
-        }
-
-        public void columnId() {
-            doColumn("ID");
-        }
-
-        public void columnName() {
-            doColumn("NAME");
-        }
-
-        public void columnMemo() {
-            doColumn("MEMO");
-        }
-
-        public void columnUrl() {
-            doColumn("URL");
-        }
-
-        public void columnType() {
-            doColumn("TYPE");
-        }
-
-        public void columnSortOrder() {
-            doColumn("SORT_ORDER");
-        }
-
-        public void columnCategoryId() {
-            doColumn("CATEGORY_ID");
-        }
-
-        public void columnCreatedTime() {
-            doColumn("CREATED_TIME");
-        }
-
-        public void columnCreatedBy() {
-            doColumn("CREATED_BY");
-        }
-
-        public void columnUpdatedTime() {
-            doColumn("UPDATED_TIME");
-        }
-
-        public void columnUpdatedBy() {
-            doColumn("UPDATED_BY");
-        }
-
-        public void columnDeletedTime() {
-            doColumn("DELETED_TIME");
-        }
-
-        public void columnDeletedBy() {
-            doColumn("DELETED_BY");
-        }
-
-        public void columnVersionno() {
-            doColumn("VERSIONNO");
-        }
-
-        protected void doSpecifyRequiredColumn() {
-            columnId();// PK
-            if (_myQyCall.qy().hasConditionQueryCategory()) {
-                columnCategoryId();// FK
-            }
-        }
-
-        protected String getTableDbName() {
-            return "LINK";
-        }
-
-        public CategoryCB.Specification specifyCategory() {
-            assertForeign("category");
-            if (_category == null) {
-                _category = new CategoryCB.Specification(_baseCB,
-                        new SpQyCall<CategoryCQ>() {
-                            public boolean has() {
-                                return _myQyCall.has()
-                                        && _myQyCall.qy()
-                                                .hasConditionQueryCategory();
-                            }
-
-                            public CategoryCQ qy() {
-                                return _myQyCall.qy().queryCategory();
-                            }
-                        }, _forDeriveReferrer);
-            }
-            return _category;
-        }
-    }
-
-    // Very Internal (for Suppressing Warn about 'Not Use Import')
-    protected String getConditionBeanClassNameInternally() {
-        return LinkCB.class.getName();
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return LinkCQ.class.getName();
-    }
-
-    protected String getSubQueryClassNameInternally() {
-        return SubQuery.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleInfoCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleInfoCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleInfoCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,292 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+
+/**
+ * The base condition-bean of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsRoleInfoCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected RoleInfoCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "ROLE_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("ROLE_ID");
+            if (obj instanceof String) {
+                query().setRoleId_Equal((String) obj);
+            } else {
+                checkTypeString(obj, "roleId", "String");
+                query().setRoleId_Equal((String) obj);
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_RoleId_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_RoleId_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public RoleInfoCQ query() {
+        return getConditionQuery();
+    }
+
+    public RoleInfoCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new RoleInfoCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;RoleInfoCB&gt;() {
+     *     public void query(RoleInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<RoleInfoCB> unionQuery) {
+        final RoleInfoCB cb = new RoleInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final RoleInfoCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;RoleInfoCB&gt;() {
+     *     public void query(RoleInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<RoleInfoCB> unionQuery) {
+        final RoleInfoCB cb = new RoleInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final RoleInfoCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<RoleInfoCB> unionQuery).
+     */
+    public void union(RoleInfoCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<RoleInfoCB>
+     *             unionQuery).
+     */
+    public void unionAll(RoleInfoCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<RoleInfoCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public RoleInfoCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends AbstractSpecification<RoleInfoCQ> {
+        protected SpQyCall<RoleInfoCQ> _myQyCall;
+
+        public Specification(ConditionBean baseCB, SpQyCall<RoleInfoCQ> qyCall,
+                boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnRoleId() {
+            doColumn("ROLE_ID");
+        }
+
+        public void columnName() {
+            doColumn("NAME");
+        }
+
+        public void columnDescription() {
+            doColumn("DESCRIPTION");
+        }
+
+        public void columnEmail() {
+            doColumn("EMAIL");
+        }
+
+        public void columnUrl() {
+            doColumn("URL");
+        }
+
+        public void columnTelephone() {
+            doColumn("TELEPHONE");
+        }
+
+        public void columnCreatedTime() {
+            doColumn("CREATED_TIME");
+        }
+
+        public void columnCreatedBy() {
+            doColumn("CREATED_BY");
+        }
+
+        public void columnUpdatedTime() {
+            doColumn("UPDATED_TIME");
+        }
+
+        public void columnUpdatedBy() {
+            doColumn("UPDATED_BY");
+        }
+
+        public void columnDeletedTime() {
+            doColumn("DELETED_TIME");
+        }
+
+        public void columnDeletedBy() {
+            doColumn("DELETED_BY");
+        }
+
+        public void columnVersionno() {
+            doColumn("VERSIONNO");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnRoleId();// PK
+        }
+
+        protected String getTableDbName() {
+            return "ROLE_INFO";
+        }
+
+        public RAFunction<RoleMappingCB, RoleInfoCQ> derivedRoleMappingList() {
+            return new RAFunction<RoleMappingCB, RoleInfoCQ>(_baseCB, _myQyCall
+                    .qy(), new RAQSetupper<RoleMappingCB, RoleInfoCQ>() {
+                public void setup(String function,
+                        SubQuery<RoleMappingCB> subQuery, RoleInfoCQ cq,
+                        String aliasName) {
+                    cq.xderiveRoleMappingList(function, subQuery, aliasName);
+                }
+            });
+        }
+
+        public RAFunction<UserInfoCB, RoleInfoCQ> derivedUserInfoList() {
+            return new RAFunction<UserInfoCB, RoleInfoCQ>(_baseCB, _myQyCall
+                    .qy(), new RAQSetupper<UserInfoCB, RoleInfoCQ>() {
+                public void setup(String function,
+                        SubQuery<UserInfoCB> subQuery, RoleInfoCQ cq,
+                        String aliasName) {
+                    cq.xderiveUserInfoList(function, subQuery, aliasName);
+                }
+            });
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return RoleInfoCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleInfoCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleMappingCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleMappingCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleMappingCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,325 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.nss.RoleInfoNss;
+import jp.sf.pal.bookmark.db.cbean.nss.UserInfoNss;
+
+/**
+ * The base condition-bean of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsRoleMappingCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected RoleMappingCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_MAPPING";
+    }
+
+    public String getTableSqlName() {
+        return "ROLE_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("ID");
+            if (obj instanceof Integer) {
+                query().setId_Equal((Integer) obj);
+            } else {
+                query().setId_Equal(new Integer((String) obj));
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_Id_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_Id_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public RoleMappingCQ query() {
+        return getConditionQuery();
+    }
+
+    public RoleMappingCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new RoleMappingCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;RoleMappingCB&gt;() {
+     *     public void query(RoleMappingCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<RoleMappingCB> unionQuery) {
+        final RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final RoleMappingCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;RoleMappingCB&gt;() {
+     *     public void query(RoleMappingCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<RoleMappingCB> unionQuery) {
+        final RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final RoleMappingCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<RoleMappingCB>
+     *             unionQuery).
+     */
+    public void union(RoleMappingCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<RoleMappingCB>
+     *             unionQuery).
+     */
+    public void unionAll(RoleMappingCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    protected RoleInfoNss _nssRoleInfo;
+
+    public RoleInfoNss getNssRoleInfo() {
+        if (_nssRoleInfo == null) {
+            _nssRoleInfo = new RoleInfoNss(null);
+        }
+        return _nssRoleInfo;
+    }
+
+    public RoleInfoNss setupSelect_RoleInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryRoleInfo();
+            }
+        });
+        if (_nssRoleInfo == null || !_nssRoleInfo.hasConditionQuery()) {
+            _nssRoleInfo = new RoleInfoNss(query().queryRoleInfo());
+        }
+        return _nssRoleInfo;
+    }
+
+    protected UserInfoNss _nssUserInfo;
+
+    public UserInfoNss getNssUserInfo() {
+        if (_nssUserInfo == null) {
+            _nssUserInfo = new UserInfoNss(null);
+        }
+        return _nssUserInfo;
+    }
+
+    public UserInfoNss setupSelect_UserInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryUserInfo();
+            }
+        });
+        if (_nssUserInfo == null || !_nssUserInfo.hasConditionQuery()) {
+            _nssUserInfo = new UserInfoNss(query().queryUserInfo());
+        }
+        return _nssUserInfo;
+    }
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<RoleMappingCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public RoleMappingCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends
+            AbstractSpecification<RoleMappingCQ> {
+        protected SpQyCall<RoleMappingCQ> _myQyCall;
+
+        protected RoleInfoCB.Specification _roleInfo;
+
+        protected UserInfoCB.Specification _userInfo;
+
+        public Specification(ConditionBean baseCB,
+                SpQyCall<RoleMappingCQ> qyCall, boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnId() {
+            doColumn("ID");
+        }
+
+        public void columnUserId() {
+            doColumn("USER_ID");
+        }
+
+        public void columnRoleId() {
+            doColumn("ROLE_ID");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnId();// PK
+            if (_myQyCall.qy().hasConditionQueryRoleInfo()) {
+                columnRoleId();// FK
+            }
+            if (_myQyCall.qy().hasConditionQueryUserInfo()) {
+                columnUserId();// FK
+            }
+        }
+
+        protected String getTableDbName() {
+            return "ROLE_MAPPING";
+        }
+
+        public RoleInfoCB.Specification specifyRoleInfo() {
+            assertForeign("roleInfo");
+            if (_roleInfo == null) {
+                _roleInfo = new RoleInfoCB.Specification(_baseCB,
+                        new SpQyCall<RoleInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall.qy()
+                                                .hasConditionQueryRoleInfo();
+                            }
+
+                            public RoleInfoCQ qy() {
+                                return _myQyCall.qy().queryRoleInfo();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _roleInfo;
+        }
+
+        public UserInfoCB.Specification specifyUserInfo() {
+            assertForeign("userInfo");
+            if (_userInfo == null) {
+                _userInfo = new UserInfoCB.Specification(_baseCB,
+                        new SpQyCall<UserInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall.qy()
+                                                .hasConditionQueryUserInfo();
+                            }
+
+                            public UserInfoCQ qy() {
+                                return _myQyCall.qy().queryUserInfo();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _userInfo;
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return RoleMappingCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleMappingCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsRoleMappingCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsUserInfoCB.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsUserInfoCB.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsUserInfoCB.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,410 @@
+package jp.sf.pal.bookmark.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.nss.GroupInfoNss;
+import jp.sf.pal.bookmark.db.cbean.nss.RoleInfoNss;
+
+/**
+ * The base condition-bean of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsUserInfoCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected UserInfoCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "USER_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "USER_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("USER_ID");
+            if (obj instanceof String) {
+                query().setUserId_Equal((String) obj);
+            } else {
+                checkTypeString(obj, "userId", "String");
+                query().setUserId_Equal((String) obj);
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_UserId_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_UserId_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public UserInfoCQ query() {
+        return getConditionQuery();
+    }
+
+    public UserInfoCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new UserInfoCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;UserInfoCB&gt;() {
+     *     public void query(UserInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<UserInfoCB> unionQuery) {
+        final UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final UserInfoCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;UserInfoCB&gt;() {
+     *     public void query(UserInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<UserInfoCB> unionQuery) {
+        final UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final UserInfoCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<UserInfoCB> unionQuery).
+     */
+    public void union(UserInfoCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<UserInfoCB>
+     *             unionQuery).
+     */
+    public void unionAll(UserInfoCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    protected GroupInfoNss _nssGroupInfo;
+
+    public GroupInfoNss getNssGroupInfo() {
+        if (_nssGroupInfo == null) {
+            _nssGroupInfo = new GroupInfoNss(null);
+        }
+        return _nssGroupInfo;
+    }
+
+    public GroupInfoNss setupSelect_GroupInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryGroupInfo();
+            }
+        });
+        if (_nssGroupInfo == null || !_nssGroupInfo.hasConditionQuery()) {
+            _nssGroupInfo = new GroupInfoNss(query().queryGroupInfo());
+        }
+        return _nssGroupInfo;
+    }
+
+    protected RoleInfoNss _nssRoleInfo;
+
+    public RoleInfoNss getNssRoleInfo() {
+        if (_nssRoleInfo == null) {
+            _nssRoleInfo = new RoleInfoNss(null);
+        }
+        return _nssRoleInfo;
+    }
+
+    public RoleInfoNss setupSelect_RoleInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryRoleInfo();
+            }
+        });
+        if (_nssRoleInfo == null || !_nssRoleInfo.hasConditionQuery()) {
+            _nssRoleInfo = new RoleInfoNss(query().queryRoleInfo());
+        }
+        return _nssRoleInfo;
+    }
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<UserInfoCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public UserInfoCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends AbstractSpecification<UserInfoCQ> {
+        protected SpQyCall<UserInfoCQ> _myQyCall;
+
+        protected GroupInfoCB.Specification _groupInfo;
+
+        protected RoleInfoCB.Specification _roleInfo;
+
+        public Specification(ConditionBean baseCB, SpQyCall<UserInfoCQ> qyCall,
+                boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnUserId() {
+            doColumn("USER_ID");
+        }
+
+        public void columnGivenName() {
+            doColumn("GIVEN_NAME");
+        }
+
+        public void columnFamilyName() {
+            doColumn("FAMILY_NAME");
+        }
+
+        public void columnMiddleName() {
+            doColumn("MIDDLE_NAME");
+        }
+
+        public void columnGivenNameDesc() {
+            doColumn("GIVEN_NAME_DESC");
+        }
+
+        public void columnFamilyNameDesc() {
+            doColumn("FAMILY_NAME_DESC");
+        }
+
+        public void columnEmail() {
+            doColumn("EMAIL");
+        }
+
+        public void columnUrl() {
+            doColumn("URL");
+        }
+
+        public void columnTelephone() {
+            doColumn("TELEPHONE");
+        }
+
+        public void columnRoleId() {
+            doColumn("ROLE_ID");
+        }
+
+        public void columnGroupId() {
+            doColumn("GROUP_ID");
+        }
+
+        public void columnCreatedTime() {
+            doColumn("CREATED_TIME");
+        }
+
+        public void columnCreatedBy() {
+            doColumn("CREATED_BY");
+        }
+
+        public void columnUpdatedTime() {
+            doColumn("UPDATED_TIME");
+        }
+
+        public void columnUpdatedBy() {
+            doColumn("UPDATED_BY");
+        }
+
+        public void columnDeletedTime() {
+            doColumn("DELETED_TIME");
+        }
+
+        public void columnDeletedBy() {
+            doColumn("DELETED_BY");
+        }
+
+        public void columnVersionno() {
+            doColumn("VERSIONNO");
+        }
+
+        protected void doSpecifyRequiredColumn() {
+            columnUserId();// PK
+            if (_myQyCall.qy().hasConditionQueryGroupInfo()) {
+                columnGroupId();// FK
+            }
+            if (_myQyCall.qy().hasConditionQueryRoleInfo()) {
+                columnRoleId();// FK
+            }
+        }
+
+        protected String getTableDbName() {
+            return "USER_INFO";
+        }
+
+        public GroupInfoCB.Specification specifyGroupInfo() {
+            assertForeign("groupInfo");
+            if (_groupInfo == null) {
+                _groupInfo = new GroupInfoCB.Specification(_baseCB,
+                        new SpQyCall<GroupInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall.qy()
+                                                .hasConditionQueryGroupInfo();
+                            }
+
+                            public GroupInfoCQ qy() {
+                                return _myQyCall.qy().queryGroupInfo();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _groupInfo;
+        }
+
+        public RoleInfoCB.Specification specifyRoleInfo() {
+            assertForeign("roleInfo");
+            if (_roleInfo == null) {
+                _roleInfo = new RoleInfoCB.Specification(_baseCB,
+                        new SpQyCall<RoleInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall.qy()
+                                                .hasConditionQueryRoleInfo();
+                            }
+
+                            public RoleInfoCQ qy() {
+                                return _myQyCall.qy().queryRoleInfo();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _roleInfo;
+        }
+
+        public RAFunction<GroupMappingCB, UserInfoCQ> derivedGroupMappingList() {
+            return new RAFunction<GroupMappingCB, UserInfoCQ>(_baseCB,
+                    _myQyCall.qy(),
+                    new RAQSetupper<GroupMappingCB, UserInfoCQ>() {
+                        public void setup(String function,
+                                SubQuery<GroupMappingCB> subQuery,
+                                UserInfoCQ cq, String aliasName) {
+                            cq.xderiveGroupMappingList(function, subQuery,
+                                    aliasName);
+                        }
+                    });
+        }
+
+        public RAFunction<RoleMappingCB, UserInfoCQ> derivedRoleMappingList() {
+            return new RAFunction<RoleMappingCB, UserInfoCQ>(_baseCB, _myQyCall
+                    .qy(), new RAQSetupper<RoleMappingCB, UserInfoCQ>() {
+                public void setup(String function,
+                        SubQuery<RoleMappingCB> subQuery, UserInfoCQ cq,
+                        String aliasName) {
+                    cq.xderiveRoleMappingList(function, subQuery, aliasName);
+                }
+            });
+        }
+    }
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return UserInfoCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return UserInfoCQ.class.getName();
+    }
+
+    protected String getSubQueryClassNameInternally() {
+        return SubQuery.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/bs/BsUserInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkCategoryCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkCategoryCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkCategoryCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsBookmarkCategoryCQ;
+
+/**
+ * The condition-query of BOOKMARK_CATEGORY.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategoryCQ extends BsBookmarkCategoryCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public BookmarkCategoryCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkCategoryCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkLinkCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkLinkCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkLinkCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsBookmarkLinkCQ;
+
+/**
+ * The condition-query of BOOKMARK_LINK.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLinkCQ extends BsBookmarkLinkCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public BookmarkLinkCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/BookmarkLinkCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/CategoryCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/CategoryCQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/CategoryCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,45 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.cq.bs.BsCategoryCQ;
-
-/**
- * The condition-query of CATEGORY.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class CategoryCQ extends BsCategoryCQ {
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    /**
-     * Constructor.
-     * 
-     * @param childQuery Child query as abstract class. (Nullable: If null, this
-     *            is base instance.)
-     * @param sqlClause SQL clause instance. (NotNull)
-     * @param aliasName My alias name. (NotNull)
-     * @param nestLevel Nest level.
-     */
-    public CategoryCQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-    }
-
-    //==========================================================================
-    // =========
-    // Arrange Method
-    // ==============
-    // You can make original arrange query methods here.
-    // public void arranegeXxx() {
-    // ...
-    // }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsGroupInfoCQ;
+
+/**
+ * The condition-query of GROUP_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfoCQ extends BsGroupInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public GroupInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupMappingCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupMappingCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupMappingCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsGroupMappingCQ;
+
+/**
+ * The condition-query of GROUP_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMappingCQ extends BsGroupMappingCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public GroupMappingCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/GroupMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/LinkCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/LinkCQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/LinkCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,45 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.cq.bs.BsLinkCQ;
-
-/**
- * The condition-query of LINK.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class LinkCQ extends BsLinkCQ {
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    /**
-     * Constructor.
-     * 
-     * @param childQuery Child query as abstract class. (Nullable: If null, this
-     *            is base instance.)
-     * @param sqlClause SQL clause instance. (NotNull)
-     * @param aliasName My alias name. (NotNull)
-     * @param nestLevel Nest level.
-     */
-    public LinkCQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-    }
-
-    //==========================================================================
-    // =========
-    // Arrange Method
-    // ==============
-    // You can make original arrange query methods here.
-    // public void arranegeXxx() {
-    // ...
-    // }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsRoleInfoCQ;
+
+/**
+ * The condition-query of ROLE_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfoCQ extends BsRoleInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public RoleInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleMappingCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleMappingCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleMappingCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsRoleMappingCQ;
+
+/**
+ * The condition-query of ROLE_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMappingCQ extends BsRoleMappingCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public RoleMappingCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/RoleMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/UserInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/UserInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/UserInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,45 @@
+package jp.sf.pal.bookmark.db.cbean.cq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsUserInfoCQ;
+
+/**
+ * The condition-query of USER_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfoCQ extends BsUserInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * Constructor.
+     * 
+     * @param childQuery Child query as abstract class. (Nullable: If null, this
+     *            is base instance.)
+     * @param sqlClause SQL clause instance. (NotNull)
+     * @param aliasName My alias name. (NotNull)
+     * @param nestLevel Nest level.
+     */
+    public UserInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Arrange Method
+    // ==============
+    // You can make original arrange query methods here.
+    // public void arranegeXxx() {
+    // ...
+    // }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/UserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkCategoryCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkCategoryCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkCategoryCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,1523 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+
+/**
+ * The abstract condition-query of BOOKMARK_CATEGORY.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsBookmarkCategoryCQ extends
+        AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsBookmarkCategoryCQ(ConditionQuery childQuery,
+            SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    public String getTableSqlName() {
+        return "BOOKMARK_CATEGORY";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : INTEGER}
+     * 
+     * @param id The value of id as equal.
+     */
+    public void setId_Equal(Integer id) {
+        regId(CK_EQ, id);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as notEqual.
+     */
+    public void setId_NotEqual(Integer id) {
+        regId(CK_NE, id);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterThan.
+     */
+    public void setId_GreaterThan(Integer id) {
+        regId(CK_GT, id);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessThan.
+     */
+    public void setId_LessThan(Integer id) {
+        regId(CK_LT, id);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterEqual.
+     */
+    public void setId_GreaterEqual(Integer id) {
+        regId(CK_GE, id);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessEqual.
+     */
+    public void setId_LessEqual(Integer id) {
+        regId(CK_LE, id);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as inScope.
+     */
+    public void setId_InScope(Collection<Integer> idList) {
+        regId(CK_INS, cTL(idList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as notInScope.
+     */
+    public void setId_NotInScope(Collection<Integer> idList) {
+        regId(CK_NINS, cTL(idList));
+    }
+
+    /**
+     * @param bookmarkLinkCBquery Query.
+     * @deprecated Please use inScopeBookmarkLinkList(subQuery) method.
+     */
+    public void setId_InScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ bookmarkLinkCBquery) {
+        String subQueryPropertyName = keepId_InScopeSubQuery_BookmarkLinkList(bookmarkLinkCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(bookmarkLinkCBquery, "ID", "CATEGORY_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeBookmarkLinkList(SubQuery<BookmarkLinkCB> subQuery) {
+        assertObjectNotNull("subQuery<BookmarkLinkCB>", subQuery);
+        BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepId_InScopeSubQuery_BookmarkLinkList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "ID", "CATEGORY_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepId_InScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery);
+
+    public void notInScopeBookmarkLinkList(SubQuery<BookmarkLinkCB> subQuery) {
+        assertObjectNotNull("subQuery<BookmarkLinkCB>", subQuery);
+        BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepId_NotInScopeSubQuery_BookmarkLinkList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "ID", "CATEGORY_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepId_NotInScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery);
+
+    /**
+     * @param bookmarkLinkCBquery Query.
+     * @deprecated Please use existsBookmarkLinkList(subQuery) method.
+     */
+    public void setId_ExistsSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ bookmarkLinkCBquery) {
+        String subQueryPropertyName = keepId_ExistsSubQuery_BookmarkLinkList(bookmarkLinkCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(bookmarkLinkCBquery, "ID", "CATEGORY_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select CATEGORY_ID from BOOKMARK_LINK
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of Id_ExistsSubQuery_BookmarkLinkList for
+     *            'exists'. (NotNull)
+     */
+    public void existsBookmarkLinkList(SubQuery<BookmarkLinkCB> subQuery) {
+        assertObjectNotNull("subQuery<BookmarkLinkCB>", subQuery);
+        BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepId_ExistsSubQuery_BookmarkLinkList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "ID", "CATEGORY_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepId_ExistsSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select CATEGORY_ID from
+     * BOOKMARK_LINK where ...)}
+     * 
+     * @param subQuery The sub-query of Id_NotExistsSubQuery_BookmarkLinkList
+     *            for 'not exists'. (NotNull)
+     */
+    public void notExistsBookmarkLinkList(SubQuery<BookmarkLinkCB> subQuery) {
+        assertObjectNotNull("subQuery<BookmarkLinkCB>", subQuery);
+        BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepId_NotExistsSubQuery_BookmarkLinkList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "ID", "CATEGORY_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepId_NotExistsSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery);
+
+    public void xderiveBookmarkLinkList(String function,
+            SubQuery<BookmarkLinkCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<BookmarkLinkCB>", subQuery);
+        BookmarkLinkCB cb = new BookmarkLinkCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepId_DeriveSubQuery_BookmarkLinkList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "ID", "CATEGORY_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepId_DeriveSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setId_IsNull() {
+        regId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setId_IsNotNull() {
+        regId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    protected void registerInlineId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    abstract protected ConditionValue getCValueId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(100)}
+     * 
+     * @param name The value of name as equal.
+     */
+    public void setName_Equal(String name) {
+        regName(CK_EQ, fRES(name));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as notEqual.
+     */
+    public void setName_NotEqual(String name) {
+        regName(CK_NE, fRES(name));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterThan.
+     */
+    public void setName_GreaterThan(String name) {
+        regName(CK_GT, fRES(name));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessThan.
+     */
+    public void setName_LessThan(String name) {
+        regName(CK_LT, fRES(name));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterEqual.
+     */
+    public void setName_GreaterEqual(String name) {
+        regName(CK_GE, fRES(name));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessEqual.
+     */
+    public void setName_LessEqual(String name) {
+        regName(CK_LE, fRES(name));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as prefixSearch.
+     */
+    public void setName_PrefixSearch(String name) {
+        regName(CK_PS, fRES(name));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param name The value of name as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setName_LikeSearch(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as inScope.
+     */
+    public void setName_InScope(Collection<String> nameList) {
+        regName(CK_INS, cTL(nameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param name The collection of name as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setName_InScope(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as notInScope.
+     */
+    public void setName_NotInScope(Collection<String> nameList) {
+        regName(CK_NINS, cTL(nameList));
+    }
+
+    protected void regName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    protected void registerInlineName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    abstract protected ConditionValue getCValueName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(200)}
+     * 
+     * @param memo The value of memo as equal.
+     */
+    public void setMemo_Equal(String memo) {
+        regMemo(CK_EQ, fRES(memo));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as notEqual.
+     */
+    public void setMemo_NotEqual(String memo) {
+        regMemo(CK_NE, fRES(memo));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as greaterThan.
+     */
+    public void setMemo_GreaterThan(String memo) {
+        regMemo(CK_GT, fRES(memo));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as lessThan.
+     */
+    public void setMemo_LessThan(String memo) {
+        regMemo(CK_LT, fRES(memo));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as greaterEqual.
+     */
+    public void setMemo_GreaterEqual(String memo) {
+        regMemo(CK_GE, fRES(memo));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as lessEqual.
+     */
+    public void setMemo_LessEqual(String memo) {
+        regMemo(CK_LE, fRES(memo));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as prefixSearch.
+     */
+    public void setMemo_PrefixSearch(String memo) {
+        regMemo(CK_PS, fRES(memo));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param memo The value of memo as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setMemo_LikeSearch(
+            String memo,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(memo), getCValueMemo(), "MEMO",
+                "Memo", "memo", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param memoList The collection of memo as inScope.
+     */
+    public void setMemo_InScope(Collection<String> memoList) {
+        regMemo(CK_INS, cTL(memoList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param memo The collection of memo as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setMemo_InScope(
+            String memo,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(memo), getCValueMemo(), "MEMO",
+                "Memo", "memo", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param memoList The collection of memo as notInScope.
+     */
+    public void setMemo_NotInScope(Collection<String> memoList) {
+        regMemo(CK_NINS, cTL(memoList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setMemo_IsNull() {
+        regMemo(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setMemo_IsNotNull() {
+        regMemo(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regMemo(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
+    }
+
+    protected void registerInlineMemo(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
+    }
+
+    abstract protected ConditionValue getCValueMemo();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(1) :
+     * Default=[P]}
+     * 
+     * @param type The value of type as equal.
+     */
+    public void setType_Equal(String type) {
+        regType(CK_EQ, fRES(type));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as notEqual.
+     */
+    public void setType_NotEqual(String type) {
+        regType(CK_NE, fRES(type));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as greaterThan.
+     */
+    public void setType_GreaterThan(String type) {
+        regType(CK_GT, fRES(type));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as lessThan.
+     */
+    public void setType_LessThan(String type) {
+        regType(CK_LT, fRES(type));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as greaterEqual.
+     */
+    public void setType_GreaterEqual(String type) {
+        regType(CK_GE, fRES(type));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as lessEqual.
+     */
+    public void setType_LessEqual(String type) {
+        regType(CK_LE, fRES(type));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as prefixSearch.
+     */
+    public void setType_PrefixSearch(String type) {
+        regType(CK_PS, fRES(type));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param type The value of type as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setType_LikeSearch(
+            String type,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(type), getCValueType(), "TYPE",
+                "Type", "type", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param typeList The collection of type as inScope.
+     */
+    public void setType_InScope(Collection<String> typeList) {
+        regType(CK_INS, cTL(typeList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param type The collection of type as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setType_InScope(
+            String type,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(type), getCValueType(), "TYPE",
+                "Type", "type", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param typeList The collection of type as notInScope.
+     */
+    public void setType_NotInScope(Collection<String> typeList) {
+        regType(CK_NINS, cTL(typeList));
+    }
+
+    protected void regType(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueType(), "TYPE", "Type", "type");
+    }
+
+    protected void registerInlineType(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueType(), "TYPE", "Type", "type");
+    }
+
+    abstract protected ConditionValue getCValueType();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
+     * Default=[0]}
+     * 
+     * @param sortOrder The value of sortOrder as equal.
+     */
+    public void setSortOrder_Equal(Integer sortOrder) {
+        regSortOrder(CK_EQ, sortOrder);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as notEqual.
+     */
+    public void setSortOrder_NotEqual(Integer sortOrder) {
+        regSortOrder(CK_NE, sortOrder);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as greaterThan.
+     */
+    public void setSortOrder_GreaterThan(Integer sortOrder) {
+        regSortOrder(CK_GT, sortOrder);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as lessThan.
+     */
+    public void setSortOrder_LessThan(Integer sortOrder) {
+        regSortOrder(CK_LT, sortOrder);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as greaterEqual.
+     */
+    public void setSortOrder_GreaterEqual(Integer sortOrder) {
+        regSortOrder(CK_GE, sortOrder);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as lessEqual.
+     */
+    public void setSortOrder_LessEqual(Integer sortOrder) {
+        regSortOrder(CK_LE, sortOrder);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param sortOrderList The collection of sortOrder as inScope.
+     */
+    public void setSortOrder_InScope(Collection<Integer> sortOrderList) {
+        regSortOrder(CK_INS, cTL(sortOrderList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param sortOrderList The collection of sortOrder as notInScope.
+     */
+    public void setSortOrder_NotInScope(Collection<Integer> sortOrderList) {
+        regSortOrder(CK_NINS, cTL(sortOrderList));
+    }
+
+    protected void regSortOrder(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
+                "SortOrder", "sortOrder");
+    }
+
+    protected void registerInlineSortOrder(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
+                "SortOrder", "sortOrder");
+    }
+
+    abstract protected ConditionValue getCValueSortOrder();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as inScope.
+     */
+    public void setCreatedBy_InScope(Collection<String> createdByList) {
+        regCreatedBy(CK_INS, cTL(createdByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdBy The collection of createdBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setCreatedBy_InScope(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as inScope.
+     */
+    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_INS, cTL(updatedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedBy The collection of updatedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUpdatedBy_InScope(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as notInScope.
+     */
+    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_NINS, cTL(updatedByList));
+    }
+
+    protected void regUpdatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
+     * 
+     * @param deletedTime The value of deletedTime as equal.
+     */
+    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_EQ, deletedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as notEqual.
+     */
+    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_NE, deletedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterThan.
+     */
+    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GT, deletedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessThan.
+     */
+    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LT, deletedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterEqual.
+     */
+    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GE, deletedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessEqual.
+     */
+    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LE, deletedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setDeletedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueDeletedTime(),
+                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     */
+    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setDeletedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNull() {
+        regDeletedTime(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNotNull() {
+        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    abstract protected ConditionValue getCValueDeletedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of deletedBy as equal.
+     */
+    public void setDeletedBy_Equal(String deletedBy) {
+        regDeletedBy(CK_EQ, fRES(deletedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as notEqual.
+     */
+    public void setDeletedBy_NotEqual(String deletedBy) {
+        regDeletedBy(CK_NE, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterThan.
+     */
+    public void setDeletedBy_GreaterThan(String deletedBy) {
+        regDeletedBy(CK_GT, fRES(deletedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessThan.
+     */
+    public void setDeletedBy_LessThan(String deletedBy) {
+        regDeletedBy(CK_LT, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterEqual.
+     */
+    public void setDeletedBy_GreaterEqual(String deletedBy) {
+        regDeletedBy(CK_GE, fRES(deletedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessEqual.
+     */
+    public void setDeletedBy_LessEqual(String deletedBy) {
+        regDeletedBy(CK_LE, fRES(deletedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as prefixSearch.
+     */
+    public void setDeletedBy_PrefixSearch(String deletedBy) {
+        regDeletedBy(CK_PS, fRES(deletedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDeletedBy_LikeSearch(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as inScope.
+     */
+    public void setDeletedBy_InScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_INS, cTL(deletedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedBy The collection of deletedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDeletedBy_InScope(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
+     * Default=[0]}
+     * 
+     * @param versionno The value of versionno as equal.
+     */
+    public void setVersionno_Equal(Integer versionno) {
+        regVersionno(CK_EQ, versionno);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as notEqual.
+     */
+    public void setVersionno_NotEqual(Integer versionno) {
+        regVersionno(CK_NE, versionno);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterThan.
+     */
+    public void setVersionno_GreaterThan(Integer versionno) {
+        regVersionno(CK_GT, versionno);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessThan.
+     */
+    public void setVersionno_LessThan(Integer versionno) {
+        regVersionno(CK_LT, versionno);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterEqual.
+     */
+    public void setVersionno_GreaterEqual(Integer versionno) {
+        regVersionno(CK_GE, versionno);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessEqual.
+     */
+    public void setVersionno_LessEqual(Integer versionno) {
+        regVersionno(CK_LE, versionno);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as inScope.
+     */
+    public void setVersionno_InScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_INS, cTL(versionnoList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as notInScope.
+     */
+    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_NINS, cTL(versionnoList));
+    }
+
+    protected void regVersionno(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    protected void registerInlineVersionno(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    abstract protected ConditionValue getCValueVersionno();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return BookmarkCategoryCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkCategoryCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkCategoryCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkLinkCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkLinkCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkLinkCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,1657 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+
+/**
+ * The abstract condition-query of BOOKMARK_LINK.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsBookmarkLinkCQ extends AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsBookmarkLinkCQ(ConditionQuery childQuery,
+            SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "BOOKMARK_LINK";
+    }
+
+    public String getTableSqlName() {
+        return "BOOKMARK_LINK";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : BIGINT}
+     * 
+     * @param id The value of id as equal.
+     */
+    public void setId_Equal(Long id) {
+        regId(CK_EQ, id);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as notEqual.
+     */
+    public void setId_NotEqual(Long id) {
+        regId(CK_NE, id);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterThan.
+     */
+    public void setId_GreaterThan(Long id) {
+        regId(CK_GT, id);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessThan.
+     */
+    public void setId_LessThan(Long id) {
+        regId(CK_LT, id);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterEqual.
+     */
+    public void setId_GreaterEqual(Long id) {
+        regId(CK_GE, id);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessEqual.
+     */
+    public void setId_LessEqual(Long id) {
+        regId(CK_LE, id);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as inScope.
+     */
+    public void setId_InScope(Collection<Long> idList) {
+        regId(CK_INS, cTL(idList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as notInScope.
+     */
+    public void setId_NotInScope(Collection<Long> idList) {
+        regId(CK_NINS, cTL(idList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setId_IsNull() {
+        regId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setId_IsNotNull() {
+        regId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    protected void registerInlineId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    abstract protected ConditionValue getCValueId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(100)}
+     * 
+     * @param name The value of name as equal.
+     */
+    public void setName_Equal(String name) {
+        regName(CK_EQ, fRES(name));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as notEqual.
+     */
+    public void setName_NotEqual(String name) {
+        regName(CK_NE, fRES(name));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterThan.
+     */
+    public void setName_GreaterThan(String name) {
+        regName(CK_GT, fRES(name));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessThan.
+     */
+    public void setName_LessThan(String name) {
+        regName(CK_LT, fRES(name));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterEqual.
+     */
+    public void setName_GreaterEqual(String name) {
+        regName(CK_GE, fRES(name));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessEqual.
+     */
+    public void setName_LessEqual(String name) {
+        regName(CK_LE, fRES(name));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as prefixSearch.
+     */
+    public void setName_PrefixSearch(String name) {
+        regName(CK_PS, fRES(name));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param name The value of name as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setName_LikeSearch(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as inScope.
+     */
+    public void setName_InScope(Collection<String> nameList) {
+        regName(CK_INS, cTL(nameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param name The collection of name as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setName_InScope(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as notInScope.
+     */
+    public void setName_NotInScope(Collection<String> nameList) {
+        regName(CK_NINS, cTL(nameList));
+    }
+
+    protected void regName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    protected void registerInlineName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    abstract protected ConditionValue getCValueName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(200)}
+     * 
+     * @param memo The value of memo as equal.
+     */
+    public void setMemo_Equal(String memo) {
+        regMemo(CK_EQ, fRES(memo));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as notEqual.
+     */
+    public void setMemo_NotEqual(String memo) {
+        regMemo(CK_NE, fRES(memo));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as greaterThan.
+     */
+    public void setMemo_GreaterThan(String memo) {
+        regMemo(CK_GT, fRES(memo));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as lessThan.
+     */
+    public void setMemo_LessThan(String memo) {
+        regMemo(CK_LT, fRES(memo));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as greaterEqual.
+     */
+    public void setMemo_GreaterEqual(String memo) {
+        regMemo(CK_GE, fRES(memo));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as lessEqual.
+     */
+    public void setMemo_LessEqual(String memo) {
+        regMemo(CK_LE, fRES(memo));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param memo The value of memo as prefixSearch.
+     */
+    public void setMemo_PrefixSearch(String memo) {
+        regMemo(CK_PS, fRES(memo));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param memo The value of memo as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setMemo_LikeSearch(
+            String memo,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(memo), getCValueMemo(), "MEMO",
+                "Memo", "memo", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param memoList The collection of memo as inScope.
+     */
+    public void setMemo_InScope(Collection<String> memoList) {
+        regMemo(CK_INS, cTL(memoList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param memo The collection of memo as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setMemo_InScope(
+            String memo,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(memo), getCValueMemo(), "MEMO",
+                "Memo", "memo", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param memoList The collection of memo as notInScope.
+     */
+    public void setMemo_NotInScope(Collection<String> memoList) {
+        regMemo(CK_NINS, cTL(memoList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setMemo_IsNull() {
+        regMemo(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setMemo_IsNotNull() {
+        regMemo(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regMemo(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
+    }
+
+    protected void registerInlineMemo(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
+    }
+
+    abstract protected ConditionValue getCValueMemo();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(255)
+     * : Default=[E]}
+     * 
+     * @param url The value of url as equal.
+     */
+    public void setUrl_Equal(String url) {
+        regUrl(CK_EQ, fRES(url));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as notEqual.
+     */
+    public void setUrl_NotEqual(String url) {
+        regUrl(CK_NE, fRES(url));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterThan.
+     */
+    public void setUrl_GreaterThan(String url) {
+        regUrl(CK_GT, fRES(url));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessThan.
+     */
+    public void setUrl_LessThan(String url) {
+        regUrl(CK_LT, fRES(url));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterEqual.
+     */
+    public void setUrl_GreaterEqual(String url) {
+        regUrl(CK_GE, fRES(url));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessEqual.
+     */
+    public void setUrl_LessEqual(String url) {
+        regUrl(CK_LE, fRES(url));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as prefixSearch.
+     */
+    public void setUrl_PrefixSearch(String url) {
+        regUrl(CK_PS, fRES(url));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param url The value of url as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUrl_LikeSearch(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as inScope.
+     */
+    public void setUrl_InScope(Collection<String> urlList) {
+        regUrl(CK_INS, cTL(urlList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param url The collection of url as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUrl_InScope(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as notInScope.
+     */
+    public void setUrl_NotInScope(Collection<String> urlList) {
+        regUrl(CK_NINS, cTL(urlList));
+    }
+
+    protected void regUrl(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    protected void registerInlineUrl(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    abstract protected ConditionValue getCValueUrl();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(1)}
+     * 
+     * @param type The value of type as equal.
+     */
+    public void setType_Equal(String type) {
+        regType(CK_EQ, fRES(type));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as notEqual.
+     */
+    public void setType_NotEqual(String type) {
+        regType(CK_NE, fRES(type));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as greaterThan.
+     */
+    public void setType_GreaterThan(String type) {
+        regType(CK_GT, fRES(type));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as lessThan.
+     */
+    public void setType_LessThan(String type) {
+        regType(CK_LT, fRES(type));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as greaterEqual.
+     */
+    public void setType_GreaterEqual(String type) {
+        regType(CK_GE, fRES(type));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as lessEqual.
+     */
+    public void setType_LessEqual(String type) {
+        regType(CK_LE, fRES(type));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param type The value of type as prefixSearch.
+     */
+    public void setType_PrefixSearch(String type) {
+        regType(CK_PS, fRES(type));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param type The value of type as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setType_LikeSearch(
+            String type,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(type), getCValueType(), "TYPE",
+                "Type", "type", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param typeList The collection of type as inScope.
+     */
+    public void setType_InScope(Collection<String> typeList) {
+        regType(CK_INS, cTL(typeList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param type The collection of type as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setType_InScope(
+            String type,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(type), getCValueType(), "TYPE",
+                "Type", "type", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param typeList The collection of type as notInScope.
+     */
+    public void setType_NotInScope(Collection<String> typeList) {
+        regType(CK_NINS, cTL(typeList));
+    }
+
+    protected void regType(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueType(), "TYPE", "Type", "type");
+    }
+
+    protected void registerInlineType(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueType(), "TYPE", "Type", "type");
+    }
+
+    abstract protected ConditionValue getCValueType();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
+     * Default=[0]}
+     * 
+     * @param sortOrder The value of sortOrder as equal.
+     */
+    public void setSortOrder_Equal(Integer sortOrder) {
+        regSortOrder(CK_EQ, sortOrder);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as notEqual.
+     */
+    public void setSortOrder_NotEqual(Integer sortOrder) {
+        regSortOrder(CK_NE, sortOrder);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as greaterThan.
+     */
+    public void setSortOrder_GreaterThan(Integer sortOrder) {
+        regSortOrder(CK_GT, sortOrder);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as lessThan.
+     */
+    public void setSortOrder_LessThan(Integer sortOrder) {
+        regSortOrder(CK_LT, sortOrder);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as greaterEqual.
+     */
+    public void setSortOrder_GreaterEqual(Integer sortOrder) {
+        regSortOrder(CK_GE, sortOrder);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param sortOrder The value of sortOrder as lessEqual.
+     */
+    public void setSortOrder_LessEqual(Integer sortOrder) {
+        regSortOrder(CK_LE, sortOrder);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param sortOrderList The collection of sortOrder as inScope.
+     */
+    public void setSortOrder_InScope(Collection<Integer> sortOrderList) {
+        regSortOrder(CK_INS, cTL(sortOrderList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param sortOrderList The collection of sortOrder as notInScope.
+     */
+    public void setSortOrder_NotInScope(Collection<Integer> sortOrderList) {
+        regSortOrder(CK_NINS, cTL(sortOrderList));
+    }
+
+    protected void regSortOrder(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
+                "SortOrder", "sortOrder");
+    }
+
+    protected void registerInlineSortOrder(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
+                "SortOrder", "sortOrder");
+    }
+
+    abstract protected ConditionValue getCValueSortOrder();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : Default=[0] : FK to
+     * BOOKMARK_CATEGORY}
+     * 
+     * @param categoryId The value of categoryId as equal.
+     */
+    public void setCategoryId_Equal(Integer categoryId) {
+        regCategoryId(CK_EQ, categoryId);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param categoryId The value of categoryId as notEqual.
+     */
+    public void setCategoryId_NotEqual(Integer categoryId) {
+        regCategoryId(CK_NE, categoryId);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param categoryId The value of categoryId as greaterThan.
+     */
+    public void setCategoryId_GreaterThan(Integer categoryId) {
+        regCategoryId(CK_GT, categoryId);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param categoryId The value of categoryId as lessThan.
+     */
+    public void setCategoryId_LessThan(Integer categoryId) {
+        regCategoryId(CK_LT, categoryId);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param categoryId The value of categoryId as greaterEqual.
+     */
+    public void setCategoryId_GreaterEqual(Integer categoryId) {
+        regCategoryId(CK_GE, categoryId);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param categoryId The value of categoryId as lessEqual.
+     */
+    public void setCategoryId_LessEqual(Integer categoryId) {
+        regCategoryId(CK_LE, categoryId);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param categoryIdList The collection of categoryId as inScope.
+     */
+    public void setCategoryId_InScope(Collection<Integer> categoryIdList) {
+        regCategoryId(CK_INS, cTL(categoryIdList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param categoryIdList The collection of categoryId as notInScope.
+     */
+    public void setCategoryId_NotInScope(Collection<Integer> categoryIdList) {
+        regCategoryId(CK_NINS, cTL(categoryIdList));
+    }
+
+    /**
+     * @param bookmarkCategoryCBquery Query.
+     * @deprecated Please use inScopeBookmarkCategory(subQuery) method.
+     */
+    public void setCategoryId_InScopeSubQuery_BookmarkCategory(
+            BookmarkCategoryCQ bookmarkCategoryCBquery) {
+        String subQueryPropertyName = keepCategoryId_InScopeSubQuery_BookmarkCategory(bookmarkCategoryCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(bookmarkCategoryCBquery, "CATEGORY_ID", "ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeBookmarkCategory(SubQuery<BookmarkCategoryCB> subQuery) {
+        assertObjectNotNull("subQuery<BookmarkCategoryCB>", subQuery);
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepCategoryId_InScopeSubQuery_BookmarkCategory(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "CATEGORY_ID", "ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepCategoryId_InScopeSubQuery_BookmarkCategory(
+            BookmarkCategoryCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setCategoryId_IsNull() {
+        regCategoryId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setCategoryId_IsNotNull() {
+        regCategoryId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regCategoryId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCategoryId(), "CATEGORY_ID",
+                "CategoryId", "categoryId");
+    }
+
+    protected void registerInlineCategoryId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCategoryId(), "CATEGORY_ID",
+                "CategoryId", "categoryId");
+    }
+
+    abstract protected ConditionValue getCValueCategoryId();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as inScope.
+     */
+    public void setCreatedBy_InScope(Collection<String> createdByList) {
+        regCreatedBy(CK_INS, cTL(createdByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdBy The collection of createdBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setCreatedBy_InScope(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as inScope.
+     */
+    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_INS, cTL(updatedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedBy The collection of updatedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUpdatedBy_InScope(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as notInScope.
+     */
+    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_NINS, cTL(updatedByList));
+    }
+
+    protected void regUpdatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
+     * 
+     * @param deletedTime The value of deletedTime as equal.
+     */
+    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_EQ, deletedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as notEqual.
+     */
+    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_NE, deletedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterThan.
+     */
+    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GT, deletedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessThan.
+     */
+    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LT, deletedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterEqual.
+     */
+    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GE, deletedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessEqual.
+     */
+    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LE, deletedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setDeletedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueDeletedTime(),
+                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     */
+    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setDeletedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNull() {
+        regDeletedTime(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNotNull() {
+        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    abstract protected ConditionValue getCValueDeletedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of deletedBy as equal.
+     */
+    public void setDeletedBy_Equal(String deletedBy) {
+        regDeletedBy(CK_EQ, fRES(deletedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as notEqual.
+     */
+    public void setDeletedBy_NotEqual(String deletedBy) {
+        regDeletedBy(CK_NE, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterThan.
+     */
+    public void setDeletedBy_GreaterThan(String deletedBy) {
+        regDeletedBy(CK_GT, fRES(deletedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessThan.
+     */
+    public void setDeletedBy_LessThan(String deletedBy) {
+        regDeletedBy(CK_LT, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterEqual.
+     */
+    public void setDeletedBy_GreaterEqual(String deletedBy) {
+        regDeletedBy(CK_GE, fRES(deletedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessEqual.
+     */
+    public void setDeletedBy_LessEqual(String deletedBy) {
+        regDeletedBy(CK_LE, fRES(deletedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as prefixSearch.
+     */
+    public void setDeletedBy_PrefixSearch(String deletedBy) {
+        regDeletedBy(CK_PS, fRES(deletedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDeletedBy_LikeSearch(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as inScope.
+     */
+    public void setDeletedBy_InScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_INS, cTL(deletedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedBy The collection of deletedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDeletedBy_InScope(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
+     * Default=[0]}
+     * 
+     * @param versionno The value of versionno as equal.
+     */
+    public void setVersionno_Equal(Integer versionno) {
+        regVersionno(CK_EQ, versionno);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as notEqual.
+     */
+    public void setVersionno_NotEqual(Integer versionno) {
+        regVersionno(CK_NE, versionno);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterThan.
+     */
+    public void setVersionno_GreaterThan(Integer versionno) {
+        regVersionno(CK_GT, versionno);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessThan.
+     */
+    public void setVersionno_LessThan(Integer versionno) {
+        regVersionno(CK_LT, versionno);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterEqual.
+     */
+    public void setVersionno_GreaterEqual(Integer versionno) {
+        regVersionno(CK_GE, versionno);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessEqual.
+     */
+    public void setVersionno_LessEqual(Integer versionno) {
+        regVersionno(CK_LE, versionno);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as inScope.
+     */
+    public void setVersionno_InScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_INS, cTL(versionnoList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as notInScope.
+     */
+    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_NINS, cTL(versionnoList));
+    }
+
+    protected void regVersionno(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    protected void registerInlineVersionno(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    abstract protected ConditionValue getCValueVersionno();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return BookmarkLinkCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkLinkCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsBookmarkLinkCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsCategoryCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsCategoryCQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsCategoryCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,1403 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq.bs;
-
-import java.util.Collection;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
-import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-
-/**
- * The abstract condition-query of CATEGORY.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public abstract class AbstractBsCategoryCQ extends AbstractConditionQuery {
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public AbstractBsCategoryCQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-    }
-
-    //==========================================================================
-    // =========
-    // Table Name
-    // ==========
-    public String getTableDbName() {
-        return "CATEGORY";
-    }
-
-    public String getTableSqlName() {
-        return "CATEGORY";
-    }
-
-    //==========================================================================
-    // =========
-    // Query
-    // =====
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : INTEGER : NotNull
-     * : Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_E60DF65A_0492_4AB9_BDAC_14AD8BA5A874]}
-     * 
-     * @param id The value of id as equal.
-     */
-    public void setId_Equal(Integer id) {
-        regId(CK_EQ, id);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as notEqual.
-     */
-    public void setId_NotEqual(Integer id) {
-        regId(CK_NE, id);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as greaterThan.
-     */
-    public void setId_GreaterThan(Integer id) {
-        regId(CK_GT, id);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as lessThan.
-     */
-    public void setId_LessThan(Integer id) {
-        regId(CK_LT, id);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as greaterEqual.
-     */
-    public void setId_GreaterEqual(Integer id) {
-        regId(CK_GE, id);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as lessEqual.
-     */
-    public void setId_LessEqual(Integer id) {
-        regId(CK_LE, id);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param idList The collection of id as inScope.
-     */
-    public void setId_InScope(Collection<Integer> idList) {
-        regId(CK_INS, cTL(idList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param idList The collection of id as notInScope.
-     */
-    public void setId_NotInScope(Collection<Integer> idList) {
-        regId(CK_NINS, cTL(idList));
-    }
-
-    /**
-     * @param linkCBquery Query.
-     * @deprecated Please use inScopeLinkList(subQuery) method.
-     */
-    public void setId_InScopeSubQuery_LinkList(LinkCQ linkCBquery) {
-        String subQueryPropertyName = keepId_InScopeSubQuery_LinkList(linkCBquery);// for
-        // saving
-        // query
-        // -
-        // value
-        // .
-        registerInScopeSubQuery(linkCBquery, "ID", "CATEGORY_ID",
-                subQueryPropertyName);
-    }
-
-    public void inScopeLinkList(SubQuery<LinkCB> subQuery) {
-        assertObjectNotNull("subQuery<LinkCB>", subQuery);
-        LinkCB cb = new LinkCB();
-        cb.xsetupForInScopeSubQuery();
-        subQuery.query(cb);
-        String subQueryPropertyName = keepId_InScopeSubQuery_LinkList(cb
-                .query());// for saving query-value.
-        registerInScopeSubQuery(cb.query(), "ID", "CATEGORY_ID",
-                subQueryPropertyName);
-    }
-
-    abstract public String keepId_InScopeSubQuery_LinkList(LinkCQ subQuery);
-
-    public void notInScopeLinkList(SubQuery<LinkCB> subQuery) {
-        assertObjectNotNull("subQuery<LinkCB>", subQuery);
-        LinkCB cb = new LinkCB();
-        cb.xsetupForInScopeSubQuery();
-        subQuery.query(cb);
-        String subQueryPropertyName = keepId_NotInScopeSubQuery_LinkList(cb
-                .query());// for saving query-value.
-        registerNotInScopeSubQuery(cb.query(), "ID", "CATEGORY_ID",
-                subQueryPropertyName);
-    }
-
-    abstract public String keepId_NotInScopeSubQuery_LinkList(LinkCQ subQuery);
-
-    /**
-     * @param linkCBquery Query.
-     * @deprecated Please use existsLinkList(subQuery) method.
-     */
-    public void setId_ExistsSubQuery_LinkList(LinkCQ linkCBquery) {
-        String subQueryPropertyName = keepId_ExistsSubQuery_LinkList(linkCBquery);// for
-        // saving
-        // query
-        // -
-        // value
-        // .
-        registerExistsSubQuery(linkCBquery, "ID", "CATEGORY_ID",
-                subQueryPropertyName);
-    }
-
-    /**
-     * Set up 'exists' sub-query. {exists (select CATEGORY_ID from LINK where
-     * ...)}
-     * 
-     * @param subQuery The sub-query of Id_ExistsSubQuery_LinkList for 'exists'.
-     *            (NotNull)
-     */
-    public void existsLinkList(SubQuery<LinkCB> subQuery) {
-        assertObjectNotNull("subQuery<LinkCB>", subQuery);
-        LinkCB cb = new LinkCB();
-        cb.xsetupForExistsSubQuery();
-        subQuery.query(cb);
-        String subQueryPropertyName = keepId_ExistsSubQuery_LinkList(cb.query());// for
-        // saving
-        // query
-        // -
-        // value
-        // .
-        registerExistsSubQuery(cb.query(), "ID", "CATEGORY_ID",
-                subQueryPropertyName);
-    }
-
-    abstract public String keepId_ExistsSubQuery_LinkList(LinkCQ subQuery);
-
-    /**
-     * Set up 'not exists' sub-query. {not exists (select CATEGORY_ID from LINK
-     * where ...)}
-     * 
-     * @param subQuery The sub-query of Id_NotExistsSubQuery_LinkList for 'not
-     *            exists'. (NotNull)
-     */
-    public void notExistsLinkList(SubQuery<LinkCB> subQuery) {
-        assertObjectNotNull("subQuery<LinkCB>", subQuery);
-        LinkCB cb = new LinkCB();
-        cb.xsetupForExistsSubQuery();
-        subQuery.query(cb);
-        String subQueryPropertyName = keepId_NotExistsSubQuery_LinkList(cb
-                .query());// for saving query-value.
-        registerNotExistsSubQuery(cb.query(), "ID", "CATEGORY_ID",
-                subQueryPropertyName);
-    }
-
-    abstract public String keepId_NotExistsSubQuery_LinkList(LinkCQ subQuery);
-
-    public void xderiveLinkList(String function, SubQuery<LinkCB> subQuery,
-            String aliasName) {
-        assertObjectNotNull("subQuery<LinkCB>", subQuery);
-        LinkCB cb = new LinkCB();
-        cb.xsetupForDeriveReferrer();
-        subQuery.query(cb);
-        String subQueryPropertyName = keepId_DeriveSubQuery_LinkList(cb.query());// for
-        // saving
-        // query
-        // -
-        // value
-        // .
-        registerDeriveSubQuery(function, cb.query(), "ID", "CATEGORY_ID",
-                subQueryPropertyName, aliasName);
-    }
-
-    abstract public String keepId_DeriveSubQuery_LinkList(LinkCQ subQuery);
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setId_IsNull() {
-        regId(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setId_IsNotNull() {
-        regId(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueId(), "ID", "Id", "id");
-    }
-
-    protected void registerInlineId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueId(), "ID", "Id", "id");
-    }
-
-    abstract protected ConditionValue getCValueId();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100) :
-     * NotNull}
-     * 
-     * @param name The value of name as equal.
-     */
-    public void setName_Equal(String name) {
-        regName(CK_EQ, fRES(name));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as notEqual.
-     */
-    public void setName_NotEqual(String name) {
-        regName(CK_NE, fRES(name));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as greaterThan.
-     */
-    public void setName_GreaterThan(String name) {
-        regName(CK_GT, fRES(name));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as lessThan.
-     */
-    public void setName_LessThan(String name) {
-        regName(CK_LT, fRES(name));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as greaterEqual.
-     */
-    public void setName_GreaterEqual(String name) {
-        regName(CK_GE, fRES(name));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as lessEqual.
-     */
-    public void setName_LessEqual(String name) {
-        regName(CK_LE, fRES(name));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as prefixSearch.
-     */
-    public void setName_PrefixSearch(String name) {
-        regName(CK_PS, fRES(name));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param name The value of name as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setName_LikeSearch(
-            String name,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(name), getCValueName(), "NAME",
-                "Name", "name", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param nameList The collection of name as inScope.
-     */
-    public void setName_InScope(Collection<String> nameList) {
-        regName(CK_INS, cTL(nameList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param name The collection of name as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setName_InScope(
-            String name,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(name), getCValueName(), "NAME",
-                "Name", "name", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param nameList The collection of name as notInScope.
-     */
-    public void setName_NotInScope(Collection<String> nameList) {
-        regName(CK_NINS, cTL(nameList));
-    }
-
-    protected void regName(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueName(), "NAME", "Name", "name");
-    }
-
-    protected void registerInlineName(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueName(), "NAME", "Name", "name");
-    }
-
-    abstract protected ConditionValue getCValueName();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(200)}
-     * 
-     * @param memo The value of memo as equal.
-     */
-    public void setMemo_Equal(String memo) {
-        regMemo(CK_EQ, fRES(memo));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as notEqual.
-     */
-    public void setMemo_NotEqual(String memo) {
-        regMemo(CK_NE, fRES(memo));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as greaterThan.
-     */
-    public void setMemo_GreaterThan(String memo) {
-        regMemo(CK_GT, fRES(memo));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as lessThan.
-     */
-    public void setMemo_LessThan(String memo) {
-        regMemo(CK_LT, fRES(memo));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as greaterEqual.
-     */
-    public void setMemo_GreaterEqual(String memo) {
-        regMemo(CK_GE, fRES(memo));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as lessEqual.
-     */
-    public void setMemo_LessEqual(String memo) {
-        regMemo(CK_LE, fRES(memo));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as prefixSearch.
-     */
-    public void setMemo_PrefixSearch(String memo) {
-        regMemo(CK_PS, fRES(memo));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param memo The value of memo as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setMemo_LikeSearch(
-            String memo,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(memo), getCValueMemo(), "MEMO",
-                "Memo", "memo", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param memoList The collection of memo as inScope.
-     */
-    public void setMemo_InScope(Collection<String> memoList) {
-        regMemo(CK_INS, cTL(memoList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param memo The collection of memo as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setMemo_InScope(
-            String memo,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(memo), getCValueMemo(), "MEMO",
-                "Memo", "memo", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param memoList The collection of memo as notInScope.
-     */
-    public void setMemo_NotInScope(Collection<String> memoList) {
-        regMemo(CK_NINS, cTL(memoList));
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setMemo_IsNull() {
-        regMemo(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setMemo_IsNotNull() {
-        regMemo(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regMemo(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
-    }
-
-    protected void registerInlineMemo(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
-    }
-
-    abstract protected ConditionValue getCValueMemo();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param sortOrder The value of sortOrder as equal.
-     */
-    public void setSortOrder_Equal(Integer sortOrder) {
-        regSortOrder(CK_EQ, sortOrder);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as notEqual.
-     */
-    public void setSortOrder_NotEqual(Integer sortOrder) {
-        regSortOrder(CK_NE, sortOrder);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as greaterThan.
-     */
-    public void setSortOrder_GreaterThan(Integer sortOrder) {
-        regSortOrder(CK_GT, sortOrder);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as lessThan.
-     */
-    public void setSortOrder_LessThan(Integer sortOrder) {
-        regSortOrder(CK_LT, sortOrder);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as greaterEqual.
-     */
-    public void setSortOrder_GreaterEqual(Integer sortOrder) {
-        regSortOrder(CK_GE, sortOrder);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as lessEqual.
-     */
-    public void setSortOrder_LessEqual(Integer sortOrder) {
-        regSortOrder(CK_LE, sortOrder);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param sortOrderList The collection of sortOrder as inScope.
-     */
-    public void setSortOrder_InScope(Collection<Integer> sortOrderList) {
-        regSortOrder(CK_INS, cTL(sortOrderList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param sortOrderList The collection of sortOrder as notInScope.
-     */
-    public void setSortOrder_NotInScope(Collection<Integer> sortOrderList) {
-        regSortOrder(CK_NINS, cTL(sortOrderList));
-    }
-
-    protected void regSortOrder(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
-                "SortOrder", "sortOrder");
-    }
-
-    protected void registerInlineSortOrder(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
-                "SortOrder", "sortOrder");
-    }
-
-    abstract protected ConditionValue getCValueSortOrder();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param createdTime The value of createdTime as equal.
-     */
-    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_EQ, createdTime);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as notEqual.
-     */
-    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_NE, createdTime);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as greaterThan.
-     */
-    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_GT, createdTime);
-    }
-
-    /**
-     * LessThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as lessThan.
-     */
-    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_LT, createdTime);
-    }
-
-    /**
-     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as greaterEqual.
-     */
-    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_GE, createdTime);
-    }
-
-    /**
-     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as lessEqual.
-     */
-    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_LE, createdTime);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of createdTime. (Nullable)
-     * @param toDate The to-date of createdTime. (Nullable)
-     * @param fromToOption The option of from-to. (NotNull)
-     */
-    public void setCreatedTime_FromTo(
-            java.util.Date fromDate,
-            java.util.Date toDate,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
-        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
-                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
-                toDate.getTime()) : null), getCValueCreatedTime(),
-                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of createdTime. (Nullable)
-     * @param toDate The to-date of createdTime. (Nullable)
-     */
-    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
-            java.util.Date toDate) {
-        setCreatedTime_FromTo(
-                fromDate,
-                toDate,
-                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
-    }
-
-    protected void regCreatedTime(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
-                "CreatedTime", "createdTime");
-    }
-
-    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
-                "CreatedTime", "createdTime");
-    }
-
-    abstract protected ConditionValue getCValueCreatedTime();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
-     * 
-     * @param createdBy The value of createdBy as equal.
-     */
-    public void setCreatedBy_Equal(String createdBy) {
-        regCreatedBy(CK_EQ, fRES(createdBy));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as notEqual.
-     */
-    public void setCreatedBy_NotEqual(String createdBy) {
-        regCreatedBy(CK_NE, fRES(createdBy));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as greaterThan.
-     */
-    public void setCreatedBy_GreaterThan(String createdBy) {
-        regCreatedBy(CK_GT, fRES(createdBy));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as lessThan.
-     */
-    public void setCreatedBy_LessThan(String createdBy) {
-        regCreatedBy(CK_LT, fRES(createdBy));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as greaterEqual.
-     */
-    public void setCreatedBy_GreaterEqual(String createdBy) {
-        regCreatedBy(CK_GE, fRES(createdBy));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as lessEqual.
-     */
-    public void setCreatedBy_LessEqual(String createdBy) {
-        regCreatedBy(CK_LE, fRES(createdBy));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as prefixSearch.
-     */
-    public void setCreatedBy_PrefixSearch(String createdBy) {
-        regCreatedBy(CK_PS, fRES(createdBy));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param createdBy The value of createdBy as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setCreatedBy_LikeSearch(
-            String createdBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
-                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param createdByList The collection of createdBy as inScope.
-     */
-    public void setCreatedBy_InScope(Collection<String> createdByList) {
-        regCreatedBy(CK_INS, cTL(createdByList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param createdBy The collection of createdBy as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setCreatedBy_InScope(
-            String createdBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
-                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param createdByList The collection of createdBy as notInScope.
-     */
-    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
-        regCreatedBy(CK_NINS, cTL(createdByList));
-    }
-
-    protected void regCreatedBy(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
-                "CreatedBy", "createdBy");
-    }
-
-    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
-                "CreatedBy", "createdBy");
-    }
-
-    abstract protected ConditionValue getCValueCreatedBy();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param updatedTime The value of updatedTime as equal.
-     */
-    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_EQ, updatedTime);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as notEqual.
-     */
-    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_NE, updatedTime);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as greaterThan.
-     */
-    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_GT, updatedTime);
-    }
-
-    /**
-     * LessThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as lessThan.
-     */
-    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_LT, updatedTime);
-    }
-
-    /**
-     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as greaterEqual.
-     */
-    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_GE, updatedTime);
-    }
-
-    /**
-     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as lessEqual.
-     */
-    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_LE, updatedTime);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of updatedTime. (Nullable)
-     * @param toDate The to-date of updatedTime. (Nullable)
-     * @param fromToOption The option of from-to. (NotNull)
-     */
-    public void setUpdatedTime_FromTo(
-            java.util.Date fromDate,
-            java.util.Date toDate,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
-        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
-                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
-                toDate.getTime()) : null), getCValueUpdatedTime(),
-                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of updatedTime. (Nullable)
-     * @param toDate The to-date of updatedTime. (Nullable)
-     */
-    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
-            java.util.Date toDate) {
-        setUpdatedTime_FromTo(
-                fromDate,
-                toDate,
-                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
-    }
-
-    protected void regUpdatedTime(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
-                "UpdatedTime", "updatedTime");
-    }
-
-    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
-                "UpdatedTime", "updatedTime");
-    }
-
-    abstract protected ConditionValue getCValueUpdatedTime();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
-     * 
-     * @param updatedBy The value of updatedBy as equal.
-     */
-    public void setUpdatedBy_Equal(String updatedBy) {
-        regUpdatedBy(CK_EQ, fRES(updatedBy));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as notEqual.
-     */
-    public void setUpdatedBy_NotEqual(String updatedBy) {
-        regUpdatedBy(CK_NE, fRES(updatedBy));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as greaterThan.
-     */
-    public void setUpdatedBy_GreaterThan(String updatedBy) {
-        regUpdatedBy(CK_GT, fRES(updatedBy));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as lessThan.
-     */
-    public void setUpdatedBy_LessThan(String updatedBy) {
-        regUpdatedBy(CK_LT, fRES(updatedBy));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as greaterEqual.
-     */
-    public void setUpdatedBy_GreaterEqual(String updatedBy) {
-        regUpdatedBy(CK_GE, fRES(updatedBy));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as lessEqual.
-     */
-    public void setUpdatedBy_LessEqual(String updatedBy) {
-        regUpdatedBy(CK_LE, fRES(updatedBy));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as prefixSearch.
-     */
-    public void setUpdatedBy_PrefixSearch(String updatedBy) {
-        regUpdatedBy(CK_PS, fRES(updatedBy));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setUpdatedBy_LikeSearch(
-            String updatedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
-                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param updatedByList The collection of updatedBy as inScope.
-     */
-    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
-        regUpdatedBy(CK_INS, cTL(updatedByList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param updatedBy The collection of updatedBy as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setUpdatedBy_InScope(
-            String updatedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
-                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param updatedByList The collection of updatedBy as notInScope.
-     */
-    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
-        regUpdatedBy(CK_NINS, cTL(updatedByList));
-    }
-
-    protected void regUpdatedBy(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
-                "UpdatedBy", "updatedBy");
-    }
-
-    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
-                "UpdatedBy", "updatedBy");
-    }
-
-    abstract protected ConditionValue getCValueUpdatedBy();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
-     * 
-     * @param deletedTime The value of deletedTime as equal.
-     */
-    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_EQ, deletedTime);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as notEqual.
-     */
-    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_NE, deletedTime);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as greaterThan.
-     */
-    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_GT, deletedTime);
-    }
-
-    /**
-     * LessThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as lessThan.
-     */
-    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_LT, deletedTime);
-    }
-
-    /**
-     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as greaterEqual.
-     */
-    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_GE, deletedTime);
-    }
-
-    /**
-     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as lessEqual.
-     */
-    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_LE, deletedTime);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP}
-     * 
-     * @param fromDate The from-date of deletedTime. (Nullable)
-     * @param toDate The to-date of deletedTime. (Nullable)
-     * @param fromToOption The option of from-to. (NotNull)
-     */
-    public void setDeletedTime_FromTo(
-            java.util.Date fromDate,
-            java.util.Date toDate,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
-        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
-                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
-                toDate.getTime()) : null), getCValueDeletedTime(),
-                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP}
-     * 
-     * @param fromDate The from-date of deletedTime. (Nullable)
-     * @param toDate The to-date of deletedTime. (Nullable)
-     */
-    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
-            java.util.Date toDate) {
-        setDeletedTime_FromTo(
-                fromDate,
-                toDate,
-                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setDeletedTime_IsNull() {
-        regDeletedTime(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setDeletedTime_IsNotNull() {
-        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regDeletedTime(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
-                "DeletedTime", "deletedTime");
-    }
-
-    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
-                "DeletedTime", "deletedTime");
-    }
-
-    abstract protected ConditionValue getCValueDeletedTime();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
-     * 
-     * @param deletedBy The value of deletedBy as equal.
-     */
-    public void setDeletedBy_Equal(String deletedBy) {
-        regDeletedBy(CK_EQ, fRES(deletedBy));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as notEqual.
-     */
-    public void setDeletedBy_NotEqual(String deletedBy) {
-        regDeletedBy(CK_NE, fRES(deletedBy));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as greaterThan.
-     */
-    public void setDeletedBy_GreaterThan(String deletedBy) {
-        regDeletedBy(CK_GT, fRES(deletedBy));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as lessThan.
-     */
-    public void setDeletedBy_LessThan(String deletedBy) {
-        regDeletedBy(CK_LT, fRES(deletedBy));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as greaterEqual.
-     */
-    public void setDeletedBy_GreaterEqual(String deletedBy) {
-        regDeletedBy(CK_GE, fRES(deletedBy));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as lessEqual.
-     */
-    public void setDeletedBy_LessEqual(String deletedBy) {
-        regDeletedBy(CK_LE, fRES(deletedBy));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as prefixSearch.
-     */
-    public void setDeletedBy_PrefixSearch(String deletedBy) {
-        regDeletedBy(CK_PS, fRES(deletedBy));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setDeletedBy_LikeSearch(
-            String deletedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
-                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param deletedByList The collection of deletedBy as inScope.
-     */
-    public void setDeletedBy_InScope(Collection<String> deletedByList) {
-        regDeletedBy(CK_INS, cTL(deletedByList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param deletedBy The collection of deletedBy as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setDeletedBy_InScope(
-            String deletedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
-                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param deletedByList The collection of deletedBy as notInScope.
-     */
-    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
-        regDeletedBy(CK_NINS, cTL(deletedByList));
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setDeletedBy_IsNull() {
-        regDeletedBy(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setDeletedBy_IsNotNull() {
-        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regDeletedBy(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
-                "DeletedBy", "deletedBy");
-    }
-
-    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
-                "DeletedBy", "deletedBy");
-    }
-
-    abstract protected ConditionValue getCValueDeletedBy();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param versionno The value of versionno as equal.
-     */
-    public void setVersionno_Equal(Integer versionno) {
-        regVersionno(CK_EQ, versionno);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as notEqual.
-     */
-    public void setVersionno_NotEqual(Integer versionno) {
-        regVersionno(CK_NE, versionno);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as greaterThan.
-     */
-    public void setVersionno_GreaterThan(Integer versionno) {
-        regVersionno(CK_GT, versionno);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as lessThan.
-     */
-    public void setVersionno_LessThan(Integer versionno) {
-        regVersionno(CK_LT, versionno);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as greaterEqual.
-     */
-    public void setVersionno_GreaterEqual(Integer versionno) {
-        regVersionno(CK_GE, versionno);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as lessEqual.
-     */
-    public void setVersionno_LessEqual(Integer versionno) {
-        regVersionno(CK_LE, versionno);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param versionnoList The collection of versionno as inScope.
-     */
-    public void setVersionno_InScope(Collection<Integer> versionnoList) {
-        regVersionno(CK_INS, cTL(versionnoList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param versionnoList The collection of versionno as notInScope.
-     */
-    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
-        regVersionno(CK_NINS, cTL(versionnoList));
-    }
-
-    protected void regVersionno(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
-                "Versionno", "versionno");
-    }
-
-    protected void registerInlineVersionno(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
-                "Versionno", "versionno");
-    }
-
-    abstract protected ConditionValue getCValueVersionno();
-
-    // Very Internal (for Suppressing Warn about 'Not Use Import')
-    protected String getConditionBeanClassNameInternally() {
-        return CategoryCB.class.getName();
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return CategoryCQ.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,1896 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+
+/**
+ * The abstract condition-query of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsGroupInfoCQ extends AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsGroupInfoCQ(ConditionQuery childQuery,
+            SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "GROUP_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {PK : NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param groupId The value of groupId as equal.
+     */
+    public void setGroupId_Equal(String groupId) {
+        regGroupId(CK_EQ, fRES(groupId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as notEqual.
+     */
+    public void setGroupId_NotEqual(String groupId) {
+        regGroupId(CK_NE, fRES(groupId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as greaterThan.
+     */
+    public void setGroupId_GreaterThan(String groupId) {
+        regGroupId(CK_GT, fRES(groupId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as lessThan.
+     */
+    public void setGroupId_LessThan(String groupId) {
+        regGroupId(CK_LT, fRES(groupId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as greaterEqual.
+     */
+    public void setGroupId_GreaterEqual(String groupId) {
+        regGroupId(CK_GE, fRES(groupId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as lessEqual.
+     */
+    public void setGroupId_LessEqual(String groupId) {
+        regGroupId(CK_LE, fRES(groupId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as prefixSearch.
+     */
+    public void setGroupId_PrefixSearch(String groupId) {
+        regGroupId(CK_PS, fRES(groupId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param groupId The value of groupId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setGroupId_LikeSearch(
+            String groupId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(groupId), getCValueGroupId(),
+                "GROUP_ID", "GroupId", "groupId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupIdList The collection of groupId as inScope.
+     */
+    public void setGroupId_InScope(Collection<String> groupIdList) {
+        regGroupId(CK_INS, cTL(groupIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupId The collection of groupId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setGroupId_InScope(
+            String groupId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(groupId), getCValueGroupId(),
+                "GROUP_ID", "GroupId", "groupId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupIdList The collection of groupId as notInScope.
+     */
+    public void setGroupId_NotInScope(Collection<String> groupIdList) {
+        regGroupId(CK_NINS, cTL(groupIdList));
+    }
+
+    /**
+     * @param groupMappingCBquery Query.
+     * @deprecated Please use inScopeGroupMappingList(subQuery) method.
+     */
+    public void setGroupId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ groupMappingCBquery) {
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_GroupMappingList(groupMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(groupMappingCBquery, "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use inScopeUserInfoList(subQuery) method.
+     */
+    public void setGroupId_InScopeSubQuery_UserInfoList(
+            UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_UserInfoList(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(userInfoCBquery, "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_InScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    public void notInScopeGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_NotInScopeSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_NotInScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    public void notInScopeUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_NotInScopeSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_NotInScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    /**
+     * @param groupMappingCBquery Query.
+     * @deprecated Please use existsGroupMappingList(subQuery) method.
+     */
+    public void setGroupId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ groupMappingCBquery) {
+        String subQueryPropertyName = keepGroupId_ExistsSubQuery_GroupMappingList(groupMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(groupMappingCBquery, "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select GROUP_ID from GROUP_MAPPING
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of GroupId_ExistsSubQuery_GroupMappingList
+     *            for 'exists'. (NotNull)
+     */
+    public void existsGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_ExistsSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use existsUserInfoList(subQuery) method.
+     */
+    public void setGroupId_ExistsSubQuery_UserInfoList(
+            UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepGroupId_ExistsSubQuery_UserInfoList(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(userInfoCBquery, "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select GROUP_ID from USER_INFO where
+     * ...)}
+     * 
+     * @param subQuery The sub-query of GroupId_ExistsSubQuery_UserInfoList for
+     *            'exists'. (NotNull)
+     */
+    public void existsUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_ExistsSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_ExistsSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select GROUP_ID from
+     * GROUP_MAPPING where ...)}
+     * 
+     * @param subQuery The sub-query of
+     *            GroupId_NotExistsSubQuery_GroupMappingList for 'not exists'.
+     *            (NotNull)
+     */
+    public void notExistsGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_NotExistsSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_NotExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select GROUP_ID from
+     * USER_INFO where ...)}
+     * 
+     * @param subQuery The sub-query of GroupId_NotExistsSubQuery_UserInfoList
+     *            for 'not exists'. (NotNull)
+     */
+    public void notExistsUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_NotExistsSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_NotExistsSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    public void xderiveGroupMappingList(String function,
+            SubQuery<GroupMappingCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_DeriveSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepGroupId_DeriveSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    public void xderiveUserInfoList(String function,
+            SubQuery<UserInfoCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_DeriveSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepGroupId_DeriveSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setGroupId_IsNull() {
+        regGroupId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setGroupId_IsNotNull() {
+        regGroupId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regGroupId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueGroupId(), "GROUP_ID", "GroupId",
+                "groupId");
+    }
+
+    protected void registerInlineGroupId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueGroupId(), "GROUP_ID",
+                "GroupId", "groupId");
+    }
+
+    abstract protected ConditionValue getCValueGroupId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100)}
+     * 
+     * @param name The value of name as equal.
+     */
+    public void setName_Equal(String name) {
+        regName(CK_EQ, fRES(name));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as notEqual.
+     */
+    public void setName_NotEqual(String name) {
+        regName(CK_NE, fRES(name));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterThan.
+     */
+    public void setName_GreaterThan(String name) {
+        regName(CK_GT, fRES(name));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessThan.
+     */
+    public void setName_LessThan(String name) {
+        regName(CK_LT, fRES(name));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterEqual.
+     */
+    public void setName_GreaterEqual(String name) {
+        regName(CK_GE, fRES(name));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessEqual.
+     */
+    public void setName_LessEqual(String name) {
+        regName(CK_LE, fRES(name));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as prefixSearch.
+     */
+    public void setName_PrefixSearch(String name) {
+        regName(CK_PS, fRES(name));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param name The value of name as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setName_LikeSearch(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as inScope.
+     */
+    public void setName_InScope(Collection<String> nameList) {
+        regName(CK_INS, cTL(nameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param name The collection of name as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setName_InScope(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as notInScope.
+     */
+    public void setName_NotInScope(Collection<String> nameList) {
+        regName(CK_NINS, cTL(nameList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setName_IsNull() {
+        regName(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setName_IsNotNull() {
+        regName(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    protected void registerInlineName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    abstract protected ConditionValue getCValueName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param description The value of description as equal.
+     */
+    public void setDescription_Equal(String description) {
+        regDescription(CK_EQ, fRES(description));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as notEqual.
+     */
+    public void setDescription_NotEqual(String description) {
+        regDescription(CK_NE, fRES(description));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as greaterThan.
+     */
+    public void setDescription_GreaterThan(String description) {
+        regDescription(CK_GT, fRES(description));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as lessThan.
+     */
+    public void setDescription_LessThan(String description) {
+        regDescription(CK_LT, fRES(description));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as greaterEqual.
+     */
+    public void setDescription_GreaterEqual(String description) {
+        regDescription(CK_GE, fRES(description));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as lessEqual.
+     */
+    public void setDescription_LessEqual(String description) {
+        regDescription(CK_LE, fRES(description));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as prefixSearch.
+     */
+    public void setDescription_PrefixSearch(String description) {
+        regDescription(CK_PS, fRES(description));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param description The value of description as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDescription_LikeSearch(
+            String description,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(description),
+                getCValueDescription(), "DESCRIPTION", "Description",
+                "description", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param descriptionList The collection of description as inScope.
+     */
+    public void setDescription_InScope(Collection<String> descriptionList) {
+        regDescription(CK_INS, cTL(descriptionList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param description The collection of description as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDescription_InScope(
+            String description,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(description), getCValueDescription(),
+                "DESCRIPTION", "Description", "description", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param descriptionList The collection of description as notInScope.
+     */
+    public void setDescription_NotInScope(Collection<String> descriptionList) {
+        regDescription(CK_NINS, cTL(descriptionList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDescription_IsNull() {
+        regDescription(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDescription_IsNotNull() {
+        regDescription(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDescription(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDescription(), "DESCRIPTION",
+                "Description", "description");
+    }
+
+    protected void registerInlineDescription(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDescription(), "DESCRIPTION",
+                "Description", "description");
+    }
+
+    abstract protected ConditionValue getCValueDescription();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param email The value of email as equal.
+     */
+    public void setEmail_Equal(String email) {
+        regEmail(CK_EQ, fRES(email));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as notEqual.
+     */
+    public void setEmail_NotEqual(String email) {
+        regEmail(CK_NE, fRES(email));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterThan.
+     */
+    public void setEmail_GreaterThan(String email) {
+        regEmail(CK_GT, fRES(email));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessThan.
+     */
+    public void setEmail_LessThan(String email) {
+        regEmail(CK_LT, fRES(email));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterEqual.
+     */
+    public void setEmail_GreaterEqual(String email) {
+        regEmail(CK_GE, fRES(email));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessEqual.
+     */
+    public void setEmail_LessEqual(String email) {
+        regEmail(CK_LE, fRES(email));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as prefixSearch.
+     */
+    public void setEmail_PrefixSearch(String email) {
+        regEmail(CK_PS, fRES(email));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param email The value of email as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setEmail_LikeSearch(
+            String email,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(email), getCValueEmail(), "EMAIL",
+                "Email", "email", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param emailList The collection of email as inScope.
+     */
+    public void setEmail_InScope(Collection<String> emailList) {
+        regEmail(CK_INS, cTL(emailList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param email The collection of email as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setEmail_InScope(
+            String email,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(email), getCValueEmail(), "EMAIL",
+                "Email", "email", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param emailList The collection of email as notInScope.
+     */
+    public void setEmail_NotInScope(Collection<String> emailList) {
+        regEmail(CK_NINS, cTL(emailList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setEmail_IsNull() {
+        regEmail(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setEmail_IsNotNull() {
+        regEmail(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regEmail(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueEmail(), "EMAIL", "Email", "email");
+    }
+
+    protected void registerInlineEmail(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueEmail(), "EMAIL", "Email",
+                "email");
+    }
+
+    abstract protected ConditionValue getCValueEmail();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param url The value of url as equal.
+     */
+    public void setUrl_Equal(String url) {
+        regUrl(CK_EQ, fRES(url));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as notEqual.
+     */
+    public void setUrl_NotEqual(String url) {
+        regUrl(CK_NE, fRES(url));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterThan.
+     */
+    public void setUrl_GreaterThan(String url) {
+        regUrl(CK_GT, fRES(url));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessThan.
+     */
+    public void setUrl_LessThan(String url) {
+        regUrl(CK_LT, fRES(url));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterEqual.
+     */
+    public void setUrl_GreaterEqual(String url) {
+        regUrl(CK_GE, fRES(url));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessEqual.
+     */
+    public void setUrl_LessEqual(String url) {
+        regUrl(CK_LE, fRES(url));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as prefixSearch.
+     */
+    public void setUrl_PrefixSearch(String url) {
+        regUrl(CK_PS, fRES(url));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param url The value of url as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUrl_LikeSearch(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as inScope.
+     */
+    public void setUrl_InScope(Collection<String> urlList) {
+        regUrl(CK_INS, cTL(urlList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param url The collection of url as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUrl_InScope(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as notInScope.
+     */
+    public void setUrl_NotInScope(Collection<String> urlList) {
+        regUrl(CK_NINS, cTL(urlList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setUrl_IsNull() {
+        regUrl(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setUrl_IsNotNull() {
+        regUrl(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regUrl(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    protected void registerInlineUrl(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    abstract protected ConditionValue getCValueUrl();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(40)}
+     * 
+     * @param telephone The value of telephone as equal.
+     */
+    public void setTelephone_Equal(String telephone) {
+        regTelephone(CK_EQ, fRES(telephone));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as notEqual.
+     */
+    public void setTelephone_NotEqual(String telephone) {
+        regTelephone(CK_NE, fRES(telephone));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as greaterThan.
+     */
+    public void setTelephone_GreaterThan(String telephone) {
+        regTelephone(CK_GT, fRES(telephone));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as lessThan.
+     */
+    public void setTelephone_LessThan(String telephone) {
+        regTelephone(CK_LT, fRES(telephone));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as greaterEqual.
+     */
+    public void setTelephone_GreaterEqual(String telephone) {
+        regTelephone(CK_GE, fRES(telephone));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as lessEqual.
+     */
+    public void setTelephone_LessEqual(String telephone) {
+        regTelephone(CK_LE, fRES(telephone));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as prefixSearch.
+     */
+    public void setTelephone_PrefixSearch(String telephone) {
+        regTelephone(CK_PS, fRES(telephone));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param telephone The value of telephone as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setTelephone_LikeSearch(
+            String telephone,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(telephone), getCValueTelephone(),
+                "TELEPHONE", "Telephone", "telephone", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneList The collection of telephone as inScope.
+     */
+    public void setTelephone_InScope(Collection<String> telephoneList) {
+        regTelephone(CK_INS, cTL(telephoneList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephone The collection of telephone as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setTelephone_InScope(
+            String telephone,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(telephone), getCValueTelephone(),
+                "TELEPHONE", "Telephone", "telephone", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneList The collection of telephone as notInScope.
+     */
+    public void setTelephone_NotInScope(Collection<String> telephoneList) {
+        regTelephone(CK_NINS, cTL(telephoneList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setTelephone_IsNull() {
+        regTelephone(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setTelephone_IsNotNull() {
+        regTelephone(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regTelephone(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueTelephone(), "TELEPHONE",
+                "Telephone", "telephone");
+    }
+
+    protected void registerInlineTelephone(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueTelephone(), "TELEPHONE",
+                "Telephone", "telephone");
+    }
+
+    abstract protected ConditionValue getCValueTelephone();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as inScope.
+     */
+    public void setCreatedBy_InScope(Collection<String> createdByList) {
+        regCreatedBy(CK_INS, cTL(createdByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdBy The collection of createdBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setCreatedBy_InScope(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as inScope.
+     */
+    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_INS, cTL(updatedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedBy The collection of updatedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUpdatedBy_InScope(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as notInScope.
+     */
+    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_NINS, cTL(updatedByList));
+    }
+
+    protected void regUpdatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
+     * 
+     * @param deletedTime The value of deletedTime as equal.
+     */
+    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_EQ, deletedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as notEqual.
+     */
+    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_NE, deletedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterThan.
+     */
+    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GT, deletedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessThan.
+     */
+    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LT, deletedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterEqual.
+     */
+    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GE, deletedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessEqual.
+     */
+    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LE, deletedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setDeletedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueDeletedTime(),
+                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     */
+    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setDeletedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNull() {
+        regDeletedTime(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNotNull() {
+        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    abstract protected ConditionValue getCValueDeletedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of deletedBy as equal.
+     */
+    public void setDeletedBy_Equal(String deletedBy) {
+        regDeletedBy(CK_EQ, fRES(deletedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as notEqual.
+     */
+    public void setDeletedBy_NotEqual(String deletedBy) {
+        regDeletedBy(CK_NE, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterThan.
+     */
+    public void setDeletedBy_GreaterThan(String deletedBy) {
+        regDeletedBy(CK_GT, fRES(deletedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessThan.
+     */
+    public void setDeletedBy_LessThan(String deletedBy) {
+        regDeletedBy(CK_LT, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterEqual.
+     */
+    public void setDeletedBy_GreaterEqual(String deletedBy) {
+        regDeletedBy(CK_GE, fRES(deletedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessEqual.
+     */
+    public void setDeletedBy_LessEqual(String deletedBy) {
+        regDeletedBy(CK_LE, fRES(deletedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as prefixSearch.
+     */
+    public void setDeletedBy_PrefixSearch(String deletedBy) {
+        regDeletedBy(CK_PS, fRES(deletedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDeletedBy_LikeSearch(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as inScope.
+     */
+    public void setDeletedBy_InScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_INS, cTL(deletedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedBy The collection of deletedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDeletedBy_InScope(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER}
+     * 
+     * @param versionno The value of versionno as equal.
+     */
+    public void setVersionno_Equal(Integer versionno) {
+        regVersionno(CK_EQ, versionno);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as notEqual.
+     */
+    public void setVersionno_NotEqual(Integer versionno) {
+        regVersionno(CK_NE, versionno);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterThan.
+     */
+    public void setVersionno_GreaterThan(Integer versionno) {
+        regVersionno(CK_GT, versionno);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessThan.
+     */
+    public void setVersionno_LessThan(Integer versionno) {
+        regVersionno(CK_LT, versionno);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterEqual.
+     */
+    public void setVersionno_GreaterEqual(Integer versionno) {
+        regVersionno(CK_GE, versionno);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessEqual.
+     */
+    public void setVersionno_LessEqual(Integer versionno) {
+        regVersionno(CK_LE, versionno);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as inScope.
+     */
+    public void setVersionno_InScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_INS, cTL(versionnoList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as notInScope.
+     */
+    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_NINS, cTL(versionnoList));
+    }
+
+    protected void regVersionno(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    protected void registerInlineVersionno(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    abstract protected ConditionValue getCValueVersionno();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return GroupInfoCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupInfoCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,465 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+
+/**
+ * The abstract condition-query of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsGroupMappingCQ extends AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsGroupMappingCQ(ConditionQuery childQuery,
+            SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "GROUP_MAPPING";
+    }
+
+    public String getTableSqlName() {
+        return "GROUP_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : INTEGER}
+     * 
+     * @param id The value of id as equal.
+     */
+    public void setId_Equal(Integer id) {
+        regId(CK_EQ, id);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as notEqual.
+     */
+    public void setId_NotEqual(Integer id) {
+        regId(CK_NE, id);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterThan.
+     */
+    public void setId_GreaterThan(Integer id) {
+        regId(CK_GT, id);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessThan.
+     */
+    public void setId_LessThan(Integer id) {
+        regId(CK_LT, id);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterEqual.
+     */
+    public void setId_GreaterEqual(Integer id) {
+        regId(CK_GE, id);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessEqual.
+     */
+    public void setId_LessEqual(Integer id) {
+        regId(CK_LE, id);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as inScope.
+     */
+    public void setId_InScope(Collection<Integer> idList) {
+        regId(CK_INS, cTL(idList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as notInScope.
+     */
+    public void setId_NotInScope(Collection<Integer> idList) {
+        regId(CK_NINS, cTL(idList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setId_IsNull() {
+        regId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setId_IsNotNull() {
+        regId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    protected void registerInlineId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    abstract protected ConditionValue getCValueId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(255)
+     * : FK to USER_INFO}
+     * 
+     * @param userId The value of userId as equal.
+     */
+    public void setUserId_Equal(String userId) {
+        regUserId(CK_EQ, fRES(userId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as notEqual.
+     */
+    public void setUserId_NotEqual(String userId) {
+        regUserId(CK_NE, fRES(userId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as greaterThan.
+     */
+    public void setUserId_GreaterThan(String userId) {
+        regUserId(CK_GT, fRES(userId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as lessThan.
+     */
+    public void setUserId_LessThan(String userId) {
+        regUserId(CK_LT, fRES(userId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as greaterEqual.
+     */
+    public void setUserId_GreaterEqual(String userId) {
+        regUserId(CK_GE, fRES(userId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as lessEqual.
+     */
+    public void setUserId_LessEqual(String userId) {
+        regUserId(CK_LE, fRES(userId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as prefixSearch.
+     */
+    public void setUserId_PrefixSearch(String userId) {
+        regUserId(CK_PS, fRES(userId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param userId The value of userId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUserId_LikeSearch(
+            String userId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(userId), getCValueUserId(),
+                "USER_ID", "UserId", "userId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userIdList The collection of userId as inScope.
+     */
+    public void setUserId_InScope(Collection<String> userIdList) {
+        regUserId(CK_INS, cTL(userIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userId The collection of userId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUserId_InScope(
+            String userId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(userId), getCValueUserId(),
+                "USER_ID", "UserId", "userId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userIdList The collection of userId as notInScope.
+     */
+    public void setUserId_NotInScope(Collection<String> userIdList) {
+        regUserId(CK_NINS, cTL(userIdList));
+    }
+
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use inScopeUserInfo(subQuery) method.
+     */
+    public void setUserId_InScopeSubQuery_UserInfo(UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_UserInfo(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(userInfoCBquery, "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeUserInfo(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_UserInfo(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_InScopeSubQuery_UserInfo(
+            jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ subQuery);
+
+    protected void regUserId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUserId(), "USER_ID", "UserId",
+                "userId");
+    }
+
+    protected void registerInlineUserId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUserId(), "USER_ID", "UserId",
+                "userId");
+    }
+
+    abstract protected ConditionValue getCValueUserId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(255)
+     * : FK to GROUP_INFO}
+     * 
+     * @param groupId The value of groupId as equal.
+     */
+    public void setGroupId_Equal(String groupId) {
+        regGroupId(CK_EQ, fRES(groupId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as notEqual.
+     */
+    public void setGroupId_NotEqual(String groupId) {
+        regGroupId(CK_NE, fRES(groupId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as greaterThan.
+     */
+    public void setGroupId_GreaterThan(String groupId) {
+        regGroupId(CK_GT, fRES(groupId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as lessThan.
+     */
+    public void setGroupId_LessThan(String groupId) {
+        regGroupId(CK_LT, fRES(groupId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as greaterEqual.
+     */
+    public void setGroupId_GreaterEqual(String groupId) {
+        regGroupId(CK_GE, fRES(groupId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as lessEqual.
+     */
+    public void setGroupId_LessEqual(String groupId) {
+        regGroupId(CK_LE, fRES(groupId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as prefixSearch.
+     */
+    public void setGroupId_PrefixSearch(String groupId) {
+        regGroupId(CK_PS, fRES(groupId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param groupId The value of groupId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setGroupId_LikeSearch(
+            String groupId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(groupId), getCValueGroupId(),
+                "GROUP_ID", "GroupId", "groupId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupIdList The collection of groupId as inScope.
+     */
+    public void setGroupId_InScope(Collection<String> groupIdList) {
+        regGroupId(CK_INS, cTL(groupIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupId The collection of groupId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setGroupId_InScope(
+            String groupId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(groupId), getCValueGroupId(),
+                "GROUP_ID", "GroupId", "groupId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupIdList The collection of groupId as notInScope.
+     */
+    public void setGroupId_NotInScope(Collection<String> groupIdList) {
+        regGroupId(CK_NINS, cTL(groupIdList));
+    }
+
+    /**
+     * @param groupInfoCBquery Query.
+     * @deprecated Please use inScopeGroupInfo(subQuery) method.
+     */
+    public void setGroupId_InScopeSubQuery_GroupInfo(
+            GroupInfoCQ groupInfoCBquery) {
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_GroupInfo(groupInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(groupInfoCBquery, "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeGroupInfo(SubQuery<GroupInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupInfoCB>", subQuery);
+        GroupInfoCB cb = new GroupInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_GroupInfo(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_InScopeSubQuery_GroupInfo(
+            jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ subQuery);
+
+    protected void regGroupId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueGroupId(), "GROUP_ID", "GroupId",
+                "groupId");
+    }
+
+    protected void registerInlineGroupId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueGroupId(), "GROUP_ID",
+                "GroupId", "groupId");
+    }
+
+    abstract protected ConditionValue getCValueGroupId();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return GroupMappingCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupMappingCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsLinkCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsLinkCQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsLinkCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,1659 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq.bs;
-
-import java.util.Collection;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
-import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-
-/**
- * The abstract condition-query of LINK.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public abstract class AbstractBsLinkCQ extends AbstractConditionQuery {
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public AbstractBsLinkCQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-    }
-
-    //==========================================================================
-    // =========
-    // Table Name
-    // ==========
-    public String getTableDbName() {
-        return "LINK";
-    }
-
-    public String getTableSqlName() {
-        return "LINK";
-    }
-
-    //==========================================================================
-    // =========
-    // Query
-    // =====
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_22BA7FAB_912D_4214_94D9_E64E5C53706F]}
-     * 
-     * @param id The value of id as equal.
-     */
-    public void setId_Equal(Long id) {
-        regId(CK_EQ, id);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as notEqual.
-     */
-    public void setId_NotEqual(Long id) {
-        regId(CK_NE, id);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as greaterThan.
-     */
-    public void setId_GreaterThan(Long id) {
-        regId(CK_GT, id);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as lessThan.
-     */
-    public void setId_LessThan(Long id) {
-        regId(CK_LT, id);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as greaterEqual.
-     */
-    public void setId_GreaterEqual(Long id) {
-        regId(CK_GE, id);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param id The value of id as lessEqual.
-     */
-    public void setId_LessEqual(Long id) {
-        regId(CK_LE, id);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param idList The collection of id as inScope.
-     */
-    public void setId_InScope(Collection<Long> idList) {
-        regId(CK_INS, cTL(idList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param idList The collection of id as notInScope.
-     */
-    public void setId_NotInScope(Collection<Long> idList) {
-        regId(CK_NINS, cTL(idList));
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setId_IsNull() {
-        regId(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setId_IsNotNull() {
-        regId(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueId(), "ID", "Id", "id");
-    }
-
-    protected void registerInlineId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueId(), "ID", "Id", "id");
-    }
-
-    abstract protected ConditionValue getCValueId();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100) :
-     * NotNull}
-     * 
-     * @param name The value of name as equal.
-     */
-    public void setName_Equal(String name) {
-        regName(CK_EQ, fRES(name));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as notEqual.
-     */
-    public void setName_NotEqual(String name) {
-        regName(CK_NE, fRES(name));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as greaterThan.
-     */
-    public void setName_GreaterThan(String name) {
-        regName(CK_GT, fRES(name));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as lessThan.
-     */
-    public void setName_LessThan(String name) {
-        regName(CK_LT, fRES(name));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as greaterEqual.
-     */
-    public void setName_GreaterEqual(String name) {
-        regName(CK_GE, fRES(name));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as lessEqual.
-     */
-    public void setName_LessEqual(String name) {
-        regName(CK_LE, fRES(name));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param name The value of name as prefixSearch.
-     */
-    public void setName_PrefixSearch(String name) {
-        regName(CK_PS, fRES(name));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param name The value of name as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setName_LikeSearch(
-            String name,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(name), getCValueName(), "NAME",
-                "Name", "name", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param nameList The collection of name as inScope.
-     */
-    public void setName_InScope(Collection<String> nameList) {
-        regName(CK_INS, cTL(nameList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param name The collection of name as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setName_InScope(
-            String name,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(name), getCValueName(), "NAME",
-                "Name", "name", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param nameList The collection of name as notInScope.
-     */
-    public void setName_NotInScope(Collection<String> nameList) {
-        regName(CK_NINS, cTL(nameList));
-    }
-
-    protected void regName(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueName(), "NAME", "Name", "name");
-    }
-
-    protected void registerInlineName(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueName(), "NAME", "Name", "name");
-    }
-
-    abstract protected ConditionValue getCValueName();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(200)}
-     * 
-     * @param memo The value of memo as equal.
-     */
-    public void setMemo_Equal(String memo) {
-        regMemo(CK_EQ, fRES(memo));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as notEqual.
-     */
-    public void setMemo_NotEqual(String memo) {
-        regMemo(CK_NE, fRES(memo));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as greaterThan.
-     */
-    public void setMemo_GreaterThan(String memo) {
-        regMemo(CK_GT, fRES(memo));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as lessThan.
-     */
-    public void setMemo_LessThan(String memo) {
-        regMemo(CK_LT, fRES(memo));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as greaterEqual.
-     */
-    public void setMemo_GreaterEqual(String memo) {
-        regMemo(CK_GE, fRES(memo));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as lessEqual.
-     */
-    public void setMemo_LessEqual(String memo) {
-        regMemo(CK_LE, fRES(memo));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param memo The value of memo as prefixSearch.
-     */
-    public void setMemo_PrefixSearch(String memo) {
-        regMemo(CK_PS, fRES(memo));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param memo The value of memo as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setMemo_LikeSearch(
-            String memo,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(memo), getCValueMemo(), "MEMO",
-                "Memo", "memo", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param memoList The collection of memo as inScope.
-     */
-    public void setMemo_InScope(Collection<String> memoList) {
-        regMemo(CK_INS, cTL(memoList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param memo The collection of memo as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setMemo_InScope(
-            String memo,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(memo), getCValueMemo(), "MEMO",
-                "Memo", "memo", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param memoList The collection of memo as notInScope.
-     */
-    public void setMemo_NotInScope(Collection<String> memoList) {
-        regMemo(CK_NINS, cTL(memoList));
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setMemo_IsNull() {
-        regMemo(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setMemo_IsNotNull() {
-        regMemo(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regMemo(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
-    }
-
-    protected void registerInlineMemo(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueMemo(), "MEMO", "Memo", "memo");
-    }
-
-    abstract protected ConditionValue getCValueMemo();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : NotNull
-     * : Default=[E]}
-     * 
-     * @param url The value of url as equal.
-     */
-    public void setUrl_Equal(String url) {
-        regUrl(CK_EQ, fRES(url));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param url The value of url as notEqual.
-     */
-    public void setUrl_NotEqual(String url) {
-        regUrl(CK_NE, fRES(url));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param url The value of url as greaterThan.
-     */
-    public void setUrl_GreaterThan(String url) {
-        regUrl(CK_GT, fRES(url));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param url The value of url as lessThan.
-     */
-    public void setUrl_LessThan(String url) {
-        regUrl(CK_LT, fRES(url));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param url The value of url as greaterEqual.
-     */
-    public void setUrl_GreaterEqual(String url) {
-        regUrl(CK_GE, fRES(url));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param url The value of url as lessEqual.
-     */
-    public void setUrl_LessEqual(String url) {
-        regUrl(CK_LE, fRES(url));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param url The value of url as prefixSearch.
-     */
-    public void setUrl_PrefixSearch(String url) {
-        regUrl(CK_PS, fRES(url));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param url The value of url as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setUrl_LikeSearch(
-            String url,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(url), getCValueUrl(), "URL", "Url",
-                "url", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param urlList The collection of url as inScope.
-     */
-    public void setUrl_InScope(Collection<String> urlList) {
-        regUrl(CK_INS, cTL(urlList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param url The collection of url as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setUrl_InScope(
-            String url,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(url), getCValueUrl(), "URL", "Url",
-                "url", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param urlList The collection of url as notInScope.
-     */
-    public void setUrl_NotInScope(Collection<String> urlList) {
-        regUrl(CK_NINS, cTL(urlList));
-    }
-
-    protected void regUrl(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueUrl(), "URL", "Url", "url");
-    }
-
-    protected void registerInlineUrl(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueUrl(), "URL", "Url", "url");
-    }
-
-    abstract protected ConditionValue getCValueUrl();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(1) : NotNull}
-     * 
-     * @param type The value of type as equal.
-     */
-    public void setType_Equal(String type) {
-        regType(CK_EQ, fRES(type));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param type The value of type as notEqual.
-     */
-    public void setType_NotEqual(String type) {
-        regType(CK_NE, fRES(type));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param type The value of type as greaterThan.
-     */
-    public void setType_GreaterThan(String type) {
-        regType(CK_GT, fRES(type));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param type The value of type as lessThan.
-     */
-    public void setType_LessThan(String type) {
-        regType(CK_LT, fRES(type));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param type The value of type as greaterEqual.
-     */
-    public void setType_GreaterEqual(String type) {
-        regType(CK_GE, fRES(type));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param type The value of type as lessEqual.
-     */
-    public void setType_LessEqual(String type) {
-        regType(CK_LE, fRES(type));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param type The value of type as prefixSearch.
-     */
-    public void setType_PrefixSearch(String type) {
-        regType(CK_PS, fRES(type));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param type The value of type as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setType_LikeSearch(
-            String type,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(type), getCValueType(), "TYPE",
-                "Type", "type", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param typeList The collection of type as inScope.
-     */
-    public void setType_InScope(Collection<String> typeList) {
-        regType(CK_INS, cTL(typeList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param type The collection of type as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setType_InScope(
-            String type,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(type), getCValueType(), "TYPE",
-                "Type", "type", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param typeList The collection of type as notInScope.
-     */
-    public void setType_NotInScope(Collection<String> typeList) {
-        regType(CK_NINS, cTL(typeList));
-    }
-
-    protected void regType(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueType(), "TYPE", "Type", "type");
-    }
-
-    protected void registerInlineType(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueType(), "TYPE", "Type", "type");
-    }
-
-    abstract protected ConditionValue getCValueType();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param sortOrder The value of sortOrder as equal.
-     */
-    public void setSortOrder_Equal(Integer sortOrder) {
-        regSortOrder(CK_EQ, sortOrder);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as notEqual.
-     */
-    public void setSortOrder_NotEqual(Integer sortOrder) {
-        regSortOrder(CK_NE, sortOrder);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as greaterThan.
-     */
-    public void setSortOrder_GreaterThan(Integer sortOrder) {
-        regSortOrder(CK_GT, sortOrder);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as lessThan.
-     */
-    public void setSortOrder_LessThan(Integer sortOrder) {
-        regSortOrder(CK_LT, sortOrder);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as greaterEqual.
-     */
-    public void setSortOrder_GreaterEqual(Integer sortOrder) {
-        regSortOrder(CK_GE, sortOrder);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param sortOrder The value of sortOrder as lessEqual.
-     */
-    public void setSortOrder_LessEqual(Integer sortOrder) {
-        regSortOrder(CK_LE, sortOrder);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param sortOrderList The collection of sortOrder as inScope.
-     */
-    public void setSortOrder_InScope(Collection<Integer> sortOrderList) {
-        regSortOrder(CK_INS, cTL(sortOrderList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param sortOrderList The collection of sortOrder as notInScope.
-     */
-    public void setSortOrder_NotInScope(Collection<Integer> sortOrderList) {
-        regSortOrder(CK_NINS, cTL(sortOrderList));
-    }
-
-    protected void regSortOrder(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
-                "SortOrder", "sortOrder");
-    }
-
-    protected void registerInlineSortOrder(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueSortOrder(), "SORT_ORDER",
-                "SortOrder", "sortOrder");
-    }
-
-    abstract protected ConditionValue getCValueSortOrder();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : Default=[0] : FK to
-     * CATEGORY}
-     * 
-     * @param categoryId The value of categoryId as equal.
-     */
-    public void setCategoryId_Equal(Integer categoryId) {
-        regCategoryId(CK_EQ, categoryId);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param categoryId The value of categoryId as notEqual.
-     */
-    public void setCategoryId_NotEqual(Integer categoryId) {
-        regCategoryId(CK_NE, categoryId);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param categoryId The value of categoryId as greaterThan.
-     */
-    public void setCategoryId_GreaterThan(Integer categoryId) {
-        regCategoryId(CK_GT, categoryId);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param categoryId The value of categoryId as lessThan.
-     */
-    public void setCategoryId_LessThan(Integer categoryId) {
-        regCategoryId(CK_LT, categoryId);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param categoryId The value of categoryId as greaterEqual.
-     */
-    public void setCategoryId_GreaterEqual(Integer categoryId) {
-        regCategoryId(CK_GE, categoryId);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param categoryId The value of categoryId as lessEqual.
-     */
-    public void setCategoryId_LessEqual(Integer categoryId) {
-        regCategoryId(CK_LE, categoryId);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param categoryIdList The collection of categoryId as inScope.
-     */
-    public void setCategoryId_InScope(Collection<Integer> categoryIdList) {
-        regCategoryId(CK_INS, cTL(categoryIdList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param categoryIdList The collection of categoryId as notInScope.
-     */
-    public void setCategoryId_NotInScope(Collection<Integer> categoryIdList) {
-        regCategoryId(CK_NINS, cTL(categoryIdList));
-    }
-
-    /**
-     * @param categoryCBquery Query.
-     * @deprecated Please use inScopeCategory(subQuery) method.
-     */
-    public void setCategoryId_InScopeSubQuery_Category(
-            CategoryCQ categoryCBquery) {
-        String subQueryPropertyName = keepCategoryId_InScopeSubQuery_Category(categoryCBquery);// for
-        // saving
-        // query
-        // -
-        // value
-        // .
-        registerInScopeSubQuery(categoryCBquery, "CATEGORY_ID", "ID",
-                subQueryPropertyName);
-    }
-
-    public void inScopeCategory(SubQuery<CategoryCB> subQuery) {
-        assertObjectNotNull("subQuery<CategoryCB>", subQuery);
-        CategoryCB cb = new CategoryCB();
-        cb.xsetupForInScopeSubQuery();
-        subQuery.query(cb);
-        String subQueryPropertyName = keepCategoryId_InScopeSubQuery_Category(cb
-                .query());// for saving query-value.
-        registerInScopeSubQuery(cb.query(), "CATEGORY_ID", "ID",
-                subQueryPropertyName);
-    }
-
-    abstract public String keepCategoryId_InScopeSubQuery_Category(
-            CategoryCQ subQuery);
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setCategoryId_IsNull() {
-        regCategoryId(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setCategoryId_IsNotNull() {
-        regCategoryId(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regCategoryId(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueCategoryId(), "CATEGORY_ID",
-                "CategoryId", "categoryId");
-    }
-
-    protected void registerInlineCategoryId(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueCategoryId(), "CATEGORY_ID",
-                "CategoryId", "categoryId");
-    }
-
-    abstract protected ConditionValue getCValueCategoryId();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param createdTime The value of createdTime as equal.
-     */
-    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_EQ, createdTime);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as notEqual.
-     */
-    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_NE, createdTime);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as greaterThan.
-     */
-    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_GT, createdTime);
-    }
-
-    /**
-     * LessThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as lessThan.
-     */
-    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_LT, createdTime);
-    }
-
-    /**
-     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as greaterEqual.
-     */
-    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_GE, createdTime);
-    }
-
-    /**
-     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param createdTime The value of createdTime as lessEqual.
-     */
-    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
-        regCreatedTime(CK_LE, createdTime);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of createdTime. (Nullable)
-     * @param toDate The to-date of createdTime. (Nullable)
-     * @param fromToOption The option of from-to. (NotNull)
-     */
-    public void setCreatedTime_FromTo(
-            java.util.Date fromDate,
-            java.util.Date toDate,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
-        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
-                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
-                toDate.getTime()) : null), getCValueCreatedTime(),
-                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of createdTime. (Nullable)
-     * @param toDate The to-date of createdTime. (Nullable)
-     */
-    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
-            java.util.Date toDate) {
-        setCreatedTime_FromTo(
-                fromDate,
-                toDate,
-                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
-    }
-
-    protected void regCreatedTime(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
-                "CreatedTime", "createdTime");
-    }
-
-    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
-                "CreatedTime", "createdTime");
-    }
-
-    abstract protected ConditionValue getCValueCreatedTime();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
-     * 
-     * @param createdBy The value of createdBy as equal.
-     */
-    public void setCreatedBy_Equal(String createdBy) {
-        regCreatedBy(CK_EQ, fRES(createdBy));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as notEqual.
-     */
-    public void setCreatedBy_NotEqual(String createdBy) {
-        regCreatedBy(CK_NE, fRES(createdBy));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as greaterThan.
-     */
-    public void setCreatedBy_GreaterThan(String createdBy) {
-        regCreatedBy(CK_GT, fRES(createdBy));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as lessThan.
-     */
-    public void setCreatedBy_LessThan(String createdBy) {
-        regCreatedBy(CK_LT, fRES(createdBy));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as greaterEqual.
-     */
-    public void setCreatedBy_GreaterEqual(String createdBy) {
-        regCreatedBy(CK_GE, fRES(createdBy));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as lessEqual.
-     */
-    public void setCreatedBy_LessEqual(String createdBy) {
-        regCreatedBy(CK_LE, fRES(createdBy));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param createdBy The value of createdBy as prefixSearch.
-     */
-    public void setCreatedBy_PrefixSearch(String createdBy) {
-        regCreatedBy(CK_PS, fRES(createdBy));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param createdBy The value of createdBy as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setCreatedBy_LikeSearch(
-            String createdBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
-                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param createdByList The collection of createdBy as inScope.
-     */
-    public void setCreatedBy_InScope(Collection<String> createdByList) {
-        regCreatedBy(CK_INS, cTL(createdByList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param createdBy The collection of createdBy as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setCreatedBy_InScope(
-            String createdBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
-                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param createdByList The collection of createdBy as notInScope.
-     */
-    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
-        regCreatedBy(CK_NINS, cTL(createdByList));
-    }
-
-    protected void regCreatedBy(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
-                "CreatedBy", "createdBy");
-    }
-
-    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
-                "CreatedBy", "createdBy");
-    }
-
-    abstract protected ConditionValue getCValueCreatedBy();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param updatedTime The value of updatedTime as equal.
-     */
-    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_EQ, updatedTime);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as notEqual.
-     */
-    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_NE, updatedTime);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as greaterThan.
-     */
-    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_GT, updatedTime);
-    }
-
-    /**
-     * LessThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as lessThan.
-     */
-    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_LT, updatedTime);
-    }
-
-    /**
-     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as greaterEqual.
-     */
-    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_GE, updatedTime);
-    }
-
-    /**
-     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param updatedTime The value of updatedTime as lessEqual.
-     */
-    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
-        regUpdatedTime(CK_LE, updatedTime);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of updatedTime. (Nullable)
-     * @param toDate The to-date of updatedTime. (Nullable)
-     * @param fromToOption The option of from-to. (NotNull)
-     */
-    public void setUpdatedTime_FromTo(
-            java.util.Date fromDate,
-            java.util.Date toDate,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
-        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
-                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
-                toDate.getTime()) : null), getCValueUpdatedTime(),
-                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
-     * 
-     * @param fromDate The from-date of updatedTime. (Nullable)
-     * @param toDate The to-date of updatedTime. (Nullable)
-     */
-    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
-            java.util.Date toDate) {
-        setUpdatedTime_FromTo(
-                fromDate,
-                toDate,
-                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
-    }
-
-    protected void regUpdatedTime(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
-                "UpdatedTime", "updatedTime");
-    }
-
-    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
-                "UpdatedTime", "updatedTime");
-    }
-
-    abstract protected ConditionValue getCValueUpdatedTime();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
-     * 
-     * @param updatedBy The value of updatedBy as equal.
-     */
-    public void setUpdatedBy_Equal(String updatedBy) {
-        regUpdatedBy(CK_EQ, fRES(updatedBy));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as notEqual.
-     */
-    public void setUpdatedBy_NotEqual(String updatedBy) {
-        regUpdatedBy(CK_NE, fRES(updatedBy));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as greaterThan.
-     */
-    public void setUpdatedBy_GreaterThan(String updatedBy) {
-        regUpdatedBy(CK_GT, fRES(updatedBy));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as lessThan.
-     */
-    public void setUpdatedBy_LessThan(String updatedBy) {
-        regUpdatedBy(CK_LT, fRES(updatedBy));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as greaterEqual.
-     */
-    public void setUpdatedBy_GreaterEqual(String updatedBy) {
-        regUpdatedBy(CK_GE, fRES(updatedBy));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as lessEqual.
-     */
-    public void setUpdatedBy_LessEqual(String updatedBy) {
-        regUpdatedBy(CK_LE, fRES(updatedBy));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as prefixSearch.
-     */
-    public void setUpdatedBy_PrefixSearch(String updatedBy) {
-        regUpdatedBy(CK_PS, fRES(updatedBy));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param updatedBy The value of updatedBy as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setUpdatedBy_LikeSearch(
-            String updatedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
-                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param updatedByList The collection of updatedBy as inScope.
-     */
-    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
-        regUpdatedBy(CK_INS, cTL(updatedByList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param updatedBy The collection of updatedBy as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setUpdatedBy_InScope(
-            String updatedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
-                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param updatedByList The collection of updatedBy as notInScope.
-     */
-    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
-        regUpdatedBy(CK_NINS, cTL(updatedByList));
-    }
-
-    protected void regUpdatedBy(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
-                "UpdatedBy", "updatedBy");
-    }
-
-    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
-                "UpdatedBy", "updatedBy");
-    }
-
-    abstract protected ConditionValue getCValueUpdatedBy();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
-     * 
-     * @param deletedTime The value of deletedTime as equal.
-     */
-    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_EQ, deletedTime);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as notEqual.
-     */
-    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_NE, deletedTime);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as greaterThan.
-     */
-    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_GT, deletedTime);
-    }
-
-    /**
-     * LessThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as lessThan.
-     */
-    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_LT, deletedTime);
-    }
-
-    /**
-     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as greaterEqual.
-     */
-    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_GE, deletedTime);
-    }
-
-    /**
-     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param deletedTime The value of deletedTime as lessEqual.
-     */
-    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
-        regDeletedTime(CK_LE, deletedTime);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP}
-     * 
-     * @param fromDate The from-date of deletedTime. (Nullable)
-     * @param toDate The to-date of deletedTime. (Nullable)
-     * @param fromToOption The option of from-to. (NotNull)
-     */
-    public void setDeletedTime_FromTo(
-            java.util.Date fromDate,
-            java.util.Date toDate,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
-        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
-                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
-                toDate.getTime()) : null), getCValueDeletedTime(),
-                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
-    }
-
-    /**
-     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP}
-     * 
-     * @param fromDate The from-date of deletedTime. (Nullable)
-     * @param toDate The to-date of deletedTime. (Nullable)
-     */
-    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
-            java.util.Date toDate) {
-        setDeletedTime_FromTo(
-                fromDate,
-                toDate,
-                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setDeletedTime_IsNull() {
-        regDeletedTime(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setDeletedTime_IsNotNull() {
-        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regDeletedTime(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
-                "DeletedTime", "deletedTime");
-    }
-
-    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
-                "DeletedTime", "deletedTime");
-    }
-
-    abstract protected ConditionValue getCValueDeletedTime();
-
-    /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
-     * 
-     * @param deletedBy The value of deletedBy as equal.
-     */
-    public void setDeletedBy_Equal(String deletedBy) {
-        regDeletedBy(CK_EQ, fRES(deletedBy));
-    }
-
-    /**
-     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as notEqual.
-     */
-    public void setDeletedBy_NotEqual(String deletedBy) {
-        regDeletedBy(CK_NE, fRES(deletedBy));
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as greaterThan.
-     */
-    public void setDeletedBy_GreaterThan(String deletedBy) {
-        regDeletedBy(CK_GT, fRES(deletedBy));
-    }
-
-    /**
-     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as lessThan.
-     */
-    public void setDeletedBy_LessThan(String deletedBy) {
-        regDeletedBy(CK_LT, fRES(deletedBy));
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as greaterEqual.
-     */
-    public void setDeletedBy_GreaterEqual(String deletedBy) {
-        regDeletedBy(CK_GE, fRES(deletedBy));
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as lessEqual.
-     */
-    public void setDeletedBy_LessEqual(String deletedBy) {
-        regDeletedBy(CK_LE, fRES(deletedBy));
-    }
-
-    /**
-     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as prefixSearch.
-     */
-    public void setDeletedBy_PrefixSearch(String deletedBy) {
-        regDeletedBy(CK_PS, fRES(deletedBy));
-    }
-
-    /**
-     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
-     * SeveralRegistered.
-     * 
-     * @param deletedBy The value of deletedBy as likeSearch.
-     * @param likeSearchOption The option of like-search. (NotNull)
-     */
-    public void setDeletedBy_LikeSearch(
-            String deletedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
-        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
-                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param deletedByList The collection of deletedBy as inScope.
-     */
-    public void setDeletedBy_InScope(Collection<String> deletedByList) {
-        regDeletedBy(CK_INS, cTL(deletedByList));
-    }
-
-    /**
-     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param deletedBy The collection of deletedBy as inScope.
-     * @param inScopeOption The option of in-scope. (NotNull)
-     */
-    public void setDeletedBy_InScope(
-            String deletedBy,
-            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
-        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
-                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
-    }
-
-    /**
-     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
-     * NullOrEmptyElementIgnored, SeveralRegistered.
-     * 
-     * @param deletedByList The collection of deletedBy as notInScope.
-     */
-    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
-        regDeletedBy(CK_NINS, cTL(deletedByList));
-    }
-
-    /**
-     * IsNull(is null). And OnceRegistered.
-     */
-    public void setDeletedBy_IsNull() {
-        regDeletedBy(CK_ISN, DUMMY_OBJECT);
-    }
-
-    /**
-     * IsNotNull(is not null). And OnceRegistered.
-     */
-    public void setDeletedBy_IsNotNull() {
-        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
-    }
-
-    protected void regDeletedBy(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
-                "DeletedBy", "deletedBy");
-    }
-
-    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
-                "DeletedBy", "deletedBy");
-    }
-
-    abstract protected ConditionValue getCValueDeletedBy();
-
-    /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
-     * Default=[0]}
-     * 
-     * @param versionno The value of versionno as equal.
-     */
-    public void setVersionno_Equal(Integer versionno) {
-        regVersionno(CK_EQ, versionno);
-    }
-
-    /**
-     * NotEqual(!=). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as notEqual.
-     */
-    public void setVersionno_NotEqual(Integer versionno) {
-        regVersionno(CK_NE, versionno);
-    }
-
-    /**
-     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as greaterThan.
-     */
-    public void setVersionno_GreaterThan(Integer versionno) {
-        regVersionno(CK_GT, versionno);
-    }
-
-    /**
-     * LessThan(&lt;). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as lessThan.
-     */
-    public void setVersionno_LessThan(Integer versionno) {
-        regVersionno(CK_LT, versionno);
-    }
-
-    /**
-     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as greaterEqual.
-     */
-    public void setVersionno_GreaterEqual(Integer versionno) {
-        regVersionno(CK_GE, versionno);
-    }
-
-    /**
-     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
-     * 
-     * @param versionno The value of versionno as lessEqual.
-     */
-    public void setVersionno_LessEqual(Integer versionno) {
-        regVersionno(CK_LE, versionno);
-    }
-
-    /**
-     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param versionnoList The collection of versionno as inScope.
-     */
-    public void setVersionno_InScope(Collection<Integer> versionnoList) {
-        regVersionno(CK_INS, cTL(versionnoList));
-    }
-
-    /**
-     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
-     * SeveralRegistered.
-     * 
-     * @param versionnoList The collection of versionno as notInScope.
-     */
-    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
-        regVersionno(CK_NINS, cTL(versionnoList));
-    }
-
-    protected void regVersionno(ConditionKey key, Object value) {
-        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
-                "Versionno", "versionno");
-    }
-
-    protected void registerInlineVersionno(ConditionKey key, Object value) {
-        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
-                "Versionno", "versionno");
-    }
-
-    abstract protected ConditionValue getCValueVersionno();
-
-    // Very Internal (for Suppressing Warn about 'Not Use Import')
-    protected String getConditionBeanClassNameInternally() {
-        return LinkCB.class.getName();
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return LinkCQ.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,1894 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+
+/**
+ * The abstract condition-query of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsRoleInfoCQ extends AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsRoleInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "ROLE_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {PK : NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param roleId The value of roleId as equal.
+     */
+    public void setRoleId_Equal(String roleId) {
+        regRoleId(CK_EQ, fRES(roleId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as notEqual.
+     */
+    public void setRoleId_NotEqual(String roleId) {
+        regRoleId(CK_NE, fRES(roleId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as greaterThan.
+     */
+    public void setRoleId_GreaterThan(String roleId) {
+        regRoleId(CK_GT, fRES(roleId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as lessThan.
+     */
+    public void setRoleId_LessThan(String roleId) {
+        regRoleId(CK_LT, fRES(roleId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as greaterEqual.
+     */
+    public void setRoleId_GreaterEqual(String roleId) {
+        regRoleId(CK_GE, fRES(roleId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as lessEqual.
+     */
+    public void setRoleId_LessEqual(String roleId) {
+        regRoleId(CK_LE, fRES(roleId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as prefixSearch.
+     */
+    public void setRoleId_PrefixSearch(String roleId) {
+        regRoleId(CK_PS, fRES(roleId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param roleId The value of roleId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setRoleId_LikeSearch(
+            String roleId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(roleId), getCValueRoleId(),
+                "ROLE_ID", "RoleId", "roleId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleIdList The collection of roleId as inScope.
+     */
+    public void setRoleId_InScope(Collection<String> roleIdList) {
+        regRoleId(CK_INS, cTL(roleIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleId The collection of roleId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setRoleId_InScope(
+            String roleId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(roleId), getCValueRoleId(),
+                "ROLE_ID", "RoleId", "roleId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleIdList The collection of roleId as notInScope.
+     */
+    public void setRoleId_NotInScope(Collection<String> roleIdList) {
+        regRoleId(CK_NINS, cTL(roleIdList));
+    }
+
+    /**
+     * @param roleMappingCBquery Query.
+     * @deprecated Please use inScopeRoleMappingList(subQuery) method.
+     */
+    public void setRoleId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ roleMappingCBquery) {
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_RoleMappingList(roleMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(roleMappingCBquery, "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use inScopeUserInfoList(subQuery) method.
+     */
+    public void setRoleId_InScopeSubQuery_UserInfoList(
+            UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_UserInfoList(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(userInfoCBquery, "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_InScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    public void notInScopeRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_NotInScopeSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_NotInScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    public void notInScopeUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_NotInScopeSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_NotInScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    /**
+     * @param roleMappingCBquery Query.
+     * @deprecated Please use existsRoleMappingList(subQuery) method.
+     */
+    public void setRoleId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ roleMappingCBquery) {
+        String subQueryPropertyName = keepRoleId_ExistsSubQuery_RoleMappingList(roleMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(roleMappingCBquery, "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select ROLE_ID from ROLE_MAPPING
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of RoleId_ExistsSubQuery_RoleMappingList
+     *            for 'exists'. (NotNull)
+     */
+    public void existsRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_ExistsSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use existsUserInfoList(subQuery) method.
+     */
+    public void setRoleId_ExistsSubQuery_UserInfoList(UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepRoleId_ExistsSubQuery_UserInfoList(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(userInfoCBquery, "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select ROLE_ID from USER_INFO where
+     * ...)}
+     * 
+     * @param subQuery The sub-query of RoleId_ExistsSubQuery_UserInfoList for
+     *            'exists'. (NotNull)
+     */
+    public void existsUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_ExistsSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_ExistsSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select ROLE_ID from
+     * ROLE_MAPPING where ...)}
+     * 
+     * @param subQuery The sub-query of RoleId_NotExistsSubQuery_RoleMappingList
+     *            for 'not exists'. (NotNull)
+     */
+    public void notExistsRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_NotExistsSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_NotExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select ROLE_ID from USER_INFO
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of RoleId_NotExistsSubQuery_UserInfoList
+     *            for 'not exists'. (NotNull)
+     */
+    public void notExistsUserInfoList(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_NotExistsSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_NotExistsSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    public void xderiveRoleMappingList(String function,
+            SubQuery<RoleMappingCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_DeriveSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepRoleId_DeriveSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    public void xderiveUserInfoList(String function,
+            SubQuery<UserInfoCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_DeriveSubQuery_UserInfoList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepRoleId_DeriveSubQuery_UserInfoList(
+            UserInfoCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setRoleId_IsNull() {
+        regRoleId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setRoleId_IsNotNull() {
+        regRoleId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regRoleId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueRoleId(), "ROLE_ID", "RoleId",
+                "roleId");
+    }
+
+    protected void registerInlineRoleId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueRoleId(), "ROLE_ID", "RoleId",
+                "roleId");
+    }
+
+    abstract protected ConditionValue getCValueRoleId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100)}
+     * 
+     * @param name The value of name as equal.
+     */
+    public void setName_Equal(String name) {
+        regName(CK_EQ, fRES(name));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as notEqual.
+     */
+    public void setName_NotEqual(String name) {
+        regName(CK_NE, fRES(name));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterThan.
+     */
+    public void setName_GreaterThan(String name) {
+        regName(CK_GT, fRES(name));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessThan.
+     */
+    public void setName_LessThan(String name) {
+        regName(CK_LT, fRES(name));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as greaterEqual.
+     */
+    public void setName_GreaterEqual(String name) {
+        regName(CK_GE, fRES(name));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as lessEqual.
+     */
+    public void setName_LessEqual(String name) {
+        regName(CK_LE, fRES(name));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param name The value of name as prefixSearch.
+     */
+    public void setName_PrefixSearch(String name) {
+        regName(CK_PS, fRES(name));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param name The value of name as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setName_LikeSearch(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as inScope.
+     */
+    public void setName_InScope(Collection<String> nameList) {
+        regName(CK_INS, cTL(nameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param name The collection of name as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setName_InScope(
+            String name,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(name), getCValueName(), "NAME",
+                "Name", "name", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nameList The collection of name as notInScope.
+     */
+    public void setName_NotInScope(Collection<String> nameList) {
+        regName(CK_NINS, cTL(nameList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setName_IsNull() {
+        regName(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setName_IsNotNull() {
+        regName(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    protected void registerInlineName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueName(), "NAME", "Name", "name");
+    }
+
+    abstract protected ConditionValue getCValueName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param description The value of description as equal.
+     */
+    public void setDescription_Equal(String description) {
+        regDescription(CK_EQ, fRES(description));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as notEqual.
+     */
+    public void setDescription_NotEqual(String description) {
+        regDescription(CK_NE, fRES(description));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as greaterThan.
+     */
+    public void setDescription_GreaterThan(String description) {
+        regDescription(CK_GT, fRES(description));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as lessThan.
+     */
+    public void setDescription_LessThan(String description) {
+        regDescription(CK_LT, fRES(description));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as greaterEqual.
+     */
+    public void setDescription_GreaterEqual(String description) {
+        regDescription(CK_GE, fRES(description));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as lessEqual.
+     */
+    public void setDescription_LessEqual(String description) {
+        regDescription(CK_LE, fRES(description));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param description The value of description as prefixSearch.
+     */
+    public void setDescription_PrefixSearch(String description) {
+        regDescription(CK_PS, fRES(description));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param description The value of description as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDescription_LikeSearch(
+            String description,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(description),
+                getCValueDescription(), "DESCRIPTION", "Description",
+                "description", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param descriptionList The collection of description as inScope.
+     */
+    public void setDescription_InScope(Collection<String> descriptionList) {
+        regDescription(CK_INS, cTL(descriptionList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param description The collection of description as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDescription_InScope(
+            String description,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(description), getCValueDescription(),
+                "DESCRIPTION", "Description", "description", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param descriptionList The collection of description as notInScope.
+     */
+    public void setDescription_NotInScope(Collection<String> descriptionList) {
+        regDescription(CK_NINS, cTL(descriptionList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDescription_IsNull() {
+        regDescription(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDescription_IsNotNull() {
+        regDescription(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDescription(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDescription(), "DESCRIPTION",
+                "Description", "description");
+    }
+
+    protected void registerInlineDescription(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDescription(), "DESCRIPTION",
+                "Description", "description");
+    }
+
+    abstract protected ConditionValue getCValueDescription();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param email The value of email as equal.
+     */
+    public void setEmail_Equal(String email) {
+        regEmail(CK_EQ, fRES(email));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as notEqual.
+     */
+    public void setEmail_NotEqual(String email) {
+        regEmail(CK_NE, fRES(email));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterThan.
+     */
+    public void setEmail_GreaterThan(String email) {
+        regEmail(CK_GT, fRES(email));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessThan.
+     */
+    public void setEmail_LessThan(String email) {
+        regEmail(CK_LT, fRES(email));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterEqual.
+     */
+    public void setEmail_GreaterEqual(String email) {
+        regEmail(CK_GE, fRES(email));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessEqual.
+     */
+    public void setEmail_LessEqual(String email) {
+        regEmail(CK_LE, fRES(email));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as prefixSearch.
+     */
+    public void setEmail_PrefixSearch(String email) {
+        regEmail(CK_PS, fRES(email));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param email The value of email as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setEmail_LikeSearch(
+            String email,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(email), getCValueEmail(), "EMAIL",
+                "Email", "email", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param emailList The collection of email as inScope.
+     */
+    public void setEmail_InScope(Collection<String> emailList) {
+        regEmail(CK_INS, cTL(emailList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param email The collection of email as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setEmail_InScope(
+            String email,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(email), getCValueEmail(), "EMAIL",
+                "Email", "email", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param emailList The collection of email as notInScope.
+     */
+    public void setEmail_NotInScope(Collection<String> emailList) {
+        regEmail(CK_NINS, cTL(emailList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setEmail_IsNull() {
+        regEmail(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setEmail_IsNotNull() {
+        regEmail(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regEmail(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueEmail(), "EMAIL", "Email", "email");
+    }
+
+    protected void registerInlineEmail(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueEmail(), "EMAIL", "Email",
+                "email");
+    }
+
+    abstract protected ConditionValue getCValueEmail();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param url The value of url as equal.
+     */
+    public void setUrl_Equal(String url) {
+        regUrl(CK_EQ, fRES(url));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as notEqual.
+     */
+    public void setUrl_NotEqual(String url) {
+        regUrl(CK_NE, fRES(url));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterThan.
+     */
+    public void setUrl_GreaterThan(String url) {
+        regUrl(CK_GT, fRES(url));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessThan.
+     */
+    public void setUrl_LessThan(String url) {
+        regUrl(CK_LT, fRES(url));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterEqual.
+     */
+    public void setUrl_GreaterEqual(String url) {
+        regUrl(CK_GE, fRES(url));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessEqual.
+     */
+    public void setUrl_LessEqual(String url) {
+        regUrl(CK_LE, fRES(url));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as prefixSearch.
+     */
+    public void setUrl_PrefixSearch(String url) {
+        regUrl(CK_PS, fRES(url));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param url The value of url as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUrl_LikeSearch(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as inScope.
+     */
+    public void setUrl_InScope(Collection<String> urlList) {
+        regUrl(CK_INS, cTL(urlList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param url The collection of url as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUrl_InScope(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as notInScope.
+     */
+    public void setUrl_NotInScope(Collection<String> urlList) {
+        regUrl(CK_NINS, cTL(urlList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setUrl_IsNull() {
+        regUrl(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setUrl_IsNotNull() {
+        regUrl(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regUrl(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    protected void registerInlineUrl(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    abstract protected ConditionValue getCValueUrl();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(40)}
+     * 
+     * @param telephone The value of telephone as equal.
+     */
+    public void setTelephone_Equal(String telephone) {
+        regTelephone(CK_EQ, fRES(telephone));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as notEqual.
+     */
+    public void setTelephone_NotEqual(String telephone) {
+        regTelephone(CK_NE, fRES(telephone));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as greaterThan.
+     */
+    public void setTelephone_GreaterThan(String telephone) {
+        regTelephone(CK_GT, fRES(telephone));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as lessThan.
+     */
+    public void setTelephone_LessThan(String telephone) {
+        regTelephone(CK_LT, fRES(telephone));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as greaterEqual.
+     */
+    public void setTelephone_GreaterEqual(String telephone) {
+        regTelephone(CK_GE, fRES(telephone));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as lessEqual.
+     */
+    public void setTelephone_LessEqual(String telephone) {
+        regTelephone(CK_LE, fRES(telephone));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as prefixSearch.
+     */
+    public void setTelephone_PrefixSearch(String telephone) {
+        regTelephone(CK_PS, fRES(telephone));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param telephone The value of telephone as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setTelephone_LikeSearch(
+            String telephone,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(telephone), getCValueTelephone(),
+                "TELEPHONE", "Telephone", "telephone", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneList The collection of telephone as inScope.
+     */
+    public void setTelephone_InScope(Collection<String> telephoneList) {
+        regTelephone(CK_INS, cTL(telephoneList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephone The collection of telephone as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setTelephone_InScope(
+            String telephone,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(telephone), getCValueTelephone(),
+                "TELEPHONE", "Telephone", "telephone", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneList The collection of telephone as notInScope.
+     */
+    public void setTelephone_NotInScope(Collection<String> telephoneList) {
+        regTelephone(CK_NINS, cTL(telephoneList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setTelephone_IsNull() {
+        regTelephone(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setTelephone_IsNotNull() {
+        regTelephone(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regTelephone(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueTelephone(), "TELEPHONE",
+                "Telephone", "telephone");
+    }
+
+    protected void registerInlineTelephone(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueTelephone(), "TELEPHONE",
+                "Telephone", "telephone");
+    }
+
+    abstract protected ConditionValue getCValueTelephone();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as inScope.
+     */
+    public void setCreatedBy_InScope(Collection<String> createdByList) {
+        regCreatedBy(CK_INS, cTL(createdByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdBy The collection of createdBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setCreatedBy_InScope(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as inScope.
+     */
+    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_INS, cTL(updatedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedBy The collection of updatedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUpdatedBy_InScope(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as notInScope.
+     */
+    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_NINS, cTL(updatedByList));
+    }
+
+    protected void regUpdatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
+     * 
+     * @param deletedTime The value of deletedTime as equal.
+     */
+    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_EQ, deletedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as notEqual.
+     */
+    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_NE, deletedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterThan.
+     */
+    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GT, deletedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessThan.
+     */
+    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LT, deletedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterEqual.
+     */
+    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GE, deletedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessEqual.
+     */
+    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LE, deletedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setDeletedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueDeletedTime(),
+                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     */
+    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setDeletedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNull() {
+        regDeletedTime(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNotNull() {
+        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    abstract protected ConditionValue getCValueDeletedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of deletedBy as equal.
+     */
+    public void setDeletedBy_Equal(String deletedBy) {
+        regDeletedBy(CK_EQ, fRES(deletedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as notEqual.
+     */
+    public void setDeletedBy_NotEqual(String deletedBy) {
+        regDeletedBy(CK_NE, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterThan.
+     */
+    public void setDeletedBy_GreaterThan(String deletedBy) {
+        regDeletedBy(CK_GT, fRES(deletedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessThan.
+     */
+    public void setDeletedBy_LessThan(String deletedBy) {
+        regDeletedBy(CK_LT, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterEqual.
+     */
+    public void setDeletedBy_GreaterEqual(String deletedBy) {
+        regDeletedBy(CK_GE, fRES(deletedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessEqual.
+     */
+    public void setDeletedBy_LessEqual(String deletedBy) {
+        regDeletedBy(CK_LE, fRES(deletedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as prefixSearch.
+     */
+    public void setDeletedBy_PrefixSearch(String deletedBy) {
+        regDeletedBy(CK_PS, fRES(deletedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDeletedBy_LikeSearch(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as inScope.
+     */
+    public void setDeletedBy_InScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_INS, cTL(deletedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedBy The collection of deletedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDeletedBy_InScope(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER}
+     * 
+     * @param versionno The value of versionno as equal.
+     */
+    public void setVersionno_Equal(Integer versionno) {
+        regVersionno(CK_EQ, versionno);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as notEqual.
+     */
+    public void setVersionno_NotEqual(Integer versionno) {
+        regVersionno(CK_NE, versionno);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterThan.
+     */
+    public void setVersionno_GreaterThan(Integer versionno) {
+        regVersionno(CK_GT, versionno);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessThan.
+     */
+    public void setVersionno_LessThan(Integer versionno) {
+        regVersionno(CK_LT, versionno);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterEqual.
+     */
+    public void setVersionno_GreaterEqual(Integer versionno) {
+        regVersionno(CK_GE, versionno);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessEqual.
+     */
+    public void setVersionno_LessEqual(Integer versionno) {
+        regVersionno(CK_LE, versionno);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as inScope.
+     */
+    public void setVersionno_InScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_INS, cTL(versionnoList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as notInScope.
+     */
+    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_NINS, cTL(versionnoList));
+    }
+
+    protected void regVersionno(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    protected void registerInlineVersionno(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    abstract protected ConditionValue getCValueVersionno();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return RoleInfoCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleInfoCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,464 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+
+/**
+ * The abstract condition-query of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsRoleMappingCQ extends AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsRoleMappingCQ(ConditionQuery childQuery,
+            SqlClause sqlClause, String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "ROLE_MAPPING";
+    }
+
+    public String getTableSqlName() {
+        return "ROLE_MAPPING";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : INTEGER}
+     * 
+     * @param id The value of id as equal.
+     */
+    public void setId_Equal(Integer id) {
+        regId(CK_EQ, id);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as notEqual.
+     */
+    public void setId_NotEqual(Integer id) {
+        regId(CK_NE, id);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterThan.
+     */
+    public void setId_GreaterThan(Integer id) {
+        regId(CK_GT, id);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessThan.
+     */
+    public void setId_LessThan(Integer id) {
+        regId(CK_LT, id);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as greaterEqual.
+     */
+    public void setId_GreaterEqual(Integer id) {
+        regId(CK_GE, id);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param id The value of id as lessEqual.
+     */
+    public void setId_LessEqual(Integer id) {
+        regId(CK_LE, id);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as inScope.
+     */
+    public void setId_InScope(Collection<Integer> idList) {
+        regId(CK_INS, cTL(idList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param idList The collection of id as notInScope.
+     */
+    public void setId_NotInScope(Collection<Integer> idList) {
+        regId(CK_NINS, cTL(idList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setId_IsNull() {
+        regId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setId_IsNotNull() {
+        regId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    protected void registerInlineId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueId(), "ID", "Id", "id");
+    }
+
+    abstract protected ConditionValue getCValueId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(255)
+     * : FK to USER_INFO}
+     * 
+     * @param userId The value of userId as equal.
+     */
+    public void setUserId_Equal(String userId) {
+        regUserId(CK_EQ, fRES(userId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as notEqual.
+     */
+    public void setUserId_NotEqual(String userId) {
+        regUserId(CK_NE, fRES(userId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as greaterThan.
+     */
+    public void setUserId_GreaterThan(String userId) {
+        regUserId(CK_GT, fRES(userId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as lessThan.
+     */
+    public void setUserId_LessThan(String userId) {
+        regUserId(CK_LT, fRES(userId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as greaterEqual.
+     */
+    public void setUserId_GreaterEqual(String userId) {
+        regUserId(CK_GE, fRES(userId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as lessEqual.
+     */
+    public void setUserId_LessEqual(String userId) {
+        regUserId(CK_LE, fRES(userId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as prefixSearch.
+     */
+    public void setUserId_PrefixSearch(String userId) {
+        regUserId(CK_PS, fRES(userId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param userId The value of userId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUserId_LikeSearch(
+            String userId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(userId), getCValueUserId(),
+                "USER_ID", "UserId", "userId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userIdList The collection of userId as inScope.
+     */
+    public void setUserId_InScope(Collection<String> userIdList) {
+        regUserId(CK_INS, cTL(userIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userId The collection of userId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUserId_InScope(
+            String userId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(userId), getCValueUserId(),
+                "USER_ID", "UserId", "userId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userIdList The collection of userId as notInScope.
+     */
+    public void setUserId_NotInScope(Collection<String> userIdList) {
+        regUserId(CK_NINS, cTL(userIdList));
+    }
+
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use inScopeUserInfo(subQuery) method.
+     */
+    public void setUserId_InScopeSubQuery_UserInfo(UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_UserInfo(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(userInfoCBquery, "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeUserInfo(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_UserInfo(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_InScopeSubQuery_UserInfo(
+            jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ subQuery);
+
+    protected void regUserId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUserId(), "USER_ID", "UserId",
+                "userId");
+    }
+
+    protected void registerInlineUserId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUserId(), "USER_ID", "UserId",
+                "userId");
+    }
+
+    abstract protected ConditionValue getCValueUserId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(255)
+     * : FK to ROLE_INFO}
+     * 
+     * @param roleId The value of roleId as equal.
+     */
+    public void setRoleId_Equal(String roleId) {
+        regRoleId(CK_EQ, fRES(roleId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as notEqual.
+     */
+    public void setRoleId_NotEqual(String roleId) {
+        regRoleId(CK_NE, fRES(roleId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as greaterThan.
+     */
+    public void setRoleId_GreaterThan(String roleId) {
+        regRoleId(CK_GT, fRES(roleId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as lessThan.
+     */
+    public void setRoleId_LessThan(String roleId) {
+        regRoleId(CK_LT, fRES(roleId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as greaterEqual.
+     */
+    public void setRoleId_GreaterEqual(String roleId) {
+        regRoleId(CK_GE, fRES(roleId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as lessEqual.
+     */
+    public void setRoleId_LessEqual(String roleId) {
+        regRoleId(CK_LE, fRES(roleId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as prefixSearch.
+     */
+    public void setRoleId_PrefixSearch(String roleId) {
+        regRoleId(CK_PS, fRES(roleId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param roleId The value of roleId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setRoleId_LikeSearch(
+            String roleId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(roleId), getCValueRoleId(),
+                "ROLE_ID", "RoleId", "roleId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleIdList The collection of roleId as inScope.
+     */
+    public void setRoleId_InScope(Collection<String> roleIdList) {
+        regRoleId(CK_INS, cTL(roleIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleId The collection of roleId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setRoleId_InScope(
+            String roleId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(roleId), getCValueRoleId(),
+                "ROLE_ID", "RoleId", "roleId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleIdList The collection of roleId as notInScope.
+     */
+    public void setRoleId_NotInScope(Collection<String> roleIdList) {
+        regRoleId(CK_NINS, cTL(roleIdList));
+    }
+
+    /**
+     * @param roleInfoCBquery Query.
+     * @deprecated Please use inScopeRoleInfo(subQuery) method.
+     */
+    public void setRoleId_InScopeSubQuery_RoleInfo(RoleInfoCQ roleInfoCBquery) {
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_RoleInfo(roleInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(roleInfoCBquery, "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeRoleInfo(SubQuery<RoleInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleInfoCB>", subQuery);
+        RoleInfoCB cb = new RoleInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_RoleInfo(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_InScopeSubQuery_RoleInfo(
+            jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ subQuery);
+
+    protected void regRoleId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueRoleId(), "ROLE_ID", "RoleId",
+                "roleId");
+    }
+
+    protected void registerInlineRoleId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueRoleId(), "ROLE_ID", "RoleId",
+                "roleId");
+    }
+
+    abstract protected ConditionValue getCValueRoleId();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return RoleMappingCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleMappingCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsUserInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsUserInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,2652 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.GroupInfoCB;
+import jp.sf.pal.bookmark.db.cbean.GroupMappingCB;
+import jp.sf.pal.bookmark.db.cbean.RoleInfoCB;
+import jp.sf.pal.bookmark.db.cbean.RoleMappingCB;
+import jp.sf.pal.bookmark.db.cbean.UserInfoCB;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+
+/**
+ * The abstract condition-query of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class AbstractBsUserInfoCQ extends AbstractConditionQuery {
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public AbstractBsUserInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "USER_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "USER_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {PK : NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param userId The value of userId as equal.
+     */
+    public void setUserId_Equal(String userId) {
+        regUserId(CK_EQ, fRES(userId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as notEqual.
+     */
+    public void setUserId_NotEqual(String userId) {
+        regUserId(CK_NE, fRES(userId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as greaterThan.
+     */
+    public void setUserId_GreaterThan(String userId) {
+        regUserId(CK_GT, fRES(userId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as lessThan.
+     */
+    public void setUserId_LessThan(String userId) {
+        regUserId(CK_LT, fRES(userId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as greaterEqual.
+     */
+    public void setUserId_GreaterEqual(String userId) {
+        regUserId(CK_GE, fRES(userId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as lessEqual.
+     */
+    public void setUserId_LessEqual(String userId) {
+        regUserId(CK_LE, fRES(userId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param userId The value of userId as prefixSearch.
+     */
+    public void setUserId_PrefixSearch(String userId) {
+        regUserId(CK_PS, fRES(userId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param userId The value of userId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUserId_LikeSearch(
+            String userId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(userId), getCValueUserId(),
+                "USER_ID", "UserId", "userId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userIdList The collection of userId as inScope.
+     */
+    public void setUserId_InScope(Collection<String> userIdList) {
+        regUserId(CK_INS, cTL(userIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userId The collection of userId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUserId_InScope(
+            String userId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(userId), getCValueUserId(),
+                "USER_ID", "UserId", "userId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param userIdList The collection of userId as notInScope.
+     */
+    public void setUserId_NotInScope(Collection<String> userIdList) {
+        regUserId(CK_NINS, cTL(userIdList));
+    }
+
+    /**
+     * @param groupMappingCBquery Query.
+     * @deprecated Please use inScopeGroupMappingList(subQuery) method.
+     */
+    public void setUserId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ groupMappingCBquery) {
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_GroupMappingList(groupMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(groupMappingCBquery, "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    /**
+     * @param roleMappingCBquery Query.
+     * @deprecated Please use inScopeRoleMappingList(subQuery) method.
+     */
+    public void setUserId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ roleMappingCBquery) {
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_RoleMappingList(roleMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(roleMappingCBquery, "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    public void notInScopeGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotInScopeSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotInScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    public void notInScopeRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotInScopeSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotInScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    /**
+     * @param groupMappingCBquery Query.
+     * @deprecated Please use existsGroupMappingList(subQuery) method.
+     */
+    public void setUserId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ groupMappingCBquery) {
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_GroupMappingList(groupMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(groupMappingCBquery, "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select USER_ID from GROUP_MAPPING
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of UserId_ExistsSubQuery_GroupMappingList
+     *            for 'exists'. (NotNull)
+     */
+    public void existsGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    /**
+     * @param roleMappingCBquery Query.
+     * @deprecated Please use existsRoleMappingList(subQuery) method.
+     */
+    public void setUserId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ roleMappingCBquery) {
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_RoleMappingList(roleMappingCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(roleMappingCBquery, "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select USER_ID from ROLE_MAPPING
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of UserId_ExistsSubQuery_RoleMappingList
+     *            for 'exists'. (NotNull)
+     */
+    public void existsRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select USER_ID from
+     * GROUP_MAPPING where ...)}
+     * 
+     * @param subQuery The sub-query of
+     *            UserId_NotExistsSubQuery_GroupMappingList for 'not exists'.
+     *            (NotNull)
+     */
+    public void notExistsGroupMappingList(SubQuery<GroupMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotExistsSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select USER_ID from
+     * ROLE_MAPPING where ...)}
+     * 
+     * @param subQuery The sub-query of UserId_NotExistsSubQuery_RoleMappingList
+     *            for 'not exists'. (NotNull)
+     */
+    public void notExistsRoleMappingList(SubQuery<RoleMappingCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotExistsSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    public void xderiveGroupMappingList(String function,
+            SubQuery<GroupMappingCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<GroupMappingCB>", subQuery);
+        GroupMappingCB cb = new GroupMappingCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_DeriveSubQuery_GroupMappingList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepUserId_DeriveSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery);
+
+    public void xderiveRoleMappingList(String function,
+            SubQuery<RoleMappingCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<RoleMappingCB>", subQuery);
+        RoleMappingCB cb = new RoleMappingCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_DeriveSubQuery_RoleMappingList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "USER_ID", "USER_ID",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepUserId_DeriveSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setUserId_IsNull() {
+        regUserId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setUserId_IsNotNull() {
+        regUserId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regUserId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUserId(), "USER_ID", "UserId",
+                "userId");
+    }
+
+    protected void registerInlineUserId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUserId(), "USER_ID", "UserId",
+                "userId");
+    }
+
+    abstract protected ConditionValue getCValueUserId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100)}
+     * 
+     * @param givenName The value of givenName as equal.
+     */
+    public void setGivenName_Equal(String givenName) {
+        regGivenName(CK_EQ, fRES(givenName));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenName The value of givenName as notEqual.
+     */
+    public void setGivenName_NotEqual(String givenName) {
+        regGivenName(CK_NE, fRES(givenName));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenName The value of givenName as greaterThan.
+     */
+    public void setGivenName_GreaterThan(String givenName) {
+        regGivenName(CK_GT, fRES(givenName));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenName The value of givenName as lessThan.
+     */
+    public void setGivenName_LessThan(String givenName) {
+        regGivenName(CK_LT, fRES(givenName));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenName The value of givenName as greaterEqual.
+     */
+    public void setGivenName_GreaterEqual(String givenName) {
+        regGivenName(CK_GE, fRES(givenName));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenName The value of givenName as lessEqual.
+     */
+    public void setGivenName_LessEqual(String givenName) {
+        regGivenName(CK_LE, fRES(givenName));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenName The value of givenName as prefixSearch.
+     */
+    public void setGivenName_PrefixSearch(String givenName) {
+        regGivenName(CK_PS, fRES(givenName));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param givenName The value of givenName as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setGivenName_LikeSearch(
+            String givenName,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(givenName), getCValueGivenName(),
+                "GIVEN_NAME", "GivenName", "givenName", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param givenNameList The collection of givenName as inScope.
+     */
+    public void setGivenName_InScope(Collection<String> givenNameList) {
+        regGivenName(CK_INS, cTL(givenNameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param givenName The collection of givenName as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setGivenName_InScope(
+            String givenName,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(givenName), getCValueGivenName(),
+                "GIVEN_NAME", "GivenName", "givenName", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param givenNameList The collection of givenName as notInScope.
+     */
+    public void setGivenName_NotInScope(Collection<String> givenNameList) {
+        regGivenName(CK_NINS, cTL(givenNameList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setGivenName_IsNull() {
+        regGivenName(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setGivenName_IsNotNull() {
+        regGivenName(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regGivenName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueGivenName(), "GIVEN_NAME",
+                "GivenName", "givenName");
+    }
+
+    protected void registerInlineGivenName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueGivenName(), "GIVEN_NAME",
+                "GivenName", "givenName");
+    }
+
+    abstract protected ConditionValue getCValueGivenName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100)}
+     * 
+     * @param familyName The value of familyName as equal.
+     */
+    public void setFamilyName_Equal(String familyName) {
+        regFamilyName(CK_EQ, fRES(familyName));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyName The value of familyName as notEqual.
+     */
+    public void setFamilyName_NotEqual(String familyName) {
+        regFamilyName(CK_NE, fRES(familyName));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyName The value of familyName as greaterThan.
+     */
+    public void setFamilyName_GreaterThan(String familyName) {
+        regFamilyName(CK_GT, fRES(familyName));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyName The value of familyName as lessThan.
+     */
+    public void setFamilyName_LessThan(String familyName) {
+        regFamilyName(CK_LT, fRES(familyName));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyName The value of familyName as greaterEqual.
+     */
+    public void setFamilyName_GreaterEqual(String familyName) {
+        regFamilyName(CK_GE, fRES(familyName));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyName The value of familyName as lessEqual.
+     */
+    public void setFamilyName_LessEqual(String familyName) {
+        regFamilyName(CK_LE, fRES(familyName));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyName The value of familyName as prefixSearch.
+     */
+    public void setFamilyName_PrefixSearch(String familyName) {
+        regFamilyName(CK_PS, fRES(familyName));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param familyName The value of familyName as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setFamilyName_LikeSearch(
+            String familyName,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(familyName), getCValueFamilyName(),
+                "FAMILY_NAME", "FamilyName", "familyName", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyNameList The collection of familyName as inScope.
+     */
+    public void setFamilyName_InScope(Collection<String> familyNameList) {
+        regFamilyName(CK_INS, cTL(familyNameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyName The collection of familyName as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setFamilyName_InScope(
+            String familyName,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(familyName), getCValueFamilyName(),
+                "FAMILY_NAME", "FamilyName", "familyName", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyNameList The collection of familyName as notInScope.
+     */
+    public void setFamilyName_NotInScope(Collection<String> familyNameList) {
+        regFamilyName(CK_NINS, cTL(familyNameList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setFamilyName_IsNull() {
+        regFamilyName(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setFamilyName_IsNotNull() {
+        regFamilyName(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regFamilyName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueFamilyName(), "FAMILY_NAME",
+                "FamilyName", "familyName");
+    }
+
+    protected void registerInlineFamilyName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueFamilyName(), "FAMILY_NAME",
+                "FamilyName", "familyName");
+    }
+
+    abstract protected ConditionValue getCValueFamilyName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(50)}
+     * 
+     * @param middleName The value of middleName as equal.
+     */
+    public void setMiddleName_Equal(String middleName) {
+        regMiddleName(CK_EQ, fRES(middleName));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param middleName The value of middleName as notEqual.
+     */
+    public void setMiddleName_NotEqual(String middleName) {
+        regMiddleName(CK_NE, fRES(middleName));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param middleName The value of middleName as greaterThan.
+     */
+    public void setMiddleName_GreaterThan(String middleName) {
+        regMiddleName(CK_GT, fRES(middleName));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param middleName The value of middleName as lessThan.
+     */
+    public void setMiddleName_LessThan(String middleName) {
+        regMiddleName(CK_LT, fRES(middleName));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param middleName The value of middleName as greaterEqual.
+     */
+    public void setMiddleName_GreaterEqual(String middleName) {
+        regMiddleName(CK_GE, fRES(middleName));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param middleName The value of middleName as lessEqual.
+     */
+    public void setMiddleName_LessEqual(String middleName) {
+        regMiddleName(CK_LE, fRES(middleName));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param middleName The value of middleName as prefixSearch.
+     */
+    public void setMiddleName_PrefixSearch(String middleName) {
+        regMiddleName(CK_PS, fRES(middleName));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param middleName The value of middleName as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setMiddleName_LikeSearch(
+            String middleName,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(middleName), getCValueMiddleName(),
+                "MIDDLE_NAME", "MiddleName", "middleName", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param middleNameList The collection of middleName as inScope.
+     */
+    public void setMiddleName_InScope(Collection<String> middleNameList) {
+        regMiddleName(CK_INS, cTL(middleNameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param middleName The collection of middleName as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setMiddleName_InScope(
+            String middleName,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(middleName), getCValueMiddleName(),
+                "MIDDLE_NAME", "MiddleName", "middleName", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param middleNameList The collection of middleName as notInScope.
+     */
+    public void setMiddleName_NotInScope(Collection<String> middleNameList) {
+        regMiddleName(CK_NINS, cTL(middleNameList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setMiddleName_IsNull() {
+        regMiddleName(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setMiddleName_IsNotNull() {
+        regMiddleName(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regMiddleName(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueMiddleName(), "MIDDLE_NAME",
+                "MiddleName", "middleName");
+    }
+
+    protected void registerInlineMiddleName(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueMiddleName(), "MIDDLE_NAME",
+                "MiddleName", "middleName");
+    }
+
+    abstract protected ConditionValue getCValueMiddleName();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100)}
+     * 
+     * @param givenNameDesc The value of givenNameDesc as equal.
+     */
+    public void setGivenNameDesc_Equal(String givenNameDesc) {
+        regGivenNameDesc(CK_EQ, fRES(givenNameDesc));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as notEqual.
+     */
+    public void setGivenNameDesc_NotEqual(String givenNameDesc) {
+        regGivenNameDesc(CK_NE, fRES(givenNameDesc));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as greaterThan.
+     */
+    public void setGivenNameDesc_GreaterThan(String givenNameDesc) {
+        regGivenNameDesc(CK_GT, fRES(givenNameDesc));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as lessThan.
+     */
+    public void setGivenNameDesc_LessThan(String givenNameDesc) {
+        regGivenNameDesc(CK_LT, fRES(givenNameDesc));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as greaterEqual.
+     */
+    public void setGivenNameDesc_GreaterEqual(String givenNameDesc) {
+        regGivenNameDesc(CK_GE, fRES(givenNameDesc));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as lessEqual.
+     */
+    public void setGivenNameDesc_LessEqual(String givenNameDesc) {
+        regGivenNameDesc(CK_LE, fRES(givenNameDesc));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as prefixSearch.
+     */
+    public void setGivenNameDesc_PrefixSearch(String givenNameDesc) {
+        regGivenNameDesc(CK_PS, fRES(givenNameDesc));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param givenNameDesc The value of givenNameDesc as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setGivenNameDesc_LikeSearch(
+            String givenNameDesc,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(givenNameDesc),
+                getCValueGivenNameDesc(), "GIVEN_NAME_DESC", "GivenNameDesc",
+                "givenNameDesc", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param givenNameDescList The collection of givenNameDesc as inScope.
+     */
+    public void setGivenNameDesc_InScope(Collection<String> givenNameDescList) {
+        regGivenNameDesc(CK_INS, cTL(givenNameDescList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param givenNameDesc The collection of givenNameDesc as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setGivenNameDesc_InScope(
+            String givenNameDesc,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(givenNameDesc),
+                getCValueGivenNameDesc(), "GIVEN_NAME_DESC", "GivenNameDesc",
+                "givenNameDesc", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param givenNameDescList The collection of givenNameDesc as notInScope.
+     */
+    public void setGivenNameDesc_NotInScope(Collection<String> givenNameDescList) {
+        regGivenNameDesc(CK_NINS, cTL(givenNameDescList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setGivenNameDesc_IsNull() {
+        regGivenNameDesc(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setGivenNameDesc_IsNotNull() {
+        regGivenNameDesc(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regGivenNameDesc(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueGivenNameDesc(), "GIVEN_NAME_DESC",
+                "GivenNameDesc", "givenNameDesc");
+    }
+
+    protected void registerInlineGivenNameDesc(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueGivenNameDesc(),
+                "GIVEN_NAME_DESC", "GivenNameDesc", "givenNameDesc");
+    }
+
+    abstract protected ConditionValue getCValueGivenNameDesc();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100)}
+     * 
+     * @param familyNameDesc The value of familyNameDesc as equal.
+     */
+    public void setFamilyNameDesc_Equal(String familyNameDesc) {
+        regFamilyNameDesc(CK_EQ, fRES(familyNameDesc));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as notEqual.
+     */
+    public void setFamilyNameDesc_NotEqual(String familyNameDesc) {
+        regFamilyNameDesc(CK_NE, fRES(familyNameDesc));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as greaterThan.
+     */
+    public void setFamilyNameDesc_GreaterThan(String familyNameDesc) {
+        regFamilyNameDesc(CK_GT, fRES(familyNameDesc));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as lessThan.
+     */
+    public void setFamilyNameDesc_LessThan(String familyNameDesc) {
+        regFamilyNameDesc(CK_LT, fRES(familyNameDesc));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as greaterEqual.
+     */
+    public void setFamilyNameDesc_GreaterEqual(String familyNameDesc) {
+        regFamilyNameDesc(CK_GE, fRES(familyNameDesc));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as lessEqual.
+     */
+    public void setFamilyNameDesc_LessEqual(String familyNameDesc) {
+        regFamilyNameDesc(CK_LE, fRES(familyNameDesc));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as prefixSearch.
+     */
+    public void setFamilyNameDesc_PrefixSearch(String familyNameDesc) {
+        regFamilyNameDesc(CK_PS, fRES(familyNameDesc));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param familyNameDesc The value of familyNameDesc as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setFamilyNameDesc_LikeSearch(
+            String familyNameDesc,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(familyNameDesc),
+                getCValueFamilyNameDesc(), "FAMILY_NAME_DESC",
+                "FamilyNameDesc", "familyNameDesc", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyNameDescList The collection of familyNameDesc as inScope.
+     */
+    public void setFamilyNameDesc_InScope(Collection<String> familyNameDescList) {
+        regFamilyNameDesc(CK_INS, cTL(familyNameDescList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyNameDesc The collection of familyNameDesc as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setFamilyNameDesc_InScope(
+            String familyNameDesc,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(familyNameDesc),
+                getCValueFamilyNameDesc(), "FAMILY_NAME_DESC",
+                "FamilyNameDesc", "familyNameDesc", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyNameDescList The collection of familyNameDesc as notInScope.
+     */
+    public void setFamilyNameDesc_NotInScope(
+            Collection<String> familyNameDescList) {
+        regFamilyNameDesc(CK_NINS, cTL(familyNameDescList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setFamilyNameDesc_IsNull() {
+        regFamilyNameDesc(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setFamilyNameDesc_IsNotNull() {
+        regFamilyNameDesc(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regFamilyNameDesc(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueFamilyNameDesc(),
+                "FAMILY_NAME_DESC", "FamilyNameDesc", "familyNameDesc");
+    }
+
+    protected void registerInlineFamilyNameDesc(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueFamilyNameDesc(),
+                "FAMILY_NAME_DESC", "FamilyNameDesc", "familyNameDesc");
+    }
+
+    abstract protected ConditionValue getCValueFamilyNameDesc();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param email The value of email as equal.
+     */
+    public void setEmail_Equal(String email) {
+        regEmail(CK_EQ, fRES(email));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as notEqual.
+     */
+    public void setEmail_NotEqual(String email) {
+        regEmail(CK_NE, fRES(email));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterThan.
+     */
+    public void setEmail_GreaterThan(String email) {
+        regEmail(CK_GT, fRES(email));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessThan.
+     */
+    public void setEmail_LessThan(String email) {
+        regEmail(CK_LT, fRES(email));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterEqual.
+     */
+    public void setEmail_GreaterEqual(String email) {
+        regEmail(CK_GE, fRES(email));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessEqual.
+     */
+    public void setEmail_LessEqual(String email) {
+        regEmail(CK_LE, fRES(email));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as prefixSearch.
+     */
+    public void setEmail_PrefixSearch(String email) {
+        regEmail(CK_PS, fRES(email));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param email The value of email as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setEmail_LikeSearch(
+            String email,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(email), getCValueEmail(), "EMAIL",
+                "Email", "email", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param emailList The collection of email as inScope.
+     */
+    public void setEmail_InScope(Collection<String> emailList) {
+        regEmail(CK_INS, cTL(emailList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param email The collection of email as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setEmail_InScope(
+            String email,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(email), getCValueEmail(), "EMAIL",
+                "Email", "email", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param emailList The collection of email as notInScope.
+     */
+    public void setEmail_NotInScope(Collection<String> emailList) {
+        regEmail(CK_NINS, cTL(emailList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setEmail_IsNull() {
+        regEmail(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setEmail_IsNotNull() {
+        regEmail(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regEmail(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueEmail(), "EMAIL", "Email", "email");
+    }
+
+    protected void registerInlineEmail(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueEmail(), "EMAIL", "Email",
+                "email");
+    }
+
+    abstract protected ConditionValue getCValueEmail();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param url The value of url as equal.
+     */
+    public void setUrl_Equal(String url) {
+        regUrl(CK_EQ, fRES(url));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as notEqual.
+     */
+    public void setUrl_NotEqual(String url) {
+        regUrl(CK_NE, fRES(url));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterThan.
+     */
+    public void setUrl_GreaterThan(String url) {
+        regUrl(CK_GT, fRES(url));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessThan.
+     */
+    public void setUrl_LessThan(String url) {
+        regUrl(CK_LT, fRES(url));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as greaterEqual.
+     */
+    public void setUrl_GreaterEqual(String url) {
+        regUrl(CK_GE, fRES(url));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as lessEqual.
+     */
+    public void setUrl_LessEqual(String url) {
+        regUrl(CK_LE, fRES(url));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param url The value of url as prefixSearch.
+     */
+    public void setUrl_PrefixSearch(String url) {
+        regUrl(CK_PS, fRES(url));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param url The value of url as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUrl_LikeSearch(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as inScope.
+     */
+    public void setUrl_InScope(Collection<String> urlList) {
+        regUrl(CK_INS, cTL(urlList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param url The collection of url as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUrl_InScope(
+            String url,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(url), getCValueUrl(), "URL", "Url",
+                "url", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param urlList The collection of url as notInScope.
+     */
+    public void setUrl_NotInScope(Collection<String> urlList) {
+        regUrl(CK_NINS, cTL(urlList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setUrl_IsNull() {
+        regUrl(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setUrl_IsNotNull() {
+        regUrl(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regUrl(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    protected void registerInlineUrl(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUrl(), "URL", "Url", "url");
+    }
+
+    abstract protected ConditionValue getCValueUrl();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(40)}
+     * 
+     * @param telephone The value of telephone as equal.
+     */
+    public void setTelephone_Equal(String telephone) {
+        regTelephone(CK_EQ, fRES(telephone));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as notEqual.
+     */
+    public void setTelephone_NotEqual(String telephone) {
+        regTelephone(CK_NE, fRES(telephone));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as greaterThan.
+     */
+    public void setTelephone_GreaterThan(String telephone) {
+        regTelephone(CK_GT, fRES(telephone));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as lessThan.
+     */
+    public void setTelephone_LessThan(String telephone) {
+        regTelephone(CK_LT, fRES(telephone));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as greaterEqual.
+     */
+    public void setTelephone_GreaterEqual(String telephone) {
+        regTelephone(CK_GE, fRES(telephone));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as lessEqual.
+     */
+    public void setTelephone_LessEqual(String telephone) {
+        regTelephone(CK_LE, fRES(telephone));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephone The value of telephone as prefixSearch.
+     */
+    public void setTelephone_PrefixSearch(String telephone) {
+        regTelephone(CK_PS, fRES(telephone));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param telephone The value of telephone as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setTelephone_LikeSearch(
+            String telephone,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(telephone), getCValueTelephone(),
+                "TELEPHONE", "Telephone", "telephone", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneList The collection of telephone as inScope.
+     */
+    public void setTelephone_InScope(Collection<String> telephoneList) {
+        regTelephone(CK_INS, cTL(telephoneList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephone The collection of telephone as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setTelephone_InScope(
+            String telephone,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(telephone), getCValueTelephone(),
+                "TELEPHONE", "Telephone", "telephone", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneList The collection of telephone as notInScope.
+     */
+    public void setTelephone_NotInScope(Collection<String> telephoneList) {
+        regTelephone(CK_NINS, cTL(telephoneList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setTelephone_IsNull() {
+        regTelephone(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setTelephone_IsNotNull() {
+        regTelephone(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regTelephone(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueTelephone(), "TELEPHONE",
+                "Telephone", "telephone");
+    }
+
+    protected void registerInlineTelephone(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueTelephone(), "TELEPHONE",
+                "Telephone", "telephone");
+    }
+
+    abstract protected ConditionValue getCValueTelephone();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : FK to
+     * ROLE_INFO}
+     * 
+     * @param roleId The value of roleId as equal.
+     */
+    public void setRoleId_Equal(String roleId) {
+        regRoleId(CK_EQ, fRES(roleId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as notEqual.
+     */
+    public void setRoleId_NotEqual(String roleId) {
+        regRoleId(CK_NE, fRES(roleId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as greaterThan.
+     */
+    public void setRoleId_GreaterThan(String roleId) {
+        regRoleId(CK_GT, fRES(roleId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as lessThan.
+     */
+    public void setRoleId_LessThan(String roleId) {
+        regRoleId(CK_LT, fRES(roleId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as greaterEqual.
+     */
+    public void setRoleId_GreaterEqual(String roleId) {
+        regRoleId(CK_GE, fRES(roleId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as lessEqual.
+     */
+    public void setRoleId_LessEqual(String roleId) {
+        regRoleId(CK_LE, fRES(roleId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param roleId The value of roleId as prefixSearch.
+     */
+    public void setRoleId_PrefixSearch(String roleId) {
+        regRoleId(CK_PS, fRES(roleId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param roleId The value of roleId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setRoleId_LikeSearch(
+            String roleId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(roleId), getCValueRoleId(),
+                "ROLE_ID", "RoleId", "roleId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleIdList The collection of roleId as inScope.
+     */
+    public void setRoleId_InScope(Collection<String> roleIdList) {
+        regRoleId(CK_INS, cTL(roleIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleId The collection of roleId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setRoleId_InScope(
+            String roleId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(roleId), getCValueRoleId(),
+                "ROLE_ID", "RoleId", "roleId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param roleIdList The collection of roleId as notInScope.
+     */
+    public void setRoleId_NotInScope(Collection<String> roleIdList) {
+        regRoleId(CK_NINS, cTL(roleIdList));
+    }
+
+    /**
+     * @param roleInfoCBquery Query.
+     * @deprecated Please use inScopeRoleInfo(subQuery) method.
+     */
+    public void setRoleId_InScopeSubQuery_RoleInfo(RoleInfoCQ roleInfoCBquery) {
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_RoleInfo(roleInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(roleInfoCBquery, "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeRoleInfo(SubQuery<RoleInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<RoleInfoCB>", subQuery);
+        RoleInfoCB cb = new RoleInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepRoleId_InScopeSubQuery_RoleInfo(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "ROLE_ID", "ROLE_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepRoleId_InScopeSubQuery_RoleInfo(
+            jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setRoleId_IsNull() {
+        regRoleId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setRoleId_IsNotNull() {
+        regRoleId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regRoleId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueRoleId(), "ROLE_ID", "RoleId",
+                "roleId");
+    }
+
+    protected void registerInlineRoleId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueRoleId(), "ROLE_ID", "RoleId",
+                "roleId");
+    }
+
+    abstract protected ConditionValue getCValueRoleId();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : FK to
+     * GROUP_INFO}
+     * 
+     * @param groupId The value of groupId as equal.
+     */
+    public void setGroupId_Equal(String groupId) {
+        regGroupId(CK_EQ, fRES(groupId));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as notEqual.
+     */
+    public void setGroupId_NotEqual(String groupId) {
+        regGroupId(CK_NE, fRES(groupId));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as greaterThan.
+     */
+    public void setGroupId_GreaterThan(String groupId) {
+        regGroupId(CK_GT, fRES(groupId));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as lessThan.
+     */
+    public void setGroupId_LessThan(String groupId) {
+        regGroupId(CK_LT, fRES(groupId));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as greaterEqual.
+     */
+    public void setGroupId_GreaterEqual(String groupId) {
+        regGroupId(CK_GE, fRES(groupId));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as lessEqual.
+     */
+    public void setGroupId_LessEqual(String groupId) {
+        regGroupId(CK_LE, fRES(groupId));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param groupId The value of groupId as prefixSearch.
+     */
+    public void setGroupId_PrefixSearch(String groupId) {
+        regGroupId(CK_PS, fRES(groupId));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param groupId The value of groupId as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setGroupId_LikeSearch(
+            String groupId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(groupId), getCValueGroupId(),
+                "GROUP_ID", "GroupId", "groupId", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupIdList The collection of groupId as inScope.
+     */
+    public void setGroupId_InScope(Collection<String> groupIdList) {
+        regGroupId(CK_INS, cTL(groupIdList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupId The collection of groupId as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setGroupId_InScope(
+            String groupId,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(groupId), getCValueGroupId(),
+                "GROUP_ID", "GroupId", "groupId", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param groupIdList The collection of groupId as notInScope.
+     */
+    public void setGroupId_NotInScope(Collection<String> groupIdList) {
+        regGroupId(CK_NINS, cTL(groupIdList));
+    }
+
+    /**
+     * @param groupInfoCBquery Query.
+     * @deprecated Please use inScopeGroupInfo(subQuery) method.
+     */
+    public void setGroupId_InScopeSubQuery_GroupInfo(
+            GroupInfoCQ groupInfoCBquery) {
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_GroupInfo(groupInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(groupInfoCBquery, "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeGroupInfo(SubQuery<GroupInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<GroupInfoCB>", subQuery);
+        GroupInfoCB cb = new GroupInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepGroupId_InScopeSubQuery_GroupInfo(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "GROUP_ID", "GROUP_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepGroupId_InScopeSubQuery_GroupInfo(
+            jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ subQuery);
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setGroupId_IsNull() {
+        regGroupId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setGroupId_IsNotNull() {
+        regGroupId(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regGroupId(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueGroupId(), "GROUP_ID", "GroupId",
+                "groupId");
+    }
+
+    protected void registerInlineGroupId(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueGroupId(), "GROUP_ID",
+                "GroupId", "groupId");
+    }
+
+    abstract protected ConditionValue getCValueGroupId();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as inScope.
+     */
+    public void setCreatedBy_InScope(Collection<String> createdByList) {
+        regCreatedBy(CK_INS, cTL(createdByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdBy The collection of createdBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setCreatedBy_InScope(
+            String createdBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {NotNull : TIMESTAMP}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as inScope.
+     */
+    public void setUpdatedBy_InScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_INS, cTL(updatedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedBy The collection of updatedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setUpdatedBy_InScope(
+            String updatedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(updatedBy), getCValueUpdatedBy(),
+                "UPDATED_BY", "UpdatedBy", "updatedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param updatedByList The collection of updatedBy as notInScope.
+     */
+    public void setUpdatedBy_NotInScope(Collection<String> updatedByList) {
+        regUpdatedBy(CK_NINS, cTL(updatedByList));
+    }
+
+    protected void regUpdatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    protected void registerInlineUpdatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedBy(), "UPDATED_BY",
+                "UpdatedBy", "updatedBy");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP}
+     * 
+     * @param deletedTime The value of deletedTime as equal.
+     */
+    public void setDeletedTime_Equal(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_EQ, deletedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as notEqual.
+     */
+    public void setDeletedTime_NotEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_NE, deletedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterThan.
+     */
+    public void setDeletedTime_GreaterThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GT, deletedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessThan.
+     */
+    public void setDeletedTime_LessThan(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LT, deletedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as greaterEqual.
+     */
+    public void setDeletedTime_GreaterEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_GE, deletedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param deletedTime The value of deletedTime as lessEqual.
+     */
+    public void setDeletedTime_LessEqual(java.sql.Timestamp deletedTime) {
+        regDeletedTime(CK_LE, deletedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setDeletedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueDeletedTime(),
+                "DELETED_TIME", "DeletedTime", "deletedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP}
+     * 
+     * @param fromDate The from-date of deletedTime. (Nullable)
+     * @param toDate The to-date of deletedTime. (Nullable)
+     */
+    public void setDeletedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setDeletedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.bookmark.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNull() {
+        regDeletedTime(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedTime_IsNotNull() {
+        regDeletedTime(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    protected void registerInlineDeletedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedTime(), "DELETED_TIME",
+                "DeletedTime", "deletedTime");
+    }
+
+    abstract protected ConditionValue getCValueDeletedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of deletedBy as equal.
+     */
+    public void setDeletedBy_Equal(String deletedBy) {
+        regDeletedBy(CK_EQ, fRES(deletedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as notEqual.
+     */
+    public void setDeletedBy_NotEqual(String deletedBy) {
+        regDeletedBy(CK_NE, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterThan.
+     */
+    public void setDeletedBy_GreaterThan(String deletedBy) {
+        regDeletedBy(CK_GT, fRES(deletedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessThan.
+     */
+    public void setDeletedBy_LessThan(String deletedBy) {
+        regDeletedBy(CK_LT, fRES(deletedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as greaterEqual.
+     */
+    public void setDeletedBy_GreaterEqual(String deletedBy) {
+        regDeletedBy(CK_GE, fRES(deletedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as lessEqual.
+     */
+    public void setDeletedBy_LessEqual(String deletedBy) {
+        regDeletedBy(CK_LE, fRES(deletedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as prefixSearch.
+     */
+    public void setDeletedBy_PrefixSearch(String deletedBy) {
+        regDeletedBy(CK_PS, fRES(deletedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param deletedBy The value of deletedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setDeletedBy_LikeSearch(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as inScope.
+     */
+    public void setDeletedBy_InScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_INS, cTL(deletedByList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedBy The collection of deletedBy as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setDeletedBy_InScope(
+            String deletedBy,
+            jp.sf.pal.bookmark.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER}
+     * 
+     * @param versionno The value of versionno as equal.
+     */
+    public void setVersionno_Equal(Integer versionno) {
+        regVersionno(CK_EQ, versionno);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as notEqual.
+     */
+    public void setVersionno_NotEqual(Integer versionno) {
+        regVersionno(CK_NE, versionno);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterThan.
+     */
+    public void setVersionno_GreaterThan(Integer versionno) {
+        regVersionno(CK_GT, versionno);
+    }
+
+    /**
+     * LessThan(&lt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessThan.
+     */
+    public void setVersionno_LessThan(Integer versionno) {
+        regVersionno(CK_LT, versionno);
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as greaterEqual.
+     */
+    public void setVersionno_GreaterEqual(Integer versionno) {
+        regVersionno(CK_GE, versionno);
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullIgnored, OnceRegistered.
+     * 
+     * @param versionno The value of versionno as lessEqual.
+     */
+    public void setVersionno_LessEqual(Integer versionno) {
+        regVersionno(CK_LE, versionno);
+    }
+
+    /**
+     * InScope(in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as inScope.
+     */
+    public void setVersionno_InScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_INS, cTL(versionnoList));
+    }
+
+    /**
+     * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored,
+     * SeveralRegistered.
+     * 
+     * @param versionnoList The collection of versionno as notInScope.
+     */
+    public void setVersionno_NotInScope(Collection<Integer> versionnoList) {
+        regVersionno(CK_NINS, cTL(versionnoList));
+    }
+
+    protected void regVersionno(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    protected void registerInlineVersionno(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueVersionno(), "VERSIONNO",
+                "Versionno", "versionno");
+    }
+
+    abstract protected ConditionValue getCValueVersionno();
+
+    // Very Internal (for Suppressing Warn about 'Not Use Import')
+    protected String getConditionBeanClassNameInternally() {
+        return UserInfoCB.class.getName();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return UserInfoCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkCategoryCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkCategoryCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkCategoryCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,468 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.BookmarkCategoryCIQ;
+
+/**
+ * The base condition-query of BOOKMARK_CATEGORY.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsBookmarkCategoryCQ extends AbstractBsBookmarkCategoryCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BookmarkCategoryCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsBookmarkCategoryCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from BOOKMARK_CATEGORY) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public BookmarkCategoryCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new BookmarkCategoryCIQ(getChildQuery(),
+                    getSqlClause(), getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * BOOKMARK_CATEGORY on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public BookmarkCategoryCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        BookmarkCategoryCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _id;
+
+    public ConditionValue getId() {
+        if (_id == null) {
+            _id = new ConditionValue();
+        }
+        return _id;
+    }
+
+    protected ConditionValue getCValueId() {
+        return getId();
+    }
+
+    protected Map<String, BookmarkLinkCQ> _id_InScopeSubQuery_BookmarkLinkListMap;
+
+    public Map<String, BookmarkLinkCQ> getId_InScopeSubQuery_BookmarkLinkList() {
+        return _id_InScopeSubQuery_BookmarkLinkListMap;
+    }
+
+    public String keepId_InScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery) {
+        if (_id_InScopeSubQuery_BookmarkLinkListMap == null) {
+            _id_InScopeSubQuery_BookmarkLinkListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_id_InScopeSubQuery_BookmarkLinkListMap.size() + 1);
+        _id_InScopeSubQuery_BookmarkLinkListMap.put(key, subQuery);
+        return "id_InScopeSubQuery_BookmarkLinkList." + key;
+    }
+
+    protected Map<String, BookmarkLinkCQ> _id_NotInScopeSubQuery_BookmarkLinkListMap;
+
+    public Map<String, BookmarkLinkCQ> getId_NotInScopeSubQuery_BookmarkLinkList() {
+        return _id_NotInScopeSubQuery_BookmarkLinkListMap;
+    }
+
+    public String keepId_NotInScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery) {
+        if (_id_NotInScopeSubQuery_BookmarkLinkListMap == null) {
+            _id_NotInScopeSubQuery_BookmarkLinkListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_id_NotInScopeSubQuery_BookmarkLinkListMap.size() + 1);
+        _id_NotInScopeSubQuery_BookmarkLinkListMap.put(key, subQuery);
+        return "id_NotInScopeSubQuery_BookmarkLinkList." + key;
+    }
+
+    protected Map<String, BookmarkLinkCQ> _id_ExistsSubQuery_BookmarkLinkListMap;
+
+    public Map<String, BookmarkLinkCQ> getId_ExistsSubQuery_BookmarkLinkList() {
+        return _id_ExistsSubQuery_BookmarkLinkListMap;
+    }
+
+    public String keepId_ExistsSubQuery_BookmarkLinkList(BookmarkLinkCQ subQuery) {
+        if (_id_ExistsSubQuery_BookmarkLinkListMap == null) {
+            _id_ExistsSubQuery_BookmarkLinkListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_id_ExistsSubQuery_BookmarkLinkListMap.size() + 1);
+        _id_ExistsSubQuery_BookmarkLinkListMap.put(key, subQuery);
+        return "id_ExistsSubQuery_BookmarkLinkList." + key;
+    }
+
+    protected Map<String, BookmarkLinkCQ> _id_NotExistsSubQuery_BookmarkLinkListMap;
+
+    public Map<String, BookmarkLinkCQ> getId_NotExistsSubQuery_BookmarkLinkList() {
+        return _id_NotExistsSubQuery_BookmarkLinkListMap;
+    }
+
+    public String keepId_NotExistsSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery) {
+        if (_id_NotExistsSubQuery_BookmarkLinkListMap == null) {
+            _id_NotExistsSubQuery_BookmarkLinkListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_id_NotExistsSubQuery_BookmarkLinkListMap.size() + 1);
+        _id_NotExistsSubQuery_BookmarkLinkListMap.put(key, subQuery);
+        return "id_NotExistsSubQuery_BookmarkLinkList." + key;
+    }
+
+    protected Map<String, BookmarkLinkCQ> _id_DeriveSubQuery_BookmarkLinkListMap;
+
+    public Map<String, BookmarkLinkCQ> getId_DeriveSubQuery_BookmarkLinkList() {
+        return _id_DeriveSubQuery_BookmarkLinkListMap;
+    }
+
+    public String keepId_DeriveSubQuery_BookmarkLinkList(BookmarkLinkCQ subQuery) {
+        if (_id_DeriveSubQuery_BookmarkLinkListMap == null) {
+            _id_DeriveSubQuery_BookmarkLinkListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_id_DeriveSubQuery_BookmarkLinkListMap.size() + 1);
+        _id_DeriveSubQuery_BookmarkLinkListMap.put(key, subQuery);
+        return "id_DeriveSubQuery_BookmarkLinkList." + key;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Id_Asc() {
+        regOBA("ID");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Id_Desc() {
+        regOBD("ID");
+        return this;
+    }
+
+    protected ConditionValue _name;
+
+    public ConditionValue getName() {
+        if (_name == null) {
+            _name = new ConditionValue();
+        }
+        return _name;
+    }
+
+    protected ConditionValue getCValueName() {
+        return getName();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Name_Asc() {
+        regOBA("NAME");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Name_Desc() {
+        regOBD("NAME");
+        return this;
+    }
+
+    protected ConditionValue _memo;
+
+    public ConditionValue getMemo() {
+        if (_memo == null) {
+            _memo = new ConditionValue();
+        }
+        return _memo;
+    }
+
+    protected ConditionValue getCValueMemo() {
+        return getMemo();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Memo_Asc() {
+        regOBA("MEMO");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Memo_Desc() {
+        regOBD("MEMO");
+        return this;
+    }
+
+    protected ConditionValue _type;
+
+    public ConditionValue getType() {
+        if (_type == null) {
+            _type = new ConditionValue();
+        }
+        return _type;
+    }
+
+    protected ConditionValue getCValueType() {
+        return getType();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Type_Asc() {
+        regOBA("TYPE");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Type_Desc() {
+        regOBD("TYPE");
+        return this;
+    }
+
+    protected ConditionValue _sortOrder;
+
+    public ConditionValue getSortOrder() {
+        if (_sortOrder == null) {
+            _sortOrder = new ConditionValue();
+        }
+        return _sortOrder;
+    }
+
+    protected ConditionValue getCValueSortOrder() {
+        return getSortOrder();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_SortOrder_Asc() {
+        regOBA("SORT_ORDER");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_SortOrder_Desc() {
+        regOBD("SORT_ORDER");
+        return this;
+    }
+
+    protected ConditionValue _createdTime;
+
+    public ConditionValue getCreatedTime() {
+        if (_createdTime == null) {
+            _createdTime = new ConditionValue();
+        }
+        return _createdTime;
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return getCreatedTime();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_CreatedTime_Asc() {
+        regOBA("CREATED_TIME");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_CreatedTime_Desc() {
+        regOBD("CREATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _createdBy;
+
+    public ConditionValue getCreatedBy() {
+        if (_createdBy == null) {
+            _createdBy = new ConditionValue();
+        }
+        return _createdBy;
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return getCreatedBy();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_CreatedBy_Asc() {
+        regOBA("CREATED_BY");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_CreatedBy_Desc() {
+        regOBD("CREATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _updatedTime;
+
+    public ConditionValue getUpdatedTime() {
+        if (_updatedTime == null) {
+            _updatedTime = new ConditionValue();
+        }
+        return _updatedTime;
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return getUpdatedTime();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_UpdatedTime_Asc() {
+        regOBA("UPDATED_TIME");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_UpdatedTime_Desc() {
+        regOBD("UPDATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _updatedBy;
+
+    public ConditionValue getUpdatedBy() {
+        if (_updatedBy == null) {
+            _updatedBy = new ConditionValue();
+        }
+        return _updatedBy;
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return getUpdatedBy();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_UpdatedBy_Asc() {
+        regOBA("UPDATED_BY");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_UpdatedBy_Desc() {
+        regOBD("UPDATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _deletedTime;
+
+    public ConditionValue getDeletedTime() {
+        if (_deletedTime == null) {
+            _deletedTime = new ConditionValue();
+        }
+        return _deletedTime;
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return getDeletedTime();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_DeletedTime_Asc() {
+        regOBA("DELETED_TIME");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_DeletedTime_Desc() {
+        regOBD("DELETED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _deletedBy;
+
+    public ConditionValue getDeletedBy() {
+        if (_deletedBy == null) {
+            _deletedBy = new ConditionValue();
+        }
+        return _deletedBy;
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return getDeletedBy();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_DeletedBy_Asc() {
+        regOBA("DELETED_BY");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_DeletedBy_Desc() {
+        regOBD("DELETED_BY");
+        return this;
+    }
+
+    protected ConditionValue _versionno;
+
+    public ConditionValue getVersionno() {
+        if (_versionno == null) {
+            _versionno = new ConditionValue();
+        }
+        return _versionno;
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return getVersionno();
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Versionno_Asc() {
+        regOBA("VERSIONNO");
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addOrderBy_Versionno_Desc() {
+        regOBD("VERSIONNO");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsBookmarkCategoryCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsBookmarkCategoryCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkCategoryCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkCategoryCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkLinkCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkLinkCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkLinkCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,491 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.BookmarkLinkCIQ;
+
+/**
+ * The base condition-query of BOOKMARK_LINK.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsBookmarkLinkCQ extends AbstractBsBookmarkLinkCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BookmarkLinkCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsBookmarkLinkCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from BOOKMARK_LINK) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public BookmarkLinkCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new BookmarkLinkCIQ(getChildQuery(), getSqlClause(),
+                    getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * BOOKMARK_LINK on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public BookmarkLinkCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        BookmarkLinkCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _id;
+
+    public ConditionValue getId() {
+        if (_id == null) {
+            _id = new ConditionValue();
+        }
+        return _id;
+    }
+
+    protected ConditionValue getCValueId() {
+        return getId();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Id_Asc() {
+        regOBA("ID");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Id_Desc() {
+        regOBD("ID");
+        return this;
+    }
+
+    protected ConditionValue _name;
+
+    public ConditionValue getName() {
+        if (_name == null) {
+            _name = new ConditionValue();
+        }
+        return _name;
+    }
+
+    protected ConditionValue getCValueName() {
+        return getName();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Name_Asc() {
+        regOBA("NAME");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Name_Desc() {
+        regOBD("NAME");
+        return this;
+    }
+
+    protected ConditionValue _memo;
+
+    public ConditionValue getMemo() {
+        if (_memo == null) {
+            _memo = new ConditionValue();
+        }
+        return _memo;
+    }
+
+    protected ConditionValue getCValueMemo() {
+        return getMemo();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Memo_Asc() {
+        regOBA("MEMO");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Memo_Desc() {
+        regOBD("MEMO");
+        return this;
+    }
+
+    protected ConditionValue _url;
+
+    public ConditionValue getUrl() {
+        if (_url == null) {
+            _url = new ConditionValue();
+        }
+        return _url;
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return getUrl();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Url_Asc() {
+        regOBA("URL");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Url_Desc() {
+        regOBD("URL");
+        return this;
+    }
+
+    protected ConditionValue _type;
+
+    public ConditionValue getType() {
+        if (_type == null) {
+            _type = new ConditionValue();
+        }
+        return _type;
+    }
+
+    protected ConditionValue getCValueType() {
+        return getType();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Type_Asc() {
+        regOBA("TYPE");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Type_Desc() {
+        regOBD("TYPE");
+        return this;
+    }
+
+    protected ConditionValue _sortOrder;
+
+    public ConditionValue getSortOrder() {
+        if (_sortOrder == null) {
+            _sortOrder = new ConditionValue();
+        }
+        return _sortOrder;
+    }
+
+    protected ConditionValue getCValueSortOrder() {
+        return getSortOrder();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_SortOrder_Asc() {
+        regOBA("SORT_ORDER");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_SortOrder_Desc() {
+        regOBD("SORT_ORDER");
+        return this;
+    }
+
+    protected ConditionValue _categoryId;
+
+    public ConditionValue getCategoryId() {
+        if (_categoryId == null) {
+            _categoryId = new ConditionValue();
+        }
+        return _categoryId;
+    }
+
+    protected ConditionValue getCValueCategoryId() {
+        return getCategoryId();
+    }
+
+    protected Map<String, BookmarkCategoryCQ> _categoryId_InScopeSubQuery_BookmarkCategoryMap;
+
+    public Map<String, BookmarkCategoryCQ> getCategoryId_InScopeSubQuery_BookmarkCategory() {
+        return _categoryId_InScopeSubQuery_BookmarkCategoryMap;
+    }
+
+    public String keepCategoryId_InScopeSubQuery_BookmarkCategory(
+            BookmarkCategoryCQ subQuery) {
+        if (_categoryId_InScopeSubQuery_BookmarkCategoryMap == null) {
+            _categoryId_InScopeSubQuery_BookmarkCategoryMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_categoryId_InScopeSubQuery_BookmarkCategoryMap.size() + 1);
+        _categoryId_InScopeSubQuery_BookmarkCategoryMap.put(key, subQuery);
+        return "categoryId_InScopeSubQuery_BookmarkCategory." + key;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_CategoryId_Asc() {
+        regOBA("CATEGORY_ID");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_CategoryId_Desc() {
+        regOBD("CATEGORY_ID");
+        return this;
+    }
+
+    protected ConditionValue _createdTime;
+
+    public ConditionValue getCreatedTime() {
+        if (_createdTime == null) {
+            _createdTime = new ConditionValue();
+        }
+        return _createdTime;
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return getCreatedTime();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_CreatedTime_Asc() {
+        regOBA("CREATED_TIME");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_CreatedTime_Desc() {
+        regOBD("CREATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _createdBy;
+
+    public ConditionValue getCreatedBy() {
+        if (_createdBy == null) {
+            _createdBy = new ConditionValue();
+        }
+        return _createdBy;
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return getCreatedBy();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_CreatedBy_Asc() {
+        regOBA("CREATED_BY");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_CreatedBy_Desc() {
+        regOBD("CREATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _updatedTime;
+
+    public ConditionValue getUpdatedTime() {
+        if (_updatedTime == null) {
+            _updatedTime = new ConditionValue();
+        }
+        return _updatedTime;
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return getUpdatedTime();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_UpdatedTime_Asc() {
+        regOBA("UPDATED_TIME");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_UpdatedTime_Desc() {
+        regOBD("UPDATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _updatedBy;
+
+    public ConditionValue getUpdatedBy() {
+        if (_updatedBy == null) {
+            _updatedBy = new ConditionValue();
+        }
+        return _updatedBy;
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return getUpdatedBy();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_UpdatedBy_Asc() {
+        regOBA("UPDATED_BY");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_UpdatedBy_Desc() {
+        regOBD("UPDATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _deletedTime;
+
+    public ConditionValue getDeletedTime() {
+        if (_deletedTime == null) {
+            _deletedTime = new ConditionValue();
+        }
+        return _deletedTime;
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return getDeletedTime();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_DeletedTime_Asc() {
+        regOBA("DELETED_TIME");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_DeletedTime_Desc() {
+        regOBD("DELETED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _deletedBy;
+
+    public ConditionValue getDeletedBy() {
+        if (_deletedBy == null) {
+            _deletedBy = new ConditionValue();
+        }
+        return _deletedBy;
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return getDeletedBy();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_DeletedBy_Asc() {
+        regOBA("DELETED_BY");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_DeletedBy_Desc() {
+        regOBD("DELETED_BY");
+        return this;
+    }
+
+    protected ConditionValue _versionno;
+
+    public ConditionValue getVersionno() {
+        if (_versionno == null) {
+            _versionno = new ConditionValue();
+        }
+        return _versionno;
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return getVersionno();
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Versionno_Asc() {
+        regOBA("VERSIONNO");
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addOrderBy_Versionno_Desc() {
+        regOBD("VERSIONNO");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsBookmarkLinkCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsBookmarkLinkCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        BookmarkLinkCQ baseQuery = (BookmarkLinkCQ) baseQueryAsSuper;
+        BookmarkLinkCQ unionQuery = (BookmarkLinkCQ) unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryBookmarkCategory()) {
+            unionQuery.queryBookmarkCategory().reflectRelationOnUnionQuery(
+                    baseQuery.queryBookmarkCategory(),
+                    unionQuery.queryBookmarkCategory());
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    public BookmarkCategoryCQ queryBookmarkCategory() {
+        return getConditionQueryBookmarkCategory();
+    }
+
+    protected BookmarkCategoryCQ _conditionQueryBookmarkCategory;
+
+    public BookmarkCategoryCQ getConditionQueryBookmarkCategory() {
+        if (_conditionQueryBookmarkCategory == null) {
+            _conditionQueryBookmarkCategory = createQueryBookmarkCategory();
+            setupOuterJoin_BookmarkCategory();
+        }
+        return _conditionQueryBookmarkCategory;
+    }
+
+    protected void setupOuterJoin_BookmarkCategory() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("CATEGORY_ID"),
+                getConditionQueryBookmarkCategory().getRealColumnName("ID"));
+        registerOuterJoin(getConditionQueryBookmarkCategory(), joinOnMap);
+    }
+
+    protected BookmarkCategoryCQ createQueryBookmarkCategory() {
+        String nrp = resolveNextRelationPath("BOOKMARK_LINK",
+                "bookmarkCategory");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        BookmarkCategoryCQ cq = new BookmarkCategoryCQ(this, getSqlClause(),
+                jan, getNextNestLevel());
+        cq.xsetForeignPropertyName("bookmarkCategory");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryBookmarkCategory() {
+        return _conditionQueryBookmarkCategory != null;
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkLinkCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsBookmarkLinkCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsCategoryCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsCategoryCQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsCategoryCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,442 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq.bs;
-
-import java.util.Map;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.ciq.CategoryCIQ;
-
-/**
- * The base condition-query of CATEGORY.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class BsCategoryCQ extends AbstractBsCategoryCQ {
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected CategoryCIQ _inlineQuery;
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public BsCategoryCQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-    }
-
-    //==========================================================================
-    // =========
-    // Inline
-    // ======
-    /**
-     * Prepare inline query. <br /> {select ... from ... left outer join (select
-     * * from CATEGORY) where abc = [abc] ...}
-     * 
-     * @return Inline query. (NotNull)
-     */
-    public CategoryCIQ inline() {
-        if (_inlineQuery == null) {
-            _inlineQuery = new CategoryCIQ(getChildQuery(), getSqlClause(),
-                    getAliasName(), getNestLevel(), this);
-        }
-        _inlineQuery.xsetOnClauseInline(false);
-        return _inlineQuery;
-    }
-
-    /**
-     * Prepare on-clause query. <br /> {select ... from ... left outer join
-     * CATEGORY on ... and abc = [abc] ...}
-     * 
-     * @return On-clause query. (NotNull)
-     */
-    public CategoryCIQ on() {
-        if (isBaseQuery(this)) {
-            throw new UnsupportedOperationException(
-                    "Unsupported onClause of Base Table!");
-        }
-        CategoryCIQ inlineQuery = inline();
-        inlineQuery.xsetOnClauseInline(true);
-        return inlineQuery;
-    }
-
-    //==========================================================================
-    // =========
-    // Query
-    // =====
-
-    protected ConditionValue _id;
-
-    public ConditionValue getId() {
-        if (_id == null) {
-            _id = new ConditionValue();
-        }
-        return _id;
-    }
-
-    protected ConditionValue getCValueId() {
-        return getId();
-    }
-
-    protected Map<String, LinkCQ> _id_InScopeSubQuery_LinkListMap;
-
-    public Map<String, LinkCQ> getId_InScopeSubQuery_LinkList() {
-        return _id_InScopeSubQuery_LinkListMap;
-    }
-
-    public String keepId_InScopeSubQuery_LinkList(LinkCQ subQuery) {
-        if (_id_InScopeSubQuery_LinkListMap == null) {
-            _id_InScopeSubQuery_LinkListMap = newLinkedHashMap();
-        }
-        String key = "subQueryMapKey"
-                + (_id_InScopeSubQuery_LinkListMap.size() + 1);
-        _id_InScopeSubQuery_LinkListMap.put(key, subQuery);
-        return "id_InScopeSubQuery_LinkList." + key;
-    }
-
-    protected Map<String, LinkCQ> _id_NotInScopeSubQuery_LinkListMap;
-
-    public Map<String, LinkCQ> getId_NotInScopeSubQuery_LinkList() {
-        return _id_NotInScopeSubQuery_LinkListMap;
-    }
-
-    public String keepId_NotInScopeSubQuery_LinkList(LinkCQ subQuery) {
-        if (_id_NotInScopeSubQuery_LinkListMap == null) {
-            _id_NotInScopeSubQuery_LinkListMap = newLinkedHashMap();
-        }
-        String key = "subQueryMapKey"
-                + (_id_NotInScopeSubQuery_LinkListMap.size() + 1);
-        _id_NotInScopeSubQuery_LinkListMap.put(key, subQuery);
-        return "id_NotInScopeSubQuery_LinkList." + key;
-    }
-
-    protected Map<String, LinkCQ> _id_ExistsSubQuery_LinkListMap;
-
-    public Map<String, LinkCQ> getId_ExistsSubQuery_LinkList() {
-        return _id_ExistsSubQuery_LinkListMap;
-    }
-
-    public String keepId_ExistsSubQuery_LinkList(LinkCQ subQuery) {
-        if (_id_ExistsSubQuery_LinkListMap == null) {
-            _id_ExistsSubQuery_LinkListMap = newLinkedHashMap();
-        }
-        String key = "subQueryMapKey"
-                + (_id_ExistsSubQuery_LinkListMap.size() + 1);
-        _id_ExistsSubQuery_LinkListMap.put(key, subQuery);
-        return "id_ExistsSubQuery_LinkList." + key;
-    }
-
-    protected Map<String, LinkCQ> _id_NotExistsSubQuery_LinkListMap;
-
-    public Map<String, LinkCQ> getId_NotExistsSubQuery_LinkList() {
-        return _id_NotExistsSubQuery_LinkListMap;
-    }
-
-    public String keepId_NotExistsSubQuery_LinkList(LinkCQ subQuery) {
-        if (_id_NotExistsSubQuery_LinkListMap == null) {
-            _id_NotExistsSubQuery_LinkListMap = newLinkedHashMap();
-        }
-        String key = "subQueryMapKey"
-                + (_id_NotExistsSubQuery_LinkListMap.size() + 1);
-        _id_NotExistsSubQuery_LinkListMap.put(key, subQuery);
-        return "id_NotExistsSubQuery_LinkList." + key;
-    }
-
-    protected Map<String, LinkCQ> _id_DeriveSubQuery_LinkListMap;
-
-    public Map<String, LinkCQ> getId_DeriveSubQuery_LinkList() {
-        return _id_DeriveSubQuery_LinkListMap;
-    }
-
-    public String keepId_DeriveSubQuery_LinkList(LinkCQ subQuery) {
-        if (_id_DeriveSubQuery_LinkListMap == null) {
-            _id_DeriveSubQuery_LinkListMap = newLinkedHashMap();
-        }
-        String key = "subQueryMapKey"
-                + (_id_DeriveSubQuery_LinkListMap.size() + 1);
-        _id_DeriveSubQuery_LinkListMap.put(key, subQuery);
-        return "id_DeriveSubQuery_LinkList." + key;
-    }
-
-    public BsCategoryCQ addOrderBy_Id_Asc() {
-        regOBA("ID");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_Id_Desc() {
-        regOBD("ID");
-        return this;
-    }
-
-    protected ConditionValue _name;
-
-    public ConditionValue getName() {
-        if (_name == null) {
-            _name = new ConditionValue();
-        }
-        return _name;
-    }
-
-    protected ConditionValue getCValueName() {
-        return getName();
-    }
-
-    public BsCategoryCQ addOrderBy_Name_Asc() {
-        regOBA("NAME");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_Name_Desc() {
-        regOBD("NAME");
-        return this;
-    }
-
-    protected ConditionValue _memo;
-
-    public ConditionValue getMemo() {
-        if (_memo == null) {
-            _memo = new ConditionValue();
-        }
-        return _memo;
-    }
-
-    protected ConditionValue getCValueMemo() {
-        return getMemo();
-    }
-
-    public BsCategoryCQ addOrderBy_Memo_Asc() {
-        regOBA("MEMO");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_Memo_Desc() {
-        regOBD("MEMO");
-        return this;
-    }
-
-    protected ConditionValue _sortOrder;
-
-    public ConditionValue getSortOrder() {
-        if (_sortOrder == null) {
-            _sortOrder = new ConditionValue();
-        }
-        return _sortOrder;
-    }
-
-    protected ConditionValue getCValueSortOrder() {
-        return getSortOrder();
-    }
-
-    public BsCategoryCQ addOrderBy_SortOrder_Asc() {
-        regOBA("SORT_ORDER");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_SortOrder_Desc() {
-        regOBD("SORT_ORDER");
-        return this;
-    }
-
-    protected ConditionValue _createdTime;
-
-    public ConditionValue getCreatedTime() {
-        if (_createdTime == null) {
-            _createdTime = new ConditionValue();
-        }
-        return _createdTime;
-    }
-
-    protected ConditionValue getCValueCreatedTime() {
-        return getCreatedTime();
-    }
-
-    public BsCategoryCQ addOrderBy_CreatedTime_Asc() {
-        regOBA("CREATED_TIME");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_CreatedTime_Desc() {
-        regOBD("CREATED_TIME");
-        return this;
-    }
-
-    protected ConditionValue _createdBy;
-
-    public ConditionValue getCreatedBy() {
-        if (_createdBy == null) {
-            _createdBy = new ConditionValue();
-        }
-        return _createdBy;
-    }
-
-    protected ConditionValue getCValueCreatedBy() {
-        return getCreatedBy();
-    }
-
-    public BsCategoryCQ addOrderBy_CreatedBy_Asc() {
-        regOBA("CREATED_BY");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_CreatedBy_Desc() {
-        regOBD("CREATED_BY");
-        return this;
-    }
-
-    protected ConditionValue _updatedTime;
-
-    public ConditionValue getUpdatedTime() {
-        if (_updatedTime == null) {
-            _updatedTime = new ConditionValue();
-        }
-        return _updatedTime;
-    }
-
-    protected ConditionValue getCValueUpdatedTime() {
-        return getUpdatedTime();
-    }
-
-    public BsCategoryCQ addOrderBy_UpdatedTime_Asc() {
-        regOBA("UPDATED_TIME");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_UpdatedTime_Desc() {
-        regOBD("UPDATED_TIME");
-        return this;
-    }
-
-    protected ConditionValue _updatedBy;
-
-    public ConditionValue getUpdatedBy() {
-        if (_updatedBy == null) {
-            _updatedBy = new ConditionValue();
-        }
-        return _updatedBy;
-    }
-
-    protected ConditionValue getCValueUpdatedBy() {
-        return getUpdatedBy();
-    }
-
-    public BsCategoryCQ addOrderBy_UpdatedBy_Asc() {
-        regOBA("UPDATED_BY");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_UpdatedBy_Desc() {
-        regOBD("UPDATED_BY");
-        return this;
-    }
-
-    protected ConditionValue _deletedTime;
-
-    public ConditionValue getDeletedTime() {
-        if (_deletedTime == null) {
-            _deletedTime = new ConditionValue();
-        }
-        return _deletedTime;
-    }
-
-    protected ConditionValue getCValueDeletedTime() {
-        return getDeletedTime();
-    }
-
-    public BsCategoryCQ addOrderBy_DeletedTime_Asc() {
-        regOBA("DELETED_TIME");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_DeletedTime_Desc() {
-        regOBD("DELETED_TIME");
-        return this;
-    }
-
-    protected ConditionValue _deletedBy;
-
-    public ConditionValue getDeletedBy() {
-        if (_deletedBy == null) {
-            _deletedBy = new ConditionValue();
-        }
-        return _deletedBy;
-    }
-
-    protected ConditionValue getCValueDeletedBy() {
-        return getDeletedBy();
-    }
-
-    public BsCategoryCQ addOrderBy_DeletedBy_Asc() {
-        regOBA("DELETED_BY");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_DeletedBy_Desc() {
-        regOBD("DELETED_BY");
-        return this;
-    }
-
-    protected ConditionValue _versionno;
-
-    public ConditionValue getVersionno() {
-        if (_versionno == null) {
-            _versionno = new ConditionValue();
-        }
-        return _versionno;
-    }
-
-    protected ConditionValue getCValueVersionno() {
-        return getVersionno();
-    }
-
-    public BsCategoryCQ addOrderBy_Versionno_Asc() {
-        regOBA("VERSIONNO");
-        return this;
-    }
-
-    public BsCategoryCQ addOrderBy_Versionno_Desc() {
-        regOBD("VERSIONNO");
-        return this;
-    }
-
-    //==========================================================================
-    // =========
-    // Specified Derived OrderBy
-    // =========================
-    public BsCategoryCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
-        registerSpecifiedDerivedOrderBy_Asc(aliasName);
-        return this;
-    }
-
-    public BsCategoryCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
-        registerSpecifiedDerivedOrderBy_Desc(aliasName);
-        return this;
-    }
-
-    //==========================================================================
-    // =========
-    // Union Query
-    // ===========
-    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
-            ConditionQuery unionQueryAsSuper) {
-    }
-
-    //==========================================================================
-    // =========
-    // Foreign Query
-    // =============
-
-    protected String getConditionQueryClassNameInternally() {
-        return CategoryCQ.class.getName();
-    }
-
-    protected String getMapClassNameInternally() {
-        return Map.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,575 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.GroupInfoCIQ;
+
+/**
+ * The base condition-query of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsGroupInfoCQ extends AbstractBsGroupInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected GroupInfoCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsGroupInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from GROUP_INFO) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public GroupInfoCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new GroupInfoCIQ(getChildQuery(), getSqlClause(),
+                    getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * GROUP_INFO on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public GroupInfoCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        GroupInfoCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _groupId;
+
+    public ConditionValue getGroupId() {
+        if (_groupId == null) {
+            _groupId = new ConditionValue();
+        }
+        return _groupId;
+    }
+
+    protected ConditionValue getCValueGroupId() {
+        return getGroupId();
+    }
+
+    protected Map<String, GroupMappingCQ> _groupId_InScopeSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getGroupId_InScopeSubQuery_GroupMappingList() {
+        return _groupId_InScopeSubQuery_GroupMappingListMap;
+    }
+
+    public String keepGroupId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_groupId_InScopeSubQuery_GroupMappingListMap == null) {
+            _groupId_InScopeSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_InScopeSubQuery_GroupMappingListMap.size() + 1);
+        _groupId_InScopeSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "groupId_InScopeSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _groupId_InScopeSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getGroupId_InScopeSubQuery_UserInfoList() {
+        return _groupId_InScopeSubQuery_UserInfoListMap;
+    }
+
+    public String keepGroupId_InScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_groupId_InScopeSubQuery_UserInfoListMap == null) {
+            _groupId_InScopeSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_InScopeSubQuery_UserInfoListMap.size() + 1);
+        _groupId_InScopeSubQuery_UserInfoListMap.put(key, subQuery);
+        return "groupId_InScopeSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _groupId_NotInScopeSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getGroupId_NotInScopeSubQuery_GroupMappingList() {
+        return _groupId_NotInScopeSubQuery_GroupMappingListMap;
+    }
+
+    public String keepGroupId_NotInScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_groupId_NotInScopeSubQuery_GroupMappingListMap == null) {
+            _groupId_NotInScopeSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_NotInScopeSubQuery_GroupMappingListMap.size() + 1);
+        _groupId_NotInScopeSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "groupId_NotInScopeSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _groupId_NotInScopeSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getGroupId_NotInScopeSubQuery_UserInfoList() {
+        return _groupId_NotInScopeSubQuery_UserInfoListMap;
+    }
+
+    public String keepGroupId_NotInScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery) {
+        if (_groupId_NotInScopeSubQuery_UserInfoListMap == null) {
+            _groupId_NotInScopeSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_NotInScopeSubQuery_UserInfoListMap.size() + 1);
+        _groupId_NotInScopeSubQuery_UserInfoListMap.put(key, subQuery);
+        return "groupId_NotInScopeSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _groupId_ExistsSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getGroupId_ExistsSubQuery_GroupMappingList() {
+        return _groupId_ExistsSubQuery_GroupMappingListMap;
+    }
+
+    public String keepGroupId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_groupId_ExistsSubQuery_GroupMappingListMap == null) {
+            _groupId_ExistsSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_ExistsSubQuery_GroupMappingListMap.size() + 1);
+        _groupId_ExistsSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "groupId_ExistsSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _groupId_ExistsSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getGroupId_ExistsSubQuery_UserInfoList() {
+        return _groupId_ExistsSubQuery_UserInfoListMap;
+    }
+
+    public String keepGroupId_ExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_groupId_ExistsSubQuery_UserInfoListMap == null) {
+            _groupId_ExistsSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_ExistsSubQuery_UserInfoListMap.size() + 1);
+        _groupId_ExistsSubQuery_UserInfoListMap.put(key, subQuery);
+        return "groupId_ExistsSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _groupId_NotExistsSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getGroupId_NotExistsSubQuery_GroupMappingList() {
+        return _groupId_NotExistsSubQuery_GroupMappingListMap;
+    }
+
+    public String keepGroupId_NotExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_groupId_NotExistsSubQuery_GroupMappingListMap == null) {
+            _groupId_NotExistsSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_NotExistsSubQuery_GroupMappingListMap.size() + 1);
+        _groupId_NotExistsSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "groupId_NotExistsSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _groupId_NotExistsSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getGroupId_NotExistsSubQuery_UserInfoList() {
+        return _groupId_NotExistsSubQuery_UserInfoListMap;
+    }
+
+    public String keepGroupId_NotExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_groupId_NotExistsSubQuery_UserInfoListMap == null) {
+            _groupId_NotExistsSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_NotExistsSubQuery_UserInfoListMap.size() + 1);
+        _groupId_NotExistsSubQuery_UserInfoListMap.put(key, subQuery);
+        return "groupId_NotExistsSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _groupId_DeriveSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getGroupId_DeriveSubQuery_GroupMappingList() {
+        return _groupId_DeriveSubQuery_GroupMappingListMap;
+    }
+
+    public String keepGroupId_DeriveSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_groupId_DeriveSubQuery_GroupMappingListMap == null) {
+            _groupId_DeriveSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_DeriveSubQuery_GroupMappingListMap.size() + 1);
+        _groupId_DeriveSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "groupId_DeriveSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _groupId_DeriveSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getGroupId_DeriveSubQuery_UserInfoList() {
+        return _groupId_DeriveSubQuery_UserInfoListMap;
+    }
+
+    public String keepGroupId_DeriveSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_groupId_DeriveSubQuery_UserInfoListMap == null) {
+            _groupId_DeriveSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_DeriveSubQuery_UserInfoListMap.size() + 1);
+        _groupId_DeriveSubQuery_UserInfoListMap.put(key, subQuery);
+        return "groupId_DeriveSubQuery_UserInfoList." + key;
+    }
+
+    public BsGroupInfoCQ addOrderBy_GroupId_Asc() {
+        regOBA("GROUP_ID");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_GroupId_Desc() {
+        regOBD("GROUP_ID");
+        return this;
+    }
+
+    protected ConditionValue _name;
+
+    public ConditionValue getName() {
+        if (_name == null) {
+            _name = new ConditionValue();
+        }
+        return _name;
+    }
+
+    protected ConditionValue getCValueName() {
+        return getName();
+    }
+
+    public BsGroupInfoCQ addOrderBy_Name_Asc() {
+        regOBA("NAME");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_Name_Desc() {
+        regOBD("NAME");
+        return this;
+    }
+
+    protected ConditionValue _description;
+
+    public ConditionValue getDescription() {
+        if (_description == null) {
+            _description = new ConditionValue();
+        }
+        return _description;
+    }
+
+    protected ConditionValue getCValueDescription() {
+        return getDescription();
+    }
+
+    public BsGroupInfoCQ addOrderBy_Description_Asc() {
+        regOBA("DESCRIPTION");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_Description_Desc() {
+        regOBD("DESCRIPTION");
+        return this;
+    }
+
+    protected ConditionValue _email;
+
+    public ConditionValue getEmail() {
+        if (_email == null) {
+            _email = new ConditionValue();
+        }
+        return _email;
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return getEmail();
+    }
+
+    public BsGroupInfoCQ addOrderBy_Email_Asc() {
+        regOBA("EMAIL");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_Email_Desc() {
+        regOBD("EMAIL");
+        return this;
+    }
+
+    protected ConditionValue _url;
+
+    public ConditionValue getUrl() {
+        if (_url == null) {
+            _url = new ConditionValue();
+        }
+        return _url;
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return getUrl();
+    }
+
+    public BsGroupInfoCQ addOrderBy_Url_Asc() {
+        regOBA("URL");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_Url_Desc() {
+        regOBD("URL");
+        return this;
+    }
+
+    protected ConditionValue _telephone;
+
+    public ConditionValue getTelephone() {
+        if (_telephone == null) {
+            _telephone = new ConditionValue();
+        }
+        return _telephone;
+    }
+
+    protected ConditionValue getCValueTelephone() {
+        return getTelephone();
+    }
+
+    public BsGroupInfoCQ addOrderBy_Telephone_Asc() {
+        regOBA("TELEPHONE");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_Telephone_Desc() {
+        regOBD("TELEPHONE");
+        return this;
+    }
+
+    protected ConditionValue _createdTime;
+
+    public ConditionValue getCreatedTime() {
+        if (_createdTime == null) {
+            _createdTime = new ConditionValue();
+        }
+        return _createdTime;
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return getCreatedTime();
+    }
+
+    public BsGroupInfoCQ addOrderBy_CreatedTime_Asc() {
+        regOBA("CREATED_TIME");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_CreatedTime_Desc() {
+        regOBD("CREATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _createdBy;
+
+    public ConditionValue getCreatedBy() {
+        if (_createdBy == null) {
+            _createdBy = new ConditionValue();
+        }
+        return _createdBy;
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return getCreatedBy();
+    }
+
+    public BsGroupInfoCQ addOrderBy_CreatedBy_Asc() {
+        regOBA("CREATED_BY");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_CreatedBy_Desc() {
+        regOBD("CREATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _updatedTime;
+
+    public ConditionValue getUpdatedTime() {
+        if (_updatedTime == null) {
+            _updatedTime = new ConditionValue();
+        }
+        return _updatedTime;
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return getUpdatedTime();
+    }
+
+    public BsGroupInfoCQ addOrderBy_UpdatedTime_Asc() {
+        regOBA("UPDATED_TIME");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_UpdatedTime_Desc() {
+        regOBD("UPDATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _updatedBy;
+
+    public ConditionValue getUpdatedBy() {
+        if (_updatedBy == null) {
+            _updatedBy = new ConditionValue();
+        }
+        return _updatedBy;
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return getUpdatedBy();
+    }
+
+    public BsGroupInfoCQ addOrderBy_UpdatedBy_Asc() {
+        regOBA("UPDATED_BY");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_UpdatedBy_Desc() {
+        regOBD("UPDATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _deletedTime;
+
+    public ConditionValue getDeletedTime() {
+        if (_deletedTime == null) {
+            _deletedTime = new ConditionValue();
+        }
+        return _deletedTime;
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return getDeletedTime();
+    }
+
+    public BsGroupInfoCQ addOrderBy_DeletedTime_Asc() {
+        regOBA("DELETED_TIME");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_DeletedTime_Desc() {
+        regOBD("DELETED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _deletedBy;
+
+    public ConditionValue getDeletedBy() {
+        if (_deletedBy == null) {
+            _deletedBy = new ConditionValue();
+        }
+        return _deletedBy;
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return getDeletedBy();
+    }
+
+    public BsGroupInfoCQ addOrderBy_DeletedBy_Asc() {
+        regOBA("DELETED_BY");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_DeletedBy_Desc() {
+        regOBD("DELETED_BY");
+        return this;
+    }
+
+    protected ConditionValue _versionno;
+
+    public ConditionValue getVersionno() {
+        if (_versionno == null) {
+            _versionno = new ConditionValue();
+        }
+        return _versionno;
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return getVersionno();
+    }
+
+    public BsGroupInfoCQ addOrderBy_Versionno_Asc() {
+        regOBA("VERSIONNO");
+        return this;
+    }
+
+    public BsGroupInfoCQ addOrderBy_Versionno_Desc() {
+        regOBD("VERSIONNO");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsGroupInfoCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsGroupInfoCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupInfoCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupMappingCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupMappingCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupMappingCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,291 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.GroupMappingCIQ;
+
+/**
+ * The base condition-query of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsGroupMappingCQ extends AbstractBsGroupMappingCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected GroupMappingCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsGroupMappingCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from GROUP_MAPPING) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public GroupMappingCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new GroupMappingCIQ(getChildQuery(), getSqlClause(),
+                    getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * GROUP_MAPPING on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public GroupMappingCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        GroupMappingCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _id;
+
+    public ConditionValue getId() {
+        if (_id == null) {
+            _id = new ConditionValue();
+        }
+        return _id;
+    }
+
+    protected ConditionValue getCValueId() {
+        return getId();
+    }
+
+    public BsGroupMappingCQ addOrderBy_Id_Asc() {
+        regOBA("ID");
+        return this;
+    }
+
+    public BsGroupMappingCQ addOrderBy_Id_Desc() {
+        regOBD("ID");
+        return this;
+    }
+
+    protected ConditionValue _userId;
+
+    public ConditionValue getUserId() {
+        if (_userId == null) {
+            _userId = new ConditionValue();
+        }
+        return _userId;
+    }
+
+    protected ConditionValue getCValueUserId() {
+        return getUserId();
+    }
+
+    protected Map<String, UserInfoCQ> _userId_InScopeSubQuery_UserInfoMap;
+
+    public Map<String, UserInfoCQ> getUserId_InScopeSubQuery_UserInfo() {
+        return _userId_InScopeSubQuery_UserInfoMap;
+    }
+
+    public String keepUserId_InScopeSubQuery_UserInfo(UserInfoCQ subQuery) {
+        if (_userId_InScopeSubQuery_UserInfoMap == null) {
+            _userId_InScopeSubQuery_UserInfoMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_InScopeSubQuery_UserInfoMap.size() + 1);
+        _userId_InScopeSubQuery_UserInfoMap.put(key, subQuery);
+        return "userId_InScopeSubQuery_UserInfo." + key;
+    }
+
+    public BsGroupMappingCQ addOrderBy_UserId_Asc() {
+        regOBA("USER_ID");
+        return this;
+    }
+
+    public BsGroupMappingCQ addOrderBy_UserId_Desc() {
+        regOBD("USER_ID");
+        return this;
+    }
+
+    protected ConditionValue _groupId;
+
+    public ConditionValue getGroupId() {
+        if (_groupId == null) {
+            _groupId = new ConditionValue();
+        }
+        return _groupId;
+    }
+
+    protected ConditionValue getCValueGroupId() {
+        return getGroupId();
+    }
+
+    protected Map<String, GroupInfoCQ> _groupId_InScopeSubQuery_GroupInfoMap;
+
+    public Map<String, GroupInfoCQ> getGroupId_InScopeSubQuery_GroupInfo() {
+        return _groupId_InScopeSubQuery_GroupInfoMap;
+    }
+
+    public String keepGroupId_InScopeSubQuery_GroupInfo(GroupInfoCQ subQuery) {
+        if (_groupId_InScopeSubQuery_GroupInfoMap == null) {
+            _groupId_InScopeSubQuery_GroupInfoMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_InScopeSubQuery_GroupInfoMap.size() + 1);
+        _groupId_InScopeSubQuery_GroupInfoMap.put(key, subQuery);
+        return "groupId_InScopeSubQuery_GroupInfo." + key;
+    }
+
+    public BsGroupMappingCQ addOrderBy_GroupId_Asc() {
+        regOBA("GROUP_ID");
+        return this;
+    }
+
+    public BsGroupMappingCQ addOrderBy_GroupId_Desc() {
+        regOBD("GROUP_ID");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsGroupMappingCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsGroupMappingCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        GroupMappingCQ baseQuery = (GroupMappingCQ) baseQueryAsSuper;
+        GroupMappingCQ unionQuery = (GroupMappingCQ) unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryGroupInfo()) {
+            unionQuery.queryGroupInfo().reflectRelationOnUnionQuery(
+                    baseQuery.queryGroupInfo(), unionQuery.queryGroupInfo());
+        }
+        if (baseQuery.hasConditionQueryUserInfo()) {
+            unionQuery.queryUserInfo().reflectRelationOnUnionQuery(
+                    baseQuery.queryUserInfo(), unionQuery.queryUserInfo());
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    public GroupInfoCQ queryGroupInfo() {
+        return getConditionQueryGroupInfo();
+    }
+
+    protected GroupInfoCQ _conditionQueryGroupInfo;
+
+    public GroupInfoCQ getConditionQueryGroupInfo() {
+        if (_conditionQueryGroupInfo == null) {
+            _conditionQueryGroupInfo = createQueryGroupInfo();
+            setupOuterJoin_GroupInfo();
+        }
+        return _conditionQueryGroupInfo;
+    }
+
+    protected void setupOuterJoin_GroupInfo() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("GROUP_ID"),
+                getConditionQueryGroupInfo().getRealColumnName("GROUP_ID"));
+        registerOuterJoin(getConditionQueryGroupInfo(), joinOnMap);
+    }
+
+    protected GroupInfoCQ createQueryGroupInfo() {
+        String nrp = resolveNextRelationPath("GROUP_MAPPING", "groupInfo");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        GroupInfoCQ cq = new GroupInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("groupInfo");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryGroupInfo() {
+        return _conditionQueryGroupInfo != null;
+    }
+
+    public UserInfoCQ queryUserInfo() {
+        return getConditionQueryUserInfo();
+    }
+
+    protected UserInfoCQ _conditionQueryUserInfo;
+
+    public UserInfoCQ getConditionQueryUserInfo() {
+        if (_conditionQueryUserInfo == null) {
+            _conditionQueryUserInfo = createQueryUserInfo();
+            setupOuterJoin_UserInfo();
+        }
+        return _conditionQueryUserInfo;
+    }
+
+    protected void setupOuterJoin_UserInfo() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("USER_ID"), getConditionQueryUserInfo()
+                .getRealColumnName("USER_ID"));
+        registerOuterJoin(getConditionQueryUserInfo(), joinOnMap);
+    }
+
+    protected UserInfoCQ createQueryUserInfo() {
+        String nrp = resolveNextRelationPath("GROUP_MAPPING", "userInfo");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        UserInfoCQ cq = new UserInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("userInfo");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryUserInfo() {
+        return _conditionQueryUserInfo != null;
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupMappingCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsGroupMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsLinkCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsLinkCQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsLinkCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,488 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq.bs;
-
-import java.util.Map;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.ciq.LinkCIQ;
-
-/**
- * The base condition-query of LINK.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class BsLinkCQ extends AbstractBsLinkCQ {
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected LinkCIQ _inlineQuery;
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public BsLinkCQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-    }
-
-    //==========================================================================
-    // =========
-    // Inline
-    // ======
-    /**
-     * Prepare inline query. <br /> {select ... from ... left outer join (select
-     * * from LINK) where abc = [abc] ...}
-     * 
-     * @return Inline query. (NotNull)
-     */
-    public LinkCIQ inline() {
-        if (_inlineQuery == null) {
-            _inlineQuery = new LinkCIQ(getChildQuery(), getSqlClause(),
-                    getAliasName(), getNestLevel(), this);
-        }
-        _inlineQuery.xsetOnClauseInline(false);
-        return _inlineQuery;
-    }
-
-    /**
-     * Prepare on-clause query. <br /> {select ... from ... left outer join LINK
-     * on ... and abc = [abc] ...}
-     * 
-     * @return On-clause query. (NotNull)
-     */
-    public LinkCIQ on() {
-        if (isBaseQuery(this)) {
-            throw new UnsupportedOperationException(
-                    "Unsupported onClause of Base Table!");
-        }
-        LinkCIQ inlineQuery = inline();
-        inlineQuery.xsetOnClauseInline(true);
-        return inlineQuery;
-    }
-
-    //==========================================================================
-    // =========
-    // Query
-    // =====
-
-    protected ConditionValue _id;
-
-    public ConditionValue getId() {
-        if (_id == null) {
-            _id = new ConditionValue();
-        }
-        return _id;
-    }
-
-    protected ConditionValue getCValueId() {
-        return getId();
-    }
-
-    public BsLinkCQ addOrderBy_Id_Asc() {
-        regOBA("ID");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_Id_Desc() {
-        regOBD("ID");
-        return this;
-    }
-
-    protected ConditionValue _name;
-
-    public ConditionValue getName() {
-        if (_name == null) {
-            _name = new ConditionValue();
-        }
-        return _name;
-    }
-
-    protected ConditionValue getCValueName() {
-        return getName();
-    }
-
-    public BsLinkCQ addOrderBy_Name_Asc() {
-        regOBA("NAME");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_Name_Desc() {
-        regOBD("NAME");
-        return this;
-    }
-
-    protected ConditionValue _memo;
-
-    public ConditionValue getMemo() {
-        if (_memo == null) {
-            _memo = new ConditionValue();
-        }
-        return _memo;
-    }
-
-    protected ConditionValue getCValueMemo() {
-        return getMemo();
-    }
-
-    public BsLinkCQ addOrderBy_Memo_Asc() {
-        regOBA("MEMO");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_Memo_Desc() {
-        regOBD("MEMO");
-        return this;
-    }
-
-    protected ConditionValue _url;
-
-    public ConditionValue getUrl() {
-        if (_url == null) {
-            _url = new ConditionValue();
-        }
-        return _url;
-    }
-
-    protected ConditionValue getCValueUrl() {
-        return getUrl();
-    }
-
-    public BsLinkCQ addOrderBy_Url_Asc() {
-        regOBA("URL");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_Url_Desc() {
-        regOBD("URL");
-        return this;
-    }
-
-    protected ConditionValue _type;
-
-    public ConditionValue getType() {
-        if (_type == null) {
-            _type = new ConditionValue();
-        }
-        return _type;
-    }
-
-    protected ConditionValue getCValueType() {
-        return getType();
-    }
-
-    public BsLinkCQ addOrderBy_Type_Asc() {
-        regOBA("TYPE");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_Type_Desc() {
-        regOBD("TYPE");
-        return this;
-    }
-
-    protected ConditionValue _sortOrder;
-
-    public ConditionValue getSortOrder() {
-        if (_sortOrder == null) {
-            _sortOrder = new ConditionValue();
-        }
-        return _sortOrder;
-    }
-
-    protected ConditionValue getCValueSortOrder() {
-        return getSortOrder();
-    }
-
-    public BsLinkCQ addOrderBy_SortOrder_Asc() {
-        regOBA("SORT_ORDER");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_SortOrder_Desc() {
-        regOBD("SORT_ORDER");
-        return this;
-    }
-
-    protected ConditionValue _categoryId;
-
-    public ConditionValue getCategoryId() {
-        if (_categoryId == null) {
-            _categoryId = new ConditionValue();
-        }
-        return _categoryId;
-    }
-
-    protected ConditionValue getCValueCategoryId() {
-        return getCategoryId();
-    }
-
-    protected Map<String, CategoryCQ> _categoryId_InScopeSubQuery_CategoryMap;
-
-    public Map<String, CategoryCQ> getCategoryId_InScopeSubQuery_Category() {
-        return _categoryId_InScopeSubQuery_CategoryMap;
-    }
-
-    public String keepCategoryId_InScopeSubQuery_Category(CategoryCQ subQuery) {
-        if (_categoryId_InScopeSubQuery_CategoryMap == null) {
-            _categoryId_InScopeSubQuery_CategoryMap = newLinkedHashMap();
-        }
-        String key = "subQueryMapKey"
-                + (_categoryId_InScopeSubQuery_CategoryMap.size() + 1);
-        _categoryId_InScopeSubQuery_CategoryMap.put(key, subQuery);
-        return "categoryId_InScopeSubQuery_Category." + key;
-    }
-
-    public BsLinkCQ addOrderBy_CategoryId_Asc() {
-        regOBA("CATEGORY_ID");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_CategoryId_Desc() {
-        regOBD("CATEGORY_ID");
-        return this;
-    }
-
-    protected ConditionValue _createdTime;
-
-    public ConditionValue getCreatedTime() {
-        if (_createdTime == null) {
-            _createdTime = new ConditionValue();
-        }
-        return _createdTime;
-    }
-
-    protected ConditionValue getCValueCreatedTime() {
-        return getCreatedTime();
-    }
-
-    public BsLinkCQ addOrderBy_CreatedTime_Asc() {
-        regOBA("CREATED_TIME");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_CreatedTime_Desc() {
-        regOBD("CREATED_TIME");
-        return this;
-    }
-
-    protected ConditionValue _createdBy;
-
-    public ConditionValue getCreatedBy() {
-        if (_createdBy == null) {
-            _createdBy = new ConditionValue();
-        }
-        return _createdBy;
-    }
-
-    protected ConditionValue getCValueCreatedBy() {
-        return getCreatedBy();
-    }
-
-    public BsLinkCQ addOrderBy_CreatedBy_Asc() {
-        regOBA("CREATED_BY");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_CreatedBy_Desc() {
-        regOBD("CREATED_BY");
-        return this;
-    }
-
-    protected ConditionValue _updatedTime;
-
-    public ConditionValue getUpdatedTime() {
-        if (_updatedTime == null) {
-            _updatedTime = new ConditionValue();
-        }
-        return _updatedTime;
-    }
-
-    protected ConditionValue getCValueUpdatedTime() {
-        return getUpdatedTime();
-    }
-
-    public BsLinkCQ addOrderBy_UpdatedTime_Asc() {
-        regOBA("UPDATED_TIME");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_UpdatedTime_Desc() {
-        regOBD("UPDATED_TIME");
-        return this;
-    }
-
-    protected ConditionValue _updatedBy;
-
-    public ConditionValue getUpdatedBy() {
-        if (_updatedBy == null) {
-            _updatedBy = new ConditionValue();
-        }
-        return _updatedBy;
-    }
-
-    protected ConditionValue getCValueUpdatedBy() {
-        return getUpdatedBy();
-    }
-
-    public BsLinkCQ addOrderBy_UpdatedBy_Asc() {
-        regOBA("UPDATED_BY");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_UpdatedBy_Desc() {
-        regOBD("UPDATED_BY");
-        return this;
-    }
-
-    protected ConditionValue _deletedTime;
-
-    public ConditionValue getDeletedTime() {
-        if (_deletedTime == null) {
-            _deletedTime = new ConditionValue();
-        }
-        return _deletedTime;
-    }
-
-    protected ConditionValue getCValueDeletedTime() {
-        return getDeletedTime();
-    }
-
-    public BsLinkCQ addOrderBy_DeletedTime_Asc() {
-        regOBA("DELETED_TIME");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_DeletedTime_Desc() {
-        regOBD("DELETED_TIME");
-        return this;
-    }
-
-    protected ConditionValue _deletedBy;
-
-    public ConditionValue getDeletedBy() {
-        if (_deletedBy == null) {
-            _deletedBy = new ConditionValue();
-        }
-        return _deletedBy;
-    }
-
-    protected ConditionValue getCValueDeletedBy() {
-        return getDeletedBy();
-    }
-
-    public BsLinkCQ addOrderBy_DeletedBy_Asc() {
-        regOBA("DELETED_BY");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_DeletedBy_Desc() {
-        regOBD("DELETED_BY");
-        return this;
-    }
-
-    protected ConditionValue _versionno;
-
-    public ConditionValue getVersionno() {
-        if (_versionno == null) {
-            _versionno = new ConditionValue();
-        }
-        return _versionno;
-    }
-
-    protected ConditionValue getCValueVersionno() {
-        return getVersionno();
-    }
-
-    public BsLinkCQ addOrderBy_Versionno_Asc() {
-        regOBA("VERSIONNO");
-        return this;
-    }
-
-    public BsLinkCQ addOrderBy_Versionno_Desc() {
-        regOBD("VERSIONNO");
-        return this;
-    }
-
-    //==========================================================================
-    // =========
-    // Specified Derived OrderBy
-    // =========================
-    public BsLinkCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
-        registerSpecifiedDerivedOrderBy_Asc(aliasName);
-        return this;
-    }
-
-    public BsLinkCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
-        registerSpecifiedDerivedOrderBy_Desc(aliasName);
-        return this;
-    }
-
-    //==========================================================================
-    // =========
-    // Union Query
-    // ===========
-    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
-            ConditionQuery unionQueryAsSuper) {
-        LinkCQ baseQuery = (LinkCQ) baseQueryAsSuper;
-        LinkCQ unionQuery = (LinkCQ) unionQueryAsSuper;
-        if (baseQuery.hasConditionQueryCategory()) {
-            unionQuery.queryCategory().reflectRelationOnUnionQuery(
-                    baseQuery.queryCategory(), unionQuery.queryCategory());
-        }
-    }
-
-    //==========================================================================
-    // =========
-    // Foreign Query
-    // =============
-
-    public CategoryCQ queryCategory() {
-        return getConditionQueryCategory();
-    }
-
-    protected CategoryCQ _conditionQueryCategory;
-
-    public CategoryCQ getConditionQueryCategory() {
-        if (_conditionQueryCategory == null) {
-            _conditionQueryCategory = createQueryCategory();
-            setupOuterJoin_Category();
-        }
-        return _conditionQueryCategory;
-    }
-
-    protected void setupOuterJoin_Category() {
-        Map<String, String> joinOnMap = newLinkedHashMap();
-        joinOnMap.put(getRealColumnName("CATEGORY_ID"),
-                getConditionQueryCategory().getRealColumnName("ID"));
-        registerOuterJoin(getConditionQueryCategory(), joinOnMap);
-    }
-
-    protected CategoryCQ createQueryCategory() {
-        String nrp = resolveNextRelationPath("LINK", "category");
-        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
-        CategoryCQ cq = new CategoryCQ(this, getSqlClause(), jan,
-                getNextNestLevel());
-        cq.xsetForeignPropertyName("category");
-        cq.xsetRelationPath(nrp);
-        return cq;
-    }
-
-    public boolean hasConditionQueryCategory() {
-        return _conditionQueryCategory != null;
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return LinkCQ.class.getName();
-    }
-
-    protected String getMapClassNameInternally() {
-        return Map.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,574 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.RoleInfoCIQ;
+
+/**
+ * The base condition-query of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsRoleInfoCQ extends AbstractBsRoleInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected RoleInfoCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsRoleInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from ROLE_INFO) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public RoleInfoCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new RoleInfoCIQ(getChildQuery(), getSqlClause(),
+                    getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * ROLE_INFO on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public RoleInfoCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        RoleInfoCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _roleId;
+
+    public ConditionValue getRoleId() {
+        if (_roleId == null) {
+            _roleId = new ConditionValue();
+        }
+        return _roleId;
+    }
+
+    protected ConditionValue getCValueRoleId() {
+        return getRoleId();
+    }
+
+    protected Map<String, RoleMappingCQ> _roleId_InScopeSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getRoleId_InScopeSubQuery_RoleMappingList() {
+        return _roleId_InScopeSubQuery_RoleMappingListMap;
+    }
+
+    public String keepRoleId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_roleId_InScopeSubQuery_RoleMappingListMap == null) {
+            _roleId_InScopeSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_InScopeSubQuery_RoleMappingListMap.size() + 1);
+        _roleId_InScopeSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "roleId_InScopeSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _roleId_InScopeSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getRoleId_InScopeSubQuery_UserInfoList() {
+        return _roleId_InScopeSubQuery_UserInfoListMap;
+    }
+
+    public String keepRoleId_InScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_roleId_InScopeSubQuery_UserInfoListMap == null) {
+            _roleId_InScopeSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_InScopeSubQuery_UserInfoListMap.size() + 1);
+        _roleId_InScopeSubQuery_UserInfoListMap.put(key, subQuery);
+        return "roleId_InScopeSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _roleId_NotInScopeSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getRoleId_NotInScopeSubQuery_RoleMappingList() {
+        return _roleId_NotInScopeSubQuery_RoleMappingListMap;
+    }
+
+    public String keepRoleId_NotInScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_roleId_NotInScopeSubQuery_RoleMappingListMap == null) {
+            _roleId_NotInScopeSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_NotInScopeSubQuery_RoleMappingListMap.size() + 1);
+        _roleId_NotInScopeSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "roleId_NotInScopeSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _roleId_NotInScopeSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getRoleId_NotInScopeSubQuery_UserInfoList() {
+        return _roleId_NotInScopeSubQuery_UserInfoListMap;
+    }
+
+    public String keepRoleId_NotInScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_roleId_NotInScopeSubQuery_UserInfoListMap == null) {
+            _roleId_NotInScopeSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_NotInScopeSubQuery_UserInfoListMap.size() + 1);
+        _roleId_NotInScopeSubQuery_UserInfoListMap.put(key, subQuery);
+        return "roleId_NotInScopeSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _roleId_ExistsSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getRoleId_ExistsSubQuery_RoleMappingList() {
+        return _roleId_ExistsSubQuery_RoleMappingListMap;
+    }
+
+    public String keepRoleId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_roleId_ExistsSubQuery_RoleMappingListMap == null) {
+            _roleId_ExistsSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_ExistsSubQuery_RoleMappingListMap.size() + 1);
+        _roleId_ExistsSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "roleId_ExistsSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _roleId_ExistsSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getRoleId_ExistsSubQuery_UserInfoList() {
+        return _roleId_ExistsSubQuery_UserInfoListMap;
+    }
+
+    public String keepRoleId_ExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_roleId_ExistsSubQuery_UserInfoListMap == null) {
+            _roleId_ExistsSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_ExistsSubQuery_UserInfoListMap.size() + 1);
+        _roleId_ExistsSubQuery_UserInfoListMap.put(key, subQuery);
+        return "roleId_ExistsSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _roleId_NotExistsSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getRoleId_NotExistsSubQuery_RoleMappingList() {
+        return _roleId_NotExistsSubQuery_RoleMappingListMap;
+    }
+
+    public String keepRoleId_NotExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_roleId_NotExistsSubQuery_RoleMappingListMap == null) {
+            _roleId_NotExistsSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_NotExistsSubQuery_RoleMappingListMap.size() + 1);
+        _roleId_NotExistsSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "roleId_NotExistsSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _roleId_NotExistsSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getRoleId_NotExistsSubQuery_UserInfoList() {
+        return _roleId_NotExistsSubQuery_UserInfoListMap;
+    }
+
+    public String keepRoleId_NotExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_roleId_NotExistsSubQuery_UserInfoListMap == null) {
+            _roleId_NotExistsSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_NotExistsSubQuery_UserInfoListMap.size() + 1);
+        _roleId_NotExistsSubQuery_UserInfoListMap.put(key, subQuery);
+        return "roleId_NotExistsSubQuery_UserInfoList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _roleId_DeriveSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getRoleId_DeriveSubQuery_RoleMappingList() {
+        return _roleId_DeriveSubQuery_RoleMappingListMap;
+    }
+
+    public String keepRoleId_DeriveSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_roleId_DeriveSubQuery_RoleMappingListMap == null) {
+            _roleId_DeriveSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_DeriveSubQuery_RoleMappingListMap.size() + 1);
+        _roleId_DeriveSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "roleId_DeriveSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, UserInfoCQ> _roleId_DeriveSubQuery_UserInfoListMap;
+
+    public Map<String, UserInfoCQ> getRoleId_DeriveSubQuery_UserInfoList() {
+        return _roleId_DeriveSubQuery_UserInfoListMap;
+    }
+
+    public String keepRoleId_DeriveSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        if (_roleId_DeriveSubQuery_UserInfoListMap == null) {
+            _roleId_DeriveSubQuery_UserInfoListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_DeriveSubQuery_UserInfoListMap.size() + 1);
+        _roleId_DeriveSubQuery_UserInfoListMap.put(key, subQuery);
+        return "roleId_DeriveSubQuery_UserInfoList." + key;
+    }
+
+    public BsRoleInfoCQ addOrderBy_RoleId_Asc() {
+        regOBA("ROLE_ID");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_RoleId_Desc() {
+        regOBD("ROLE_ID");
+        return this;
+    }
+
+    protected ConditionValue _name;
+
+    public ConditionValue getName() {
+        if (_name == null) {
+            _name = new ConditionValue();
+        }
+        return _name;
+    }
+
+    protected ConditionValue getCValueName() {
+        return getName();
+    }
+
+    public BsRoleInfoCQ addOrderBy_Name_Asc() {
+        regOBA("NAME");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_Name_Desc() {
+        regOBD("NAME");
+        return this;
+    }
+
+    protected ConditionValue _description;
+
+    public ConditionValue getDescription() {
+        if (_description == null) {
+            _description = new ConditionValue();
+        }
+        return _description;
+    }
+
+    protected ConditionValue getCValueDescription() {
+        return getDescription();
+    }
+
+    public BsRoleInfoCQ addOrderBy_Description_Asc() {
+        regOBA("DESCRIPTION");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_Description_Desc() {
+        regOBD("DESCRIPTION");
+        return this;
+    }
+
+    protected ConditionValue _email;
+
+    public ConditionValue getEmail() {
+        if (_email == null) {
+            _email = new ConditionValue();
+        }
+        return _email;
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return getEmail();
+    }
+
+    public BsRoleInfoCQ addOrderBy_Email_Asc() {
+        regOBA("EMAIL");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_Email_Desc() {
+        regOBD("EMAIL");
+        return this;
+    }
+
+    protected ConditionValue _url;
+
+    public ConditionValue getUrl() {
+        if (_url == null) {
+            _url = new ConditionValue();
+        }
+        return _url;
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return getUrl();
+    }
+
+    public BsRoleInfoCQ addOrderBy_Url_Asc() {
+        regOBA("URL");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_Url_Desc() {
+        regOBD("URL");
+        return this;
+    }
+
+    protected ConditionValue _telephone;
+
+    public ConditionValue getTelephone() {
+        if (_telephone == null) {
+            _telephone = new ConditionValue();
+        }
+        return _telephone;
+    }
+
+    protected ConditionValue getCValueTelephone() {
+        return getTelephone();
+    }
+
+    public BsRoleInfoCQ addOrderBy_Telephone_Asc() {
+        regOBA("TELEPHONE");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_Telephone_Desc() {
+        regOBD("TELEPHONE");
+        return this;
+    }
+
+    protected ConditionValue _createdTime;
+
+    public ConditionValue getCreatedTime() {
+        if (_createdTime == null) {
+            _createdTime = new ConditionValue();
+        }
+        return _createdTime;
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return getCreatedTime();
+    }
+
+    public BsRoleInfoCQ addOrderBy_CreatedTime_Asc() {
+        regOBA("CREATED_TIME");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_CreatedTime_Desc() {
+        regOBD("CREATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _createdBy;
+
+    public ConditionValue getCreatedBy() {
+        if (_createdBy == null) {
+            _createdBy = new ConditionValue();
+        }
+        return _createdBy;
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return getCreatedBy();
+    }
+
+    public BsRoleInfoCQ addOrderBy_CreatedBy_Asc() {
+        regOBA("CREATED_BY");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_CreatedBy_Desc() {
+        regOBD("CREATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _updatedTime;
+
+    public ConditionValue getUpdatedTime() {
+        if (_updatedTime == null) {
+            _updatedTime = new ConditionValue();
+        }
+        return _updatedTime;
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return getUpdatedTime();
+    }
+
+    public BsRoleInfoCQ addOrderBy_UpdatedTime_Asc() {
+        regOBA("UPDATED_TIME");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_UpdatedTime_Desc() {
+        regOBD("UPDATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _updatedBy;
+
+    public ConditionValue getUpdatedBy() {
+        if (_updatedBy == null) {
+            _updatedBy = new ConditionValue();
+        }
+        return _updatedBy;
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return getUpdatedBy();
+    }
+
+    public BsRoleInfoCQ addOrderBy_UpdatedBy_Asc() {
+        regOBA("UPDATED_BY");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_UpdatedBy_Desc() {
+        regOBD("UPDATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _deletedTime;
+
+    public ConditionValue getDeletedTime() {
+        if (_deletedTime == null) {
+            _deletedTime = new ConditionValue();
+        }
+        return _deletedTime;
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return getDeletedTime();
+    }
+
+    public BsRoleInfoCQ addOrderBy_DeletedTime_Asc() {
+        regOBA("DELETED_TIME");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_DeletedTime_Desc() {
+        regOBD("DELETED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _deletedBy;
+
+    public ConditionValue getDeletedBy() {
+        if (_deletedBy == null) {
+            _deletedBy = new ConditionValue();
+        }
+        return _deletedBy;
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return getDeletedBy();
+    }
+
+    public BsRoleInfoCQ addOrderBy_DeletedBy_Asc() {
+        regOBA("DELETED_BY");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_DeletedBy_Desc() {
+        regOBD("DELETED_BY");
+        return this;
+    }
+
+    protected ConditionValue _versionno;
+
+    public ConditionValue getVersionno() {
+        if (_versionno == null) {
+            _versionno = new ConditionValue();
+        }
+        return _versionno;
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return getVersionno();
+    }
+
+    public BsRoleInfoCQ addOrderBy_Versionno_Asc() {
+        regOBA("VERSIONNO");
+        return this;
+    }
+
+    public BsRoleInfoCQ addOrderBy_Versionno_Desc() {
+        regOBD("VERSIONNO");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsRoleInfoCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsRoleInfoCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleInfoCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleMappingCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleMappingCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleMappingCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,291 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.RoleMappingCIQ;
+
+/**
+ * The base condition-query of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsRoleMappingCQ extends AbstractBsRoleMappingCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected RoleMappingCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsRoleMappingCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from ROLE_MAPPING) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public RoleMappingCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new RoleMappingCIQ(getChildQuery(), getSqlClause(),
+                    getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * ROLE_MAPPING on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public RoleMappingCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        RoleMappingCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _id;
+
+    public ConditionValue getId() {
+        if (_id == null) {
+            _id = new ConditionValue();
+        }
+        return _id;
+    }
+
+    protected ConditionValue getCValueId() {
+        return getId();
+    }
+
+    public BsRoleMappingCQ addOrderBy_Id_Asc() {
+        regOBA("ID");
+        return this;
+    }
+
+    public BsRoleMappingCQ addOrderBy_Id_Desc() {
+        regOBD("ID");
+        return this;
+    }
+
+    protected ConditionValue _userId;
+
+    public ConditionValue getUserId() {
+        if (_userId == null) {
+            _userId = new ConditionValue();
+        }
+        return _userId;
+    }
+
+    protected ConditionValue getCValueUserId() {
+        return getUserId();
+    }
+
+    protected Map<String, UserInfoCQ> _userId_InScopeSubQuery_UserInfoMap;
+
+    public Map<String, UserInfoCQ> getUserId_InScopeSubQuery_UserInfo() {
+        return _userId_InScopeSubQuery_UserInfoMap;
+    }
+
+    public String keepUserId_InScopeSubQuery_UserInfo(UserInfoCQ subQuery) {
+        if (_userId_InScopeSubQuery_UserInfoMap == null) {
+            _userId_InScopeSubQuery_UserInfoMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_InScopeSubQuery_UserInfoMap.size() + 1);
+        _userId_InScopeSubQuery_UserInfoMap.put(key, subQuery);
+        return "userId_InScopeSubQuery_UserInfo." + key;
+    }
+
+    public BsRoleMappingCQ addOrderBy_UserId_Asc() {
+        regOBA("USER_ID");
+        return this;
+    }
+
+    public BsRoleMappingCQ addOrderBy_UserId_Desc() {
+        regOBD("USER_ID");
+        return this;
+    }
+
+    protected ConditionValue _roleId;
+
+    public ConditionValue getRoleId() {
+        if (_roleId == null) {
+            _roleId = new ConditionValue();
+        }
+        return _roleId;
+    }
+
+    protected ConditionValue getCValueRoleId() {
+        return getRoleId();
+    }
+
+    protected Map<String, RoleInfoCQ> _roleId_InScopeSubQuery_RoleInfoMap;
+
+    public Map<String, RoleInfoCQ> getRoleId_InScopeSubQuery_RoleInfo() {
+        return _roleId_InScopeSubQuery_RoleInfoMap;
+    }
+
+    public String keepRoleId_InScopeSubQuery_RoleInfo(RoleInfoCQ subQuery) {
+        if (_roleId_InScopeSubQuery_RoleInfoMap == null) {
+            _roleId_InScopeSubQuery_RoleInfoMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_InScopeSubQuery_RoleInfoMap.size() + 1);
+        _roleId_InScopeSubQuery_RoleInfoMap.put(key, subQuery);
+        return "roleId_InScopeSubQuery_RoleInfo." + key;
+    }
+
+    public BsRoleMappingCQ addOrderBy_RoleId_Asc() {
+        regOBA("ROLE_ID");
+        return this;
+    }
+
+    public BsRoleMappingCQ addOrderBy_RoleId_Desc() {
+        regOBD("ROLE_ID");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsRoleMappingCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsRoleMappingCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        RoleMappingCQ baseQuery = (RoleMappingCQ) baseQueryAsSuper;
+        RoleMappingCQ unionQuery = (RoleMappingCQ) unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryRoleInfo()) {
+            unionQuery.queryRoleInfo().reflectRelationOnUnionQuery(
+                    baseQuery.queryRoleInfo(), unionQuery.queryRoleInfo());
+        }
+        if (baseQuery.hasConditionQueryUserInfo()) {
+            unionQuery.queryUserInfo().reflectRelationOnUnionQuery(
+                    baseQuery.queryUserInfo(), unionQuery.queryUserInfo());
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    public RoleInfoCQ queryRoleInfo() {
+        return getConditionQueryRoleInfo();
+    }
+
+    protected RoleInfoCQ _conditionQueryRoleInfo;
+
+    public RoleInfoCQ getConditionQueryRoleInfo() {
+        if (_conditionQueryRoleInfo == null) {
+            _conditionQueryRoleInfo = createQueryRoleInfo();
+            setupOuterJoin_RoleInfo();
+        }
+        return _conditionQueryRoleInfo;
+    }
+
+    protected void setupOuterJoin_RoleInfo() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("ROLE_ID"), getConditionQueryRoleInfo()
+                .getRealColumnName("ROLE_ID"));
+        registerOuterJoin(getConditionQueryRoleInfo(), joinOnMap);
+    }
+
+    protected RoleInfoCQ createQueryRoleInfo() {
+        String nrp = resolveNextRelationPath("ROLE_MAPPING", "roleInfo");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        RoleInfoCQ cq = new RoleInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("roleInfo");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryRoleInfo() {
+        return _conditionQueryRoleInfo != null;
+    }
+
+    public UserInfoCQ queryUserInfo() {
+        return getConditionQueryUserInfo();
+    }
+
+    protected UserInfoCQ _conditionQueryUserInfo;
+
+    public UserInfoCQ getConditionQueryUserInfo() {
+        if (_conditionQueryUserInfo == null) {
+            _conditionQueryUserInfo = createQueryUserInfo();
+            setupOuterJoin_UserInfo();
+        }
+        return _conditionQueryUserInfo;
+    }
+
+    protected void setupOuterJoin_UserInfo() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("USER_ID"), getConditionQueryUserInfo()
+                .getRealColumnName("USER_ID"));
+        registerOuterJoin(getConditionQueryUserInfo(), joinOnMap);
+    }
+
+    protected UserInfoCQ createQueryUserInfo() {
+        String nrp = resolveNextRelationPath("ROLE_MAPPING", "userInfo");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        UserInfoCQ cq = new UserInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("userInfo");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryUserInfo() {
+        return _conditionQueryUserInfo != null;
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleMappingCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsRoleMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsUserInfoCQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsUserInfoCQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsUserInfoCQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,808 @@
+package jp.sf.pal.bookmark.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.ciq.UserInfoCIQ;
+
+/**
+ * The base condition-query of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsUserInfoCQ extends AbstractBsUserInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected UserInfoCIQ _inlineQuery;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BsUserInfoCQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+    }
+
+    //==========================================================================
+    // =========
+    // Inline
+    // ======
+    /**
+     * Prepare inline query. <br /> {select ... from ... left outer join (select
+     * * from USER_INFO) where abc = [abc] ...}
+     * 
+     * @return Inline query. (NotNull)
+     */
+    public UserInfoCIQ inline() {
+        if (_inlineQuery == null) {
+            _inlineQuery = new UserInfoCIQ(getChildQuery(), getSqlClause(),
+                    getAliasName(), getNestLevel(), this);
+        }
+        _inlineQuery.xsetOnClauseInline(false);
+        return _inlineQuery;
+    }
+
+    /**
+     * Prepare on-clause query. <br /> {select ... from ... left outer join
+     * USER_INFO on ... and abc = [abc] ...}
+     * 
+     * @return On-clause query. (NotNull)
+     */
+    public UserInfoCIQ on() {
+        if (isBaseQuery(this)) {
+            throw new UnsupportedOperationException(
+                    "Unsupported onClause of Base Table!");
+        }
+        UserInfoCIQ inlineQuery = inline();
+        inlineQuery.xsetOnClauseInline(true);
+        return inlineQuery;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+
+    protected ConditionValue _userId;
+
+    public ConditionValue getUserId() {
+        if (_userId == null) {
+            _userId = new ConditionValue();
+        }
+        return _userId;
+    }
+
+    protected ConditionValue getCValueUserId() {
+        return getUserId();
+    }
+
+    protected Map<String, GroupMappingCQ> _userId_InScopeSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getUserId_InScopeSubQuery_GroupMappingList() {
+        return _userId_InScopeSubQuery_GroupMappingListMap;
+    }
+
+    public String keepUserId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_userId_InScopeSubQuery_GroupMappingListMap == null) {
+            _userId_InScopeSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_InScopeSubQuery_GroupMappingListMap.size() + 1);
+        _userId_InScopeSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "userId_InScopeSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _userId_InScopeSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getUserId_InScopeSubQuery_RoleMappingList() {
+        return _userId_InScopeSubQuery_RoleMappingListMap;
+    }
+
+    public String keepUserId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_userId_InScopeSubQuery_RoleMappingListMap == null) {
+            _userId_InScopeSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_InScopeSubQuery_RoleMappingListMap.size() + 1);
+        _userId_InScopeSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "userId_InScopeSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _userId_NotInScopeSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getUserId_NotInScopeSubQuery_GroupMappingList() {
+        return _userId_NotInScopeSubQuery_GroupMappingListMap;
+    }
+
+    public String keepUserId_NotInScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_userId_NotInScopeSubQuery_GroupMappingListMap == null) {
+            _userId_NotInScopeSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotInScopeSubQuery_GroupMappingListMap.size() + 1);
+        _userId_NotInScopeSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "userId_NotInScopeSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _userId_NotInScopeSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getUserId_NotInScopeSubQuery_RoleMappingList() {
+        return _userId_NotInScopeSubQuery_RoleMappingListMap;
+    }
+
+    public String keepUserId_NotInScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_userId_NotInScopeSubQuery_RoleMappingListMap == null) {
+            _userId_NotInScopeSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotInScopeSubQuery_RoleMappingListMap.size() + 1);
+        _userId_NotInScopeSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "userId_NotInScopeSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _userId_ExistsSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getUserId_ExistsSubQuery_GroupMappingList() {
+        return _userId_ExistsSubQuery_GroupMappingListMap;
+    }
+
+    public String keepUserId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_userId_ExistsSubQuery_GroupMappingListMap == null) {
+            _userId_ExistsSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_ExistsSubQuery_GroupMappingListMap.size() + 1);
+        _userId_ExistsSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "userId_ExistsSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _userId_ExistsSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getUserId_ExistsSubQuery_RoleMappingList() {
+        return _userId_ExistsSubQuery_RoleMappingListMap;
+    }
+
+    public String keepUserId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_userId_ExistsSubQuery_RoleMappingListMap == null) {
+            _userId_ExistsSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_ExistsSubQuery_RoleMappingListMap.size() + 1);
+        _userId_ExistsSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "userId_ExistsSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _userId_NotExistsSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getUserId_NotExistsSubQuery_GroupMappingList() {
+        return _userId_NotExistsSubQuery_GroupMappingListMap;
+    }
+
+    public String keepUserId_NotExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_userId_NotExistsSubQuery_GroupMappingListMap == null) {
+            _userId_NotExistsSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotExistsSubQuery_GroupMappingListMap.size() + 1);
+        _userId_NotExistsSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "userId_NotExistsSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _userId_NotExistsSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getUserId_NotExistsSubQuery_RoleMappingList() {
+        return _userId_NotExistsSubQuery_RoleMappingListMap;
+    }
+
+    public String keepUserId_NotExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_userId_NotExistsSubQuery_RoleMappingListMap == null) {
+            _userId_NotExistsSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotExistsSubQuery_RoleMappingListMap.size() + 1);
+        _userId_NotExistsSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "userId_NotExistsSubQuery_RoleMappingList." + key;
+    }
+
+    protected Map<String, GroupMappingCQ> _userId_DeriveSubQuery_GroupMappingListMap;
+
+    public Map<String, GroupMappingCQ> getUserId_DeriveSubQuery_GroupMappingList() {
+        return _userId_DeriveSubQuery_GroupMappingListMap;
+    }
+
+    public String keepUserId_DeriveSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        if (_userId_DeriveSubQuery_GroupMappingListMap == null) {
+            _userId_DeriveSubQuery_GroupMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_DeriveSubQuery_GroupMappingListMap.size() + 1);
+        _userId_DeriveSubQuery_GroupMappingListMap.put(key, subQuery);
+        return "userId_DeriveSubQuery_GroupMappingList." + key;
+    }
+
+    protected Map<String, RoleMappingCQ> _userId_DeriveSubQuery_RoleMappingListMap;
+
+    public Map<String, RoleMappingCQ> getUserId_DeriveSubQuery_RoleMappingList() {
+        return _userId_DeriveSubQuery_RoleMappingListMap;
+    }
+
+    public String keepUserId_DeriveSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        if (_userId_DeriveSubQuery_RoleMappingListMap == null) {
+            _userId_DeriveSubQuery_RoleMappingListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_DeriveSubQuery_RoleMappingListMap.size() + 1);
+        _userId_DeriveSubQuery_RoleMappingListMap.put(key, subQuery);
+        return "userId_DeriveSubQuery_RoleMappingList." + key;
+    }
+
+    public BsUserInfoCQ addOrderBy_UserId_Asc() {
+        regOBA("USER_ID");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_UserId_Desc() {
+        regOBD("USER_ID");
+        return this;
+    }
+
+    protected ConditionValue _givenName;
+
+    public ConditionValue getGivenName() {
+        if (_givenName == null) {
+            _givenName = new ConditionValue();
+        }
+        return _givenName;
+    }
+
+    protected ConditionValue getCValueGivenName() {
+        return getGivenName();
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenName_Asc() {
+        regOBA("GIVEN_NAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenName_Desc() {
+        regOBD("GIVEN_NAME");
+        return this;
+    }
+
+    protected ConditionValue _familyName;
+
+    public ConditionValue getFamilyName() {
+        if (_familyName == null) {
+            _familyName = new ConditionValue();
+        }
+        return _familyName;
+    }
+
+    protected ConditionValue getCValueFamilyName() {
+        return getFamilyName();
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyName_Asc() {
+        regOBA("FAMILY_NAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyName_Desc() {
+        regOBD("FAMILY_NAME");
+        return this;
+    }
+
+    protected ConditionValue _middleName;
+
+    public ConditionValue getMiddleName() {
+        if (_middleName == null) {
+            _middleName = new ConditionValue();
+        }
+        return _middleName;
+    }
+
+    protected ConditionValue getCValueMiddleName() {
+        return getMiddleName();
+    }
+
+    public BsUserInfoCQ addOrderBy_MiddleName_Asc() {
+        regOBA("MIDDLE_NAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_MiddleName_Desc() {
+        regOBD("MIDDLE_NAME");
+        return this;
+    }
+
+    protected ConditionValue _givenNameDesc;
+
+    public ConditionValue getGivenNameDesc() {
+        if (_givenNameDesc == null) {
+            _givenNameDesc = new ConditionValue();
+        }
+        return _givenNameDesc;
+    }
+
+    protected ConditionValue getCValueGivenNameDesc() {
+        return getGivenNameDesc();
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenNameDesc_Asc() {
+        regOBA("GIVEN_NAME_DESC");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenNameDesc_Desc() {
+        regOBD("GIVEN_NAME_DESC");
+        return this;
+    }
+
+    protected ConditionValue _familyNameDesc;
+
+    public ConditionValue getFamilyNameDesc() {
+        if (_familyNameDesc == null) {
+            _familyNameDesc = new ConditionValue();
+        }
+        return _familyNameDesc;
+    }
+
+    protected ConditionValue getCValueFamilyNameDesc() {
+        return getFamilyNameDesc();
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyNameDesc_Asc() {
+        regOBA("FAMILY_NAME_DESC");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyNameDesc_Desc() {
+        regOBD("FAMILY_NAME_DESC");
+        return this;
+    }
+
+    protected ConditionValue _email;
+
+    public ConditionValue getEmail() {
+        if (_email == null) {
+            _email = new ConditionValue();
+        }
+        return _email;
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return getEmail();
+    }
+
+    public BsUserInfoCQ addOrderBy_Email_Asc() {
+        regOBA("EMAIL");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Email_Desc() {
+        regOBD("EMAIL");
+        return this;
+    }
+
+    protected ConditionValue _url;
+
+    public ConditionValue getUrl() {
+        if (_url == null) {
+            _url = new ConditionValue();
+        }
+        return _url;
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return getUrl();
+    }
+
+    public BsUserInfoCQ addOrderBy_Url_Asc() {
+        regOBA("URL");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Url_Desc() {
+        regOBD("URL");
+        return this;
+    }
+
+    protected ConditionValue _telephone;
+
+    public ConditionValue getTelephone() {
+        if (_telephone == null) {
+            _telephone = new ConditionValue();
+        }
+        return _telephone;
+    }
+
+    protected ConditionValue getCValueTelephone() {
+        return getTelephone();
+    }
+
+    public BsUserInfoCQ addOrderBy_Telephone_Asc() {
+        regOBA("TELEPHONE");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Telephone_Desc() {
+        regOBD("TELEPHONE");
+        return this;
+    }
+
+    protected ConditionValue _roleId;
+
+    public ConditionValue getRoleId() {
+        if (_roleId == null) {
+            _roleId = new ConditionValue();
+        }
+        return _roleId;
+    }
+
+    protected ConditionValue getCValueRoleId() {
+        return getRoleId();
+    }
+
+    protected Map<String, RoleInfoCQ> _roleId_InScopeSubQuery_RoleInfoMap;
+
+    public Map<String, RoleInfoCQ> getRoleId_InScopeSubQuery_RoleInfo() {
+        return _roleId_InScopeSubQuery_RoleInfoMap;
+    }
+
+    public String keepRoleId_InScopeSubQuery_RoleInfo(RoleInfoCQ subQuery) {
+        if (_roleId_InScopeSubQuery_RoleInfoMap == null) {
+            _roleId_InScopeSubQuery_RoleInfoMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_roleId_InScopeSubQuery_RoleInfoMap.size() + 1);
+        _roleId_InScopeSubQuery_RoleInfoMap.put(key, subQuery);
+        return "roleId_InScopeSubQuery_RoleInfo." + key;
+    }
+
+    public BsUserInfoCQ addOrderBy_RoleId_Asc() {
+        regOBA("ROLE_ID");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_RoleId_Desc() {
+        regOBD("ROLE_ID");
+        return this;
+    }
+
+    protected ConditionValue _groupId;
+
+    public ConditionValue getGroupId() {
+        if (_groupId == null) {
+            _groupId = new ConditionValue();
+        }
+        return _groupId;
+    }
+
+    protected ConditionValue getCValueGroupId() {
+        return getGroupId();
+    }
+
+    protected Map<String, GroupInfoCQ> _groupId_InScopeSubQuery_GroupInfoMap;
+
+    public Map<String, GroupInfoCQ> getGroupId_InScopeSubQuery_GroupInfo() {
+        return _groupId_InScopeSubQuery_GroupInfoMap;
+    }
+
+    public String keepGroupId_InScopeSubQuery_GroupInfo(GroupInfoCQ subQuery) {
+        if (_groupId_InScopeSubQuery_GroupInfoMap == null) {
+            _groupId_InScopeSubQuery_GroupInfoMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_groupId_InScopeSubQuery_GroupInfoMap.size() + 1);
+        _groupId_InScopeSubQuery_GroupInfoMap.put(key, subQuery);
+        return "groupId_InScopeSubQuery_GroupInfo." + key;
+    }
+
+    public BsUserInfoCQ addOrderBy_GroupId_Asc() {
+        regOBA("GROUP_ID");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_GroupId_Desc() {
+        regOBD("GROUP_ID");
+        return this;
+    }
+
+    protected ConditionValue _createdTime;
+
+    public ConditionValue getCreatedTime() {
+        if (_createdTime == null) {
+            _createdTime = new ConditionValue();
+        }
+        return _createdTime;
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return getCreatedTime();
+    }
+
+    public BsUserInfoCQ addOrderBy_CreatedTime_Asc() {
+        regOBA("CREATED_TIME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_CreatedTime_Desc() {
+        regOBD("CREATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _createdBy;
+
+    public ConditionValue getCreatedBy() {
+        if (_createdBy == null) {
+            _createdBy = new ConditionValue();
+        }
+        return _createdBy;
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return getCreatedBy();
+    }
+
+    public BsUserInfoCQ addOrderBy_CreatedBy_Asc() {
+        regOBA("CREATED_BY");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_CreatedBy_Desc() {
+        regOBD("CREATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _updatedTime;
+
+    public ConditionValue getUpdatedTime() {
+        if (_updatedTime == null) {
+            _updatedTime = new ConditionValue();
+        }
+        return _updatedTime;
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return getUpdatedTime();
+    }
+
+    public BsUserInfoCQ addOrderBy_UpdatedTime_Asc() {
+        regOBA("UPDATED_TIME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_UpdatedTime_Desc() {
+        regOBD("UPDATED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _updatedBy;
+
+    public ConditionValue getUpdatedBy() {
+        if (_updatedBy == null) {
+            _updatedBy = new ConditionValue();
+        }
+        return _updatedBy;
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return getUpdatedBy();
+    }
+
+    public BsUserInfoCQ addOrderBy_UpdatedBy_Asc() {
+        regOBA("UPDATED_BY");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_UpdatedBy_Desc() {
+        regOBD("UPDATED_BY");
+        return this;
+    }
+
+    protected ConditionValue _deletedTime;
+
+    public ConditionValue getDeletedTime() {
+        if (_deletedTime == null) {
+            _deletedTime = new ConditionValue();
+        }
+        return _deletedTime;
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return getDeletedTime();
+    }
+
+    public BsUserInfoCQ addOrderBy_DeletedTime_Asc() {
+        regOBA("DELETED_TIME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_DeletedTime_Desc() {
+        regOBD("DELETED_TIME");
+        return this;
+    }
+
+    protected ConditionValue _deletedBy;
+
+    public ConditionValue getDeletedBy() {
+        if (_deletedBy == null) {
+            _deletedBy = new ConditionValue();
+        }
+        return _deletedBy;
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return getDeletedBy();
+    }
+
+    public BsUserInfoCQ addOrderBy_DeletedBy_Asc() {
+        regOBA("DELETED_BY");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_DeletedBy_Desc() {
+        regOBD("DELETED_BY");
+        return this;
+    }
+
+    protected ConditionValue _versionno;
+
+    public ConditionValue getVersionno() {
+        if (_versionno == null) {
+            _versionno = new ConditionValue();
+        }
+        return _versionno;
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return getVersionno();
+    }
+
+    public BsUserInfoCQ addOrderBy_Versionno_Asc() {
+        regOBA("VERSIONNO");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Versionno_Desc() {
+        regOBD("VERSIONNO");
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Specified Derived OrderBy
+    // =========================
+    public BsUserInfoCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Asc(aliasName);
+        return this;
+    }
+
+    public BsUserInfoCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) {
+        registerSpecifiedDerivedOrderBy_Desc(aliasName);
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Union Query
+    // ===========
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        UserInfoCQ baseQuery = (UserInfoCQ) baseQueryAsSuper;
+        UserInfoCQ unionQuery = (UserInfoCQ) unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryGroupInfo()) {
+            unionQuery.queryGroupInfo().reflectRelationOnUnionQuery(
+                    baseQuery.queryGroupInfo(), unionQuery.queryGroupInfo());
+        }
+        if (baseQuery.hasConditionQueryRoleInfo()) {
+            unionQuery.queryRoleInfo().reflectRelationOnUnionQuery(
+                    baseQuery.queryRoleInfo(), unionQuery.queryRoleInfo());
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Foreign Query
+    // =============
+
+    public GroupInfoCQ queryGroupInfo() {
+        return getConditionQueryGroupInfo();
+    }
+
+    protected GroupInfoCQ _conditionQueryGroupInfo;
+
+    public GroupInfoCQ getConditionQueryGroupInfo() {
+        if (_conditionQueryGroupInfo == null) {
+            _conditionQueryGroupInfo = createQueryGroupInfo();
+            setupOuterJoin_GroupInfo();
+        }
+        return _conditionQueryGroupInfo;
+    }
+
+    protected void setupOuterJoin_GroupInfo() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("GROUP_ID"),
+                getConditionQueryGroupInfo().getRealColumnName("GROUP_ID"));
+        registerOuterJoin(getConditionQueryGroupInfo(), joinOnMap);
+    }
+
+    protected GroupInfoCQ createQueryGroupInfo() {
+        String nrp = resolveNextRelationPath("USER_INFO", "groupInfo");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        GroupInfoCQ cq = new GroupInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("groupInfo");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryGroupInfo() {
+        return _conditionQueryGroupInfo != null;
+    }
+
+    public RoleInfoCQ queryRoleInfo() {
+        return getConditionQueryRoleInfo();
+    }
+
+    protected RoleInfoCQ _conditionQueryRoleInfo;
+
+    public RoleInfoCQ getConditionQueryRoleInfo() {
+        if (_conditionQueryRoleInfo == null) {
+            _conditionQueryRoleInfo = createQueryRoleInfo();
+            setupOuterJoin_RoleInfo();
+        }
+        return _conditionQueryRoleInfo;
+    }
+
+    protected void setupOuterJoin_RoleInfo() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("ROLE_ID"), getConditionQueryRoleInfo()
+                .getRealColumnName("ROLE_ID"));
+        registerOuterJoin(getConditionQueryRoleInfo(), joinOnMap);
+    }
+
+    protected RoleInfoCQ createQueryRoleInfo() {
+        String nrp = resolveNextRelationPath("USER_INFO", "roleInfo");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        RoleInfoCQ cq = new RoleInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("roleInfo");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryRoleInfo() {
+        return _conditionQueryRoleInfo != null;
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return UserInfoCQ.class.getName();
+    }
+
+    protected String getMapClassNameInternally() {
+        return Map.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/bs/BsUserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkCategoryCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkCategoryCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkCategoryCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,171 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsBookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsBookmarkCategoryCQ;
+
+/**
+ * The condition-inline-query of BOOKMARK_CATEGORY.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategoryCIQ extends AbstractBsBookmarkCategoryCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsBookmarkCategoryCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BookmarkCategoryCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsBookmarkCategoryCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueId() {
+        return _myCQ.getId();
+    }
+
+    public String keepId_InScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery) {
+        return _myCQ.keepId_InScopeSubQuery_BookmarkLinkList(subQuery);
+    }
+
+    public String keepId_NotInScopeSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery) {
+        return _myCQ.keepId_NotInScopeSubQuery_BookmarkLinkList(subQuery);
+    }
+
+    public String keepId_ExistsSubQuery_BookmarkLinkList(BookmarkLinkCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepId_NotExistsSubQuery_BookmarkLinkList(
+            BookmarkLinkCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepId_DeriveSubQuery_BookmarkLinkList(BookmarkLinkCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    protected ConditionValue getCValueName() {
+        return _myCQ.getName();
+    }
+
+    protected ConditionValue getCValueMemo() {
+        return _myCQ.getMemo();
+    }
+
+    protected ConditionValue getCValueType() {
+        return _myCQ.getType();
+    }
+
+    protected ConditionValue getCValueSortOrder() {
+        return _myCQ.getSortOrder();
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return _myCQ.getCreatedTime();
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return _myCQ.getCreatedBy();
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return _myCQ.getUpdatedTime();
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return _myCQ.getUpdatedBy();
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return _myCQ.getDeletedTime();
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return _myCQ.getDeletedBy();
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return _myCQ.getVersionno();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkCategoryCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkCategoryCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkLinkCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkLinkCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkLinkCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,158 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsBookmarkLinkCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsBookmarkLinkCQ;
+
+/**
+ * The condition-inline-query of BOOKMARK_LINK.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLinkCIQ extends AbstractBsBookmarkLinkCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsBookmarkLinkCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public BookmarkLinkCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsBookmarkLinkCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueId() {
+        return _myCQ.getId();
+    }
+
+    protected ConditionValue getCValueName() {
+        return _myCQ.getName();
+    }
+
+    protected ConditionValue getCValueMemo() {
+        return _myCQ.getMemo();
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return _myCQ.getUrl();
+    }
+
+    protected ConditionValue getCValueType() {
+        return _myCQ.getType();
+    }
+
+    protected ConditionValue getCValueSortOrder() {
+        return _myCQ.getSortOrder();
+    }
+
+    protected ConditionValue getCValueCategoryId() {
+        return _myCQ.getCategoryId();
+    }
+
+    public String keepCategoryId_InScopeSubQuery_BookmarkCategory(
+            BookmarkCategoryCQ subQuery) {
+        return _myCQ.keepCategoryId_InScopeSubQuery_BookmarkCategory(subQuery);
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return _myCQ.getCreatedTime();
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return _myCQ.getCreatedBy();
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return _myCQ.getUpdatedTime();
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return _myCQ.getUpdatedBy();
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return _myCQ.getDeletedTime();
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return _myCQ.getDeletedBy();
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return _myCQ.getVersionno();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return BookmarkLinkCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/BookmarkLinkCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/CategoryCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/CategoryCIQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/CategoryCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,164 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq.ciq;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
-import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
-import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsCategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.bs.BsCategoryCQ;
-
-/**
- * The condition-inline-query of CATEGORY.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class CategoryCIQ extends AbstractBsCategoryCQ {
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected BsCategoryCQ _myCQ;
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public CategoryCIQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel, BsCategoryCQ myCQ) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-        _myCQ = myCQ;
-        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
-        // property name.
-        _relationPath = _myCQ.getRelationPath();// Accept relation path.
-    }
-
-    //==========================================================================
-    // =========
-    // Override about Register
-    // =======================
-    @Override
-    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
-            ConditionQuery unionQueryAsSuper) {
-        throw new UnsupportedOperationException(
-                "InlineQuery must not need UNION method: " + baseQueryAsSuper
-                        + " : " + unionQueryAsSuper);
-    }
-
-    @Override
-    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
-            Object value, ConditionValue cvalue, String colName,
-            String capPropName, String uncapPropName) {
-        registerInlineQuery(key, value, cvalue, colName, capPropName,
-                uncapPropName);
-    }
-
-    @Override
-    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
-            Object value, ConditionValue cvalue, String colName,
-            String capPropName, String uncapPropName, ConditionOption option) {
-        registerInlineQuery(key, value, cvalue, colName, capPropName,
-                uncapPropName, option);
-    }
-
-    @Override
-    protected void registerWhereClause(String whereClause) {
-        registerInlineWhereClause(whereClause);
-    }
-
-    @Override
-    protected String getInScopeSubQueryRealColumnName(String columnName) {
-        if (_onClauseInline) {
-            throw new UnsupportedOperationException(
-                    "InScopeSubQuery of on-clause is unsupported");
-        }
-        return _onClauseInline ? getRealAliasName() + "." + columnName
-                : columnName;
-    }
-
-    @Override
-    protected void registerExistsSubQuery(ConditionQuery subQuery,
-            String columnName, String relatedColumnName, String propertyName) {
-        throw new UnsupportedOperationException(
-                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
-    }
-
-    //==========================================================================
-    // =========
-    // Override about Query
-    // ====================
-    protected ConditionValue getCValueId() {
-        return _myCQ.getId();
-    }
-
-    public String keepId_InScopeSubQuery_LinkList(LinkCQ subQuery) {
-        return _myCQ.keepId_InScopeSubQuery_LinkList(subQuery);
-    }
-
-    public String keepId_NotInScopeSubQuery_LinkList(LinkCQ subQuery) {
-        return _myCQ.keepId_NotInScopeSubQuery_LinkList(subQuery);
-    }
-
-    public String keepId_ExistsSubQuery_LinkList(LinkCQ subQuery) {
-        throw new UnsupportedOperationException(
-                "ExistsSubQuery at inline() is unsupported! Sorry!");
-    }
-
-    public String keepId_NotExistsSubQuery_LinkList(LinkCQ subQuery) {
-        throw new UnsupportedOperationException(
-                "NotExistsSubQuery at inline() is unsupported! Sorry!");
-    }
-
-    public String keepId_DeriveSubQuery_LinkList(LinkCQ subQuery) {
-        throw new UnsupportedOperationException(
-                "DeriveSubQuery at inline() is unsupported! Sorry!");
-    }
-
-    protected ConditionValue getCValueName() {
-        return _myCQ.getName();
-    }
-
-    protected ConditionValue getCValueMemo() {
-        return _myCQ.getMemo();
-    }
-
-    protected ConditionValue getCValueSortOrder() {
-        return _myCQ.getSortOrder();
-    }
-
-    protected ConditionValue getCValueCreatedTime() {
-        return _myCQ.getCreatedTime();
-    }
-
-    protected ConditionValue getCValueCreatedBy() {
-        return _myCQ.getCreatedBy();
-    }
-
-    protected ConditionValue getCValueUpdatedTime() {
-        return _myCQ.getUpdatedTime();
-    }
-
-    protected ConditionValue getCValueUpdatedBy() {
-        return _myCQ.getUpdatedBy();
-    }
-
-    protected ConditionValue getCValueDeletedTime() {
-        return _myCQ.getDeletedTime();
-    }
-
-    protected ConditionValue getCValueDeletedBy() {
-        return _myCQ.getDeletedBy();
-    }
-
-    protected ConditionValue getCValueVersionno() {
-        return _myCQ.getVersionno();
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return CategoryCQ.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupInfoCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupInfoCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupInfoCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,202 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsGroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsGroupInfoCQ;
+
+/**
+ * The condition-inline-query of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfoCIQ extends AbstractBsGroupInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsGroupInfoCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public GroupInfoCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsGroupInfoCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueGroupId() {
+        return _myCQ.getGroupId();
+    }
+
+    public String keepGroupId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        return _myCQ.keepGroupId_InScopeSubQuery_GroupMappingList(subQuery);
+    }
+
+    public String keepGroupId_InScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        return _myCQ.keepGroupId_InScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepGroupId_NotInScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        return _myCQ.keepGroupId_NotInScopeSubQuery_GroupMappingList(subQuery);
+    }
+
+    public String keepGroupId_NotInScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery) {
+        return _myCQ.keepGroupId_NotInScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepGroupId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepGroupId_ExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepGroupId_NotExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepGroupId_NotExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepGroupId_DeriveSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepGroupId_DeriveSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    protected ConditionValue getCValueName() {
+        return _myCQ.getName();
+    }
+
+    protected ConditionValue getCValueDescription() {
+        return _myCQ.getDescription();
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return _myCQ.getEmail();
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return _myCQ.getUrl();
+    }
+
+    protected ConditionValue getCValueTelephone() {
+        return _myCQ.getTelephone();
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return _myCQ.getCreatedTime();
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return _myCQ.getCreatedBy();
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return _myCQ.getUpdatedTime();
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return _myCQ.getUpdatedBy();
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return _myCQ.getDeletedTime();
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return _myCQ.getDeletedBy();
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return _myCQ.getVersionno();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupInfoCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupMappingCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupMappingCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupMappingCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,118 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsGroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsGroupMappingCQ;
+
+/**
+ * The condition-inline-query of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMappingCIQ extends AbstractBsGroupMappingCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsGroupMappingCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public GroupMappingCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsGroupMappingCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueId() {
+        return _myCQ.getId();
+    }
+
+    protected ConditionValue getCValueUserId() {
+        return _myCQ.getUserId();
+    }
+
+    public String keepUserId_InScopeSubQuery_UserInfo(UserInfoCQ subQuery) {
+        return _myCQ.keepUserId_InScopeSubQuery_UserInfo(subQuery);
+    }
+
+    protected ConditionValue getCValueGroupId() {
+        return _myCQ.getGroupId();
+    }
+
+    public String keepGroupId_InScopeSubQuery_GroupInfo(GroupInfoCQ subQuery) {
+        return _myCQ.keepGroupId_InScopeSubQuery_GroupInfo(subQuery);
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return GroupMappingCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/GroupMappingCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/LinkCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/LinkCIQ.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/LinkCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,157 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.cq.ciq;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
-import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
-import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
-import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsLinkCQ;
-import jp.sf.pal.bookmark.db.cbean.cq.bs.BsLinkCQ;
-
-/**
- * The condition-inline-query of LINK.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class LinkCIQ extends AbstractBsLinkCQ {
-
-    //==========================================================================
-    // =========
-    // Attribute
-    // =========
-    protected BsLinkCQ _myCQ;
-
-    //==========================================================================
-    // =========
-    // Constructor
-    // ===========
-    public LinkCIQ(ConditionQuery childQuery, SqlClause sqlClause,
-            String aliasName, int nestLevel, BsLinkCQ myCQ) {
-        super(childQuery, sqlClause, aliasName, nestLevel);
-        _myCQ = myCQ;
-        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
-        // property name.
-        _relationPath = _myCQ.getRelationPath();// Accept relation path.
-    }
-
-    //==========================================================================
-    // =========
-    // Override about Register
-    // =======================
-    @Override
-    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
-            ConditionQuery unionQueryAsSuper) {
-        throw new UnsupportedOperationException(
-                "InlineQuery must not need UNION method: " + baseQueryAsSuper
-                        + " : " + unionQueryAsSuper);
-    }
-
-    @Override
-    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
-            Object value, ConditionValue cvalue, String colName,
-            String capPropName, String uncapPropName) {
-        registerInlineQuery(key, value, cvalue, colName, capPropName,
-                uncapPropName);
-    }
-
-    @Override
-    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
-            Object value, ConditionValue cvalue, String colName,
-            String capPropName, String uncapPropName, ConditionOption option) {
-        registerInlineQuery(key, value, cvalue, colName, capPropName,
-                uncapPropName, option);
-    }
-
-    @Override
-    protected void registerWhereClause(String whereClause) {
-        registerInlineWhereClause(whereClause);
-    }
-
-    @Override
-    protected String getInScopeSubQueryRealColumnName(String columnName) {
-        if (_onClauseInline) {
-            throw new UnsupportedOperationException(
-                    "InScopeSubQuery of on-clause is unsupported");
-        }
-        return _onClauseInline ? getRealAliasName() + "." + columnName
-                : columnName;
-    }
-
-    @Override
-    protected void registerExistsSubQuery(ConditionQuery subQuery,
-            String columnName, String relatedColumnName, String propertyName) {
-        throw new UnsupportedOperationException(
-                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
-    }
-
-    //==========================================================================
-    // =========
-    // Override about Query
-    // ====================
-    protected ConditionValue getCValueId() {
-        return _myCQ.getId();
-    }
-
-    protected ConditionValue getCValueName() {
-        return _myCQ.getName();
-    }
-
-    protected ConditionValue getCValueMemo() {
-        return _myCQ.getMemo();
-    }
-
-    protected ConditionValue getCValueUrl() {
-        return _myCQ.getUrl();
-    }
-
-    protected ConditionValue getCValueType() {
-        return _myCQ.getType();
-    }
-
-    protected ConditionValue getCValueSortOrder() {
-        return _myCQ.getSortOrder();
-    }
-
-    protected ConditionValue getCValueCategoryId() {
-        return _myCQ.getCategoryId();
-    }
-
-    public String keepCategoryId_InScopeSubQuery_Category(CategoryCQ subQuery) {
-        return _myCQ.keepCategoryId_InScopeSubQuery_Category(subQuery);
-    }
-
-    protected ConditionValue getCValueCreatedTime() {
-        return _myCQ.getCreatedTime();
-    }
-
-    protected ConditionValue getCValueCreatedBy() {
-        return _myCQ.getCreatedBy();
-    }
-
-    protected ConditionValue getCValueUpdatedTime() {
-        return _myCQ.getUpdatedTime();
-    }
-
-    protected ConditionValue getCValueUpdatedBy() {
-        return _myCQ.getUpdatedBy();
-    }
-
-    protected ConditionValue getCValueDeletedTime() {
-        return _myCQ.getDeletedTime();
-    }
-
-    protected ConditionValue getCValueDeletedBy() {
-        return _myCQ.getDeletedBy();
-    }
-
-    protected ConditionValue getCValueVersionno() {
-        return _myCQ.getVersionno();
-    }
-
-    protected String getConditionQueryClassNameInternally() {
-        return LinkCQ.class.getName();
-    }
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleInfoCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleInfoCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleInfoCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,201 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsRoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsRoleInfoCQ;
+
+/**
+ * The condition-inline-query of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfoCIQ extends AbstractBsRoleInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsRoleInfoCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public RoleInfoCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsRoleInfoCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueRoleId() {
+        return _myCQ.getRoleId();
+    }
+
+    public String keepRoleId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        return _myCQ.keepRoleId_InScopeSubQuery_RoleMappingList(subQuery);
+    }
+
+    public String keepRoleId_InScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        return _myCQ.keepRoleId_InScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepRoleId_NotInScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        return _myCQ.keepRoleId_NotInScopeSubQuery_RoleMappingList(subQuery);
+    }
+
+    public String keepRoleId_NotInScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        return _myCQ.keepRoleId_NotInScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepRoleId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepRoleId_ExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepRoleId_NotExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepRoleId_NotExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepRoleId_DeriveSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepRoleId_DeriveSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    protected ConditionValue getCValueName() {
+        return _myCQ.getName();
+    }
+
+    protected ConditionValue getCValueDescription() {
+        return _myCQ.getDescription();
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return _myCQ.getEmail();
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return _myCQ.getUrl();
+    }
+
+    protected ConditionValue getCValueTelephone() {
+        return _myCQ.getTelephone();
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return _myCQ.getCreatedTime();
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return _myCQ.getCreatedBy();
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return _myCQ.getUpdatedTime();
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return _myCQ.getUpdatedBy();
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return _myCQ.getDeletedTime();
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return _myCQ.getDeletedBy();
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return _myCQ.getVersionno();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleInfoCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleMappingCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleMappingCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleMappingCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,118 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsRoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsRoleMappingCQ;
+
+/**
+ * The condition-inline-query of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMappingCIQ extends AbstractBsRoleMappingCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsRoleMappingCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public RoleMappingCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsRoleMappingCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueId() {
+        return _myCQ.getId();
+    }
+
+    protected ConditionValue getCValueUserId() {
+        return _myCQ.getUserId();
+    }
+
+    public String keepUserId_InScopeSubQuery_UserInfo(UserInfoCQ subQuery) {
+        return _myCQ.keepUserId_InScopeSubQuery_UserInfo(subQuery);
+    }
+
+    protected ConditionValue getCValueRoleId() {
+        return _myCQ.getRoleId();
+    }
+
+    public String keepRoleId_InScopeSubQuery_RoleInfo(RoleInfoCQ subQuery) {
+        return _myCQ.keepRoleId_InScopeSubQuery_RoleInfo(subQuery);
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return RoleMappingCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/RoleMappingCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/UserInfoCIQ.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/UserInfoCIQ.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/UserInfoCIQ.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,236 @@
+package jp.sf.pal.bookmark.db.cbean.cq.ciq;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.bookmark.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.bookmark.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.bookmark.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.AbstractBsUserInfoCQ;
+import jp.sf.pal.bookmark.db.cbean.cq.bs.BsUserInfoCQ;
+
+/**
+ * The condition-inline-query of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfoCIQ extends AbstractBsUserInfoCQ {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected BsUserInfoCQ _myCQ;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public UserInfoCIQ(ConditionQuery childQuery, SqlClause sqlClause,
+            String aliasName, int nestLevel, BsUserInfoCQ myCQ) {
+        super(childQuery, sqlClause, aliasName, nestLevel);
+        _myCQ = myCQ;
+        _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign
+        // property name.
+        _relationPath = _myCQ.getRelationPath();// Accept relation path.
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Register
+    // =======================
+    @Override
+    protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
+            ConditionQuery unionQueryAsSuper) {
+        throw new UnsupportedOperationException(
+                "InlineQuery must not need UNION method: " + baseQueryAsSuper
+                        + " : " + unionQueryAsSuper);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName);
+    }
+
+    @Override
+    protected void setupConditionValueAndRegisterWhereClause(ConditionKey key,
+            Object value, ConditionValue cvalue, String colName,
+            String capPropName, String uncapPropName, ConditionOption option) {
+        registerInlineQuery(key, value, cvalue, colName, capPropName,
+                uncapPropName, option);
+    }
+
+    @Override
+    protected void registerWhereClause(String whereClause) {
+        registerInlineWhereClause(whereClause);
+    }
+
+    @Override
+    protected String getInScopeSubQueryRealColumnName(String columnName) {
+        if (_onClauseInline) {
+            throw new UnsupportedOperationException(
+                    "InScopeSubQuery of on-clause is unsupported");
+        }
+        return _onClauseInline ? getRealAliasName() + "." + columnName
+                : columnName;
+    }
+
+    @Override
+    protected void registerExistsSubQuery(ConditionQuery subQuery,
+            String columnName, String relatedColumnName, String propertyName) {
+        throw new UnsupportedOperationException(
+                "Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
+    }
+
+    //==========================================================================
+    // =========
+    // Override about Query
+    // ====================
+    protected ConditionValue getCValueUserId() {
+        return _myCQ.getUserId();
+    }
+
+    public String keepUserId_InScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        return _myCQ.keepUserId_InScopeSubQuery_GroupMappingList(subQuery);
+    }
+
+    public String keepUserId_InScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        return _myCQ.keepUserId_InScopeSubQuery_RoleMappingList(subQuery);
+    }
+
+    public String keepUserId_NotInScopeSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        return _myCQ.keepUserId_NotInScopeSubQuery_GroupMappingList(subQuery);
+    }
+
+    public String keepUserId_NotInScopeSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        return _myCQ.keepUserId_NotInScopeSubQuery_RoleMappingList(subQuery);
+    }
+
+    public String keepUserId_ExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_ExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_NotExistsSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_NotExistsSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_DeriveSubQuery_GroupMappingList(
+            GroupMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_DeriveSubQuery_RoleMappingList(
+            RoleMappingCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    protected ConditionValue getCValueGivenName() {
+        return _myCQ.getGivenName();
+    }
+
+    protected ConditionValue getCValueFamilyName() {
+        return _myCQ.getFamilyName();
+    }
+
+    protected ConditionValue getCValueMiddleName() {
+        return _myCQ.getMiddleName();
+    }
+
+    protected ConditionValue getCValueGivenNameDesc() {
+        return _myCQ.getGivenNameDesc();
+    }
+
+    protected ConditionValue getCValueFamilyNameDesc() {
+        return _myCQ.getFamilyNameDesc();
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return _myCQ.getEmail();
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return _myCQ.getUrl();
+    }
+
+    protected ConditionValue getCValueTelephone() {
+        return _myCQ.getTelephone();
+    }
+
+    protected ConditionValue getCValueRoleId() {
+        return _myCQ.getRoleId();
+    }
+
+    public String keepRoleId_InScopeSubQuery_RoleInfo(RoleInfoCQ subQuery) {
+        return _myCQ.keepRoleId_InScopeSubQuery_RoleInfo(subQuery);
+    }
+
+    protected ConditionValue getCValueGroupId() {
+        return _myCQ.getGroupId();
+    }
+
+    public String keepGroupId_InScopeSubQuery_GroupInfo(GroupInfoCQ subQuery) {
+        return _myCQ.keepGroupId_InScopeSubQuery_GroupInfo(subQuery);
+    }
+
+    protected ConditionValue getCValueCreatedTime() {
+        return _myCQ.getCreatedTime();
+    }
+
+    protected ConditionValue getCValueCreatedBy() {
+        return _myCQ.getCreatedBy();
+    }
+
+    protected ConditionValue getCValueUpdatedTime() {
+        return _myCQ.getUpdatedTime();
+    }
+
+    protected ConditionValue getCValueUpdatedBy() {
+        return _myCQ.getUpdatedBy();
+    }
+
+    protected ConditionValue getCValueDeletedTime() {
+        return _myCQ.getDeletedTime();
+    }
+
+    protected ConditionValue getCValueDeletedBy() {
+        return _myCQ.getDeletedBy();
+    }
+
+    protected ConditionValue getCValueVersionno() {
+        return _myCQ.getVersionno();
+    }
+
+    protected String getConditionQueryClassNameInternally() {
+        return UserInfoCQ.class.getName();
+    }
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/cq/ciq/UserInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkCategoryNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkCategoryNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkCategoryNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,32 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkCategoryCQ;
+
+/**
+ * The nest-select-setupper of BOOKMARK_CATEGORY.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategoryNss {
+
+    protected BookmarkCategoryCQ _query;
+
+    public BookmarkCategoryNss(BookmarkCategoryCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkCategoryNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkLinkNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkLinkNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkLinkNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,41 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.cbean.cq.BookmarkLinkCQ;
+
+/**
+ * The nest-select-setupper of BOOKMARK_LINK.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLinkNss {
+
+    protected BookmarkLinkCQ _query;
+
+    public BookmarkLinkNss(BookmarkLinkCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+    public BookmarkCategoryNss withBookmarkCategory() {
+        _query.doNss(new BookmarkLinkCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryBookmarkCategory();
+            }
+        });
+        return new BookmarkCategoryNss(_query.queryBookmarkCategory());
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/BookmarkLinkNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/CategoryNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/CategoryNss.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/CategoryNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,32 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.nss;
-
-import jp.sf.pal.bookmark.db.cbean.cq.CategoryCQ;
-
-/**
- * The nest-select-setupper of CATEGORY.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class CategoryNss {
-
-    protected CategoryCQ _query;
-
-    public CategoryNss(CategoryCQ query) {
-        _query = query;
-    }
-
-    public boolean hasConditionQuery() {
-        return _query != null;
-    }
-
-    //==========================================================================
-    // =========
-    // With Nested Foreign Table
-    // =========================
-
-    //==========================================================================
-    // =========
-    // With Nested Referrer Table
-    // ==========================
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupInfoNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupInfoNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupInfoNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,32 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.cbean.cq.GroupInfoCQ;
+
+/**
+ * The nest-select-setupper of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfoNss {
+
+    protected GroupInfoCQ _query;
+
+    public GroupInfoNss(GroupInfoCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupInfoNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupMappingNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupMappingNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupMappingNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,50 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.cbean.cq.GroupMappingCQ;
+
+/**
+ * The nest-select-setupper of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMappingNss {
+
+    protected GroupMappingCQ _query;
+
+    public GroupMappingNss(GroupMappingCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+    public GroupInfoNss withGroupInfo() {
+        _query.doNss(new GroupMappingCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryGroupInfo();
+            }
+        });
+        return new GroupInfoNss(_query.queryGroupInfo());
+    }
+
+    public UserInfoNss withUserInfo() {
+        _query.doNss(new GroupMappingCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryUserInfo();
+            }
+        });
+        return new UserInfoNss(_query.queryUserInfo());
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/GroupMappingNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/LinkNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/LinkNss.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/LinkNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,41 +0,0 @@
-package jp.sf.pal.bookmark.db.cbean.nss;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
-import jp.sf.pal.bookmark.db.cbean.cq.LinkCQ;
-
-/**
- * The nest-select-setupper of LINK.
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class LinkNss {
-
-    protected LinkCQ _query;
-
-    public LinkNss(LinkCQ query) {
-        _query = query;
-    }
-
-    public boolean hasConditionQuery() {
-        return _query != null;
-    }
-
-    //==========================================================================
-    // =========
-    // With Nested Foreign Table
-    // =========================
-    public CategoryNss withCategory() {
-        _query.doNss(new LinkCQ.NssCall() {
-            public ConditionQuery qf() {
-                return _query.queryCategory();
-            }
-        });
-        return new CategoryNss(_query.queryCategory());
-    }
-
-    //==========================================================================
-    // =========
-    // With Nested Referrer Table
-    // ==========================
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleInfoNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleInfoNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleInfoNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,32 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.cbean.cq.RoleInfoCQ;
+
+/**
+ * The nest-select-setupper of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfoNss {
+
+    protected RoleInfoCQ _query;
+
+    public RoleInfoNss(RoleInfoCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleInfoNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleMappingNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleMappingNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleMappingNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,50 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.cbean.cq.RoleMappingCQ;
+
+/**
+ * The nest-select-setupper of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMappingNss {
+
+    protected RoleMappingCQ _query;
+
+    public RoleMappingNss(RoleMappingCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+    public RoleInfoNss withRoleInfo() {
+        _query.doNss(new RoleMappingCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryRoleInfo();
+            }
+        });
+        return new RoleInfoNss(_query.queryRoleInfo());
+    }
+
+    public UserInfoNss withUserInfo() {
+        _query.doNss(new RoleMappingCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryUserInfo();
+            }
+        });
+        return new UserInfoNss(_query.queryUserInfo());
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/RoleMappingNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/UserInfoNss.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/UserInfoNss.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/UserInfoNss.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,50 @@
+package jp.sf.pal.bookmark.db.cbean.nss;
+
+import jp.sf.pal.bookmark.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.bookmark.db.cbean.cq.UserInfoCQ;
+
+/**
+ * The nest-select-setupper of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfoNss {
+
+    protected UserInfoCQ _query;
+
+    public UserInfoNss(UserInfoCQ query) {
+        _query = query;
+    }
+
+    public boolean hasConditionQuery() {
+        return _query != null;
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Foreign Table
+    // =========================
+    public GroupInfoNss withGroupInfo() {
+        _query.doNss(new UserInfoCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryGroupInfo();
+            }
+        });
+        return new GroupInfoNss(_query.queryGroupInfo());
+    }
+
+    public RoleInfoNss withRoleInfo() {
+        _query.doNss(new UserInfoCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryRoleInfo();
+            }
+        });
+        return new RoleInfoNss(_query.queryRoleInfo());
+    }
+
+    //==========================================================================
+    // =========
+    // With Nested Referrer Table
+    // ==========================
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/cbean/nss/UserInfoNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkCategoryBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkCategoryBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkCategoryBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of BOOKMARK_CATEGORY.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategoryBhv extends
+        jp.sf.pal.bookmark.db.bsbhv.BsBookmarkCategoryBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkCategoryBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkLinkBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkLinkBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkLinkBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of BOOKMARK_LINK.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLinkBhv extends
+        jp.sf.pal.bookmark.db.bsbhv.BsBookmarkLinkBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/BookmarkLinkBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/CategoryBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/CategoryBhv.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/CategoryBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,14 +0,0 @@
-package jp.sf.pal.bookmark.db.exbhv;
-
-/**
- * The behavior of CATEGORY.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class CategoryBhv extends jp.sf.pal.bookmark.db.bsbhv.BsCategoryBhv {
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupInfoBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupInfoBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupInfoBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of GROUP_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfoBhv extends jp.sf.pal.bookmark.db.bsbhv.BsGroupInfoBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupMappingBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupMappingBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupMappingBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of GROUP_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMappingBhv extends
+        jp.sf.pal.bookmark.db.bsbhv.BsGroupMappingBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/GroupMappingBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/LinkBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/LinkBhv.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/LinkBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,14 +0,0 @@
-package jp.sf.pal.bookmark.db.exbhv;
-
-/**
- * The behavior of LINK.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class LinkBhv extends jp.sf.pal.bookmark.db.bsbhv.BsLinkBhv {
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleInfoBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleInfoBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleInfoBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of ROLE_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfoBhv extends jp.sf.pal.bookmark.db.bsbhv.BsRoleInfoBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleMappingBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleMappingBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleMappingBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of ROLE_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMappingBhv extends
+        jp.sf.pal.bookmark.db.bsbhv.BsRoleMappingBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/RoleMappingBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/UserInfoBhv.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/UserInfoBhv.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/UserInfoBhv.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.exbhv;
+
+/**
+ * The behavior of USER_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfoBhv extends jp.sf.pal.bookmark.db.bsbhv.BsUserInfoBhv {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exbhv/UserInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkCategoryDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkCategoryDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkCategoryDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of BOOKMARK_CATEGORY. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface BookmarkCategoryDao extends
+        jp.sf.pal.bookmark.db.bsdao.BsBookmarkCategoryDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkCategoryDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkLinkDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkLinkDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkLinkDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of BOOKMARK_LINK. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface BookmarkLinkDao extends
+        jp.sf.pal.bookmark.db.bsdao.BsBookmarkLinkDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/BookmarkLinkDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/CategoryDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/CategoryDao.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/CategoryDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,14 +0,0 @@
-package jp.sf.pal.bookmark.db.exdao;
-
-/**
- * The dao interface of CATEGORY. <br />
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public interface CategoryDao extends jp.sf.pal.bookmark.db.bsdao.BsCategoryDao {
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupInfoDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupInfoDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupInfoDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of GROUP_INFO. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface GroupInfoDao extends
+        jp.sf.pal.bookmark.db.bsdao.BsGroupInfoDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupMappingDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupMappingDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupMappingDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of GROUP_MAPPING. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface GroupMappingDao extends
+        jp.sf.pal.bookmark.db.bsdao.BsGroupMappingDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/GroupMappingDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/LinkDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/LinkDao.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/LinkDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,14 +0,0 @@
-package jp.sf.pal.bookmark.db.exdao;
-
-/**
- * The dao interface of LINK. <br />
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public interface LinkDao extends jp.sf.pal.bookmark.db.bsdao.BsLinkDao {
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleInfoDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleInfoDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleInfoDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of ROLE_INFO. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface RoleInfoDao extends jp.sf.pal.bookmark.db.bsdao.BsRoleInfoDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleMappingDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleMappingDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleMappingDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,15 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of ROLE_MAPPING. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface RoleMappingDao extends
+        jp.sf.pal.bookmark.db.bsdao.BsRoleMappingDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/RoleMappingDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/UserInfoDao.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/UserInfoDao.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/UserInfoDao.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,14 @@
+package jp.sf.pal.bookmark.db.exdao;
+
+/**
+ * The dao interface of USER_INFO. <br />
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface UserInfoDao extends jp.sf.pal.bookmark.db.bsdao.BsUserInfoDao {
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exdao/UserInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkCategory.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkCategory.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkCategory.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,18 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of BOOKMARK_CATEGORY.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkCategory extends
+        jp.sf.pal.bookmark.db.bsentity.BsBookmarkCategory {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkCategory.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkLink.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkLink.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkLink.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,17 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of BOOKMARK_LINK.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BookmarkLink extends jp.sf.pal.bookmark.db.bsentity.BsBookmarkLink {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/BookmarkLink.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Category.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Category.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Category.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,17 +0,0 @@
-package jp.sf.pal.bookmark.db.exentity;
-
-/**
- * The entity of CATEGORY.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class Category extends jp.sf.pal.bookmark.db.bsentity.BsCategory {
-
-    /** Serial version UID. (Default) */
-    private static final long serialVersionUID = 1L;
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupInfo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupInfo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupInfo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,17 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of GROUP_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupInfo extends jp.sf.pal.bookmark.db.bsentity.BsGroupInfo {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupMapping.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupMapping.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupMapping.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,17 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of GROUP_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class GroupMapping extends jp.sf.pal.bookmark.db.bsentity.BsGroupMapping {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/GroupMapping.java
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Link.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Link.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/Link.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,17 +0,0 @@
-package jp.sf.pal.bookmark.db.exentity;
-
-/**
- * The entity of LINK.
- * <p>
- * You can implement your original methods here. This class is NOT overrided
- * when re-generating.
- * </p>
- * 
- * @author DBFlute(AutoGenerator)
- */
- @ SuppressWarnings("unchecked")
-public class Link extends jp.sf.pal.bookmark.db.bsentity.BsLink {
-
-    /** Serial version UID. (Default) */
-    private static final long serialVersionUID = 1L;
-}

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleInfo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleInfo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleInfo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,17 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of ROLE_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleInfo extends jp.sf.pal.bookmark.db.bsentity.BsRoleInfo {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleMapping.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleMapping.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleMapping.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,17 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of ROLE_MAPPING.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class RoleMapping extends jp.sf.pal.bookmark.db.bsentity.BsRoleMapping {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/RoleMapping.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/UserInfo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/UserInfo.java	                        (rev 0)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/UserInfo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -0,0 +1,17 @@
+package jp.sf.pal.bookmark.db.exentity;
+
+/**
+ * The entity of USER_INFO.
+ * <p>
+ * You can implement your original methods here. This class is NOT overrided
+ * when re-generating.
+ * </p>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class UserInfo extends jp.sf.pal.bookmark.db.bsentity.BsUserInfo {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


Property changes on: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/db/exentity/UserInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/CategoryDxo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/CategoryDxo.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/CategoryDxo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -2,7 +2,7 @@
 
 import java.io.Serializable;
 
-import jp.sf.pal.bookmark.db.exentity.Category;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
 import jp.sf.pal.bookmark.form.admin.CategoryForm;
 import jp.sf.pal.bookmark.form.category.EditForm;
 
@@ -19,6 +19,7 @@
     @ConversionRule("id : id" //
             + ", name : name" //
             + ", memo : memo" //
+            + ", type : type" //
             + ", sortOrder : sortOrder" //
             + ", createdTime : createdTime" //
             + ", createdBy : createdBy" //
@@ -28,12 +29,14 @@
             + ", deletedBy : deletedBy" //
             // + ", versionno : versionno" //
     )
-    public void convertFromCategoryToForm(Category category, EditForm form);
+    public void convertFromCategoryToForm(BookmarkCategory category,
+            EditForm form);
 
     @ExcludeNull
     @ConversionRule(//
     "name : name" //
             + ", memo : memo" //
+            + ", type : type" //
             // + ", sortOrder : sortOrder" //
     // + ", createdTime : createdTime" //
     // + ", createdBy : createdBy" //
@@ -43,7 +46,8 @@
     // + ", deletedBy : deletedBy" //
     // + ", versionno : versionno" //
     )
-    public void convertFromFormToCategory(EditForm form, Category category);
+    public void convertFromFormToCategory(EditForm form,
+            BookmarkCategory category);
 
     @ExcludeNull
     @DatePattern("yyyy/MM/dd")
@@ -51,6 +55,7 @@
     @ConversionRule("id : id" //
             + ", name : name" //
             + ", memo : memo" //
+            + ", type : type" //
             + ", sortOrder : sortOrder" //
             + ", createdTime : createdTime" //
             + ", createdBy : createdBy" //
@@ -60,12 +65,14 @@
             + ", deletedBy : deletedBy" //
             // + ", versionno : versionno" //
     )
-    public void convertFromCategoryToForm(Category category, CategoryForm form);
+    public void convertFromCategoryToForm(BookmarkCategory category,
+            CategoryForm form);
 
     @ExcludeNull
     @ConversionRule(//
     "name : name" //
             + ", memo : memo" //
+            + ", type : type" //
             + ", sortOrder : sortOrder" //
             // + ", createdTime : createdTime" //
     // + ", createdBy : createdBy" //
@@ -75,5 +82,6 @@
     // + ", deletedBy : deletedBy" //
     // + ", versionno : versionno" //
     )
-    public void convertFromFormToCategory(CategoryForm form, Category category);
+    public void convertFromFormToCategory(CategoryForm form,
+            BookmarkCategory category);
 }

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/LinkDxo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/LinkDxo.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/LinkDxo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -2,7 +2,7 @@
 
 import java.io.Serializable;
 
-import jp.sf.pal.bookmark.db.exentity.Link;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
 import jp.sf.pal.bookmark.form.admin.LinkForm;
 import jp.sf.pal.bookmark.form.link.ViewForm;
 
@@ -31,7 +31,7 @@
             + ", deletedBy : deletedBy" //
             // + ", versionno : versionno" //
     )
-    public void convertFromLinkToForm(Link link, ViewForm form);
+    public void convertFromLinkToForm(BookmarkLink link, ViewForm form);
 
     @ExcludeNull
     @TimestampPattern("yyyy/MM/dd HH:mm:ss")
@@ -50,7 +50,7 @@
     // + ", deletedBy : deletedBy" //
     // + ", versionno : versionno" //
     )
-    public void convertFromFormToLink(ViewForm form, Link link);
+    public void convertFromFormToLink(ViewForm form, BookmarkLink link);
 
     @ExcludeNull
     @DatePattern("yyyy/MM/dd")
@@ -70,7 +70,7 @@
             + ", deletedBy : deletedBy" //
             // + ", versionno : versionno" //
     )
-    public void convertFromLinkToForm(Link link, LinkForm form);
+    public void convertFromLinkToForm(BookmarkLink link, LinkForm form);
 
     @ExcludeNull
     @TimestampPattern("yyyy/MM/dd HH:mm:ss")
@@ -89,5 +89,5 @@
     // + ", deletedBy : deletedBy" //
     // + ", versionno : versionno" //
     )
-    public void convertFromFormToLink(LinkForm form, Link link);
+    public void convertFromFormToLink(LinkForm form, BookmarkLink link);
 }

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/PagerDxo.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/PagerDxo.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/dxo/PagerDxo.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,24 +0,0 @@
-package jp.sf.pal.bookmark.dxo;
-
-import java.io.Serializable;
-
-import jp.sf.pal.bookmark.form.PagingResultForm;
-import jp.sf.pal.bookmark.pager.DefaultPager;
-import jp.sf.pal.bookmark.util.PagingResultBeanWrapper;
-
-import org.seasar.extension.dxo.annotation.ConversionRule;
-import org.seasar.extension.dxo.annotation.ExcludeNull;
-
-public interface PagerDxo extends Serializable {
-
-    @ConversionRule("allRecordCount : allRecordCount" + ",pageSize : pageSize"
-            + ",currentPageNumber : currentPageNumber"
-            + ",allPageCount : allPageCount" + ",existPrePage : existPrePage"
-            + ",existNextPage : existNextPage")
-    public void convert(PagingResultBeanWrapper result, DefaultPager pager);
-
-    @ExcludeNull
-    @ConversionRule(// "pageSize : pageSize, " +
-    "currentPageNumber : pageNumber")
-    public void convert(PagingResultForm page, DefaultPager pager);
-}

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/PagingResultForm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/PagingResultForm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/PagingResultForm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +0,0 @@
-package jp.sf.pal.bookmark.form;
-
-public interface PagingResultForm {
-
-}

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/CategoryForm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/CategoryForm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/CategoryForm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -3,7 +3,7 @@
 import java.io.Serializable;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.form.PagingResultForm;
+import jp.sf.pal.bookmark.common.form.PagingResultForm;
 
 import org.seasar.struts.annotation.DateType;
 import org.seasar.struts.annotation.IntegerType;
@@ -31,6 +31,9 @@
     @Maxbytelength(maxbytelength = 200)
     public String memo;
 
+    @Maxbytelength(maxbytelength = 1)
+    public String type;
+
     @IntegerType
     public String sortOrder;
 
@@ -57,6 +60,7 @@
         id = null;
         name = null;
         memo = null;
+        type = null;
         sortOrder = null;
         createdTime = null;
         createdBy = null;

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/LinkForm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/LinkForm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/admin/LinkForm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -3,7 +3,7 @@
 import java.io.Serializable;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.form.PagingResultForm;
+import jp.sf.pal.bookmark.common.form.PagingResultForm;
 
 import org.seasar.struts.annotation.DateType;
 import org.seasar.struts.annotation.IntegerType;

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/category/EditForm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/category/EditForm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/category/EditForm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -3,7 +3,7 @@
 import java.io.Serializable;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.form.PagingResultForm;
+import jp.sf.pal.bookmark.common.form.PagingResultForm;
 
 import org.seasar.struts.annotation.DateType;
 import org.seasar.struts.annotation.IntegerType;
@@ -31,6 +31,9 @@
     @Maxbytelength(maxbytelength = 200)
     public String memo;
 
+    @Maxbytelength(maxbytelength = 1)
+    public String type;
+
     @IntegerType
     public String sortOrder;
 
@@ -57,6 +60,7 @@
         id = null;
         name = null;
         memo = null;
+        type = null;
         sortOrder = null;
         createdTime = null;
         createdBy = null;

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/link/ViewForm.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/link/ViewForm.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/form/link/ViewForm.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -3,7 +3,7 @@
 import java.io.Serializable;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
-import jp.sf.pal.bookmark.form.PagingResultForm;
+import jp.sf.pal.bookmark.common.form.PagingResultForm;
 
 import org.seasar.struts.annotation.DateType;
 import org.seasar.struts.annotation.IntegerType;

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/CategoryPager.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/CategoryPager.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/CategoryPager.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,5 +1,7 @@
 package jp.sf.pal.bookmark.pager;
 
+import jp.sf.pal.bookmark.common.pager.DefaultPager;
+
 public class CategoryPager extends DefaultPager {
 
     private static final long serialVersionUID = -6261666956617549130L;

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/DefaultPager.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/DefaultPager.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/DefaultPager.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,101 +0,0 @@
-package jp.sf.pal.bookmark.pager;
-
-import java.io.Serializable;
-import java.util.List;
-
-public abstract class DefaultPager implements Serializable {
-    private static final long serialVersionUID = 1L;
-
-    public static final int DEFAULT_PAGE_SIZE = 50;
-
-    public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
-
-    private int allRecordCount;
-
-    private int allPageCount;
-
-    private boolean existPrePage;
-
-    private boolean existNextPage;
-
-    private List<Integer> pageNumberList;
-
-    private int pageSize;
-
-    private int currentPageNumber;
-
-    public void clear() {
-        pageSize = getDefaultPageSize();
-        currentPageNumber = getDefaultCurrentPageNumber();
-    }
-
-    protected int getDefaultPageSize() {
-        return DEFAULT_PAGE_SIZE;
-    }
-
-    protected int getDefaultCurrentPageNumber() {
-        return DEFAULT_CURRENT_PAGE_NUMBER;
-    }
-
-    public int getAllRecordCount() {
-        return allRecordCount;
-    }
-
-    public void setAllRecordCount(int allRecordCount) {
-        this.allRecordCount = allRecordCount;
-    }
-
-    public int getAllPageCount() {
-        return allPageCount;
-    }
-
-    public void setAllPageCount(int allPageCount) {
-        this.allPageCount = allPageCount;
-    }
-
-    public boolean isExistPrePage() {
-        return existPrePage;
-    }
-
-    public void setExistPrePage(boolean existPrePage) {
-        this.existPrePage = existPrePage;
-    }
-
-    public boolean isExistNextPage() {
-        return existNextPage;
-    }
-
-    public void setExistNextPage(boolean existNextPage) {
-        this.existNextPage = existNextPage;
-    }
-
-    public int getPageSize() {
-        if (pageSize <= 0) {
-            pageSize = getDefaultPageSize();
-        }
-        return pageSize;
-    }
-
-    public void setPageSize(int pageSize) {
-        this.pageSize = pageSize;
-    }
-
-    public int getCurrentPageNumber() {
-        if (currentPageNumber <= 0) {
-            currentPageNumber = getDefaultCurrentPageNumber();
-        }
-        return currentPageNumber;
-    }
-
-    public void setCurrentPageNumber(int currentPageNumber) {
-        this.currentPageNumber = currentPageNumber;
-    }
-
-    public List<Integer> getPageNumberList() {
-        return pageNumberList;
-    }
-
-    public void setPageNumberList(List<Integer> pageNumberList) {
-        this.pageNumberList = pageNumberList;
-    }
-}

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/LinkPager.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/LinkPager.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/pager/LinkPager.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,6 +1,7 @@
 package jp.sf.pal.bookmark.pager;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
+import jp.sf.pal.bookmark.common.pager.DefaultPager;
 
 public class LinkPager extends DefaultPager {
 

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/CategoryService.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/CategoryService.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/CategoryService.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -2,16 +2,18 @@
 
 import java.io.Serializable;
 import java.sql.Timestamp;
+import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 
+import jp.sf.pal.bookmark.BookmarkConstants;
+import jp.sf.pal.bookmark.common.dxo.PagerDxo;
+import jp.sf.pal.bookmark.common.util.PagingResultBeanWrapper;
 import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
-import jp.sf.pal.bookmark.db.cbean.CategoryCB;
-import jp.sf.pal.bookmark.db.exbhv.CategoryBhv;
-import jp.sf.pal.bookmark.db.exentity.Category;
-import jp.sf.pal.bookmark.dxo.PagerDxo;
+import jp.sf.pal.bookmark.db.cbean.BookmarkCategoryCB;
+import jp.sf.pal.bookmark.db.exbhv.BookmarkCategoryBhv;
+import jp.sf.pal.bookmark.db.exentity.BookmarkCategory;
 import jp.sf.pal.bookmark.pager.CategoryPager;
-import jp.sf.pal.bookmark.util.PagingResultBeanWrapper;
 
 import org.seasar.framework.container.hotdeploy.HotdeployUtil;
 import org.seasar.struts.exception.ActionMessagesException;
@@ -20,15 +22,15 @@
 
     private static final long serialVersionUID = 1L;
 
-    private transient CategoryBhv categoryBhv;
+    private transient BookmarkCategoryBhv bookmarkCategoryBhv;
 
     private PagerDxo pagerDxo;
 
-    public List<Category> getCategoryList(CategoryPager categoryPager) {
+    public List<BookmarkCategory> getCategoryList(CategoryPager categoryPager) {
 
         HotdeployUtil.rebuildValue(categoryPager);
 
-        CategoryCB cb = new CategoryCB();
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
 
         cb.fetchFirst(categoryPager.getPageSize());
         cb.fetchPage(categoryPager.getCurrentPageNumber());
@@ -42,7 +44,8 @@
 
         cb.query().addOrderBy_SortOrder_Asc();
 
-        PagingResultBean<Category> categoryList = categoryBhv.selectPage(cb);
+        PagingResultBean<BookmarkCategory> categoryList = bookmarkCategoryBhv
+                .selectPage(cb);
 
         // update pager
         pagerDxo.convert(new PagingResultBeanWrapper(categoryList),
@@ -54,16 +57,16 @@
         return categoryList;
     }
 
-    public Category getCategory(Integer id) {
-        CategoryCB cb = new CategoryCB();
+    public BookmarkCategory getCategory(Integer id) {
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
 
         // setup
 
         cb.query().setId_Equal(id);
-        return categoryBhv.selectEntity(cb);
+        return bookmarkCategoryBhv.selectEntity(cb);
     }
 
-    public void store(Category category) {
+    public void store(BookmarkCategory category) {
         boolean isUpdate = category.getId() != null;
 
         Timestamp now = new Timestamp(System.currentTimeMillis());
@@ -71,15 +74,16 @@
 
         // Category
         if (isUpdate) {
-            categoryBhv.update(category);
+            bookmarkCategoryBhv.update(category);
         } else {
-            CategoryCB cb = new CategoryCB();
+            BookmarkCategoryCB cb = new BookmarkCategoryCB();
             cb.fetchFirst(1);
             cb.fetchPage(1);
             cb.query().setCreatedBy_Equal(category.getCreatedBy());
             cb.query().setDeletedBy_IsNull();
             cb.query().addOrderBy_SortOrder_Desc();
-            List<Category> categoryList = categoryBhv.selectPage(cb);
+            List<BookmarkCategory> categoryList = bookmarkCategoryBhv
+                    .selectPage(cb);
             // TODO mt-safe
             int sortOrder = 1;
             if (categoryList != null && !categoryList.isEmpty()) {
@@ -88,7 +92,7 @@
 
             category.setCreatedTime(now);
             category.setSortOrder(sortOrder);
-            categoryBhv.insert(category);
+            bookmarkCategoryBhv.insert(category);
 
         }
 
@@ -96,32 +100,33 @@
 
     public void disable(Integer categoryId, String name) {
         // not delete
-        CategoryCB cb = new CategoryCB();
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
 
         cb.query().setId_Equal(categoryId);
-        Category category = categoryBhv.selectEntity(cb);
+        BookmarkCategory category = bookmarkCategoryBhv.selectEntity(cb);
 
         // TODO throw an exception
 
         category.setDeletedBy(name);
         category.setDeletedTime(new Timestamp(new Date().getTime()));
-        categoryBhv.update(category);
+        bookmarkCategoryBhv.update(category);
     }
 
-    public void moveUp(Category category) {
-        CategoryCB cb = new CategoryCB();
+    public void moveUp(BookmarkCategory category) {
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
         cb.fetchFirst(1);
         cb.fetchFirst(1);
         cb.query().setSortOrder_GreaterThan(category.getSortOrder());
         cb.query().addOrderBy_SortOrder_Asc();
-        List<Category> categoryList = categoryBhv.selectPage(cb);
+        List<BookmarkCategory> categoryList = bookmarkCategoryBhv
+                .selectPage(cb);
         if (categoryList != null && !categoryList.isEmpty()) {
-            Category targetCategory = categoryList.get(0);
+            BookmarkCategory targetCategory = categoryList.get(0);
             Integer sortOrder = targetCategory.getSortOrder();
             targetCategory.setSortOrder(category.getSortOrder());
             category.setSortOrder(sortOrder);
-            categoryBhv.update(targetCategory);
-            categoryBhv.update(category);
+            bookmarkCategoryBhv.update(targetCategory);
+            bookmarkCategoryBhv.update(category);
         } else {
             // TODO replace with CommonException
             throw new ActionMessagesException(
@@ -129,20 +134,21 @@
         }
     }
 
-    public void moveDown(Category category) {
-        CategoryCB cb = new CategoryCB();
+    public void moveDown(BookmarkCategory category) {
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
         cb.fetchFirst(1);
         cb.fetchFirst(1);
         cb.query().setSortOrder_LessThan(category.getSortOrder());
         cb.query().addOrderBy_SortOrder_Desc();
-        List<Category> categoryList = categoryBhv.selectPage(cb);
+        List<BookmarkCategory> categoryList = bookmarkCategoryBhv
+                .selectPage(cb);
         if (categoryList != null && !categoryList.isEmpty()) {
-            Category targetCategory = categoryList.get(0);
+            BookmarkCategory targetCategory = categoryList.get(0);
             Integer sortOrder = targetCategory.getSortOrder();
             targetCategory.setSortOrder(category.getSortOrder());
             category.setSortOrder(sortOrder);
-            categoryBhv.update(targetCategory);
-            categoryBhv.update(category);
+            bookmarkCategoryBhv.update(targetCategory);
+            bookmarkCategoryBhv.update(category);
         } else {
             // TODO replace with CommonException
             throw new ActionMessagesException(
@@ -150,28 +156,37 @@
         }
     }
 
-    public List<Category> getCategoryList(String createdBy) {
+    public List<BookmarkCategory> getCategoryList(String createdBy) {
 
-        CategoryCB cb = new CategoryCB();
+        List<BookmarkCategory> bookmarkCategoryList = new ArrayList<BookmarkCategory>();
 
+        BookmarkCategoryCB cb = new BookmarkCategoryCB();
+
         // setup
 
+        cb.query().setDeletedBy_IsNull();
+        cb.query().setType_Equal(BookmarkConstants.PUBLIC_CATEGORY);
+        cb.query().addOrderBy_SortOrder_Asc();
+
+        bookmarkCategoryList.addAll(bookmarkCategoryBhv.selectList(cb));
+
+        cb = new BookmarkCategoryCB();
         cb.query().setCreatedBy_Equal(createdBy);
         cb.query().setDeletedBy_IsNull();
-
+        cb.query().setType_Equal(BookmarkConstants.PERSONAL_CATEGORY);
         cb.query().addOrderBy_SortOrder_Asc();
 
-        List<Category> categoryList = categoryBhv.selectList(cb);
+        bookmarkCategoryList.addAll(bookmarkCategoryBhv.selectList(cb));
 
-        return categoryList;
+        return bookmarkCategoryList;
     }
 
-    public CategoryBhv getCategoryBhv() {
-        return categoryBhv;
+    public BookmarkCategoryBhv getBookmarkCategoryBhv() {
+        return bookmarkCategoryBhv;
     }
 
-    public void setCategoryBhv(CategoryBhv categoryBhv) {
-        this.categoryBhv = categoryBhv;
+    public void setBookmarkCategoryBhv(BookmarkCategoryBhv bookmarkCategoryBhv) {
+        this.bookmarkCategoryBhv = bookmarkCategoryBhv;
     }
 
     public PagerDxo getPagerDxo() {

Modified: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/LinkService.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/LinkService.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/service/LinkService.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -6,13 +6,13 @@
 import java.util.List;
 
 import jp.sf.pal.bookmark.BookmarkConstants;
+import jp.sf.pal.bookmark.common.dxo.PagerDxo;
+import jp.sf.pal.bookmark.common.util.PagingResultBeanWrapper;
 import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
-import jp.sf.pal.bookmark.db.cbean.LinkCB;
-import jp.sf.pal.bookmark.db.exbhv.LinkBhv;
-import jp.sf.pal.bookmark.db.exentity.Link;
-import jp.sf.pal.bookmark.dxo.PagerDxo;
+import jp.sf.pal.bookmark.db.cbean.BookmarkLinkCB;
+import jp.sf.pal.bookmark.db.exbhv.BookmarkLinkBhv;
+import jp.sf.pal.bookmark.db.exentity.BookmarkLink;
 import jp.sf.pal.bookmark.pager.LinkPager;
-import jp.sf.pal.bookmark.util.PagingResultBeanWrapper;
 
 import org.seasar.framework.container.hotdeploy.HotdeployUtil;
 import org.seasar.struts.exception.ActionMessagesException;
@@ -21,15 +21,15 @@
 
     private static final long serialVersionUID = 1L;
 
-    private transient LinkBhv linkBhv;
+    private transient BookmarkLinkBhv bookmarkLinkBhv;
 
     private PagerDxo pagerDxo;
 
-    public List<Link> getLinkList(LinkPager linkPager) {
+    public List<BookmarkLink> getLinkList(LinkPager linkPager) {
 
         HotdeployUtil.rebuildValue(linkPager);
 
-        LinkCB cb = new LinkCB();
+        BookmarkLinkCB cb = new BookmarkLinkCB();
 
         cb.fetchFirst(linkPager.getPageSize());
         cb.fetchPage(linkPager.getCurrentPageNumber());
@@ -52,7 +52,8 @@
 
         cb.query().addOrderBy_SortOrder_Asc();
 
-        PagingResultBean<Link> messageList = linkBhv.selectPage(cb);
+        PagingResultBean<BookmarkLink> messageList = bookmarkLinkBhv
+                .selectPage(cb);
 
         // update pager
         pagerDxo.convert(new PagingResultBeanWrapper(messageList), linkPager);
@@ -63,16 +64,16 @@
         return messageList;
     }
 
-    public Link getLink(Long id) {
-        LinkCB cb = new LinkCB();
+    public BookmarkLink getLink(Long id) {
+        BookmarkLinkCB cb = new BookmarkLinkCB();
 
         // setup
 
         cb.query().setId_Equal(id);
-        return linkBhv.selectEntity(cb);
+        return bookmarkLinkBhv.selectEntity(cb);
     }
 
-    public void store(Link link) {
+    public void store(BookmarkLink link) {
         boolean isUpdate = link.getId() != null;
 
         Timestamp now = new Timestamp(System.currentTimeMillis());
@@ -80,15 +81,15 @@
 
         // Link
         if (isUpdate) {
-            linkBhv.update(link);
+            bookmarkLinkBhv.update(link);
         } else {
-            LinkCB cb = new LinkCB();
+            BookmarkLinkCB cb = new BookmarkLinkCB();
             cb.fetchFirst(1);
             cb.fetchPage(1);
             cb.query().setCreatedBy_Equal(link.getCreatedBy());
             cb.query().setDeletedBy_IsNull();
             cb.query().addOrderBy_SortOrder_Desc();
-            List<Link> LinkList = linkBhv.selectPage(cb);
+            List<BookmarkLink> LinkList = bookmarkLinkBhv.selectPage(cb);
             // TODO mt-safe
             int sortOrder = 1;
             if (LinkList != null && !LinkList.isEmpty()) {
@@ -97,7 +98,7 @@
 
             link.setSortOrder(sortOrder);
             link.setCreatedTime(now);
-            linkBhv.insert(link);
+            bookmarkLinkBhv.insert(link);
 
         }
 
@@ -105,32 +106,32 @@
 
     public void disable(Long linkId, String name) {
         // not delete
-        LinkCB cb = new LinkCB();
+        BookmarkLinkCB cb = new BookmarkLinkCB();
 
         cb.query().setId_Equal(linkId);
-        Link link = linkBhv.selectEntity(cb);
+        BookmarkLink link = bookmarkLinkBhv.selectEntity(cb);
 
         // TODO throw an exception
 
         link.setDeletedBy(name);
         link.setDeletedTime(new Timestamp(new Date().getTime()));
-        linkBhv.update(link);
+        bookmarkLinkBhv.update(link);
     }
 
-    public void moveUp(Link link) {
-        LinkCB cb = new LinkCB();
+    public void moveUp(BookmarkLink link) {
+        BookmarkLinkCB cb = new BookmarkLinkCB();
         cb.fetchFirst(1);
         cb.fetchFirst(1);
         cb.query().setSortOrder_GreaterThan(link.getSortOrder());
         cb.query().addOrderBy_SortOrder_Asc();
-        List<Link> linkList = linkBhv.selectPage(cb);
+        List<BookmarkLink> linkList = bookmarkLinkBhv.selectPage(cb);
         if (linkList != null && !linkList.isEmpty()) {
-            Link targetLink = linkList.get(0);
+            BookmarkLink targetLink = linkList.get(0);
             Integer sortOrder = targetLink.getSortOrder();
             targetLink.setSortOrder(link.getSortOrder());
             link.setSortOrder(sortOrder);
-            linkBhv.update(targetLink);
-            linkBhv.update(link);
+            bookmarkLinkBhv.update(targetLink);
+            bookmarkLinkBhv.update(link);
         } else {
             // TODO replace with CommonException
             throw new ActionMessagesException(
@@ -138,20 +139,20 @@
         }
     }
 
-    public void moveDown(Link link) {
-        LinkCB cb = new LinkCB();
+    public void moveDown(BookmarkLink link) {
+        BookmarkLinkCB cb = new BookmarkLinkCB();
         cb.fetchFirst(1);
         cb.fetchFirst(1);
         cb.query().setSortOrder_LessThan(link.getSortOrder());
         cb.query().addOrderBy_SortOrder_Desc();
-        List<Link> linkList = linkBhv.selectPage(cb);
+        List<BookmarkLink> linkList = bookmarkLinkBhv.selectPage(cb);
         if (linkList != null && !linkList.isEmpty()) {
-            Link targetLink = linkList.get(0);
+            BookmarkLink targetLink = linkList.get(0);
             Integer sortOrder = targetLink.getSortOrder();
             targetLink.setSortOrder(link.getSortOrder());
             link.setSortOrder(sortOrder);
-            linkBhv.update(targetLink);
-            linkBhv.update(link);
+            bookmarkLinkBhv.update(targetLink);
+            bookmarkLinkBhv.update(link);
         } else {
             // TODO replace with CommonException
             throw new ActionMessagesException(
@@ -159,12 +160,12 @@
         }
     }
 
-    public LinkBhv getLinkBhv() {
-        return linkBhv;
+    public BookmarkLinkBhv getBookmarkLinkBhv() {
+        return bookmarkLinkBhv;
     }
 
-    public void setLinkBhv(LinkBhv messageBhv) {
-        this.linkBhv = messageBhv;
+    public void setBookmarkLinkBhv(BookmarkLinkBhv messageBhv) {
+        this.bookmarkLinkBhv = messageBhv;
     }
 
     public PagerDxo getPagerDxo() {

Deleted: bookmark/trunk/src/main/java/jp/sf/pal/bookmark/util/PagingResultBeanWrapper.java
===================================================================
--- bookmark/trunk/src/main/java/jp/sf/pal/bookmark/util/PagingResultBeanWrapper.java	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/java/jp/sf/pal/bookmark/util/PagingResultBeanWrapper.java	2008-11-11 06:28:27 UTC (rev 1326)
@@ -1,68 +0,0 @@
-package jp.sf.pal.bookmark.util;
-
-import jp.sf.pal.bookmark.db.allcommon.cbean.PagingResultBean;
-
-public class PagingResultBeanWrapper {
-    private PagingResultBean<?> pagingResultBean;
-
-    public PagingResultBeanWrapper(PagingResultBean<?> pagingResultBean) {
-        this.pagingResultBean = pagingResultBean;
-    }
-
-    public PagingResultBean<?> getPagingResultBean() {
-        return pagingResultBean;
-    }
-
-    public void setPagingResultBean(PagingResultBean<?> pagingResultBean) {
-        this.pagingResultBean = pagingResultBean;
-    }
-
-    public int getAllRecordCount() {
-        return pagingResultBean.getAllRecordCount();
-    }
-
-    public void setAllRecordCount(int allRecordCount) {
-        pagingResultBean.setAllRecordCount(allRecordCount);
-    }
-
-    public int getPageSize() {
-        return pagingResultBean.getPageSize();
-    }
-
-    public void setPageSize(int pageSize) {
-        pagingResultBean.setPageSize(pageSize);
-    }
-
-    public int getCurrentPageNumber() {
-        return pagingResultBean.getCurrentPageNumber();
-    }
-
-    public void setCurrentPageNumber(int currentPageNumber) {
-        pagingResultBean.setCurrentPageNumber(currentPageNumber);
-    }
-
-    public int getAllPageCount() {
-        return pagingResultBean.getAllPageCount();
-    }
-
-    public void setAllPageCount(int allPageCount) {
-        // nothing
-    }
-
-    public boolean isExistPrePage() {
-        return pagingResultBean.isExistPrePage();
-    }
-
-    public void setExistPrePage(boolean existPrePage) {
-        // nothing
-    }
-
-    public boolean isExistNextPage() {
-        return pagingResultBean.isExistNextPage();
-    }
-
-    public void setExistNextPage(boolean existNextPage) {
-        // nothing
-    }
-
-}

Modified: bookmark/trunk/src/main/resources/application.properties
===================================================================
--- bookmark/trunk/src/main/resources/application.properties	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/resources/application.properties	2008-11-11 06:28:27 UTC (rev 1326)
@@ -28,6 +28,9 @@
 labels.URL=URL
 labels.create_person=Creator
 labels.memo=Memo
+labels.shared=Shared
+labels.public=Public
+labels.personal=Personal
 labels.category=Category
 labels.category_ID=Category ID
 labels.category_unselected=(Unselected)

Modified: bookmark/trunk/src/main/resources/application_ja.properties
===================================================================
--- bookmark/trunk/src/main/resources/application_ja.properties	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/resources/application_ja.properties	2008-11-11 06:28:27 UTC (rev 1326)
@@ -21,6 +21,9 @@
 labels.URL=URL
 labels.create_person=\u4f5c\u6210\u8005
 labels.memo=\u30e1\u30e2
+labels.shared=\u5171\u6709
+labels.public=\u516c\u958b
+labels.personal=\u500b\u4eba\u7528
 labels.category=\u30ab\u30c6\u30b4\u30ea
 labels.category_ID=\u30ab\u30c6\u30b4\u30eaID
 labels.category_unselected=(\u672a\u5206\u985e)

Modified: bookmark/trunk/src/main/resources/convention.dicon
===================================================================
--- bookmark/trunk/src/main/resources/convention.dicon	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/resources/convention.dicon	2008-11-11 06:28:27 UTC (rev 1326)
@@ -6,6 +6,9 @@
 		<initMethod name="addRootPackageName">
 			<arg>"jp.sf.pal.bookmark"</arg>
 		</initMethod>
+		<initMethod name="addRootPackageName">
+			<arg>"jp.sf.pal.bookmark.common"</arg>
+		</initMethod>
 		<initMethod name="addIgnorePackageName">
 			<arg>"jp.sf.pal.bookmark.db"</arg>
 		</initMethod>

Modified: bookmark/trunk/src/main/resources/creator.dicon
===================================================================
--- bookmark/trunk/src/main/resources/creator.dicon	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/resources/creator.dicon	2008-11-11 06:28:27 UTC (rev 1326)
@@ -11,5 +11,5 @@
     <component class="org.seasar.framework.container.creator.DxoCreator"/>
     <!--component class="org.seasar.framework.container.creator.DtoCreator"/-->
     <component class="org.seasar.framework.container.creator.InterceptorCreator"/>
-    <component class="jp.sf.pal.bookmark.creator.PagerCreator"/>
+    <component class="jp.sf.pal.bookmark.common.creator.PagerCreator"/>
 </components>

Modified: bookmark/trunk/src/main/resources/dbflute.dicon
===================================================================
--- bookmark/trunk/src/main/resources/dbflute.dicon	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/resources/dbflute.dicon	2008-11-11 06:28:27 UTC (rev 1326)
@@ -24,6 +24,7 @@
     <component class="org.seasar.dao.impl.ProcedureMetaDataFactoryImpl"/>
     <component class="jp.sf.pal.bookmark.db.allcommon.s2dao.S2DaoLatestSqlProvider"/>
 	<component name="dbfluteStringClobType" class="org.seasar.extension.jdbc.types.StringClobType" />
+	<component name="dbfluteBytesOidType" class="jp.sf.pal.bookmark.db.allcommon.s2dao.internal.valuetype.InternalBytesOidType" />
 
     <!-- The selector of behavior. -->
     <component name="behaviorSelector" class="jp.sf.pal.bookmark.db.allcommon.CacheBehaviorSelector">
@@ -41,16 +42,46 @@
     </component>
 
 
-    <!-- CATEGORY -->
-    <component name="categoryDao" class="jp.sf.pal.bookmark.db.exdao.CategoryDao">
+    <!-- BOOKMARK_CATEGORY -->
+    <component name="bookmarkCategoryDao" class="jp.sf.pal.bookmark.db.exdao.BookmarkCategoryDao">
         <aspect>dbflute.interceptor</aspect>
     </component>
-    <component name="categoryBhv" class="jp.sf.pal.bookmark.db.exbhv.CategoryBhv"/>
+    <component name="bookmarkCategoryBhv" class="jp.sf.pal.bookmark.db.exbhv.BookmarkCategoryBhv"/>
 
-    <!-- LINK -->
-    <component name="linkDao" class="jp.sf.pal.bookmark.db.exdao.LinkDao">
+    <!-- BOOKMARK_LINK -->
+    <component name="bookmarkLinkDao" class="jp.sf.pal.bookmark.db.exdao.BookmarkLinkDao">
         <aspect>dbflute.interceptor</aspect>
     </component>
-    <component name="linkBhv" class="jp.sf.pal.bookmark.db.exbhv.LinkBhv"/>
+    <component name="bookmarkLinkBhv" class="jp.sf.pal.bookmark.db.exbhv.BookmarkLinkBhv"/>
 
+    <!-- GROUP_INFO -->
+    <component name="groupInfoDao" class="jp.sf.pal.bookmark.db.exdao.GroupInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="groupInfoBhv" class="jp.sf.pal.bookmark.db.exbhv.GroupInfoBhv"/>
+
+    <!-- GROUP_MAPPING -->
+    <component name="groupMappingDao" class="jp.sf.pal.bookmark.db.exdao.GroupMappingDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="groupMappingBhv" class="jp.sf.pal.bookmark.db.exbhv.GroupMappingBhv"/>
+
+    <!-- ROLE_INFO -->
+    <component name="roleInfoDao" class="jp.sf.pal.bookmark.db.exdao.RoleInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="roleInfoBhv" class="jp.sf.pal.bookmark.db.exbhv.RoleInfoBhv"/>
+
+    <!-- ROLE_MAPPING -->
+    <component name="roleMappingDao" class="jp.sf.pal.bookmark.db.exdao.RoleMappingDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="roleMappingBhv" class="jp.sf.pal.bookmark.db.exbhv.RoleMappingBhv"/>
+
+    <!-- USER_INFO -->
+    <component name="userInfoDao" class="jp.sf.pal.bookmark.db.exdao.UserInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="userInfoBhv" class="jp.sf.pal.bookmark.db.exbhv.UserInfoBhv"/>
+
 </components>

Deleted: bookmark/trunk/src/main/webapp/WEB-INF/db/bookmark.1.log.db
===================================================================
(Binary files differ)

Modified: bookmark/trunk/src/main/webapp/WEB-INF/db/bookmark.data.db
===================================================================
(Binary files differ)

Modified: bookmark/trunk/src/main/webapp/WEB-INF/db/bookmark.index.db
===================================================================
(Binary files differ)

Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp
===================================================================
--- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp	2008-11-11 06:28:27 UTC (rev 1326)
@@ -25,6 +25,14 @@
 					<th><bean:message key="labels.memo"/></th>
 					<td>${f:br(f:nbsp(f:h(memo)))}<html:hidden property="memo"/></td>
 				</tr>
+				<tr>
+					<th><bean:message key="labels.shared"/></th>
+					<td>
+<c:if test="${type=='P'}"><bean:message key="labels.public"/></c:if>
+<c:if test="${type=='C'}"><bean:message key="labels.personal"/></c:if>
+<html:hidden property="type"/>
+					</td>
+				</tr>
 			</tbody>
 			<tfoot>
 				<tr>

Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp
===================================================================
--- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp	2008-11-11 06:28:27 UTC (rev 1326)
@@ -26,6 +26,15 @@
                     <th><bean:message key="labels.memo"/></th>
                     <td><html:textarea property="memo" cols="40" rows="5"/></td>
                 </tr>
+                <tr>
+                    <th><bean:message key="labels.shared"/></th>
+                    <td>
+<html:select property="type">
+<html:option value="P"><bean:message key="labels.public"/></html:option>
+<html:option value="C"><bean:message key="labels.personal"/></html:option>
+</html:select>
+					</td>
+                </tr>
 			</tbody>
 			<tfoot>
 				<tr>

Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/confirm.jsp
===================================================================
--- bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/confirm.jsp	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/confirm.jsp	2008-11-11 06:28:27 UTC (rev 1326)
@@ -22,6 +22,14 @@
 					<th><bean:message key="labels.memo"/></th>
 					<td>${f:br(f:nbsp(f:h(memo)))}<html:hidden property="memo"/></td>
 				</tr>
+				<tr>
+					<th><bean:message key="labels.shared"/></th>
+					<td>
+<c:if test="${type=='P'}"><bean:message key="labels.public"/></c:if>
+<c:if test="${type=='C'}"><bean:message key="labels.personal"/></c:if>
+<html:hidden property="type"/>
+					</td>
+				</tr>
 			</tbody>
 			<tfoot>
 				<tr>

Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/edit.jsp
===================================================================
--- bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/edit.jsp	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/webapp/WEB-INF/view/category/edit/edit.jsp	2008-11-11 06:28:27 UTC (rev 1326)
@@ -22,6 +22,15 @@
                     <th><bean:message key="labels.memo"/></th>
                     <td><html:textarea property="memo" cols="40" rows="5"/></td>
                 </tr>
+                <tr>
+                    <th><bean:message key="labels.shared"/></th>
+                    <td>
+<html:select property="type">
+<html:option value="P"><bean:message key="labels.public"/></html:option>
+<html:option value="C"><bean:message key="labels.personal"/></html:option>
+</html:select>
+					</td>
+                </tr>
 			</tbody>
 			<tfoot>
 				<tr>

Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/link/view/index.jsp
===================================================================
--- bookmark/trunk/src/main/webapp/WEB-INF/view/link/view/index.jsp	2008-11-11 03:23:02 UTC (rev 1325)
+++ bookmark/trunk/src/main/webapp/WEB-INF/view/link/view/index.jsp	2008-11-11 06:28:27 UTC (rev 1326)
@@ -11,12 +11,6 @@
     <div style="padding:3px;">
         <div class="portlet-menu-caption"><bean:message key="labels.category"/></div>
         <ul>
-            <c:if test="${linkPager.categoryId==1}">
-            <li class="portlet-menu-item-selected"><bean:message key="labels.category_unselected"/></li>
-            </c:if>
-            <c:if test="${linkPager.categoryId!=1}">
-            <li class="portlet-menu-item"><s:link href="select/1"><bean:message key="labels.category_unselected"/></s:link></li>
-            </c:if>
         <c:forEach var="c" varStatus="s" items="${categoryItems}">
             <c:if test="${linkPager.categoryId==c.id}">
             <li class="portlet-menu-item-selected">${f:h(c.name)}</li>
@@ -26,14 +20,6 @@
             </c:if>
         </c:forEach>
         </ul>
-        <ul style="border-top: 1px solid #999999;">
-            <c:if test="${linkPager.categoryId==2}">
-            <li class="portlet-menu-item-selected"><bean:message key="labels.category_shared"/></li>
-            </c:if>
-            <c:if test="${linkPager.categoryId!=2}">
-            <li class="portlet-menu-item"><s:link href="select/2"><bean:message key="labels.category_shared"/></s:link></li>
-            </c:if>
-        </ul>
     </div>
 </div>
 


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