[pal-cvs 3610] [1345] added userinfo tables.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 11月 13日 (木) 15:58:15 JST


Revision: 1345
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1345
Author:   shinsuke
Date:     2008-11-13 15:58:14 +0900 (Thu, 13 Nov 2008)

Log Message:
-----------
added userinfo tables.

Modified Paths:
--------------
    board/trunk/dbflute/_project.bat
    board/trunk/dbflute/_project.sh
    board/trunk/src/main/config/erd/board.erd
    board/trunk/src/main/config/sql/board.ddl
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/AccessContext.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/DBFluteConfig.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorReadable.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorWritable.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/load/LoadReferrerOption.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/setup/EntityListSetupper.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/AbstractConditionBean.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBean.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBeanContext.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ListResultBean.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingBean.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingInvoker.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingResultBean.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ResultBeanBuilder.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/SimplePagingBean.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingOption.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowResource.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowSetupper.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/AbstractSqlClause.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByClause.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByElement.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/SqlClause.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/AbstractDBMeta.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMeta.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMetaInstanceHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/character/impl/GeneralCharacterImpl.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/token/line/impl/LineTokenImpl.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/CursorHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/FetchNarrowingResultSetFactory.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoInterceptor.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoLatestSqlProvider.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataExtension.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoSelectDynamicCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractAutoStaticCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractBatchAutoStaticCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalDeleteQueryAutoDynamicCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalInsertAutoDynamicCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalProcedureCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateAutoDynamicCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateDynamicCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateQueryAutoDynamicCommand.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractAutoHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractBatchAutoHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicSelectHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicUpdateHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalCommandContextHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalDeleteAutoHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalInsertAutoHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalProcedureHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalUpdateAutoHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsAttachmentBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryAccessBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageAttachmentBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageContentBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsReplyBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsAttachmentDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryAccessDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageAttachmentDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageContentDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsReplyDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsAttachment.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategory.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategoryAccess.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessage.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageAttachment.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageContent.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsReply.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/AttachmentDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryAccessDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageAttachmentDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageContentDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/ReplyDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsAttachmentCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryAccessCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageAttachmentCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageContentCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsReplyCQ.java
    board/trunk/src/main/resources/dbflute.dicon
    board/trunk/src/main/webapp/WEB-INF/db/board.data.db
    board/trunk/src/main/webapp/WEB-INF/db/board.index.db

Added Paths:
-----------
    board/trunk/mydbflute/README.txt
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/CallbackContext.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractingResource.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractor.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameResult.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/impl/
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/impl/InvokeNameExtractorImpl.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/SqlLogHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractBeanMetaDataResultSetHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractDtoMetaDataResultSetHandler.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/valuetype/
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaData.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaDataFactory.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureParameterType.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRelationRowCreator.java
    board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRowCreator.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupInfoBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupMappingBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleInfoBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleMappingBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsUserInfoBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupInfoDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupMappingDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleInfoDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleMappingDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsUserInfoDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupInfo.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupMapping.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleInfo.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleMapping.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsUserInfo.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupInfoDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupMappingDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleInfoDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleMappingDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/UserInfoDbm.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupInfoCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupMappingCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleInfoCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleMappingCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/UserInfoCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupInfoCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupMappingCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleInfoCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleMappingCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsUserInfoCB.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupMappingCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleMappingCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/UserInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupMappingCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleMappingCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsUserInfoCQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupInfoCIQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupMappingCIQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleInfoCIQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleMappingCIQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/UserInfoCIQ.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupInfoNss.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupMappingNss.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleInfoNss.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleMappingNss.java
    board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/UserInfoNss.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupInfoBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupMappingBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleInfoBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleMappingBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/UserInfoBhv.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupInfoDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupMappingDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleInfoDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleMappingDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exdao/UserInfoDao.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupInfo.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupMapping.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleInfo.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleMapping.java
    board/trunk/src/main/java/jp/sf/pal/board/db/exentity/UserInfo.java

Removed Paths:
-------------
    board/trunk/src/main/webapp/WEB-INF/db/board.1.log.db
    board/trunk/src/main/webapp/WEB-INF/db/board.trace.db


-------------- next part --------------
Modified: board/trunk/dbflute/_project.bat
===================================================================
--- board/trunk/dbflute/_project.bat	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/dbflute/_project.bat	2008-11-13 06:58:14 UTC (rev 1345)
@@ -2,4 +2,4 @@
 
 set MY_PROJECT_NAME=board
 
-set DBFLUTE_HOME=..\mydbflute\dbflute-0.8.0
+set DBFLUTE_HOME=..\mydbflute\dbflute-0.8.2

Modified: board/trunk/dbflute/_project.sh
===================================================================
--- board/trunk/dbflute/_project.sh	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/dbflute/_project.sh	2008-11-13 06:58:14 UTC (rev 1345)
@@ -2,4 +2,4 @@
 
 export MY_PROJECT_NAME=board
 
-export DBFLUTE_HOME=../mydbflute/dbflute-0.8.0
+export DBFLUTE_HOME=../mydbflute/dbflute-0.8.2

Added: board/trunk/mydbflute/README.txt
===================================================================
--- board/trunk/mydbflute/README.txt	                        (rev 0)
+++ board/trunk/mydbflute/README.txt	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,3 @@
+$ mkdir dbflute-0.8.2
+$ cd dbflute-0.8.2
+$ unzip ../dbflute-0.8.2.zip


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

Modified: board/trunk/src/main/config/erd/board.erd
===================================================================
--- board/trunk/src/main/config/erd/board.erd	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/config/erd/board.erd	2008-11-13 06:58:14 UTC (rev 1345)
@@ -152,7 +152,7 @@
       <indices/>
       <constraint>
         <x>452</x>
-        <y>757</y>
+        <y>871</y>
         <width>-1</width>
         <height>-1</height>
       </constraint>
@@ -1147,6 +1147,906 @@
     <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel/source"/>
     <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source/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/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/source/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[3]/source"/>
+    <net.java.amateras.db.visual.model.TableModel>
+      <error></error>
+      <linkedPath></linkedPath>
+      <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>nickname</columnName>
+          <logicalName>Nickname</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>gender</columnName>
+          <logicalName>Gender</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[7]/columnType"/>
+          <size>1</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>birth_date</columnName>
+          <logicalName>Birth Date</logicalName>
+          <columnType class="net.java.amateras.db.dialect.ColumnType">
+            <name>DATE</name>
+            <logicalName>Date</logicalName>
+            <supportSize>false</supportSize>
+            <type>91</type>
+          </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>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[15]/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[15]/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>1239</x>
+        <y>370</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[14]"/>
+            </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[15]/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[15]/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[15]/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[21]/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>1094</x>
+              <y>871</y>
+              <width>-1</width>
+              <height>-1</height>
+            </constraint>
+            <sourceConnections/>
+            <targetConnections>
+              <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>1098</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>
+              <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
+            </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[13]"/>
+            </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[15]/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[15]/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[15]/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[21]/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>1418</x>
+              <y>871</y>
+              <width>-1</width>
+              <height>-1</height>
+            </constraint>
+            <sourceConnections/>
+            <targetConnections>
+              <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/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/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>1426</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>
+              <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
+            </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/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/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[8]/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel[8]/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[8]/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel/source"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel[8]/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel/source"/>
   </children>
   <dommains/>
   <dialectName>hsqldb</dialectName>
@@ -1168,4 +2068,4 @@
       <null/>
     </java.beans.PropertyChangeSupport>
   </listeners>
-</net.java.amateras.db.visual.model.RootModel>
+</net.java.amateras.db.visual.model.RootModel>
\ No newline at end of file

Modified: board/trunk/src/main/config/sql/board.ddl
===================================================================
--- board/trunk/src/main/config/sql/board.ddl	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/config/sql/board.ddl	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,3 +1,8 @@
+DROP TABLE role_mapping;
+DROP TABLE group_mapping;
+DROP TABLE user_info;
+DROP TABLE role_info;
+DROP TABLE group_info;
 DROP TABLE message_content;
 DROP TABLE message_attachment;
 DROP TABLE reply;
@@ -117,7 +122,96 @@
   FOREIGN KEY (message_id) REFERENCES message (id)
 );
 
+/**********************************
+Table Name: Group Information
+**********************************/
+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),
+  nickname VARCHAR(100),
+  gender VARCHAR(1),
+  birth_date DATE,
+  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)
+);
+
+
 CREATE INDEX IDX_title_for_message ON message (title);
 
 CREATE INDEX IDX_content_for_message_content ON message_content (content);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/AccessContext.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/AccessContext.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/AccessContext.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/CallbackContext.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/CallbackContext.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/CallbackContext.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,75 @@
+package jp.sf.pal.board.db.allcommon;
+
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/CallbackContext.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/DBFluteConfig.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/DBFluteConfig.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/DBFluteConfig.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorReadable.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorReadable.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorReadable.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,15 +1,21 @@
 package jp.sf.pal.board.db.allcommon.bhv;
 
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Method;
 import java.util.ArrayList;
 import java.util.HashMap;
+import java.util.LinkedHashMap;
+import java.util.LinkedHashSet;
 import java.util.List;
 import java.util.Map;
+import java.util.Set;
 
 import jp.sf.pal.board.db.allcommon.BehaviorSelector;
 import jp.sf.pal.board.db.allcommon.DaoSelector;
 import jp.sf.pal.board.db.allcommon.Entity;
 import jp.sf.pal.board.db.allcommon.bhv.batch.TokenFileOutputOption;
 import jp.sf.pal.board.db.allcommon.bhv.batch.TokenFileOutputResult;
+import jp.sf.pal.board.db.allcommon.bhv.load.LoadReferrerOption;
 import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelBox;
 import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelSetupper;
 import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
@@ -26,6 +32,7 @@
 import jp.sf.pal.board.db.allcommon.helper.token.file.FileMakingOption;
 import jp.sf.pal.board.db.allcommon.helper.token.file.FileMakingSimpleFacade;
 import jp.sf.pal.board.db.allcommon.helper.token.file.impl.FileMakingSimpleFacadeImpl;
+import jp.sf.pal.board.db.allcommon.util.SimpleSystemUtil;
 
 /**
  * The abstract class of behavior-readable.
@@ -94,7 +101,7 @@
      */
     public Entity readEntity(ConditionBean cb) {
         assertConditionBeanNotNull(cb);
-        final java.util.List<Entity> ls = readList(cb);
+        final List<Entity> ls = readList(cb);
         if (ls.isEmpty()) {
             return null;
         }
@@ -114,7 +121,7 @@
      */
     public Entity readEntityWithDeletedCheck(ConditionBean cb) {
         assertConditionBeanNotNull(cb);
-        final java.util.List<Entity> ls = readList(cb);
+        final List<Entity> ls = readList(cb);
         assertEntityNotDeleted(ls, cb);
         assertEntitySelectedAsOne(ls, cb);
         return (Entity) ls.get(0);
@@ -124,12 +131,11 @@
     // ===========
     // Entity Read Internal Helper
     // ===========================
-    protected <ENTITY_TYPE extends Entity, CB_TYPE extends ConditionBean> ENTITY_TYPE helpSelectEntityInternally(
-            CB_TYPE cb,
-            InternalSelectEntityCallback<ENTITY_TYPE, CB_TYPE> callback) {
+    protected <ENTITY extends Entity, CB extends ConditionBean> ENTITY helpSelectEntityInternally(
+            CB cb, InternalSelectEntityCallback<ENTITY, CB> callback) {
         assertConditionBeanNotNull(cb);
         cb.checkSafetyResult(1);
-        java.util.List<ENTITY_TYPE> ls = null;
+        List<ENTITY> ls = null;
         try {
             ls = callback.callbackSelectList(cb);
         } catch (jp.sf.pal.board.db.allcommon.exception.DangerousResultSizeException e) {
@@ -140,19 +146,19 @@
             return null;
         }
         assertEntitySelectedAsOne(ls, cb);
-        return (ENTITY_TYPE) ls.get(0);
+        return (ENTITY) ls.get(0);
     }
 
-    protected static interface InternalSelectEntityCallback<ENTITY_TYPE extends Entity, CB_TYPE extends ConditionBean> {
-        public java.util.List<ENTITY_TYPE> callbackSelectList(CB_TYPE cb);
+    protected static interface InternalSelectEntityCallback<ENTITY extends Entity, CB extends ConditionBean> {
+        public List<ENTITY> callbackSelectList(CB cb);
     }
 
-    protected <ENTITY_TYPE extends Entity, CB_TYPE extends ConditionBean> ENTITY_TYPE helpSelectEntityWithDeletedCheckInternally(
-            CB_TYPE cb,
-            InternalSelectEntityWithDeletedCheckCallback<ENTITY_TYPE, CB_TYPE> callback) {
+    protected <ENTITY extends Entity, CB extends ConditionBean> ENTITY helpSelectEntityWithDeletedCheckInternally(
+            CB cb,
+            InternalSelectEntityWithDeletedCheckCallback<ENTITY, CB> callback) {
         assertConditionBeanNotNull(cb);
         cb.checkSafetyResult(1);
-        java.util.List<ENTITY_TYPE> ls = null;
+        List<ENTITY> ls = null;
         try {
             ls = callback.callbackSelectList(cb);
         } catch (jp.sf.pal.board.db.allcommon.exception.DangerousResultSizeException e) {
@@ -161,11 +167,11 @@
         }
         assertEntityNotDeleted(ls, cb);
         assertEntitySelectedAsOne(ls, cb);
-        return (ENTITY_TYPE) ls.get(0);
+        return (ENTITY) ls.get(0);
     }
 
-    protected static interface InternalSelectEntityWithDeletedCheckCallback<ENTITY_TYPE extends Entity, CB_TYPE extends ConditionBean> {
-        public java.util.List<ENTITY_TYPE> callbackSelectList(CB_TYPE cb);
+    protected static interface InternalSelectEntityWithDeletedCheckCallback<ENTITY extends Entity, CB extends ConditionBean> {
+        public List<ENTITY> callbackSelectList(CB cb);
     }
 
     //==========================================================================
@@ -233,8 +239,7 @@
      * @param searchKey4Log Search-key for Logging. (NotNull)
      * @exception jp.sf.pal.board.db.allcommon.exception.EntityAlreadyDeletedException
      */
-    protected void assertEntityNotDeleted(java.util.List ls,
-            Object searchKey4Log) {
+    protected void assertEntityNotDeleted(List ls, Object searchKey4Log) {
         if (ls == null || ls.isEmpty()) {
             throwEntityAlreadyDeletedException(searchKey4Log);
         }
@@ -248,8 +253,7 @@
      * @exception jp.sf.pal.board.db.allcommon.exception.EntityAlreadyDeletedException
      * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
      */
-    protected void assertEntitySelectedAsOne(java.util.List ls,
-            Object searchKey4Log) {
+    protected void assertEntitySelectedAsOne(List ls, Object searchKey4Log) {
         if (ls == null || ls.isEmpty()) {
             throwEntityAlreadyDeletedException(searchKey4Log);
         }
@@ -314,7 +318,7 @@
      * @param valueLabelSetupper Value-label-setupper. (NotNull)
      * @return Value-label list. (NotNull)
      */
-    public <ENTITY extends Entity> List<java.util.Map<String, Object>> createValueLabelList(
+    public <ENTITY extends Entity> List<Map<String, Object>> createValueLabelList(
             List<ENTITY> entityList,
             ValueLabelSetupper<ENTITY> valueLabelSetupper) {
         final List<Map<String, Object>> valueLabelList = new ArrayList<Map<String, Object>>();
@@ -340,8 +344,8 @@
      */
     public java.math.BigDecimal readNextVal() {
         try {
-            final java.lang.reflect.Method method = getClass().getMethod(
-                    "selectNextVal", new Class[] {});
+            final Method method = getClass().getMethod("selectNextVal",
+                    new Class[] {});
             Object sequenceObject = method.invoke(this, new Object[] {});
             if (sequenceObject instanceof java.math.BigDecimal) {
                 return (java.math.BigDecimal) sequenceObject;
@@ -361,7 +365,7 @@
     protected Object helpConvertingSequenceObject(Class resultClass,
             Object sequenceObject) {
         try {
-            final java.lang.reflect.Constructor constructor = resultClass
+            final Constructor constructor = resultClass
                     .getConstructor(new Class[] { String.class });
             return constructor.newInstance(new Object[] { sequenceObject
                     .toString() });
@@ -372,8 +376,8 @@
                             + getTableDbName(), e);
         }
         try {
-            final java.lang.reflect.Method method = resultClass.getMethod(
-                    "valueOf", new Class[] { long.class });
+            final Method method = resultClass.getMethod("valueOf",
+                    new Class[] { long.class });
             return method.invoke(null, new Object[] { Long
                     .valueOf(sequenceObject.toString()) });
         } catch (NoSuchMethodException e) {
@@ -393,102 +397,41 @@
     // Load Referrer Internal Helper
     // =============================
     /**
-     * @param <LOCAL_ENTITY_TYPE> The type of base entity.
-     * @param <PK_TYPE> The type of primary key.
-     * @param <REFERRER_CB_TYPE> The type of referrer condition-bean.
-     * @param <REFERRER_ENTITY_TYPE> The type of referrer entity.
-     * @param localEntityList The list of local entity. (NotNull)
-     * @param loadReferrerOption The option of loadReferrer. (NotNull)
-     * @param callback The internal call-back of loadReferrer. (NotNull)
-     */
-    protected <LOCAL_ENTITY_TYPE extends Entity, PK_TYPE, REFERRER_CB_TYPE extends ConditionBean, REFERRER_ENTITY_TYPE extends Entity> void helpLoadRefererInternally(
-            java.util.List<LOCAL_ENTITY_TYPE> localEntityList,
-            jp.sf.pal.board.db.allcommon.bhv.load.LoadRefererOption<REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> loadReferrerOption,
-            InternalLoadRefererCallback<LOCAL_ENTITY_TYPE, PK_TYPE, REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> callback) {
-        doHelpLoadReferrerInternally(localEntityList, loadReferrerOption,
-                callback);
-    }// Cannot deprecated because someone who overrides this method exists.
-
-    /**
-     * Help load referrer internally. <br /> About internal policy, the value of
+     * Help load referrer internally. About internal policy, the value of
      * primary key(and others too) is treated as CaseInsensitive.
      * 
-     * @param <LOCAL_ENTITY_TYPE> The type of base entity.
-     * @param <PK_TYPE> The type of primary key.
-     * @param <REFERRER_CB_TYPE> The type of referrer condition-bean.
-     * @param <REFERRER_ENTITY_TYPE> The type of referrer entity.
+     * @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.
      * @param localEntityList The list of local entity. (NotNull)
      * @param loadReferrerOption The option of loadReferrer. (NotNull)
      * @param callback The internal call-back of loadReferrer. (NotNull)
      */
-    protected <LOCAL_ENTITY_TYPE extends Entity, PK_TYPE, REFERRER_CB_TYPE extends ConditionBean, REFERRER_ENTITY_TYPE extends Entity> void helpLoadReferrerInternally(
-            java.util.List<LOCAL_ENTITY_TYPE> localEntityList,
-            jp.sf.pal.board.db.allcommon.bhv.load.LoadReferrerOption<REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> loadReferrerOption,
-            final InternalLoadReferrerCallback<LOCAL_ENTITY_TYPE, PK_TYPE, REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> callback) {
-        final InternalLoadRefererCallback<LOCAL_ENTITY_TYPE, PK_TYPE, REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> compatibleCallback = new InternalLoadRefererCallback<LOCAL_ENTITY_TYPE, PK_TYPE, REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE>() {
-            public PK_TYPE callbackBase_getPrimaryKeyValue(
-                    LOCAL_ENTITY_TYPE entity) {
-                return callback.callbackBase_getPrimaryKeyValue(entity);
-            }
-
-            public void callbackBase_setReferrerList(LOCAL_ENTITY_TYPE entity,
-                    List<REFERRER_ENTITY_TYPE> referrerList) {
-                callback.callbackBase_setReferrerList(entity, referrerList);
-            }
-
-            public PK_TYPE callbackReferrer_getForeignKeyValue(
-                    REFERRER_ENTITY_TYPE entity) {
-                return callback.callbackReferrer_getForeignKeyValue(entity);
-            }
-
-            public REFERRER_CB_TYPE callbackReferrer_newMyConditionBean() {
-                return callback.callbackReferrer_newMyConditionBean();
-            }
-
-            public void callbackReferrer_queryAddOrderByForeignKeyAsc(
-                    REFERRER_CB_TYPE cb) {
-                callback.callbackReferrer_queryAddOrderByForeignKeyAsc(cb);
-            }
-
-            public void callbackReferrer_queryForeignKeyInScope(
-                    REFERRER_CB_TYPE cb, List<PK_TYPE> pkList) {
-                callback.callbackReferrer_queryForeignKeyInScope(cb, pkList);
-            }
-
-            public List<REFERRER_ENTITY_TYPE> callbackReferrer_selectList(
-                    REFERRER_CB_TYPE cb) {
-                return callback.callbackReferrer_selectList(cb);
-            }
-
-            public void callbackReferrer_setForeignEntity(
-                    REFERRER_ENTITY_TYPE referrerEntity,
-                    LOCAL_ENTITY_TYPE localEntity) {
-                callback.callbackReferrer_setForeignEntity(referrerEntity,
-                        localEntity);
-            }
-        };
-        helpLoadRefererInternally(
-                localEntityList,
-                new jp.sf.pal.board.db.allcommon.bhv.load.LoadRefererOption<REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE>(
-                        loadReferrerOption), compatibleCallback);
+    protected <LOCAL_ENTITY extends Entity, PK, REFERRER_CB extends ConditionBean, REFERRER_ENTITY extends Entity> void helpLoadReferrerInternally(
+            List<LOCAL_ENTITY> localEntityList,
+            LoadReferrerOption<REFERRER_CB, REFERRER_ENTITY> loadReferrerOption,
+            InternalLoadReferrerCallback<LOCAL_ENTITY, PK, REFERRER_CB, REFERRER_ENTITY> callback) {
+        doHelpLoadReferrerInternally(localEntityList, loadReferrerOption,
+                callback);
     }
 
     /**
-     * Help load referrer internally. <br /> 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_TYPE> The type of base entity.
-     * @param <PK_TYPE> The type of primary key.
-     * @param <REFERRER_CB_TYPE> The type of referrer condition-bean.
-     * @param <REFERRER_ENTITY_TYPE> The type of referrer entity.
+     * @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.
      * @param localEntityList The list of local entity. (NotNull)
      * @param loadReferrerOption The option of loadReferrer. (NotNull)
      * @param callback The internal call-back of loadReferrer. (NotNull)
      */
-    protected <LOCAL_ENTITY_TYPE extends Entity, PK_TYPE, REFERRER_CB_TYPE extends ConditionBean, REFERRER_ENTITY_TYPE extends Entity> void doHelpLoadReferrerInternally(
-            java.util.List<LOCAL_ENTITY_TYPE> localEntityList,
-            jp.sf.pal.board.db.allcommon.bhv.load.LoadReferrerOption<REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> loadReferrerOption,
-            InternalLoadReferrerCallback<LOCAL_ENTITY_TYPE, PK_TYPE, REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> callback) {
+    protected <LOCAL_ENTITY extends Entity, PK, REFERRER_CB extends ConditionBean, REFERRER_ENTITY extends Entity> void doHelpLoadReferrerInternally(
+            List<LOCAL_ENTITY> localEntityList,
+            LoadReferrerOption<REFERRER_CB, REFERRER_ENTITY> loadReferrerOption,
+            InternalLoadReferrerCallback<LOCAL_ENTITY, PK, REFERRER_CB, REFERRER_ENTITY> callback) {
 
         // - - - - - - - - - - -
         // Assert pre-condition
@@ -503,20 +446,21 @@
         // - - - - - - - - - - - - - -
         // Prepare temporary container
         // - - - - - - - - - - - - - -
-        final java.util.Map<PK_TYPE, LOCAL_ENTITY_TYPE> pkBaseEntityMap = new java.util.LinkedHashMap<PK_TYPE, LOCAL_ENTITY_TYPE>();
-        final java.util.List<PK_TYPE> pkList = new java.util.ArrayList<PK_TYPE>();
-        for (LOCAL_ENTITY_TYPE localEntity : localEntityList) {
-            final PK_TYPE primaryKeyValue = callback
+        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);
         }
 
         // - - - - - - - - - - - - - - - -
         // Prepare referrer condition bean
         // - - - - - - - - - - - - - - - -
-        final REFERRER_CB_TYPE cb;
+        final REFERRER_CB cb;
         if (loadReferrerOption.getReferrerConditionBean() != null) {
             cb = loadReferrerOption.getReferrerConditionBean();
         } else {
@@ -535,29 +479,29 @@
                     .exchangeFirstOrderByElementForLastOne();
         }
         loadReferrerOption.delegateConditionBeanSettingUp(cb);
-        final java.util.List<REFERRER_ENTITY_TYPE> referrerList = callback
+        final List<REFERRER_ENTITY> referrerList = callback
                 .callbackReferrer_selectList(cb);
         loadReferrerOption.delegateEntitySettingUp(referrerList);
 
         // - - - - - - - - - - - - - - - - - - - - - - - -
         // Create the map of {primary key / referrer list}
         // - - - - - - - - - - - - - - - - - - - - - - - -
-        final java.util.Map<PK_TYPE, java.util.List<REFERRER_ENTITY_TYPE>> pkReffererListMap = new java.util.LinkedHashMap<PK_TYPE, java.util.List<REFERRER_ENTITY_TYPE>>();
-        for (REFERRER_ENTITY_TYPE referrerEntity : referrerList) {
-            final PK_TYPE referrerListKey;
+        final Map<PK, List<REFERRER_ENTITY>> pkReferrerListMap = new LinkedHashMap<PK, List<REFERRER_ENTITY>>();
+        for (REFERRER_ENTITY referrerEntity : referrerList) {
+            final PK referrerListKey;
             {
-                final PK_TYPE foreignKeyValue = callback
+                final PK foreignKeyValue = callback
                         .callbackReferrer_getForeignKeyValue(referrerEntity);
                 referrerListKey = toLowerCasePrimaryKeyIfString(foreignKeyValue);
             }
-            if (!pkReffererListMap.containsKey(referrerListKey)) {
-                pkReffererListMap.put(referrerListKey,
-                        new java.util.ArrayList<REFERRER_ENTITY_TYPE>());
+            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_TYPE localEntity = pkBaseEntityMap
+            final LOCAL_ENTITY localEntity = pkLocalEntityMap
                     .get(referrerListKey);
             callback.callbackReferrer_setForeignEntity(referrerEntity,
                     localEntity);
@@ -566,19 +510,19 @@
         // - - - - - - - - - - - - - - - - - -
         // Relate referrer list to base entity
         // - - - - - - - - - - - - - - - - - -
-        for (LOCAL_ENTITY_TYPE localEntity : localEntityList) {
-            final PK_TYPE referrerListKey;
+        for (LOCAL_ENTITY localEntity : localEntityList) {
+            final PK referrerListKey;
             {
-                final PK_TYPE primaryKey = callback
+                final PK primaryKey = callback
                         .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_TYPE>());
+                        new ArrayList<REFERRER_ENTITY>());
             }
         }
     }
@@ -586,58 +530,49 @@
     /**
      * To lower case for primary key if the value is string.
      * 
-     * @param <PK_TYPE> The type of primary key.
+     * @param <PK> The type of primary key.
      * @param value The value of primary key. (Nullable)
      * @return The value of primary key. (Nullable)
      */
-    protected <PK_TYPE> PK_TYPE toLowerCasePrimaryKeyIfString(PK_TYPE value) {
-        return (PK_TYPE) toLowerCaseIfString(value);
+    protected <PK> PK toLowerCasePrimaryKeyIfString(PK value) {
+        return (PK) toLowerCaseIfString(value);
     }
 
     /**
-     * @param <LOCAL_ENTITY_TYPE> The type of base entity.
-     * @param <PK_TYPE> The type of primary key.
-     * @param <REFERRER_CB_TYPE> The type of referrer condition-bean.
-     * @param <REFERRER_ENTITY_TYPE> The type of 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.
      */
-    protected static interface InternalLoadRefererCallback<LOCAL_ENTITY_TYPE extends Entity, PK_TYPE, REFERRER_CB_TYPE extends ConditionBean, REFERRER_ENTITY_TYPE extends Entity>
-            extends
-            InternalLoadReferrerCallback<LOCAL_ENTITY_TYPE, PK_TYPE, REFERRER_CB_TYPE, REFERRER_ENTITY_TYPE> {
-    }
-
-    /**
-     * @param <LOCAL_ENTITY_TYPE> The type of base entity.
-     * @param <PK_TYPE> The type of primary key.
-     * @param <REFERRER_CB_TYPE> The type of referrer conditionBean.
-     * @param <REFERRER_ENTITY_TYPE> The type of referrer entity.
-     */
-    protected static interface InternalLoadReferrerCallback<LOCAL_ENTITY_TYPE extends Entity, PK_TYPE, REFERRER_CB_TYPE extends ConditionBean, REFERRER_ENTITY_TYPE extends Entity> {
+    protected static interface InternalLoadReferrerCallback<LOCAL_ENTITY extends Entity, PK, REFERRER_CB extends ConditionBean, REFERRER_ENTITY extends Entity> {
         // For Base
-        public PK_TYPE callbackBase_getPrimaryKeyValue(LOCAL_ENTITY_TYPE entity);
+        public PK callbackBase_getPrimaryKeyValue(LOCAL_ENTITY entity);
 
-        public void callbackBase_setReferrerList(LOCAL_ENTITY_TYPE entity,
-                java.util.List<REFERRER_ENTITY_TYPE> referrerList);
+        public void callbackBase_setReferrerList(LOCAL_ENTITY entity,
+                List<REFERRER_ENTITY> referrerList);
 
         // For Referrer
-        public REFERRER_CB_TYPE callbackReferrer_newMyConditionBean();
+        public REFERRER_CB callbackReferrer_newMyConditionBean();
 
-        public void callbackReferrer_queryForeignKeyInScope(
-                REFERRER_CB_TYPE cb, java.util.List<PK_TYPE> pkList);
+        public void callbackReferrer_queryForeignKeyInScope(REFERRER_CB cb,
+                List<PK> pkList);
 
-        public void callbackReferrer_queryAddOrderByForeignKeyAsc(
-                REFERRER_CB_TYPE cb);
+        public void callbackReferrer_queryAddOrderByForeignKeyAsc(REFERRER_CB cb);
 
-        public java.util.List<REFERRER_ENTITY_TYPE> callbackReferrer_selectList(
-                REFERRER_CB_TYPE cb);
+        public List<REFERRER_ENTITY> callbackReferrer_selectList(REFERRER_CB cb);
 
-        public PK_TYPE callbackReferrer_getForeignKeyValue(
-                REFERRER_ENTITY_TYPE entity);
+        public PK callbackReferrer_getForeignKeyValue(REFERRER_ENTITY entity);
 
         public void callbackReferrer_setForeignEntity(
-                REFERRER_ENTITY_TYPE referrerEntity,
-                LOCAL_ENTITY_TYPE localEntity);
+                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();
@@ -669,25 +604,24 @@
     // =========
     // Pullout Internal Helper
     // =======================
-    protected <LOCAL_ENTITY_TYPE extends Entity, FOREIGN_ENTITY_TYPE extends Entity> java.util.List<FOREIGN_ENTITY_TYPE> helpPulloutInternally(
-            java.util.List<LOCAL_ENTITY_TYPE> localEntityList,
-            InternalPulloutCallback<LOCAL_ENTITY_TYPE, FOREIGN_ENTITY_TYPE> callback) {
+    protected <LOCAL_ENTITY extends Entity, FOREIGN_ENTITY extends Entity> List<FOREIGN_ENTITY> helpPulloutInternally(
+            List<LOCAL_ENTITY> localEntityList,
+            InternalPulloutCallback<LOCAL_ENTITY, FOREIGN_ENTITY> callback) {
         assertObjectNotNull("localEntityList", localEntityList);
-        final java.util.Set<FOREIGN_ENTITY_TYPE> foreignSet = new java.util.LinkedHashSet<FOREIGN_ENTITY_TYPE>();
-        for (LOCAL_ENTITY_TYPE entity : localEntityList) {
-            final FOREIGN_ENTITY_TYPE foreignEntity = callback
+        final Set<FOREIGN_ENTITY> foreignSet = new LinkedHashSet<FOREIGN_ENTITY>();
+        for (LOCAL_ENTITY entity : localEntityList) {
+            final FOREIGN_ENTITY foreignEntity = callback
                     .callbackGetForeignEntity(entity);
             if (foreignEntity == null || foreignSet.contains(foreignEntity)) {
                 continue;
             }
             foreignSet.add(foreignEntity);
         }
-        return new java.util.ArrayList<FOREIGN_ENTITY_TYPE>(foreignSet);
+        return new ArrayList<FOREIGN_ENTITY>(foreignSet);
     }
 
-    protected static interface InternalPulloutCallback<LOCAL_ENTITY_TYPE extends Entity, FOREIGN_ENTITY_TYPE extends Entity> {
-        public FOREIGN_ENTITY_TYPE callbackGetForeignEntity(
-                LOCAL_ENTITY_TYPE entity);
+    protected static interface InternalPulloutCallback<LOCAL_ENTITY extends Entity, FOREIGN_ENTITY extends Entity> {
+        public FOREIGN_ENTITY callbackGetForeignEntity(LOCAL_ENTITY entity);
     }
 
     //==========================================================================
@@ -700,7 +634,6 @@
     }
 
     public class TokenFileOutputExecutor {
-
         /**
          * Output token-file from this table records.
          * 
@@ -719,11 +652,11 @@
             assertStringNotNullAndNotTrimmedEmpty("filename", filename);
             assertObjectNotNull("tokenFileOutputOption", tokenFileOutputOption);
 
-            final java.util.List<Entity> ls = readList(cb);
-            java.util.List<java.util.List<String>> rowList = new java.util.ArrayList<java.util.List<String>>();
+            final List<Entity> ls = readList(cb);
+            List<List<String>> rowList = new ArrayList<List<String>>();
             for (java.util.Iterator ite = ls.iterator(); ite.hasNext();) {
                 final Entity entity = (Entity) ite.next();
-                final java.util.List<String> valueList = getDBMeta()
+                final List<String> valueList = getDBMeta()
                         .convertToColumnStringValueList(entity);
                 rowList.add(valueList);
             }
@@ -731,7 +664,7 @@
             final FileMakingOption fileMakingOption = tokenFileOutputOption
                     .getFileMakingOption();
             final FileMakingHeaderInfo fileMakingHeaderInfo = new FileMakingHeaderInfo();
-            final java.util.List<String> columnDbNameList = new java.util.ArrayList<String>();
+            final List<String> columnDbNameList = new ArrayList<String>();
             for (final java.util.Iterator ite = getDBMeta().getColumnInfoList()
                     .iterator(); ite.hasNext();) {
                 final ColumnInfo columnInfo = (ColumnInfo) ite.next();
@@ -757,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());
     }
 
     /**
@@ -768,11 +698,8 @@
      * 
      * @return All list. (NotNull)
      */
-    protected java.util.List<Entity> callGetListAll() {
-        final java.lang.reflect.Method mtd = getMethod(getDaoReadable()
-                .getClass(), "getListAll", new Class[] {});
-        final Object result = invoke(mtd, getDaoReadable(), new Object[] {});
-        return (java.util.List<Entity>) result;
+    protected List<Entity> callGetListAll() {
+        return readList(newConditionBean());
     }
 
     /**
@@ -799,17 +726,16 @@
      * @return Read list. If the select result is zero, it returns empty list.
      *         (NotNull)
      */
-    protected java.util.List<Entity> callReadList(ConditionBean cb) {
+    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 (java.util.List<Entity>) result;
+        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) {
@@ -819,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) {
@@ -851,8 +776,8 @@
 
     //==========================================================================
     // =========
-    // Helper
-    // ======
+    // General Helper
+    // ==============
     /**
      * To lower case if the type is String.
      * 
@@ -872,15 +797,15 @@
      * @return The value of line separator. (NotNull)
      */
     protected String getLineSeparator() {
-        return System.getProperty("line.separator");
+        return SimpleSystemUtil.getLineSeparator();
     }
 
-    protected <ENTITY_TYPE extends Entity> ENTITY_TYPE helpDowncastInternally(
-            Entity entity, Class<ENTITY_TYPE> clazz) {
+    protected <ENTITY extends Entity> ENTITY helpDowncastInternally(
+            Entity entity, Class<ENTITY> clazz) {
         assertObjectNotNull("entity", entity);
         assertObjectNotNull("clazz", clazz);
         try {
-            return (ENTITY_TYPE) entity;
+            return (ENTITY) entity;
         } catch (ClassCastException e) {
             String msg = "The entity should be " + clazz.getSimpleName()
                     + " but it was: " + entity.getClass();
@@ -971,7 +896,7 @@
      * 
      * @param ls List. (NotNull)
      */
-    protected void assertListNotNullAndEmpty(java.util.List ls) {
+    protected void assertListNotNullAndEmpty(List ls) {
         assertObjectNotNull("ls", ls);
         if (!ls.isEmpty()) {
             String msg = "The list should be empty: ls=" + ls.toString();
@@ -984,7 +909,7 @@
      * 
      * @param ls List. (NotNull)
      */
-    protected void assertListNotNullAndNotEmpty(java.util.List ls) {
+    protected void assertListNotNullAndNotEmpty(List ls) {
         assertObjectNotNull("ls", ls);
         if (ls.isEmpty()) {
             String msg = "The list should not be empty: ls=" + ls.toString();
@@ -997,7 +922,7 @@
      * 
      * @param ls List. (NotNull)
      */
-    protected void assertListNotNullAndHasOnlyOne(java.util.List ls) {
+    protected void assertListNotNullAndHasOnlyOne(List ls) {
         assertObjectNotNull("ls", ls);
         if (ls.size() != 1) {
             String msg = "The list should contain only one object: ls="

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorWritable.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorWritable.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/AbstractBehaviorWritable.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -163,8 +163,8 @@
     // -----------------------------------------------------
     // Update
     // ------
-    protected <ENTITY_TYPE extends Entity> void helpUpdateInternally(
-            ENTITY_TYPE entity, InternalUpdateCallback<ENTITY_TYPE> callback) {
+    protected <ENTITY extends Entity> void helpUpdateInternally(ENTITY entity,
+            InternalUpdateCallback<ENTITY> callback) {
         assertEntityNotNull(entity);
         assertEntityHasVersionNoValue(entity);
         assertEntityHasUpdateDateValue(entity);
@@ -183,13 +183,12 @@
         }
     }
 
-    protected static interface InternalUpdateCallback<ENTITY_TYPE extends Entity> {
-        public int callbackDelegateUpdate(ENTITY_TYPE entity);
+    protected static interface InternalUpdateCallback<ENTITY extends Entity> {
+        public int callbackDelegateUpdate(ENTITY entity);
     }
 
-    protected <ENTITY_TYPE extends Entity> void helpUpdateNonstrictInternally(
-            ENTITY_TYPE entity,
-            InternalUpdateNonstrictCallback<ENTITY_TYPE> callback) {
+    protected <ENTITY extends Entity> void helpUpdateNonstrictInternally(
+            ENTITY entity, InternalUpdateNonstrictCallback<ENTITY> callback) {
         assertEntityNotNull(entity);
         final int updatedCount = callback
                 .callbackDelegateUpdateNonstrict(entity);
@@ -205,16 +204,16 @@
         }
     }
 
-    protected static interface InternalUpdateNonstrictCallback<ENTITY_TYPE extends Entity> {
-        public int callbackDelegateUpdateNonstrict(ENTITY_TYPE entity);
+    protected static interface InternalUpdateNonstrictCallback<ENTITY extends Entity> {
+        public int callbackDelegateUpdateNonstrict(ENTITY entity);
     }
 
     // -----------------------------------------------------
     // InsertOrUpdate
     // --------------
-    protected <ENTITY_TYPE extends Entity, CB_TYPE extends ConditionBean> void helpInsertOrUpdateInternally(
-            ENTITY_TYPE entity,
-            InternalInsertOrUpdateCallback<ENTITY_TYPE, CB_TYPE> callback) {
+    protected <ENTITY extends Entity, CB_TYPE extends ConditionBean> void helpInsertOrUpdateInternally(
+            ENTITY entity,
+            InternalInsertOrUpdateCallback<ENTITY, CB_TYPE> callback) {
         assertEntityNotNull(entity);
         if (!entity.hasPrimaryKeyValue()) {
             callback.callbackInsert(entity);
@@ -244,19 +243,19 @@
         }
     }
 
-    protected static interface InternalInsertOrUpdateCallback<ENTITY_TYPE extends Entity, CB_TYPE extends ConditionBean> {
-        public void callbackInsert(ENTITY_TYPE entity);
+    protected static interface InternalInsertOrUpdateCallback<ENTITY extends Entity, CB_TYPE extends ConditionBean> {
+        public void callbackInsert(ENTITY entity);
 
-        public void callbackUpdate(ENTITY_TYPE entity);
+        public void callbackUpdate(ENTITY entity);
 
         public CB_TYPE callbackNewMyConditionBean();
 
         public int callbackSelectCount(CB_TYPE cb);
     }
 
-    protected <ENTITY_TYPE extends Entity> void helpInsertOrUpdateInternally(
-            ENTITY_TYPE entity,
-            InternalInsertOrUpdateNonstrictCallback<ENTITY_TYPE> callback) {
+    protected <ENTITY extends Entity> void helpInsertOrUpdateInternally(
+            ENTITY entity,
+            InternalInsertOrUpdateNonstrictCallback<ENTITY> callback) {
         assertEntityNotNull(entity);
         if (!entity.hasPrimaryKeyValue()) {
             callback.callbackInsert(entity);
@@ -271,17 +270,17 @@
         }
     }
 
-    protected static interface InternalInsertOrUpdateNonstrictCallback<ENTITY_TYPE extends Entity> {
-        public void callbackInsert(ENTITY_TYPE entity);
+    protected static interface InternalInsertOrUpdateNonstrictCallback<ENTITY extends Entity> {
+        public void callbackInsert(ENTITY entity);
 
-        public void callbackUpdateNonstrict(ENTITY_TYPE entity);
+        public void callbackUpdateNonstrict(ENTITY entity);
     }
 
     // -----------------------------------------------------
     // Delete
     // ------
-    protected <ENTITY_TYPE extends Entity> void helpDeleteInternally(
-            ENTITY_TYPE entity, InternalDeleteCallback<ENTITY_TYPE> callback) {
+    protected <ENTITY extends Entity> void helpDeleteInternally(ENTITY entity,
+            InternalDeleteCallback<ENTITY> callback) {
         assertEntityNotNull(entity);
         assertEntityHasVersionNoValue(entity);
         assertEntityHasUpdateDateValue(entity);
@@ -300,13 +299,12 @@
         }
     }
 
-    protected static interface InternalDeleteCallback<ENTITY_TYPE extends Entity> {
-        public int callbackDelegateDelete(ENTITY_TYPE entity);
+    protected static interface InternalDeleteCallback<ENTITY extends Entity> {
+        public int callbackDelegateDelete(ENTITY entity);
     }
 
-    protected <ENTITY_TYPE extends Entity> void helpDeleteNonstrictInternally(
-            ENTITY_TYPE entity,
-            InternalDeleteNonstrictCallback<ENTITY_TYPE> callback) {
+    protected <ENTITY extends Entity> void helpDeleteNonstrictInternally(
+            ENTITY entity, InternalDeleteNonstrictCallback<ENTITY> callback) {
         assertEntityNotNull(entity);
         final int deletedCount = callback
                 .callbackDelegateDeleteNonstrict(entity);
@@ -324,13 +322,13 @@
         }
     }
 
-    protected static interface InternalDeleteNonstrictCallback<ENTITY_TYPE extends Entity> {
-        public int callbackDelegateDeleteNonstrict(ENTITY_TYPE entity);
+    protected static interface InternalDeleteNonstrictCallback<ENTITY extends Entity> {
+        public int callbackDelegateDeleteNonstrict(ENTITY entity);
     }
 
-    protected <ENTITY_TYPE extends Entity> void helpDeleteNonstrictIgnoreDeletedInternally(
-            ENTITY_TYPE entity,
-            InternalDeleteNonstrictIgnoreDeletedCallback<ENTITY_TYPE> callback) {
+    protected <ENTITY extends Entity> void helpDeleteNonstrictIgnoreDeletedInternally(
+            ENTITY entity,
+            InternalDeleteNonstrictIgnoreDeletedCallback<ENTITY> callback) {
         assertEntityNotNull(entity);
         final int deletedCount = callback
                 .callbackDelegateDeleteNonstrict(entity);
@@ -345,8 +343,8 @@
         }
     }
 
-    protected static interface InternalDeleteNonstrictIgnoreDeletedCallback<ENTITY_TYPE extends Entity> {
-        public int callbackDelegateDeleteNonstrict(ENTITY_TYPE entity);
+    protected static interface InternalDeleteNonstrictIgnoreDeletedCallback<ENTITY extends Entity> {
+        public int callbackDelegateDeleteNonstrict(ENTITY entity);
     }
 
     //==========================================================================

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/load/LoadReferrerOption.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/load/LoadReferrerOption.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/load/LoadReferrerOption.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,7 @@
 package jp.sf.pal.board.db.allcommon.bhv.load;
 
+import java.util.List;
+
 import jp.sf.pal.board.db.allcommon.Entity;
 import jp.sf.pal.board.db.allcommon.bhv.setup.ConditionBeanSetupper;
 import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/setup/EntityListSetupper.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/setup/EntityListSetupper.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/bhv/setup/EntityListSetupper.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,7 @@
 package jp.sf.pal.board.db.allcommon.bhv.setup;
 
+import java.util.List;
+
 import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/AbstractConditionBean.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/AbstractConditionBean.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/AbstractConditionBean.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -186,6 +186,19 @@
         throw new UnsupportedOperationException(msg);
     }
 
+    // * * * * * * * *
+    // For Framework
+    // * * * * * * * *
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean isCountLater() {
+        String msg = "This method is unsupported on ConditionBean!";
+        throw new UnsupportedOperationException(msg);
+    }
+
     // -----------------------------------------------------
     // Paging Setting
     // --------------
@@ -1024,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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBean.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBean.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBean.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBeanContext.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBeanContext.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ConditionBeanContext.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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.board.db.allcommon.cbean.coption.FromToOption.class;
+            Class<?> clazz = jp.sf.pal.board.db.allcommon.AccessContext.class;
+            clazz = jp.sf.pal.board.db.allcommon.CallbackContext.class;
+            clazz = jp.sf.pal.board.db.allcommon.cbean.coption.FromToOption.class;
             clazz = jp.sf.pal.board.db.allcommon.cbean.coption.LikeSearchOption.class;
             clazz = jp.sf.pal.board.db.allcommon.cbean.coption.InScopeOption.class;
             clazz = jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ListResultBean.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ListResultBean.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ListResultBean.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,7 +1,11 @@
 package jp.sf.pal.board.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.board.db.allcommon.cbean.grouping.GroupingOption;
 import jp.sf.pal.board.db.allcommon.cbean.grouping.GroupingRowEndDeterminer;
@@ -11,13 +15,12 @@
 import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingBean.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingBean.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingBean.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -21,6 +21,16 @@
      */
     public boolean isPaging();
 
+    // * * * * * * * *
+    // For Framework
+    // * * * * * * * *
+    /**
+     * Is the count executed later?
+     * 
+     * @return Determination.
+     */
+    public boolean isCountLater();
+
     //==========================================================================
     // =========
     // Paging Setting
@@ -47,7 +57,7 @@
     // =============
     /**
      * Fetch first. <br /> If you invoke this, your SQL returns [fetch-size]
-     * records from first. <br />
+     * records from first.
      * 
      * @param fetchSize The size of fetch. (NotMinus & NotZero)
      * @return this. (NotNull)
@@ -56,7 +66,7 @@
 
     /**
      * Fetch scope. <br /> If you invoke this, your SQL returns [fetch-size]
-     * records from [fetch-start-index]. <br />
+     * records from [fetch-start-index].
      * 
      * @param fetchStartIndex The start index of fetch. 0 origin. (NotMinus)
      * @param fetchSize The size of fetch. (NotMinus & NotZero)
@@ -69,8 +79,7 @@
      * invoke 'fetchFirst()' or 'fetchScope()' ahead of that. <br /> But you
      * also can use default-fetch-size without invoking 'fetchFirst()' or
      * 'fetchScope()'. <br /> If you invoke this, your SQL returns [fetch-size]
-     * records from [fetch-start-index] calculated by [fetch-page-number]. <br
-     * />
+     * records from [fetch-start-index] calculated by [fetch-page-number].
      * 
      * @param fetchPageNumber The page number of fetch. 1 origin. (NotMinus &
      *            NotZero: If minus or zero, set one.)

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,7 @@
 package jp.sf.pal.board.db.allcommon.cbean;
 
+import java.util.List;
+
 /**
  * The handler of paging.
  * 
@@ -27,5 +29,5 @@
      * 
      * @return The list of entity. (NotNull)
      */
-    public java.util.List<ENTITY> paging();
+    public List<ENTITY> paging();
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingInvoker.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingInvoker.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingInvoker.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,7 @@
 package jp.sf.pal.board.db.allcommon.cbean;
 
+import java.util.List;
+
 /**
  * The invoker of paging.
  * 
@@ -14,6 +16,8 @@
     // =========
     protected String _tableDbName;
 
+    protected boolean _countLater;
+
     //==========================================================================
     // =========
     // Constructor
@@ -43,8 +47,15 @@
             msg = msg + " The paging bean is: " + pagingBean;
             throw new IllegalStateException(msg);
         }
-        final int allRecordCount = handler.count();
-        final java.util.List<ENTITY> selectedList = handler.paging();
+        final int allRecordCount;
+        final List<ENTITY> selectedList;
+        if (_countLater) {
+            selectedList = handler.paging();
+            allRecordCount = handler.count();
+        } else {
+            allRecordCount = handler.count();
+            selectedList = handler.paging();
+        }
         final PagingResultBean<ENTITY> rb = new ResultBeanBuilder<ENTITY>(
                 _tableDbName).buildPagingResultBean(pagingBean, allRecordCount,
                 selectedList);
@@ -72,6 +83,15 @@
 
     //==========================================================================
     // =========
+    // Option
+    // ======
+    public PagingInvoker<ENTITY> countLater() {
+        _countLater = true;
+        return this;
+    }
+
+    //==========================================================================
+    // =========
     // Helper
     // ======
     /**

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingResultBean.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingResultBean.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/PagingResultBean.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -7,7 +7,7 @@
 import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ResultBeanBuilder.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ResultBeanBuilder.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/ResultBeanBuilder.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/SimplePagingBean.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/SimplePagingBean.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/SimplePagingBean.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -32,6 +32,9 @@
     /** Is the execution for paging(NOT count)? */
     protected boolean _paging = true;
 
+    /** Is the count executed later? */
+    protected boolean _countLater;
+
     /** Is fetch narrowing valid? */
     protected boolean _fetchNarrowing = true;
 
@@ -57,6 +60,18 @@
         return _paging;
     }
 
+    // * * * * * * * *
+    // For Framework
+    // * * * * * * * *
+    /**
+     * The implementation.
+     * 
+     * @return Determination.
+     */
+    public boolean isCountLater() {
+        return _countLater;
+    }
+
     // -----------------------------------------------------
     // Paging Setting
     // --------------
@@ -90,12 +105,8 @@
     // Fetch Setting
     // -------------
     /**
-     * Fetch first.
+     * The implementation.
      * 
-     * <pre>
-     * If you invoke this, your SQL returns [fetch-size] records from first.
-     * </pre>
-     * 
      * @param fetchSize Fetch-size. (NotMinus & NotZero)
      * @return this. (NotNull)
      */
@@ -105,12 +116,8 @@
     }
 
     /**
-     * Fetch scope.
+     * The implementation.
      * 
-     * <pre>
-     * If you invoke this, your SQL returns [fetch-size] records from [fetch-start-index].
-     * </pre>
-     * 
      * @param fetchStartIndex Fetch-start-index. 0 origin. (NotMinus)
      * @param fetchSize Fetch-size. (NotMinus & NotZero)
      * @return this. (NotNull)
@@ -121,14 +128,8 @@
     }
 
     /**
-     * Fetch page.
+     * The implementation.
      * 
-     * <pre>
-     * When you invoke this, it is normally necessary to invoke 'fetchFirst()' or 'fetchScope()' ahead of that.
-     *  But you also can use default-fetch-size without invoking 'fetchFirst()' or 'fetchScope()'.
-     *  If you invoke this, your SQL returns [fetch-size] records from [fetch-start-index] calculated by [fetch-page-number].
-     * </pre>
-     * 
      * @param fetchPageNumber Fetch-page-number. 1 origin. (NotMinus & NotZero:
      *            If minus or zero, set one.)
      * @return this. (NotNull)

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingOption.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingOption.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingOption.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,7 +1,7 @@
 package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowEndDeterminer.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,13 +1,24 @@
 package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowResource.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowResource.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowResource.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,8 @@
 package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowSetupper.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowSetupper.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/grouping/GroupingRowSetupper.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,7 +1,7 @@
 package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlBasicExecutor.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -2,6 +2,8 @@
 
 import java.util.List;
 
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlDao;
 import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlOption;
 import jp.sf.pal.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlCursorExecutor.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlEntityExecutor.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -48,8 +48,9 @@
      * @param entityType The type of entity. (NotNull)
      * @return The selected entity. (Nullable)
      * @exception jp.sf.pal.board.db.allcommon.exception.OutsideSqlNotFoundException
-     *                When the sql is not found.
+     *                When the outside-sql is not found.
      * @exception jp.sf.pal.board.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.board.db.allcommon.exception.OutsideSqlNotFoundException
-     *                When the sql is not found.
+     *                When the outside-sql is not found.
      * @exception jp.sf.pal.board.db.allcommon.exception.EntityAlreadyDeletedException
      *                When the entity has already been deleted(not found).
      * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/outsidesql/executor/OutsideSqlPagingExecutor.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -3,10 +3,12 @@
 import java.util.List;
 
 import jp.sf.pal.board.db.allcommon.DBFluteConfig;
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
 import jp.sf.pal.board.db.allcommon.cbean.PagingBean;
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlDao;
 import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlOption;
 import jp.sf.pal.board.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.board.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) {
@@ -129,13 +169,16 @@
                         Integer.class);
             }
 
-            public java.util.List<ENTITY> paging() {
+            public List<ENTITY> paging() {
                 pmb.xsetPaging(true);
                 return selectList(path, pmb, entityType);
             }
         };
         final PagingInvoker<ENTITY> invoker = new PagingInvoker<ENTITY>(
                 _tableDbName);
+        if (pmb.isCountLater()) {
+            invoker.countLater();
+        }
         return invoker.invokePaging(handler);
     }
 
@@ -166,11 +209,6 @@
     // =========
     // Option
     // ======
-    public OutsideSqlCursorExecutor<PagingBean> cursorHandling() {
-        return new OutsideSqlCursorExecutor<PagingBean>(_outsideSqlDao,
-                _outsideSqlOption);
-    }
-
     public OutsideSqlPagingExecutor configure(StatementConfig statementConfig) {
         _outsideSqlOption.setStatementConfig(statementConfig);
         return this;

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/AbstractSqlClause.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/AbstractSqlClause.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/AbstractSqlClause.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1300,7 +1300,7 @@
     /**
      * The implementation.
      * 
-     * @return Determiantion.
+     * @return Determination.
      */
     public boolean isFetchNarrowingEffective() {
         return _isFetchScopeEffective;
@@ -1401,6 +1401,13 @@
     // ===========
     // Selected Foreign Info
     // =====================
+    public boolean isSelectedForeignInfoEmpty() {
+        if (_selectedForeignInfo == null) {
+            return true;
+        }
+        return _selectedForeignInfo.isEmpty();
+    }
+
     public boolean hasSelectedForeignInfo(String relationPath) {
         if (_selectedForeignInfo == null) {
             return false;

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByClause.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByClause.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByClause.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,6 @@
 package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByElement.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByElement.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/OrderByElement.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,5 +1,6 @@
 package jp.sf.pal.board.db.allcommon.cbean.sqlclause;
 
+import java.io.Serializable;
 import java.util.Map;
 
 import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/SqlClause.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/SqlClause.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/cbean/sqlclause/SqlClause.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -552,6 +552,8 @@
     // =========
     // Selected Foreign Info
     // =====================
+    public boolean isSelectedForeignInfoEmpty();
+
     public boolean hasSelectedForeignInfo(String relationPath);
 
     public void registerSelectedForeignInfo(String relationPath,

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/AbstractDBMeta.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/AbstractDBMeta.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/AbstractDBMeta.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -550,6 +550,10 @@
         return false;
     }
 
+    public String getSequenceNextValSql() {
+        return null;
+    }
+
     public boolean hasVersionNo() {
         return false;
     }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMeta.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMeta.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMeta.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMetaInstanceHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMetaInstanceHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/dbmeta/DBMetaInstanceHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -34,12 +34,22 @@
                         "jp.sf.pal.board.db.bsentity.dbmeta.CategoryDbm");
         tmpMap.put("CATEGORY_ACCESS",
                 "jp.sf.pal.board.db.bsentity.dbmeta.CategoryAccessDbm");
+        tmpMap.put("GROUP_INFO",
+                "jp.sf.pal.board.db.bsentity.dbmeta.GroupInfoDbm");
+        tmpMap.put("GROUP_MAPPING",
+                "jp.sf.pal.board.db.bsentity.dbmeta.GroupMappingDbm");
         tmpMap.put("MESSAGE", "jp.sf.pal.board.db.bsentity.dbmeta.MessageDbm");
         tmpMap.put("MESSAGE_ATTACHMENT",
                 "jp.sf.pal.board.db.bsentity.dbmeta.MessageAttachmentDbm");
         tmpMap.put("MESSAGE_CONTENT",
                 "jp.sf.pal.board.db.bsentity.dbmeta.MessageContentDbm");
         tmpMap.put("REPLY", "jp.sf.pal.board.db.bsentity.dbmeta.ReplyDbm");
+        tmpMap.put("ROLE_INFO",
+                "jp.sf.pal.board.db.bsentity.dbmeta.RoleInfoDbm");
+        tmpMap.put("ROLE_MAPPING",
+                "jp.sf.pal.board.db.bsentity.dbmeta.RoleMappingDbm");
+        tmpMap.put("USER_INFO",
+                "jp.sf.pal.board.db.bsentity.dbmeta.UserInfoDbm");
 
         _tableDbNameClassNameMap = Collections.unmodifiableMap(tmpMap);
     }
@@ -52,10 +62,15 @@
         tmpMap.put("ATTACHMENT".toLowerCase(), "attachment");
         tmpMap.put("CATEGORY".toLowerCase(), "category");
         tmpMap.put("CATEGORY_ACCESS".toLowerCase(), "categoryAccess");
+        tmpMap.put("GROUP_INFO".toLowerCase(), "groupInfo");
+        tmpMap.put("GROUP_MAPPING".toLowerCase(), "groupMapping");
         tmpMap.put("MESSAGE".toLowerCase(), "message");
         tmpMap.put("MESSAGE_ATTACHMENT".toLowerCase(), "messageAttachment");
         tmpMap.put("MESSAGE_CONTENT".toLowerCase(), "messageContent");
         tmpMap.put("REPLY".toLowerCase(), "reply");
+        tmpMap.put("ROLE_INFO".toLowerCase(), "roleInfo");
+        tmpMap.put("ROLE_MAPPING".toLowerCase(), "roleMapping");
+        tmpMap.put("USER_INFO".toLowerCase(), "userInfo");
 
         _tableDbNamePropertyNameKeyToLowerMap = Collections
                 .unmodifiableMap(tmpMap);
@@ -69,10 +84,15 @@
         tmpMap.put("attachment".toLowerCase(), "ATTACHMENT");
         tmpMap.put("category".toLowerCase(), "CATEGORY");
         tmpMap.put("categoryAccess".toLowerCase(), "CATEGORY_ACCESS");
+        tmpMap.put("groupInfo".toLowerCase(), "GROUP_INFO");
+        tmpMap.put("groupMapping".toLowerCase(), "GROUP_MAPPING");
         tmpMap.put("message".toLowerCase(), "MESSAGE");
         tmpMap.put("messageAttachment".toLowerCase(), "MESSAGE_ATTACHMENT");
         tmpMap.put("messageContent".toLowerCase(), "MESSAGE_CONTENT");
         tmpMap.put("reply".toLowerCase(), "REPLY");
+        tmpMap.put("roleInfo".toLowerCase(), "ROLE_INFO");
+        tmpMap.put("roleMapping".toLowerCase(), "ROLE_MAPPING");
+        tmpMap.put("userInfo".toLowerCase(), "USER_INFO");
 
         _tablePropertyNameDbNameKeyToLowerMap = Collections
                 .unmodifiableMap(tmpMap);
@@ -133,7 +153,8 @@
      * </pre>
      * 
      * @param tableFlexibleName Table flexible-name. (NotNull)
-     * @return Instance. (NotNull)
+     * @return The instance of dbmeta. (NotNull)
+     * @exception DBMetaNotFoundException When the dbmeta is not found.
      */
     public static DBMeta findDBMeta(String tableFlexibleName) {
         assertStringNotNullAndNotTrimmedEmpty("tableFlexibleName",
@@ -158,15 +179,23 @@
         if (dotLastIndex >= 0) {
             try {
                 return findDBMeta(tableFlexibleName.substring(dotLastIndex + 1));
-            } catch (IllegalStateException e) {
+            } catch (DBMetaNotFoundException e) {
                 // Nothing
             }
         }
         String msg = "The instance map returned null by the key: key="
                 + tableFlexibleName + " instanceMap=" + _tableDbNameInstanceMap;
-        throw new IllegalStateException(msg);
+        throw new DBMetaNotFoundException(msg);
     }
 
+    public static class DBMetaNotFoundException extends IllegalStateException {
+        private static final long serialVersionUID = 1L;
+
+        public DBMetaNotFoundException(String msg) {
+            super(msg);
+        }
+    }
+
     /**
      * Get instance by table DB-name.
      * 
@@ -179,7 +208,7 @@
         if (instance == null) {
             String msg = "The instance map returned null by the key: key="
                     + tableDbName + " instanceMap=" + _tableDbNameInstanceMap;
-            throw new IllegalStateException(msg);
+            throw new DBMetaNotFoundException(msg);
         }
         return instance;
     }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/character/impl/GeneralCharacterImpl.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/character/impl/GeneralCharacterImpl.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/character/impl/GeneralCharacterImpl.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -75,7 +75,7 @@
             if (currentChar >= 0xff01 && currentChar <= 0xff5e) {
                 sb.append(toSingleByteCharacter(currentChar));
 
-                // TODO: @jflute - I will append mark...
+                // It needs to append more mark...
             } else if (currentChar == '\u2019' || currentChar == '\u2018'
                     || currentChar == '\u2032') {
                 sb.append('\'');
@@ -88,7 +88,6 @@
                 sb.append('-');
             } else if (currentChar == '\uff5e') {
                 sb.append('~');
-
             } else {
                 sb.append(currentChar);
             }

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractingResource.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractingResource.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractingResource.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,17 @@
+package jp.sf.pal.board.db.allcommon.helper.stacktrace;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public interface InvokeNameExtractingResource {
+
+    public boolean isTargetElement(String className, String methodName);
+
+    public String filterSimpleClassName(String simpleClassName);
+
+    public boolean isUseAdditionalInfo();
+
+    public int getStartIndex();
+
+    public int getLoopSize();
+}
\ No newline at end of file


Property changes on: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractingResource.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractor.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractor.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractor.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,16 @@
+package jp.sf.pal.board.db.allcommon.helper.stacktrace;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public interface InvokeNameExtractor {
+
+    /**
+     * @param resource the call-back resource for invoke-name-extracting.
+     *            (NotNull)
+     * @return The result of invoke name. (NotNull: If not found, returns empty
+     *         string.)
+     */
+    public InvokeNameResult extractInvokeName(
+            InvokeNameExtractingResource resource);
+}
\ No newline at end of file


Property changes on: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameExtractor.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameResult.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameResult.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameResult.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,86 @@
+package jp.sf.pal.board.db.allcommon.helper.stacktrace;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InvokeNameResult {
+
+    //==========================================================================
+    // ================
+    // Attribute
+    // =========
+    protected String _simpleClassName;
+
+    protected String _methodName;
+
+    protected String _invokeName;
+
+    protected int _foundIndex;
+
+    protected int _foundFirstIndex;
+
+    //==========================================================================
+    // ================
+    // Manipulation
+    // ============
+    public int getNextStartIndex() {
+        return _foundIndex + 1;
+    }
+
+    public void beEmptyResult() {
+        _simpleClassName = null;
+        _invokeName = ""; // As Default
+    }
+
+    //==========================================================================
+    // ================
+    // Determination
+    // =============
+    public boolean isEmptyResult() {
+        return _simpleClassName == null;
+    }
+
+    //==========================================================================
+    // ================
+    // Accessor
+    // ========
+    public String getSimpleClassName() {
+        return _simpleClassName;
+    }
+
+    public void setSimpleClassName(String simpleClassName) {
+        _simpleClassName = simpleClassName;
+    }
+
+    public String getMethodName() {
+        return _methodName;
+    }
+
+    public void setMethodName(String methodName) {
+        _methodName = methodName;
+    }
+
+    public String getInvokeName() {
+        return _invokeName;
+    }
+
+    public void setInvokeName(String invokeName) {
+        _invokeName = invokeName;
+    }
+
+    public int getFoundIndex() {
+        return _foundIndex;
+    }
+
+    public void setFoundIndex(int foundIndex) {
+        _foundIndex = foundIndex;
+    }
+
+    public int getFoundFirstIndex() {
+        return _foundFirstIndex;
+    }
+
+    public void setFoundFirstIndex(int foundFirstIndex) {
+        _foundFirstIndex = foundFirstIndex;
+    }
+}
\ No newline at end of file


Property changes on: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/InvokeNameResult.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/impl/InvokeNameExtractorImpl.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/impl/InvokeNameExtractorImpl.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/impl/InvokeNameExtractorImpl.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,103 @@
+package jp.sf.pal.board.db.allcommon.helper.stacktrace.impl;
+
+import jp.sf.pal.board.db.allcommon.helper.stacktrace.InvokeNameExtractingResource;
+import jp.sf.pal.board.db.allcommon.helper.stacktrace.InvokeNameExtractor;
+import jp.sf.pal.board.db.allcommon.helper.stacktrace.InvokeNameResult;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InvokeNameExtractorImpl implements InvokeNameExtractor {
+
+    //==========================================================================
+    // ================
+    // Attribute
+    // =========
+    protected StackTraceElement[] _stackTrace;
+
+    //==========================================================================
+    // ================
+    // Main
+    // ====
+    /**
+     * @param resource the call-back resource for invoke-name-extracting.
+     *            (NotNull)
+     * @return Invoke name. (NotNull: If not found, returns empty string.)
+     */
+    public InvokeNameResult extractInvokeName(
+            InvokeNameExtractingResource resource) {
+        if (_stackTrace == null) {
+            String msg = "The attribute 'stackTrace' should not be null: resource="
+                    + resource;
+            throw new IllegalStateException(msg);
+        }
+        String targetSimpleClassName = null;
+        String targetMethodName = null;
+        int lineNumber = 0;
+        int foundIndex = -1; // The minus one means 'Not Found'.
+        int foundFirstIndex = -1; // The minus one means 'Not Found'.
+        boolean onTarget = false;
+        for (int i = resource.getStartIndex(); i < _stackTrace.length; i++) {
+            final StackTraceElement element = _stackTrace[i];
+            if (i > resource.getStartIndex() + resource.getLoopSize()) {
+                break;
+            }
+            final String className = element.getClassName();
+            if (className.startsWith("sun.") || className.startsWith("java.")) {
+                if (onTarget) {
+                    break;
+                }
+                continue;
+            }
+            final String methodName = element.getMethodName();
+            if (resource.isTargetElement(className, methodName)) {
+                if (methodName.equals("invoke")) {
+                    continue;
+                }
+                targetSimpleClassName = className.substring(className
+                        .lastIndexOf(".") + 1);
+                targetMethodName = methodName;
+                if (resource.isUseAdditionalInfo()) {
+                    lineNumber = element.getLineNumber();
+                }
+                foundIndex = i;
+                if (foundFirstIndex == -1) {
+                    foundFirstIndex = i;
+                }
+                onTarget = true;
+                continue;
+            }
+            if (onTarget) {
+                break;
+            }
+        }
+        final InvokeNameResult result = new InvokeNameResult();
+        if (targetSimpleClassName == null) {
+            result.beEmptyResult(); // Not Found! It sets empty result.
+            return result;
+        }
+        final String filteredClassName = resource
+                .filterSimpleClassName(targetSimpleClassName);
+        result.setSimpleClassName(resource
+                .filterSimpleClassName(targetSimpleClassName));
+        result.setMethodName(targetMethodName);
+        if (lineNumber > 0) {
+            result.setInvokeName(filteredClassName + "." + targetMethodName
+                    + "():" + lineNumber + " --> ");
+        } else {
+            result.setInvokeName(filteredClassName + "." + targetMethodName
+                    + "() --> ");
+        }
+        result.setFoundIndex(foundIndex);
+        result.setFoundFirstIndex(foundFirstIndex);
+        return result;
+    }
+
+    //==========================================================================
+    // ================
+    // Accessor
+    // ========
+    public void setStackTrace(StackTraceElement[] stackTrace) {
+        _stackTrace = stackTrace;
+    }
+}
\ No newline at end of file


Property changes on: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/stacktrace/impl/InvokeNameExtractorImpl.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/token/line/impl/LineTokenImpl.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/token/line/impl/LineTokenImpl.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/helper/token/line/impl/LineTokenImpl.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/CursorHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/CursorHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/CursorHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,7 +1,10 @@
 package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/SqlLogHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/SqlLogHandler.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/SqlLogHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,18 @@
+package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/jdbc/SqlLogHandler.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/FetchNarrowingResultSetFactory.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/FetchNarrowingResultSetFactory.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/FetchNarrowingResultSetFactory.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -5,15 +5,13 @@
 import java.sql.SQLException;
 import java.sql.Statement;
 
-import jp.sf.pal.board.db.allcommon.cbean.FetchNarrowingBean;
-import jp.sf.pal.board.db.allcommon.cbean.FetchNarrowingBeanContext;
-import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlContext;
 import jp.sf.pal.board.db.allcommon.s2dao.internal.sqlhandler.InternalBasicHandler.SQLExceptionHandler;
 
 import org.seasar.extension.jdbc.ResultSetFactory;
 
 /**
- * Fetch narrowing result set factory.
+ * This is unused in DBFlute so this is very NORMAL result-set-factory for
+ * S2Dao.
  * 
  * @author DBFlute(AutoGenerator)
  */
@@ -39,7 +37,7 @@
      * @param statement Statement. (NotNull)
      * @return Result set for procedure executing of s2dao. (NotNull)
      */
-    public ResultSet getResultSet(Statement statement) {
+    public ResultSet getResultSet(Statement statement) { // Unused in DBFlute
         return doGetResultSet(statement);
     }
 
@@ -49,52 +47,55 @@
      * @param ps Prepared statement. (NotNull)
      * @return Result set. (NotNull)
      */
-    public ResultSet createResultSet(PreparedStatement ps) {
-        final ResultSet resultSet = executeQuery(ps);
+    public ResultSet createResultSet(PreparedStatement ps) { // Unused in
+        // DBFlute
+        return executeQuery(ps);
 
-        if (!FetchNarrowingBeanContext.isExistFetchNarrowingBeanOnThread()) {
-            return resultSet;
-        }
-        final FetchNarrowingBean cb = FetchNarrowingBeanContext
-                .getFetchNarrowingBeanOnThread();
-        if (!isUseFetchNarrowingResultSetWrapper(cb)) {
-            return resultSet;
-        }
-        final FetchNarrowingResultSetWrapper wrapper;
-        if (OutsideSqlContext.isExistOutsideSqlContextOnThread()) {
-            final OutsideSqlContext outsideSqlContext = OutsideSqlContext
-                    .getOutsideSqlContextOnThread();
-            wrapper = new FetchNarrowingResultSetWrapper(resultSet, cb,
-                    outsideSqlContext.isOffsetByCursorForcedly(),
-                    outsideSqlContext.isLimitByCursorForcedly());
-        } else {
-            wrapper = new FetchNarrowingResultSetWrapper(resultSet, cb, false,
-                    false);
-        }
-        return wrapper;
+        // *Move to InternalBasicSelectHandler
+        // if (!FetchNarrowingBeanContext.isExistFetchNarrowingBeanOnThread()) {
+        // return resultSet;
+        // }
+        // final FetchNarrowingBean cb =
+        // FetchNarrowingBeanContext.getFetchNarrowingBeanOnThread();
+        // if (!isUseFetchNarrowingResultSetWrapper(cb)) {
+        // return resultSet;
+        // }
+        // final FetchNarrowingResultSetWrapper wrapper;
+        // if (OutsideSqlContext.isExistOutsideSqlContextOnThread()) {
+        // final OutsideSqlContext outsideSqlContext =
+        // OutsideSqlContext.getOutsideSqlContextOnThread();
+        // wrapper = new FetchNarrowingResultSetWrapper(resultSet, cb,
+        // outsideSqlContext.isOffsetByCursorForcedly(),
+        // outsideSqlContext.isLimitByCursorForcedly());
+        // } else {
+        // wrapper = new FetchNarrowingResultSetWrapper(resultSet, cb, false,
+        // false);
+        // }
+        // return wrapper;
     }
 
-    protected boolean isUseFetchNarrowingResultSetWrapper(FetchNarrowingBean cb) {
-        if (cb.getSafetyMaxResultSize() > 0) {
-            return true;
-        }
-        if (!cb.isFetchNarrowingEffective()) {
-            return false;// It is not necessary to control.
-        }
-        if (OutsideSqlContext.isExistOutsideSqlContextOnThread()) {
-            final OutsideSqlContext outsideSqlContext = OutsideSqlContext
-                    .getOutsideSqlContextOnThread();
-            if (outsideSqlContext.isOffsetByCursorForcedly()
-                    || outsideSqlContext.isLimitByCursorForcedly()) {
-                return true;
-            }
-        }
-        if (cb.isFetchNarrowingSkipStartIndexEffective()
-                || cb.isFetchNarrowingLoopCountEffective()) {
-            return true;
-        }
-        return false;
-    }
+    // protected boolean isUseFetchNarrowingResultSetWrapper(FetchNarrowingBean
+    // cb) {
+    // if (cb.getSafetyMaxResultSize() > 0) {
+    // return true;
+    // }
+    // if (!cb.isFetchNarrowingEffective()) {
+    // return false;// It is not necessary to control.
+    // }
+    // if (OutsideSqlContext.isExistOutsideSqlContextOnThread()) {
+    // final OutsideSqlContext outsideSqlContext =
+    // OutsideSqlContext.getOutsideSqlContextOnThread();
+    // if (outsideSqlContext.isOffsetByCursorForcedly() ||
+    // outsideSqlContext.isLimitByCursorForcedly()) {
+    // return true;
+    // }
+    // }
+    // if (cb.isFetchNarrowingSkipStartIndexEffective() ||
+    // cb.isFetchNarrowingLoopCountEffective()) {
+    // return true;
+    // }
+    // return false;
+    // }
 
     //==========================================================================
     // =========

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoInterceptor.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoInterceptor.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoInterceptor.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -18,6 +18,9 @@
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
 import jp.sf.pal.board.db.allcommon.exception.EntityAlreadyUpdatedException;
+import jp.sf.pal.board.db.allcommon.helper.stacktrace.InvokeNameExtractingResource;
+import jp.sf.pal.board.db.allcommon.helper.stacktrace.InvokeNameResult;
+import jp.sf.pal.board.db.allcommon.helper.stacktrace.impl.InvokeNameExtractorImpl;
 import jp.sf.pal.board.db.allcommon.util.TraceViewUtil;
 
 import org.aopalliance.intercept.MethodInvocation;
@@ -164,24 +167,6 @@
         try {
             ret = cmd.execute(invocation.getArguments());
         } catch (Exception e) {
-            if (isLogEnabled()) {
-                final Class<?> targetType = getTargetClass(invocation);
-                final StringBuilder sb = new StringBuilder();
-                sb.append(
-                        targetType.getSimpleName() + " was interrupted by "
-                                + e.getClass().getSimpleName()).append(
-                        getLineSeparator());
-                sb.append("[Interrupted Target]").append(getLineSeparator());
-                sb.append("  dao    = " + targetType.getSimpleName()).append(
-                        getLineSeparator());
-                sb.append("  method = " + invocation.getMethod()).append(
-                        getLineSeparator());
-                sb.append("  args   = "
-                        + TraceViewUtil
-                                .convertObjectArrayToStringView(invocation
-                                        .getArguments()));
-                log(sb.toString());
-            }
             if (e.getClass().equals(NotSingleRowUpdatedRuntimeException.class)) {
                 throw new EntityAlreadyUpdatedException(
                         (NotSingleRowUpdatedRuntimeException) e);
@@ -278,11 +263,11 @@
     // ==============
     protected void logInvocation(MethodInvocation invocation) {
         final StackTraceElement[] stackTrace = new Exception().getStackTrace();
-        final InvokeNameExtractingResult behaviorResult = extractBehaviorInvokeName(stackTrace);
+        final InvokeNameResult behaviorResult = extractBehaviorInvokeName(stackTrace);
 
         final String invokeClassName;
         final String invokeMethodName;
-        if (behaviorResult.getSimpleClassName() != null) {
+        if (!behaviorResult.isEmptyResult()) {
             invokeClassName = behaviorResult.getSimpleClassName();
             invokeMethodName = behaviorResult.getMethodName();
         } else {
@@ -292,6 +277,10 @@
         }
         final String expWithoutKakko = buildInvocationExpressionWithoutKakko(
                 invocation, invokeClassName, invokeMethodName);
+
+        // Save behavior invoke name for error message.
+        putObjectToMapContext("df:BehaviorInvokeName", expWithoutKakko + "()");
+
         final String equalBorder = buildFitBorder("", "=", expWithoutKakko,
                 false);
         final String invocationExpression = expWithoutKakko + "()";
@@ -391,13 +380,12 @@
     }
 
     protected void logPath(MethodInvocation invocation,
-            StackTraceElement[] stackTrace,
-            InvokeNameExtractingResult behaviorResult) {
+            StackTraceElement[] stackTrace, InvokeNameResult behaviorResult) {
         final int bhvNextIndex = behaviorResult.getNextStartIndex();
-        final InvokeNameExtractingResult clientResult = extractClientInvokeName(
+        final InvokeNameResult clientResult = extractClientInvokeName(
                 stackTrace, bhvNextIndex);
         final int clientFirstIndex = clientResult.getFoundFirstIndex();
-        final InvokeNameExtractingResult byPassResult = extractByPassInvokeName(
+        final InvokeNameResult byPassResult = extractByPassInvokeName(
                 stackTrace, bhvNextIndex, clientFirstIndex - bhvNextIndex);
 
         final String clientInvokeName = clientResult.getInvokeName();
@@ -407,6 +395,16 @@
                 && byPassInvokeName.trim().length() == 0) {
             return;
         }
+
+        // Save client invoke name for error message.
+        if (!clientResult.isEmptyResult()) {
+            putObjectToMapContext("df:ClientInvokeName", clientInvokeName);
+        }
+        // Save by-pass invoke name for error message.
+        if (!byPassResult.isEmptyResult()) {
+            putObjectToMapContext("df:ByPassInvokeName", byPassInvokeName);
+        }
+
         log(clientInvokeName + byPassInvokeName + behaviorInvokeName + "...");
     }
 
@@ -428,11 +426,11 @@
         return sb.toString();
     }
 
-    protected InvokeNameExtractingResult extractClientInvokeName(
+    protected InvokeNameResult extractClientInvokeName(
             StackTraceElement[] stackTrace, final int startIndex) {
         final List<String> suffixList = Arrays.asList(new String[] { "Page",
                 "Action" });
-        final InvokeNameExtractingCallback callback = new InvokeNameExtractingCallback() {
+        final InvokeNameExtractingResource resource = new InvokeNameExtractingResource() {
             public boolean isTargetElement(String className, String methodName) {
                 return isClassNameEndsWith(className, suffixList);
             }
@@ -453,15 +451,15 @@
                 return 25;
             }
         };
-        return extractInvokeName(callback, stackTrace);
+        return extractInvokeName(resource, stackTrace);
     }
 
-    protected InvokeNameExtractingResult extractByPassInvokeName(
+    protected InvokeNameResult extractByPassInvokeName(
             StackTraceElement[] stackTrace, final int startIndex,
             final int loopSize) {
         final List<String> suffixList = Arrays.asList(new String[] { "Service",
                 "ServiceImpl", "Facade", "FacadeImpl" });
-        final InvokeNameExtractingCallback callback = new InvokeNameExtractingCallback() {
+        final InvokeNameExtractingResource resource = new InvokeNameExtractingResource() {
             public boolean isTargetElement(String className, String methodName) {
                 return isClassNameEndsWith(className, suffixList);
             }
@@ -482,10 +480,10 @@
                 return loopSize >= 0 ? loopSize : 25;
             }
         };
-        return extractInvokeName(callback, stackTrace);
+        return extractInvokeName(resource, stackTrace);
     }
 
-    protected InvokeNameExtractingResult extractBehaviorInvokeName(
+    protected InvokeNameResult extractBehaviorInvokeName(
             StackTraceElement[] stackTrace) {
         final List<String> suffixList = Arrays.asList(new String[] { "Bhv",
                 "BehaviorReadable", "BehaviorWritable", "PagingInvoker" });
@@ -497,7 +495,7 @@
                 .asList(new String[] { "Executor" });
         final List<String> ousideSql3List = Arrays
                 .asList(new String[] { "Executor$" });
-        final InvokeNameExtractingCallback callback = new InvokeNameExtractingCallback() {
+        final InvokeNameExtractingResource resource = new InvokeNameExtractingResource() {
             public boolean isTargetElement(String className, String methodName) {
                 if (isClassNameEndsWith(className, suffixList)) {
                     return true;
@@ -529,7 +527,7 @@
                 return 25;
             }
         };
-        return extractInvokeName(callback, stackTrace);
+        return extractInvokeName(resource, stackTrace);
     }
 
     protected boolean isClassNameEndsWith(String className,
@@ -553,144 +551,20 @@
     }
 
     /**
-     * @param callback the call-back for invoke-name-extracting. (NotNull)
+     * @param resource the call-back resource for invoke-name-extracting.
+     *            (NotNull)
      * @param stackTrace Stack log. (NotNull)
-     * @return Invoke name. (NotNull: If not found, returns empty string.)
+     * @return The result of invoke name. (NotNull: If not found, returns empty
+     *         string.)
      */
-    protected InvokeNameExtractingResult extractInvokeName(
-            InvokeNameExtractingCallback callback,
+    protected InvokeNameResult extractInvokeName(
+            InvokeNameExtractingResource resource,
             StackTraceElement[] stackTrace) {
-        String targetSimpleClassName = null;
-        String targetMethodName = null;
-        int lineNumber = 0;
-        int foundIndex = -1;// The minus one means 'Not Found'.
-        int foundFirstIndex = -1;// The minus one means 'Not Found'.
-        boolean onTarget = false;
-        for (int i = callback.getStartIndex(); i < stackTrace.length; i++) {
-            final StackTraceElement element = stackTrace[i];
-            if (i > callback.getStartIndex() + callback.getLoopSize()) {
-                break;
-            }
-            final String className = element.getClassName();
-            if (className.startsWith("sun.") || className.startsWith("java.")) {
-                if (onTarget) {
-                    break;
-                }
-                continue;
-            }
-            final String methodName = element.getMethodName();
-            if (callback.isTargetElement(className, methodName)) {
-                if (methodName.equals("invoke")) {
-                    continue;
-                }
-                targetSimpleClassName = className.substring(className
-                        .lastIndexOf(".") + 1);
-                targetMethodName = methodName;
-                if (callback.isUseAdditionalInfo()) {
-                    lineNumber = element.getLineNumber();
-                }
-                foundIndex = i;
-                if (foundFirstIndex == -1) {
-                    foundFirstIndex = i;
-                }
-                onTarget = true;
-                continue;
-            }
-            if (onTarget) {
-                break;
-            }
-        }
-        final InvokeNameExtractingResult result = new InvokeNameExtractingResult();
-        if (targetSimpleClassName == null) {
-            result.setInvokeName("");// Not Found! It sets empty string as
-            // default.
-            return result;
-        }
-        final String filteredClassName = callback
-                .filterSimpleClassName(targetSimpleClassName);
-        result.setSimpleClassName(callback
-                .filterSimpleClassName(targetSimpleClassName));
-        result.setMethodName(targetMethodName);
-        if (lineNumber > 0) {
-            result.setInvokeName(filteredClassName + "." + targetMethodName
-                    + "():" + lineNumber + " --> ");
-        } else {
-            result.setInvokeName(filteredClassName + "." + targetMethodName
-                    + "() --> ");
-        }
-        result.setFoundIndex(foundIndex);
-        result.setFoundFirstIndex(foundFirstIndex);
-        return result;
+        final InvokeNameExtractorImpl extractor = new InvokeNameExtractorImpl();
+        extractor.setStackTrace(stackTrace);
+        return extractor.extractInvokeName(resource);
     }
 
-    protected static interface InvokeNameExtractingCallback {
-        public boolean isTargetElement(String className, String methodName);
-
-        public String filterSimpleClassName(String simpleClassName);
-
-        public boolean isUseAdditionalInfo();
-
-        public int getStartIndex();
-
-        public int getLoopSize();
-    }
-
-    protected static class InvokeNameExtractingResult {
-        protected String _simpleClassName;
-
-        protected String _methodName;
-
-        protected String _invokeName;
-
-        protected int _foundIndex;
-
-        protected int _foundFirstIndex;
-
-        public int getNextStartIndex() {
-            return _foundIndex + 1;
-        }
-
-        public String getSimpleClassName() {
-            return _simpleClassName;
-        }
-
-        public void setSimpleClassName(String simpleClassName) {
-            _simpleClassName = simpleClassName;
-        }
-
-        public String getMethodName() {
-            return _methodName;
-        }
-
-        public void setMethodName(String methodName) {
-            _methodName = methodName;
-        }
-
-        public String getInvokeName() {
-            return _invokeName;
-        }
-
-        public void setInvokeName(String invokeName) {
-            _invokeName = invokeName;
-        }
-
-        public int getFoundIndex() {
-            return _foundIndex;
-        }
-
-        public void setFoundIndex(int foundIndex) {
-            _foundIndex = foundIndex;
-        }
-
-        public int getFoundFirstIndex() {
-            return _foundFirstIndex;
-        }
-
-        public void setFoundFirstIndex(int foundFirstIndex) {
-            _foundFirstIndex = foundFirstIndex;
-        }
-    }
-
     /**
      * @param method The invoked method. (NotNull)
      * @return The expression of invocation. (NotNull)
@@ -1107,6 +981,10 @@
                 && outsideSqlContext.isSpecifiedOutsideSql();
     }
 
+    protected void putObjectToMapContext(String key, Object value) {
+        InternalMapContext.setObject(key, value);
+    }
+
     //==========================================================================
     // =========
     // Determination

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoLatestSqlProvider.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoLatestSqlProvider.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoLatestSqlProvider.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -4,30 +4,17 @@
 import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataExtension.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataExtension.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataExtension.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,8 +1,6 @@
 package jp.sf.pal.board.db.allcommon.s2dao;
 
-import java.lang.reflect.Field;
 import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
 import java.lang.reflect.ParameterizedType;
 import java.lang.reflect.Type;
 import java.sql.Connection;
@@ -12,19 +10,12 @@
 import java.sql.SQLException;
 import java.sql.Statement;
 import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
 import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.Stack;
 
 import javax.sql.DataSource;
 
 import jp.sf.pal.board.db.allcommon.BehaviorSelector;
 import jp.sf.pal.board.db.allcommon.Entity;
-import jp.sf.pal.board.db.allcommon.InternalMapContext;
 import jp.sf.pal.board.db.allcommon.annotation.OutsideSql;
 import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
 import jp.sf.pal.board.db.allcommon.cbean.ConditionBeanContext;
@@ -50,43 +41,34 @@
 import jp.sf.pal.board.db.allcommon.s2dao.internal.sqlhandler.InternalDeleteBatchAutoHandler;
 import jp.sf.pal.board.db.allcommon.s2dao.internal.sqlhandler.InternalUpdateBatchAutoHandler;
 import jp.sf.pal.board.db.allcommon.s2dao.internal.sqlhandler.InternalBasicHandler.SQLExceptionHandler;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalProcedureMetaData;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalProcedureMetaDataFactory;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalRelationRowCreator;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalRowCreator;
 import jp.sf.pal.board.db.allcommon.util.SimpleSystemUtil;
 
 import org.seasar.dao.BeanEnhancer;
 import org.seasar.dao.BeanMetaData;
 import org.seasar.dao.BeanMetaDataFactory;
 import org.seasar.dao.ColumnNaming;
-import org.seasar.dao.IllegalParameterTypeRuntimeException;
-import org.seasar.dao.ProcedureMetaData;
-import org.seasar.dao.ProcedureParameterType;
 import org.seasar.dao.PropertyTypeFactoryBuilder;
-import org.seasar.dao.RelationPropertyType;
 import org.seasar.dao.RelationPropertyTypeFactoryBuilder;
 import org.seasar.dao.RelationRowCreator;
 import org.seasar.dao.RowCreator;
 import org.seasar.dao.SqlCommand;
 import org.seasar.dao.TableNaming;
-import org.seasar.dao.ValueTypeFactory;
 import org.seasar.dao.dbms.DbmsManager;
 import org.seasar.dao.impl.BeanMetaDataImpl;
 import org.seasar.dao.impl.DaoMetaDataImpl;
-import org.seasar.dao.impl.ProcedureMetaDataImpl;
-import org.seasar.dao.impl.ProcedureParameterTypeImpl;
-import org.seasar.dao.impl.RelationRowCreationResource;
 import org.seasar.dao.impl.ResultSetHandlerFactoryImpl;
 import org.seasar.dao.impl.SelectDynamicCommand;
 import org.seasar.dao.impl.UpdateAutoStaticCommand;
-import org.seasar.dao.util.TypeUtil;
-import org.seasar.extension.jdbc.PropertyType;
 import org.seasar.extension.jdbc.ResultSetHandler;
 import org.seasar.extension.jdbc.StatementFactory;
 import org.seasar.extension.jdbc.ValueType;
 import org.seasar.extension.jdbc.types.ValueTypes;
-import org.seasar.framework.beans.BeanDesc;
 import org.seasar.framework.beans.MethodNotFoundRuntimeException;
-import org.seasar.framework.beans.PropertyDesc;
 import org.seasar.framework.beans.factory.BeanDescFactory;
-import org.seasar.framework.util.FieldUtil;
 import org.seasar.framework.util.MethodUtil;
 
 /**
@@ -262,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) {
@@ -280,68 +310,115 @@
 
     //==========================================================================
     // =========
-    // ConditionBean Setup
-    // ===================
+    // ConditionBean Override
+    // ======================
     @Override
     protected void setupSelectMethodByAuto(final Method method) {
-        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 (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);
     }
 
-    // For Pure S2Dao *Deprecated at the future...
-    protected SelectDynamicCommand setupInternalQuerySelectMethodByAuto(
-            final Method method, final ResultSetHandler handler,
-            final String[] argNames, final String query) {
+    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);
+        if (query == null) {
+            String msg = "The method 'getEntityByIds()' should have QUERY annotation:";
+            msg = msg + " method=" + method;
+            throw new IllegalStateException(msg);
+        }
         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
@@ -492,7 +569,7 @@
                             handleBatchUpdateResultWithOptimisticLock(ps, list,
                                     result, method);
                         } catch (SQLException e) {
-                            handleSQLException(e, ps, false, list);
+                            handleSQLException(e, ps, false);
                             return null;// Unreachable!
                         }
                         return result;
@@ -558,7 +635,7 @@
                             handleBatchUpdateResultWithOptimisticLock(ps, list,
                                     result, method);
                         } catch (SQLException e) {
-                            handleSQLException(e, ps, false, list);
+                            handleSQLException(e, ps, false);
                             return null;// Unreachable!
                         }
                         return result;
@@ -712,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;
@@ -743,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
@@ -841,30 +903,6 @@
                 .createBeanMetaData(clazz);
     }
 
-    // [Unsupported]
-    // The return type of method is unsupported!
-    // Because the method of outside-sql that selects one entity is unnecessary!
-    //
-    // /**
-    // * Create the handler of result set of specified outside-sql for customize
-    // bean.
-    // *
-    // * @param specifiedBeanMetaData Specified bean meta data. (NotNull)
-    // * @param customizeEntityType The type of customize entity. (NotNull)
-    // * @return The handler of result set. (NotNull)
-    // */
-    // protected ResultSetHandler
-    // createSpecifiedOutsideSqlCustomizeBeanResultSetHandler(BeanMetaData
-    // specifiedBeanMetaData, Class<?> customizeEntityType) {
-    // final ValueType valueType = ValueTypes.getValueType(customizeEntityType);
-    // if (valueType == null || !valueType.equals(ValueTypes.OBJECT)) {
-    // return new org.seasar.extension.jdbc.impl.ObjectResultSetHandler();
-    // }
-    // return new
-    // org.seasar.dao.impl.BeanMetaDataResultSetHandler(specifiedBeanMetaData,
-    // new RowCreatorExtension(), new RelationRowCreatorExtension());
-    // }
-
     /**
      * Create the handler of result set of specified outside-sql for the list of
      * customize bean.
@@ -880,11 +918,23 @@
         if (valueType == null || !valueType.equals(ValueTypes.OBJECT)) {
             return new InternalObjectListResultSetHandler(valueType);
         }
+        final InternalRowCreator rowCreator = createSpecifiedOutsideSqlInternalRowCreator(specifiedBeanMetaData);
+        final InternalRelationRowCreator relationRowCreator = createSpecifiedOutsideSqlInternalRelationRowCreator(specifiedBeanMetaData);
         return new InternalBeanListMetaDataResultSetHandler(
-                specifiedBeanMetaData, new RowCreatorExtension(),
-                new RelationRowCreatorExtension());
+                specifiedBeanMetaData, rowCreator, relationRowCreator);
     }
 
+    protected InternalRowCreator createSpecifiedOutsideSqlInternalRowCreator(
+            BeanMetaData bmd) {
+        final Class clazz = bmd.getBeanClass();
+        return InternalRowCreator.createInternalRowCreator(clazz);
+    }
+
+    protected InternalRelationRowCreator createSpecifiedOutsideSqlInternalRelationRowCreator(
+            BeanMetaData bmd) {
+        return new InternalRelationRowCreator();
+    }
+
     protected class InternalObjectListResultSetHandler implements
             ResultSetHandler {
         private ValueType valueType;
@@ -974,21 +1024,25 @@
         // - - - - - - - - - - - - - - -
         // The attribute of SqlCommand.
         // - - - - - - - - - - - - - - -
-        final InternalProcedureMetaDataFactory myProcedureMetaDataFactory = new InternalProcedureMetaDataFactory();
-        myProcedureMetaDataFactory.setValueTypeFactory(valueTypeFactory);
+        final InternalProcedureMetaDataFactory factory = createInternalProcedureMetaDataFactory();
+        factory.setValueTypeFactory(valueTypeFactory);
         final Class<?> pmbType = pmb != null ? pmb.getClass() : null;
-        final ProcedureMetaData metaData = myProcedureMetaDataFactory
+        final InternalProcedureMetaData metaData = factory
                 .createProcedureMetaData(procedureName, pmbType);
         final InternalProcedureCommand cmd = createInternalProcedureCommand(
                 method, metaData);
         putSqlCommand(sqlCommandKey, cmd);
     }
 
+    protected InternalProcedureMetaDataFactory createInternalProcedureMetaDataFactory() {
+        return new InternalProcedureMetaDataFactory();
+    }
+
     protected InternalProcedureCommand createInternalProcedureCommand(
-            Method method, ProcedureMetaData metaData) {
+            Method method, InternalProcedureMetaData metaData) {
         final ResultSetHandler resultSetHandler = createResultSetHandler(method);
         return new InternalProcedureCommand(dataSource, resultSetHandler,
-                statementFactory, resultSetFactory, metaData);
+                statementFactory, metaData);
     }
 
     // -----------------------------------------------------
@@ -1113,7 +1167,7 @@
     protected S2DaoSelectDynamicCommand createCustomizeSelectDynamicCommand(
             ResultSetHandler handler) {
         return new S2DaoSelectDynamicCommand(dataSource, statementFactory,
-                handler, resultSetFactory);
+                handler);
     }
 
     //==========================================================================
@@ -1189,6 +1243,57 @@
 
     //==========================================================================
     // =========
+    // ResultSetHandlerFactoryImpl Extension
+    // =====================================
+    public static class ResultSetHandlerFactoryExtension extends
+            ResultSetHandlerFactoryImpl {
+        public ResultSetHandlerFactoryExtension() {
+            super();
+        }
+
+        @Override
+        protected RowCreator createRowCreator() { // [DAO-118] (2007/08/25)
+            return createInternalRowCreator(null);
+        }
+
+        @Override
+        protected RelationRowCreator createRelationRowCreator() {
+            return createInternalRelationRowCreator(null);
+        }
+
+        @Override
+        protected ResultSetHandler createBeanListMetaDataResultSetHandler(
+                BeanMetaData bmd) { // DBFlute Target
+            final InternalRowCreator rowCreator = createInternalRowCreator(bmd);
+            final InternalRelationRowCreator relationRowCreator = createInternalRelationRowCreator(bmd);
+            return new InternalBeanListMetaDataResultSetHandler(bmd,
+                    rowCreator, relationRowCreator);
+        }
+
+        @Override
+        protected ResultSetHandler createBeanArrayMetaDataResultSetHandler(
+                BeanMetaData bmd) { // DBFlute Target
+            final InternalRowCreator rowCreator = createInternalRowCreator(bmd);
+            final InternalRelationRowCreator relationRowCreator = createInternalRelationRowCreator(bmd);
+            return new InternalBeanArrayMetaDataResultSetHandler(bmd,
+                    rowCreator, relationRowCreator);
+        }
+
+        protected InternalRowCreator createInternalRowCreator(BeanMetaData bmd) {
+            final Class<?> clazz = bmd != null ? bmd.getBeanClass() : null;
+            return InternalRowCreator.createInternalRowCreator(clazz);
+        }
+
+        protected InternalRelationRowCreator createInternalRelationRowCreator(
+                BeanMetaData bmd) {
+            return new InternalRelationRowCreator(); // Not yet implemented
+            // about performance
+            // tuning!
+        }
+    }
+
+    //==========================================================================
+    // =========
     // Vert Internal
     // =============
     protected static class InternalMethodUtil {
@@ -1203,19 +1308,16 @@
             if (!(parameterizedList instanceof ParameterizedType)) {
                 return null;
             }
-
             final ParameterizedType parameterizedType = ParameterizedType.class
                     .cast(parameterizedList);
             final Type rawType = parameterizedType.getRawType();
             if (!(rawType instanceof Class)) {
                 return null;
             }
-
             final Class<?> rawClass = Class.class.cast(rawType);
             if (!rawClass.isAssignableFrom(List.class)) {
                 return null;
             }
-
             final Type[] actualTypeArgument = parameterizedType
                     .getActualTypeArguments();
             if (actualTypeArgument == null || actualTypeArgument.length != 1) {
@@ -1224,7 +1326,6 @@
             if (!(actualTypeArgument[0] instanceof Class)) {
                 return null;
             }
-
             return Class.class.cast(actualTypeArgument[0]);
         }
 
@@ -1242,640 +1343,37 @@
 
     //==========================================================================
     // =========
-    // ResultSetHandlerFactoryImpl Extension
-    // =====================================
-    public static class ResultSetHandlerFactoryExtension extends
-            ResultSetHandlerFactoryImpl {
-        public ResultSetHandlerFactoryExtension() {
-            super();
+    // Assist Helper
+    // =============
+    protected DBMeta findDBMeta() {
+        final Class<?> beanType = getBeanClass();
+        if (beanType == null) {
+            return null;
         }
-
-        @Override
-        protected RowCreator createRowCreator() {// [DAO-118] (2007/08/25)
-            return new RowCreatorExtension();
+        if (!Entity.class.isAssignableFrom(beanType)) {
+            return null;
         }
-
-        @Override
-        protected RelationRowCreator createRelationRowCreator() {
-            return new RelationRowCreatorExtension();
+        final Entity entity;
+        try {
+            entity = (Entity) beanType.newInstance();
+        } catch (InstantiationException e) {
+            throw new IllegalStateException(e);
+        } catch (IllegalAccessException e) {
+            throw new IllegalStateException(e);
         }
-
-        @Override
-        protected ResultSetHandler createBeanListMetaDataResultSetHandler(
-                BeanMetaData beanMetaData) {
-            return new InternalBeanListMetaDataResultSetHandler(beanMetaData,
-                    createRowCreator(), createRelationRowCreator());
-        }
-
-        @Override
-        protected ResultSetHandler createBeanArrayMetaDataResultSetHandler(
-                BeanMetaData beanMetaData) {
-            return new InternalBeanArrayMetaDataResultSetHandler(beanMetaData,
-                    createRowCreator(), createRelationRowCreator());
-        }
+        return entity.getDBMeta();
     }
 
     //==========================================================================
     // =========
-    // RowCreatorImpl Extension
-    // ========================
-    protected static class RowCreatorExtension extends
-            org.seasar.dao.impl.RowCreatorImpl {
-
-        /** The key of DBMeta cache. */
-        protected static final String DBMETA_CACHE_KEY = "df:DBMetaCache";
-
-        @Override
-        public Object createRow(ResultSet rs, Map propertyCache, Class beanClass)
-                throws SQLException {
-            final Object row = newBean(beanClass);
-            final DBMeta dbmeta = findDBMeta(row);
-            final Set columnNameSet = propertyCache.keySet();
-            String columnName = null;
-            PropertyType pt = null;
-            String propertyName = null;
-            try {
-                for (final Iterator ite = columnNameSet.iterator(); ite
-                        .hasNext();) {
-                    columnName = (String) ite.next();
-                    pt = (PropertyType) propertyCache.get(columnName);
-                    propertyName = pt.getPropertyName();
-                    if (dbmeta != null
-                            && dbmeta.hasEntityPropertySetupper(propertyName)) {
-                        final ValueType valueType = pt.getValueType();
-                        final Object value = valueType.getValue(rs, columnName);
-                        dbmeta.setupEntityProperty(propertyName, row, value);
-                    } else {
-                        registerValue(rs, row, pt, columnName);
-                    }
-                }
-            } catch (ClassCastException e) {
-                if (_log.isWarnEnabled()) {
-                    String msg = ClassCastException.class.getSimpleName()
-                            + " occurred while ResultSet Handling:";
-                    _log.warn(msg + " target=" + beanClass.getSimpleName()
-                            + "." + propertyName + " dbmeta");
-                }
-                throwNonsenseClassCastException(row, dbmeta, e);
-            } catch (SQLException e) {
-                if (_log.isWarnEnabled()) {
-                    String msg = SQLException.class.getSimpleName()
-                            + " occurred while ResultSet Handling:";
-                    _log.warn(msg + " target=" + beanClass.getSimpleName()
-                            + "." + propertyName);
-                }
-                throw e;
-            }
-            return row;
-        }
-
-        /**
-         * @param row The object of row. (NotNull)
-         * @return The interface of DBMeta. (Nullable: If it's null, it means
-         *         NotFound.)
-         */
-        protected DBMeta findDBMeta(Object row) {
-            return EntityPropertySetupperHandler.findCachedDBMeta(row);
-        }
-
-        protected void throwNonsenseClassCastException(Object entity,
-                DBMeta dbmeta, ClassCastException e) {
-            String msg = "Look! Read the message below." + getLineSeparator();
-            msg = msg
-                    + "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
-                    + getLineSeparator();
-            msg = msg + "Nonsense ClassCastException occured!"
-                    + getLineSeparator();
-            msg = msg + getLineSeparator();
-            msg = msg + "[Advice]" + getLineSeparator();
-            msg = msg
-                    + "This exception may be from ClassLoader Headache about HotDeploy."
-                    + getLineSeparator();
-            msg = msg
-                    + "Please add the ignore-package setting to convention.dicon like as follows:"
-                    + getLineSeparator();
-            msg = msg + "  For example:" + getLineSeparator();
-            msg = msg + "    <initMethod name=”addIgnorePackageName”>"
-                    + getLineSeparator();
-            msg = msg + "        <arg>”com.example.xxx.dbflute”</arg>"
-                    + getLineSeparator();
-            msg = msg + "    </initMethod>" + getLineSeparator();
-            msg = msg + getLineSeparator();
-            msg = msg + "[Exception Message]" + getLineSeparator()
-                    + e.getMessage() + getLineSeparator();
-            msg = msg + getLineSeparator();
-            msg = msg + "[Target Entity]" + getLineSeparator() + entity
-                    + getLineSeparator();
-            msg = msg + getLineSeparator();
-            msg = msg + "[Target Entity Class Loader]" + getLineSeparator()
-                    + entity.getClass().getClassLoader() + getLineSeparator();
-            msg = msg + getLineSeparator();
-            msg = msg + "[Target DBMeta]" + getLineSeparator() + dbmeta
-                    + getLineSeparator();
-            msg = msg + getLineSeparator();
-            msg = msg + "[Target DBMeta Class Loader]" + getLineSeparator()
-                    + dbmeta.getClass().getClassLoader() + getLineSeparator();
-            msg = msg + "* * * * * * * * * */";
-            throw new NonsenseClassCastException(msg, e);
-        }
-
-        protected String getLineSeparator() {
-            return SimpleSystemUtil.getLineSeparator();
-        }
+    // General Helper
+    // ==============
+    protected String getLineSeparator() {
+        return SimpleSystemUtil.getLineSeparator();
     }
 
-    public static class NonsenseClassCastException extends RuntimeException {
-        private static final long serialVersionUID = 1L;
-
-        public NonsenseClassCastException(String msg, ClassCastException e) {
-            super(msg, e);
-        }
-    }
-
-    /**
-     * The handler of setupper of entity property.
-     */
-    protected static class EntityPropertySetupperHandler {
-
-        /** The key of DBMeta cache. */
-        protected static final String DBMETA_CACHE_KEY = "df:DBMetaCache";
-
-        public static DBMeta findCachedDBMeta(Object row) {
-            if (!(row instanceof Entity)) {
-                return null;
-            }
-            final Entity entity = (Entity) row;
-            Map<Class<?>, DBMeta> dbmetaCache = (Map<Class<?>, DBMeta>) InternalMapContext
-                    .getObject(DBMETA_CACHE_KEY);
-            if (dbmetaCache == null) {
-                dbmetaCache = new HashMap<Class<?>, DBMeta>();
-                InternalMapContext.setObject(DBMETA_CACHE_KEY, dbmetaCache);
-            }
-            DBMeta dbmeta = dbmetaCache.get(entity.getClass());
-            if (dbmeta != null) {
-                return dbmeta;
-            }
-            dbmeta = entity.getDBMeta();
-            dbmetaCache.put(entity.getClass(), dbmeta);
-            return dbmeta;
-        }
-    }
-
     //==========================================================================
     // =========
-    // RelationRowCreatorImpl Extension
-    // ================================
-    protected static class RelationRowCreatorExtension extends
-            org.seasar.dao.impl.RelationRowCreatorImpl {
-
-        @Override
-        protected Object createRelationRow(RelationRowCreationResource res)
-                throws SQLException {
-            // - - - - - - - - - - -
-            // Recursive Call Point!
-            // - - - - - - - - - - -
-            if (!res.hasPropertyCacheElement()) {
-                return null;
-            }
-            setupRelationKeyValue(res);
-            setupRelationAllValue(res);
-            return res.getRow();
-        }
-
-        @Override
-        protected void setupRelationKeyValue(RelationRowCreationResource res) {
-            final RelationPropertyType rpt = res.getRelationPropertyType();
-            final BeanMetaData bmd = rpt.getBeanMetaData();
-            for (int i = 0; i < rpt.getKeySize(); ++i) {
-                final String columnName = rpt.getMyKey(i) + res.getBaseSuffix();
-
-                if (!res.containsColumnName(columnName)) {
-                    continue;
-                }
-                if (!res.hasRowInstance()) {
-                    res.setRow(newRelationRow(rpt));
-                }
-                if (!res.containsRelKeyValueIfExists(columnName)) {
-                    continue;
-                }
-                final Object value = res.extractRelKeyValue(columnName);
-                if (value == null) {
-                    continue;
-                }
-
-                final String yourKey = rpt.getYourKey(i);
-                final PropertyType pt = bmd
-                        .getPropertyTypeByColumnName(yourKey);
-                final PropertyDesc pd = pt.getPropertyDesc();
-                pd.setValue(res.getRow(), value);
-                continue;
-            }
-        }
-
-        @Override
-        protected void setupRelationAllValue(RelationRowCreationResource res)
-                throws SQLException {
-            final Map propertyCacheElement = res.extractPropertyCacheElement();
-            final Set columnNameCacheElementKeySet = propertyCacheElement
-                    .keySet();
-            for (final Iterator ite = columnNameCacheElementKeySet.iterator(); ite
-                    .hasNext();) {
-                final String columnName = (String) ite.next();
-                final PropertyType pt = (PropertyType) propertyCacheElement
-                        .get(columnName);
-                res.setCurrentPropertyType(pt);
-                if (!isValidRelationPerPropertyLoop(res)) {
-                    res.clearRowInstance();
-                    return;
-                }
-                setupRelationProperty(res);
-            }
-            if (!isValidRelationAfterPropertyLoop(res)) {
-                res.clearRowInstance();
-                return;
-            }
-            res.clearValidValueCount();
-            if (res.hasNextRelationProperty()
-                    && (hasConditionBean(res) || res.hasNextRelationLevel())) {
-                setupNextRelationRow(res);
-            }
-        }
-
-        @Override
-        protected void registerRelationValue(RelationRowCreationResource res,
-                String columnName) throws SQLException {
-            final PropertyType pt = res.getCurrentPropertyType();
-            Object value = null;
-            if (res.containsRelKeyValueIfExists(columnName)) {
-                value = res.extractRelKeyValue(columnName);
-            } else {
-                final ValueType valueType = pt.getValueType();
-                value = valueType.getValue(res.getResultSet(), columnName);
-            }
-
-            if (value != null) {
-                res.incrementValidValueCount();
-                final DBMeta dbmeta = findDBMeta(res.getRow());
-                final String propertyName = pt.getPropertyName();
-                if (dbmeta != null
-                        && dbmeta.hasEntityPropertySetupper(propertyName)) {
-                    dbmeta.setupEntityProperty(propertyName, res.getRow(),
-                            value);
-                } else {
-                    final PropertyDesc pd = pt.getPropertyDesc();
-                    pd.setValue(res.getRow(), value);
-                }
-            }
-        }
-
-        /**
-         * @param row The object of row. (NotNull)
-         * @return The interface of DBMeta. (Nullable: If it's null, it means
-         *         NotFound.)
-         */
-        protected DBMeta findDBMeta(Object row) {
-            return EntityPropertySetupperHandler.findCachedDBMeta(row);
-        }
-
-        @Override
-        protected void setupPropertyCache(RelationRowCreationResource res)
-                throws SQLException {
-            // - - - - - - - - - - -
-            // Recursive Call Point!
-            // - - - - - - - - - - -
-            res.initializePropertyCacheElement();
-
-            // Do only selected foreign property for performance if
-            // condition-bean exists.
-            if (hasConditionBean(res)) {
-                final ConditionBean cb = ConditionBeanContext
-                        .getConditionBeanOnThread();
-                if (!cb.getSqlClause().hasSelectedForeignInfo(
-                        res.getRelationNoSuffix())) {
-                    return;
-                }
-            }
-
-            // Set up property cache about current beanMetaData.
-            final BeanMetaData nextBmd = res.getRelationBeanMetaData();
-            for (int i = 0; i < nextBmd.getPropertyTypeSize(); ++i) {
-                final PropertyType pt = nextBmd.getPropertyType(i);
-                res.setCurrentPropertyType(pt);
-                if (!isTargetProperty(res)) {
-                    continue;
-                }
-                setupPropertyCacheElement(res);
-            }
-
-            // Set up next relation.
-            if (res.hasNextRelationProperty()
-                    && (hasConditionBean(res) || res.hasNextRelationLevel())) {
-                res.backupRelationPropertyType();
-                res.incrementCurrentRelationNestLevel();
-                try {
-                    setupNextPropertyCache(res, nextBmd);
-                } finally {
-                    res.restoreRelationPropertyType();
-                    res.decrementCurrentRelationNestLevel();
-                }
-            }
-        }
-
-        @Override
-        protected boolean isTargetProperty(
-                org.seasar.dao.impl.RelationRowCreationResource res)
-                throws java.sql.SQLException {
-            final PropertyType pt = res.getCurrentPropertyType();
-            if (!pt.getPropertyDesc().hasWriteMethod()) {
-                return false;
-            }
-            if (java.util.List.class.isAssignableFrom(pt.getPropertyDesc()
-                    .getPropertyType())) {
-                return false;
-            }
-            return true;
-        }
-
-        @Override
-        protected boolean isCreateDeadLink() {
-            return false;
-        }
-
-        @Override
-        protected int getLimitRelationNestLevel() {
-            return 2;// for Compatible
-        }
-
-        @Override
-        protected RelationRowCreationResource createResourceForRow(
-                ResultSet rs, RelationPropertyType rpt, Set columnNames,
-                Map relKeyValues, Map relationPropertyCache)
-                throws SQLException {
-            final RelationRowCreationResource res = new RelationRowCreationResourceExtension();
-            res.setResultSet(rs);
-            res.setRelationPropertyType(rpt);
-            res.setColumnNames(columnNames);
-            res.setRelKeyValues(relKeyValues);
-            res.setRelationPropertyCache(relationPropertyCache);
-            res.setBaseSuffix("");// as Default
-            res.setRelationNoSuffix(buildRelationNoSuffix(rpt));
-            res.setLimitRelationNestLevel(getLimitRelationNestLevel());
-            res.setCurrentRelationNestLevel(1);// as Default
-            res.setCreateDeadLink(isCreateDeadLink());
-            return res;
-        }
-
-        @Override
-        protected RelationRowCreationResource createResourceForPropertyCache(
-                RelationPropertyType rpt, Set columnNames,
-                Map relationPropertyCache, String baseSuffix,
-                String relationNoSuffix, int limitRelationNestLevel)
-                throws SQLException {
-            final RelationRowCreationResource res = new RelationRowCreationResourceExtension();
-            res.setRelationPropertyType(rpt);
-            res.setColumnNames(columnNames);
-            res.setRelationPropertyCache(relationPropertyCache);
-            res.setBaseSuffix(baseSuffix);
-            res.setRelationNoSuffix(relationNoSuffix);
-            res.setLimitRelationNestLevel(limitRelationNestLevel);
-            res.setCurrentRelationNestLevel(1);// as Default
-            return res;
-        }
-
-        protected boolean isConditionBeanSelectedRelation(
-                RelationRowCreationResource res) {
-            if (hasConditionBean(res)) {
-                final ConditionBean cb = ConditionBeanContext
-                        .getConditionBeanOnThread();
-                if (cb.getSqlClause().hasSelectedForeignInfo(
-                        res.getRelationNoSuffix())) {
-                    return true;
-                }
-            }
-            return false;
-        }
-
-        protected boolean hasConditionBean(RelationRowCreationResource res) {
-            return ConditionBeanContext.isExistConditionBeanOnThread();
-        }
-    }
-
-    protected static class RelationRowCreationResourceExtension extends
-            RelationRowCreationResource {
-        protected Stack<RelationPropertyType> backupRelationPropertyType = new Stack<RelationPropertyType>();
-
-        protected Stack<String> backupBaseSuffix = new Stack<String>();
-
-        protected Stack<String> backupRelationSuffix = new Stack<String>();
-
-        @Override
-        public void backupRelationPropertyType() {
-            backupRelationPropertyType.push(getRelationPropertyType());
-        }
-
-        @Override
-        public void restoreRelationPropertyType() {
-            setRelationPropertyType(backupRelationPropertyType.pop());
-        }
-
-        @Override
-        public void backupSuffixAndPrepare(String baseSuffix,
-                String additionalRelationNoSuffix) {
-            backupBaseSuffixExtension();
-            backupRelationNoSuffixExtension();
-            setBaseSuffix(baseSuffix);
-            addRelationNoSuffix(additionalRelationNoSuffix);
-        }
-
-        @Override
-        public void restoreSuffix() {
-            restoreBaseSuffixExtension();
-            restoreRelationNoSuffixExtension();
-        }
-
-        protected void backupBaseSuffixExtension() {
-            backupBaseSuffix.push(getBaseSuffix());
-        }
-
-        protected void restoreBaseSuffixExtension() {
-            setBaseSuffix(backupBaseSuffix.pop());
-        }
-
-        protected void backupRelationNoSuffixExtension() {
-            backupRelationSuffix.push(getRelationNoSuffix());
-        }
-
-        protected void restoreRelationNoSuffixExtension() {
-            setRelationNoSuffix(backupRelationSuffix.pop());
-        }
-    }
-
-    //==========================================================================
-    // =========
-    // Procedure
-    // =========
-    protected static class InternalProcedureMetaDataFactory {
-        protected ValueTypeFactory valueTypeFactory;
-
-        protected InternalFieldProcedureAnnotationReader annotationReader = new InternalFieldProcedureAnnotationReader();
-
-        public ProcedureMetaData createProcedureMetaData(
-                final String procedureName, final Class<?> pmbType) {
-            final ProcedureMetaDataImpl metaData = new ProcedureMetaDataImpl(
-                    procedureName);
-            if (pmbType == null) {
-                return metaData;
-            } else {
-                if (!isDtoType(pmbType)) {
-                    throw new IllegalStateException(
-                            "The pmb type was Not DTO type: "
-                                    + pmbType.getName());
-                }
-            }
-            final BeanDesc pmbDesc = BeanDescFactory.getBeanDesc(pmbType);
-
-            // *Point
-            final Stack<Class<?>> stack = new Stack<Class<?>>();
-            for (Class<?> clazz = pmbType; clazz != null
-                    && clazz != Object.class; clazz = clazz.getSuperclass()) {
-                stack.push(clazz);
-            }
-            for (; !stack.isEmpty();) {
-                final Class<?> clazz = stack.pop();
-                registerParameterType(metaData, pmbDesc, clazz
-                        .getDeclaredFields());
-            }
-
-            return metaData;
-        }
-
-        protected void registerParameterType(ProcedureMetaDataImpl metaData,
-                BeanDesc pmbDesc, Field[] fields) {
-            for (Field field : fields) {
-                if (!isInstanceField(field)) {
-                    continue;
-                }
-                final ProcedureParameterType ppt = getProcedureParameterType(
-                        pmbDesc, field);
-                if (ppt == null) {
-                    continue;
-                }
-                metaData.addParameterType(ppt);
-            }
-        }
-
-        protected ProcedureParameterType getProcedureParameterType(
-                final BeanDesc dtoDesc, final Field field) {
-            final String type = annotationReader.getProcedureParameter(dtoDesc,
-                    field);
-            if (type == null) {
-                return null;
-            }
-            field.setAccessible(true);
-            final ProcedureParameterType ppt = new ProcedureParameterTypeImpl(
-                    field);
-            if (type.equalsIgnoreCase("in")) {
-                ppt.setInType(true);
-            } else if (type.equalsIgnoreCase("out")) {
-                ppt.setOutType(true);
-            } else if (type.equalsIgnoreCase("inout")) {
-                ppt.setInType(true);
-                ppt.setOutType(true);
-            } else if (type.equalsIgnoreCase("return")) {
-                ppt.setOutType(true);
-                ppt.setReturnType(true);
-            } else {
-                throw new IllegalParameterTypeRuntimeException(type);
-            }
-            final ValueType valueType = getValueType(dtoDesc, field);
-            ppt.setValueType(valueType);
-            return ppt;
-        }
-
-        protected ValueType getValueType(final BeanDesc dtoDesc,
-                final Field field) {
-            final String name = annotationReader.getValueType(dtoDesc, field);
-            if (name != null) {
-                return valueTypeFactory.getValueTypeByName(name);
-            }
-            final Class type = field.getType();
-            if (List.class.isAssignableFrom(type)) {// is for out parameter
-                // cursor.
-                if (ConditionBeanContext.isOracle()) {
-                    return ValueTypes.ORACLE_RESULT_SET;
-                } else if (ConditionBeanContext.isPostgreSql()) {
-                    return ValueTypes.POSTGRE_RESULT_SET;
-                } else {
-                    return ValueTypes.SERIALIZABLE_BYTE_ARRAY;
-                }
-            }
-            return valueTypeFactory.getValueTypeByClass(type);
-        }
-
-        protected boolean isInstanceField(final Field field) {
-            final int mod = field.getModifiers();
-            return !Modifier.isStatic(mod) && !Modifier.isFinal(mod);
-        }
-
-        protected boolean isDtoType(final Class clazz) {
-            return !TypeUtil.isSimpleType(clazz) && !isContainerType(clazz);
-        }
-
-        protected boolean isContainerType(final Class clazz) {
-            if (clazz == null) {
-                throw new NullPointerException("clazz");
-            }
-            return Collection.class.isAssignableFrom(clazz)
-                    || Map.class.isAssignableFrom(clazz) || clazz.isArray();
-        }
-
-        public void setValueTypeFactory(final ValueTypeFactory valueTypeFactory) {
-            this.valueTypeFactory = valueTypeFactory;
-        }
-    }
-
-    protected static class InternalFieldProcedureAnnotationReader {
-        protected String PROCEDURE_PARAMETER_SUFFIX;
-
-        protected String VALUE_TYPE_SUFFIX;
-
-        public InternalFieldProcedureAnnotationReader() {
-            PROCEDURE_PARAMETER_SUFFIX = "_PROCEDURE_PARAMETER";
-            VALUE_TYPE_SUFFIX = "_VALUE_TYPE";
-        }
-
-        public String getProcedureParameter(BeanDesc dtoDesc, Field field) {
-            String fieldName = removeInstanceVariablePrefix(field.getName());// *
-            // Point
-            String annotationName = fieldName + PROCEDURE_PARAMETER_SUFFIX;
-            if (dtoDesc.hasField(annotationName)) {
-                Field f = dtoDesc.getField(annotationName);
-                return (String) FieldUtil.get(f, null);
-            } else {
-                return null;
-            }
-        }
-
-        public String getValueType(BeanDesc dtoDesc, Field field) {
-            String fieldName = removeInstanceVariablePrefix(field.getName());// *
-            // Point
-            String annotationName = fieldName + VALUE_TYPE_SUFFIX;
-            if (dtoDesc.hasField(annotationName)) {
-                Field f = dtoDesc.getField(annotationName);
-                return (String) FieldUtil.get(f, null);
-            } else {
-                return null;
-            }
-        }
-
-        protected String removeInstanceVariablePrefix(String fieldName) {
-            return fieldName.startsWith("_") ? fieldName
-                    .substring("_".length()) : fieldName;
-        }
-    }
-
-    //==========================================================================
-    // =========
     // Accessor
     // ========
     // -----------------------------------------------------

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoMetaDataFactoryImpl.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoSelectDynamicCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoSelectDynamicCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/S2DaoSelectDynamicCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -14,7 +14,6 @@
 import jp.sf.pal.board.db.allcommon.util.SimpleSystemUtil;
 
 import org.seasar.dao.CommandContext;
-import org.seasar.extension.jdbc.ResultSetFactory;
 import org.seasar.extension.jdbc.ResultSetHandler;
 import org.seasar.extension.jdbc.StatementFactory;
 import org.seasar.extension.jdbc.ValueType;
@@ -38,9 +37,6 @@
     /** The handler of resultSet. */
     protected ResultSetHandler resultSetHandler;
 
-    /** The factory of resultSet. */
-    protected ResultSetFactory resultSetFactory;
-
     //==========================================================================
     // =========
     // Constructor
@@ -51,14 +47,11 @@
      * @param dataSource Data source.
      * @param statementFactory The factory of statement.
      * @param resultSetHandler The handler of resultSet.
-     * @param resultSetFactory The factory of resultSet.
      */
     public S2DaoSelectDynamicCommand(DataSource dataSource,
-            StatementFactory statementFactory,
-            ResultSetHandler resultSetHandler, ResultSetFactory resultSetFactory) {
+            StatementFactory statementFactory, ResultSetHandler resultSetHandler) {
         super(dataSource, statementFactory);
         this.resultSetHandler = resultSetHandler;
-        this.resultSetFactory = resultSetFactory;
     }
 
     //==========================================================================
@@ -70,7 +63,7 @@
     // -----------------------------
     protected S2DaoSelectDynamicCommand createMySelectDynamicCommand() {
         return new S2DaoSelectDynamicCommand(getDataSource(),
-                getStatementFactory(), resultSetHandler, resultSetFactory);
+                getStatementFactory(), resultSetHandler);
     }
 
     //==========================================================================
@@ -141,7 +134,9 @@
 
         final InternalBasicSelectHandler selectHandler = createBasicSelectHandler(
                 finalClause, this.resultSetHandler);
-        return selectHandler.execute(bindVariableList.toArray(),
+        final Object[] bindVariableArray = bindVariableList.toArray();
+        selectHandler.setLoggingMessageSqlArgs(bindVariableArray);
+        return selectHandler.execute(bindVariableArray,
                 toClassArray(bindVariableTypeList));
     }
 
@@ -168,7 +163,9 @@
         final org.seasar.dao.CommandContext ctx = apply(filteredArgs);
         final InternalBasicSelectHandler selectHandler = createBasicSelectHandler(
                 ctx.getSql(), specifiedResultSetHandler);
-        return selectHandler.execute(ctx.getBindVariables(), ctx
+        final Object[] bindVariableArray = ctx.getBindVariables();
+        selectHandler.setLoggingMessageSqlArgs(bindVariableArray);
+        return selectHandler.execute(bindVariableArray, ctx
                 .getBindVariableTypes());
     }
 
@@ -203,7 +200,9 @@
         final org.seasar.dao.CommandContext ctx = apply(filteredArgs);
         final InternalBasicSelectHandler selectHandler = createBasicSelectHandler(
                 ctx.getSql(), specifiedResultSetHandler);
-        return selectHandler.execute(ctx.getBindVariables(), ctx
+        final Object[] bindVariableArray = ctx.getBindVariables();
+        selectHandler.setLoggingMessageSqlArgs(bindVariableArray);
+        return selectHandler.execute(bindVariableArray, ctx
                 .getBindVariableTypes());
     }
 
@@ -286,7 +285,9 @@
         addBindVariableInfo(ctx, bindVariableList, bindVariableTypeList);
         final InternalBasicSelectHandler selectHandler = createBasicSelectHandler(
                 ctx.getSql(), specifiedResultSetHandler);
-        return selectHandler.execute(bindVariableList.toArray(),
+        final Object[] bindVariableArray = bindVariableList.toArray();
+        selectHandler.setLoggingMessageSqlArgs(bindVariableArray);
+        return selectHandler.execute(bindVariableArray,
                 toClassArray(bindVariableTypeList));
     }
 
@@ -401,14 +402,13 @@
     protected InternalBasicSelectHandler createBasicSelectHandler(
             String realSql, ResultSetHandler specifiedResultSetHandler) {
         return newBasicSelectHandler(realSql, specifiedResultSetHandler,
-                getStatementFactory(), resultSetFactory);
+                getStatementFactory());
     }
 
     protected InternalBasicSelectHandler newBasicSelectHandler(String sql,
-            ResultSetHandler resultSetHandler,
-            StatementFactory statementFactory, ResultSetFactory resultSetFactory) {
+            ResultSetHandler resultSetHandler, StatementFactory statementFactory) {
         return new InternalBasicSelectHandler(getDataSource(), sql,
-                resultSetHandler, statementFactory, resultSetFactory) {
+                resultSetHandler, statementFactory) {
             @Override
             protected void bindArgs(java.sql.PreparedStatement ps,
                     Object[] args, Class[] argTypes) {

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractBeanMetaDataResultSetHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractBeanMetaDataResultSetHandler.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractBeanMetaDataResultSetHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,130 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.rshandler;
+
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.Map;
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+
+import org.seasar.dao.BeanMetaData;
+import org.seasar.dao.RelationPropertyType;
+import org.seasar.dao.RelationRowCreator;
+import org.seasar.dao.RowCreator;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class InternalAbstractBeanMetaDataResultSetHandler extends
+        InternalAbstractDtoMetaDataResultSetHandler {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    private BeanMetaData beanMetaData;
+
+    protected RelationRowCreator relationRowCreator;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * @param beanMetaData Bean meta data. (NotNull)
+     * @param rowCreator Row creator. (NotNull)
+     * @param relationRowCreator Relation row creator. (NotNul)
+     */
+    public InternalAbstractBeanMetaDataResultSetHandler(
+            BeanMetaData beanMetaData, RowCreator rowCreator,
+            RelationRowCreator relationRowCreator) {
+        super(beanMetaData, rowCreator);
+        this.beanMetaData = beanMetaData;
+        this.relationRowCreator = relationRowCreator;
+    }
+
+    //==========================================================================
+    // =========
+    // Assist Helper
+    // =============
+    /**
+     * @param columnNames The set of column name. (NotNull)
+     * @return The map of row property cache. Map{String(columnName),
+     *         PropertyType} (NotNull)
+     * @throws SQLException
+     */
+    protected Map createPropertyCache(Set columnNames) throws SQLException {
+        // - - - - - - - - -
+        // Override for Bean
+        // - - - - - - - - -
+        return rowCreator.createPropertyCache(columnNames, beanMetaData);
+    }
+
+    /**
+     * @param rs Result set. (NotNull)
+     * @param propertyCache The map of property cache. Map{String(columnName),
+     *            PropertyType} (NotNull)
+     * @return Created row. (NotNull)
+     * @throws SQLException
+     */
+    protected Object createRow(ResultSet rs, Map propertyCache)
+            throws SQLException {
+        // - - - - - - - - -
+        // Override for Bean
+        // - - - - - - - - -
+        final Class beanClass = beanMetaData.getBeanClass();
+        return rowCreator.createRow(rs, propertyCache, beanClass);
+    }
+
+    /**
+     * @param columnNames The set of column name. (NotNull)
+     * @return The map of relation property cache. Map{String(relationNoSuffix),
+     *         Map{String(columnName), PropertyType}} (NotNull)
+     * @throws SQLException
+     */
+    protected Map createRelationPropertyCache(Set columnNames)
+            throws SQLException {
+        return relationRowCreator
+                .createPropertyCache(columnNames, beanMetaData);
+    }
+
+    /**
+     * @param rs Result set. (NotNull)
+     * @param rpt The type of relation property. (NotNull)
+     * @param columnNames The set of column name. (NotNull)
+     * @param relKeyValues The map of rel key values. (Nullable)
+     * @param relationPropertyCache The map of relation property cache.
+     *            Map{String(relationNoSuffix), Map{String(columnName),
+     *            PropertyType}} (NotNull)
+     * @return Created relation row. (Nullable)
+     * @throws SQLException
+     */
+    protected Object createRelationRow(ResultSet rs, RelationPropertyType rpt,
+            Set columnNames, Map relKeyValues, Map relationPropertyCache)
+            throws SQLException {
+        return relationRowCreator.createRelationRow(rs, rpt, columnNames,
+                relKeyValues, relationPropertyCache);
+    }
+
+    /**
+     * @param row The row of result list. (NotNull)
+     */
+    protected void postCreateRow(final Object row) {
+        if (row instanceof Entity) { // DBFlute Target
+            ((Entity) row).clearModifiedPropertyNames();
+        } else { // Basically Unreachable
+            final BeanMetaData bmd = getBeanMetaData();
+            final Set names = bmd.getModifiedPropertyNames(row);
+            names.clear();
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+    public BeanMetaData getBeanMetaData() {
+        return beanMetaData;
+    }
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractDtoMetaDataResultSetHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractDtoMetaDataResultSetHandler.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalAbstractDtoMetaDataResultSetHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,89 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.rshandler;
+
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.sql.SQLException;
+import java.util.Map;
+import java.util.Set;
+
+import org.seasar.dao.DtoMetaData;
+import org.seasar.dao.RowCreator;
+import org.seasar.extension.jdbc.ResultSetHandler;
+import org.seasar.framework.util.CaseInsensitiveSet;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class InternalAbstractDtoMetaDataResultSetHandler implements
+        ResultSetHandler {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    private DtoMetaData dtoMetaData;
+
+    protected RowCreator rowCreator; // [DAO-118] (2007/08/25)
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    /**
+     * @param dtoMetaData Dto meta data. (NotNull)
+     * @param rowCreator Row creator. (NotNull)
+     */
+    public InternalAbstractDtoMetaDataResultSetHandler(DtoMetaData dtoMetaData,
+            RowCreator rowCreator) {
+        this.dtoMetaData = dtoMetaData;
+        this.rowCreator = rowCreator;
+    }
+
+    //==========================================================================
+    // =========
+    // Assist Helper
+    // =============
+    /**
+     * @param columnNames The set of column name. (NotNull)
+     * @return The map of row property cache. Map{String(columnName),
+     *         PropertyType} (NotNull)
+     * @throws SQLException
+     */
+    protected Map createPropertyCache(Set columnNames) throws SQLException {
+        return rowCreator.createPropertyCache(columnNames, dtoMetaData);
+    }
+
+    /**
+     * @param rs Result set. (NotNull)
+     * @param propertyCache The map of property cache. Map{String(columnName),
+     *            PropertyType} (NotNull)
+     * @return Created row. (NotNull)
+     * @throws SQLException
+     */
+    protected Object createRow(ResultSet rs, Map propertyCache)
+            throws SQLException {
+        final Class beanClass = dtoMetaData.getBeanClass();
+        return rowCreator.createRow(rs, propertyCache, beanClass);
+    }
+
+    protected Set createColumnNames(final ResultSetMetaData rsmd)
+            throws SQLException {
+        final int count = rsmd.getColumnCount();
+        final Set columnNames = new CaseInsensitiveSet();
+        for (int i = 0; i < count; ++i) {
+            final String columnName = rsmd.getColumnLabel(i + 1);
+            final int pos = columnName.lastIndexOf('.'); // [DAO-41]
+            if (-1 < pos) {
+                columnNames.add(columnName.substring(pos + 1));
+            } else {
+                columnNames.add(columnName);
+            }
+        }
+        return columnNames;
+    }
+
+    public DtoMetaData getDtoMetaData() {
+        return dtoMetaData;
+    }
+}


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

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/rshandler/InternalBeanListMetaDataResultSetHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -8,11 +8,14 @@
 import java.util.Map;
 import java.util.Set;
 
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBeanContext;
+import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlContext;
+
 import org.seasar.dao.BeanMetaData;
 import org.seasar.dao.RelationPropertyType;
 import org.seasar.dao.RelationRowCreator;
 import org.seasar.dao.RowCreator;
-import org.seasar.dao.impl.AbstractBeanMetaDataResultSetHandler;
 import org.seasar.dao.impl.RelationKey;
 import org.seasar.dao.impl.RelationRowCache;
 import org.seasar.extension.jdbc.PropertyType;
@@ -24,7 +27,7 @@
  */
 @SuppressWarnings("unchecked")
 public class InternalBeanListMetaDataResultSetHandler extends
-        AbstractBeanMetaDataResultSetHandler {
+        InternalAbstractBeanMetaDataResultSetHandler {
 
     //==========================================================================
     // =========
@@ -45,62 +48,89 @@
     // 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 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 cache is
-            // 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 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) {
-                RelationPropertyType rpt = getBeanMetaData()
+                final RelationPropertyType rpt = getBeanMetaData()
                         .getRelationPropertyType(i);
                 if (rpt == null) {
                     continue;
                 }
+
+                // Do only selected foreign property for performance if
+                // condition-bean exists.
+                if (hasCB
+                        && !hasSelectedForeignInfo(buildRelationNoSuffix(rpt))) {
+                    continue;
+                }
+
+                final Map relKeyValues = new HashMap();
+                final RelationKey relKey = createRelationKey(rs, rpt,
+                        columnNames, relKeyValues);
                 Object relationRow = null;
-                Map relKeyValues = new HashMap();
-                // /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-                // - - - - - - - - - -
-                // If it returns null at first record, may it be unnecessary
-                // after second records?
-                // - - - - - - - - - -/
-                RelationKey relKey = createRelationKey(rs, rpt, columnNames,
-                        relKeyValues);
                 if (relKey != null) {
                     relationRow = relRowCache.getRelationRow(i, relKey);
-                    if (relationRow == null) {
+                    if (relationRow == null) { // when no cache
                         relationRow = createRelationRow(rs, rpt, columnNames,
                                 relKeyValues, relationPropertyCache);
-                        relRowCache.addRelationRow(i, relKey, relationRow);
+                        if (relationRow != null) {
+                            relRowCache.addRelationRow(i, relKey, relationRow);
+                            postCreateRow(relationRow);
+                        }
                     }
                 }
                 if (relationRow != null) {
-                    PropertyDesc pd = rpt.getPropertyDesc();
+                    final PropertyDesc pd = rpt.getPropertyDesc();
                     pd.setValue(row, relationRow);
-                    postCreateRow(relationRow);
                 }
             }
             postCreateRow(row);
@@ -112,32 +142,26 @@
     protected RelationKey createRelationKey(ResultSet rs,
             RelationPropertyType rpt, Set columnNames, Map relKeyValues)
             throws SQLException {
-        List keyList = new ArrayList();
-        BeanMetaData bmd = rpt.getBeanMetaData();
+        final List keyList = new ArrayList();
+        final BeanMetaData bmd = rpt.getBeanMetaData();
         for (int i = 0; i < rpt.getKeySize(); ++i) {
-            /*
-             * PropertyType pt = bmd
-             * .getPropertyTypeByColumnName(rpt.getYourKey(i)); ValueType
-             * valueType = pt.getValueType(); String columnName =
-             * pt.getColumnName() + "_" + rpt.getRelationNo();
-             */
-            ValueType valueType = null;
+            final ValueType valueType;
             String columnName = rpt.getMyKey(i);
             if (columnNames.contains(columnName)) {
-                PropertyType pt = getBeanMetaData()
+                final PropertyType pt = getBeanMetaData()
                         .getPropertyTypeByColumnName(columnName);
                 valueType = pt.getValueType();
             } else {
-                PropertyType pt = bmd.getPropertyTypeByColumnName(rpt
+                final PropertyType pt = bmd.getPropertyTypeByColumnName(rpt
                         .getYourKey(i));
-                columnName = pt.getColumnName() + "_" + rpt.getRelationNo();
+                columnName = pt.getColumnName() + buildRelationNoSuffix(rpt);
                 if (columnNames.contains(columnName)) {
                     valueType = pt.getValueType();
                 } else {
                     return null;
                 }
             }
-            Object value = valueType.getValue(rs, columnName);
+            final Object value = valueType.getValue(rs, columnName);
             if (value == null) {
                 return null;
             }
@@ -151,4 +175,62 @@
             return null;
         }
     }
+
+    //==========================================================================
+    // =========
+    // Assist Helper
+    // =============
+    protected boolean hasConditionBean() {
+        return ConditionBeanContext.isExistConditionBeanOnThread();
+    }
+
+    protected boolean isSelectedForeignInfoEmpty() {
+        if (!hasConditionBean()) {
+            return true;
+        }
+        ConditionBean cb = ConditionBeanContext.getConditionBeanOnThread();
+        if (cb.getSqlClause().isSelectedForeignInfoEmpty()) {
+            return true;
+        }
+        return false;
+    }
+
+    /**
+     * Has it selected foreign information? You should call hasConditionBean()
+     * before calling this!
+     * 
+     * @param relationNoSuffix The suffix of relation NO. (NotNull)
+     * @return Determination.
+     */
+    protected boolean hasSelectedForeignInfo(String relationNoSuffix) {
+        final ConditionBean cb = ConditionBeanContext
+                .getConditionBeanOnThread();
+        if (cb.getSqlClause().hasSelectedForeignInfo(relationNoSuffix)) {
+            return true;
+        }
+        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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractAutoStaticCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractAutoStaticCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractAutoStaticCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -65,10 +65,7 @@
     public Object execute(Object[] args) {
         InternalAbstractAutoHandler handler = createAutoHandler();
         handler.setSql(getSql());
-
-        // It is unnecessary for DBFlute!
-        // injectDaoClass(handler);
-
+        handler.setLoggingMessageSqlArgs(args);
         int rows = handler.execute(args);
         if (isCheckSingleRowUpdate() && rows != 1) {
             throw createNotSingleRowUpdatedRuntimeException(args[0], rows);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractBatchAutoStaticCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractBatchAutoStaticCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalAbstractBatchAutoStaticCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -50,6 +50,8 @@
         // injectDaoClass(handler);
 
         handler.setSql(getSql());
+        // The logging message SQL of procedure is unnecessary.
+        // handler.setLoggingMessageSqlArgs(args);
         if (this.returningRows) {
             return handler.executeBatch(args);
         } else {

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalDeleteQueryAutoDynamicCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalDeleteQueryAutoDynamicCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalDeleteQueryAutoDynamicCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -48,6 +48,7 @@
         CommandContext context = createCommandContext(twoWaySql, argNames,
                 argTypes, args);
         InternalCommandContextHandler handler = createCommandContextHandler(context);
+        handler.setLoggingMessageSqlArgs(context.getBindVariables());
         int rows = handler.execute(args);
         return new Integer(rows);
     }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalInsertAutoDynamicCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalInsertAutoDynamicCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalInsertAutoDynamicCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -54,6 +54,7 @@
         final InternalInsertAutoHandler handler = new InternalInsertAutoHandler(
                 getDataSource(), getStatementFactory(), bmd, propertyTypes);
         handler.setSql(sql);
+        handler.setLoggingMessageSqlArgs(args);
         final int rows = handler.execute(args);
         if (isCheckSingleRowUpdate() && rows != 1) {
             throw new NotSingleRowUpdatedRuntimeException(args[0], rows);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalProcedureCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalProcedureCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalProcedureCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -4,10 +4,9 @@
 
 import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlContext;
 import jp.sf.pal.board.db.allcommon.s2dao.internal.sqlhandler.InternalProcedureHandler;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalProcedureMetaData;
 
-import org.seasar.dao.ProcedureMetaData;
 import org.seasar.dao.SqlCommand;
-import org.seasar.extension.jdbc.ResultSetFactory;
 import org.seasar.extension.jdbc.ResultSetHandler;
 import org.seasar.extension.jdbc.StatementFactory;
 
@@ -26,10 +25,8 @@
 
     protected StatementFactory statementFactory;
 
-    protected ResultSetFactory resultSetFactory;
+    protected InternalProcedureMetaData procedureMetaData;
 
-    protected ProcedureMetaData procedureMetaData;
-
     //==========================================================================
     // =========
     // Constructor
@@ -37,12 +34,10 @@
     public InternalProcedureCommand(DataSource dataSource,
             ResultSetHandler resultSetHandler,
             StatementFactory statementFactory,
-            ResultSetFactory resultSetFactory,
-            ProcedureMetaData procedureMetaData) {
+            InternalProcedureMetaData procedureMetaData) {
         this.dataSource = dataSource;
         this.resultSetHandler = resultSetHandler;
         this.statementFactory = statementFactory;
-        this.resultSetFactory = resultSetFactory;
         this.procedureMetaData = procedureMetaData;
     }
 
@@ -55,19 +50,21 @@
         final OutsideSqlContext outsideSqlContext = OutsideSqlContext
                 .getOutsideSqlContextOnThread();
         final Object pmb = outsideSqlContext.getParameterBean();
+        // The logging message SQL of procedure is unnecessary.
+        // handler.setLoggingMessageSqlArgs(...);
         return handler.execute(new Object[] { pmb });
     }
 
     protected InternalProcedureHandler newArgumentDtoProcedureHandler() {
         return new InternalProcedureHandler(dataSource,
                 createSql(procedureMetaData), resultSetHandler,
-                statementFactory, resultSetFactory, procedureMetaData);
+                statementFactory, procedureMetaData);
     }
 
-    protected String createSql(final ProcedureMetaData procedureMetaData) {
+    protected String createSql(final InternalProcedureMetaData procedureMetaData) {
         final StringBuilder sb = new StringBuilder();
         sb.append("{");
-        int size = procedureMetaData.getParameterTypeSize();
+        int size = procedureMetaData.parameterTypes().size();
         if (procedureMetaData.hasReturnParameterType()) {
             sb.append("? = ");
             size--;

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateAutoDynamicCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateAutoDynamicCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateAutoDynamicCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -67,6 +67,7 @@
         InternalUpdateAutoHandler handler = createInternalUpdateAutoHandler(
                 bmd, propertyTypes);
         handler.setSql(createUpdateSql(bmd, propertyTypes, bean));
+        handler.setLoggingMessageSqlArgs(args);
         int i = handler.execute(args);
 
         // [Comment Out]: This statement moved to the handler at

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateDynamicCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateDynamicCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateDynamicCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -30,7 +30,9 @@
         final CommandContext ctx = apply(args);
         final InternalBasicUpdateHandler updateHandler = new InternalBasicUpdateHandler(
                 getDataSource(), ctx.getSql(), getStatementFactory());
-        return new Integer(updateHandler.execute(ctx.getBindVariables(), ctx
+        Object[] bindVariables = ctx.getBindVariables();
+        updateHandler.setLoggingMessageSqlArgs(bindVariables);
+        return new Integer(updateHandler.execute(bindVariables, ctx
                 .getBindVariableTypes()));
     }
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateQueryAutoDynamicCommand.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateQueryAutoDynamicCommand.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlcommand/InternalUpdateQueryAutoDynamicCommand.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -63,6 +63,7 @@
         CommandContext context = createCommandContext(twoWaySql, argNames,
                 argTypes, args);
         InternalCommandContextHandler handler = createCommandContextHandler(context);
+        handler.setLoggingMessageSqlArgs(context.getBindVariables());
         int rows = handler.execute(args);
         return new Integer(rows);
     }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractAutoHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractAutoHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractAutoHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -26,19 +26,19 @@
     // =========
     // Attribute
     // =========
-    private BeanMetaData beanMetaData;
+    protected BeanMetaData beanMetaData;
 
-    private Object[] bindVariables;
+    protected Object[] bindVariables;
 
-    private ValueType[] bindVariableValueTypes;
+    protected ValueType[] bindVariableValueTypes;
 
-    private Timestamp timestamp;
+    protected Timestamp timestamp;
 
-    private Integer versionNo;
+    protected Integer versionNo;
 
-    private PropertyType[] propertyTypes;
+    protected PropertyType[] propertyTypes;
 
-    private boolean versionNoAutoIncrementOnMemory = true;
+    protected boolean versionNoAutoIncrementOnMemory = true;
 
     //==========================================================================
     // =========
@@ -73,7 +73,7 @@
         int ret = -1;
         try {
             bindArgs(ps, bindVariables, bindVariableValueTypes);
-            ret = executeUpdate(ps, bean);
+            ret = executeUpdate(ps);
         } finally {
             close(ps);
         }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractBatchAutoHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractBatchAutoHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalAbstractBatchAutoHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -122,8 +122,8 @@
         try {
             return ps.executeBatch();
         } catch (SQLException e) {
-            handleSQLException(e, ps, true, list);
-            return null;// Unreachable!
+            handleSQLException(e, ps, true);
+            return null; // Unreachable!
         }
     }
 

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -8,16 +8,20 @@
 
 import javax.sql.DataSource;
 
+import jp.sf.pal.board.db.allcommon.CallbackContext;
 import jp.sf.pal.board.db.allcommon.DBFluteConfig;
+import jp.sf.pal.board.db.allcommon.InternalMapContext;
 import jp.sf.pal.board.db.allcommon.QLog;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
 import jp.sf.pal.board.db.allcommon.cbean.ConditionBeanContext;
+import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlContext;
 import jp.sf.pal.board.db.allcommon.exception.EntityAlreadyExistsException;
 import jp.sf.pal.board.db.allcommon.exception.SQLFailureException;
+import jp.sf.pal.board.db.allcommon.jdbc.SqlLogHandler;
 import jp.sf.pal.board.db.allcommon.s2dao.internal.sqllog.InternalSqlLogRegistry;
 import jp.sf.pal.board.db.allcommon.s2dao.internal.util.InternalBindVariableUtil;
 import jp.sf.pal.board.db.allcommon.util.SimpleSystemUtil;
 
-import org.seasar.dao.CommandContext;
 import org.seasar.extension.jdbc.StatementFactory;
 import org.seasar.extension.jdbc.ValueType;
 import org.seasar.extension.jdbc.types.ValueTypes;
@@ -38,6 +42,8 @@
 
     private StatementFactory statementFactory;
 
+    private Object[] loggingMessageSqlArgs;
+
     //==========================================================================
     // =========
     // Constructor
@@ -56,8 +62,11 @@
 
     //==========================================================================
     // =========
-    // Basic Method for SubClass
-    // =========================
+    // Common Logic
+    // ============
+    // -----------------------------------------------------
+    // Args Handling
+    // -------------
     protected void bindArgs(PreparedStatement ps, Object[] args,
             Class<?>[] argTypes) {
         if (args == null) {
@@ -87,71 +96,111 @@
         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
     // =================
     protected void handleSQLException(SQLException e, Statement statement) {
-        handleSQLException(e, statement, false, null);
+        handleSQLException(e, statement, false);
     }
 
     protected void handleSQLException(SQLException e, Statement statement,
-            boolean uniqueConstraintValid, Object resource) {
+            boolean uniqueConstraintValid) {
+        String completeSql = buildLoggingMessageSql();
         new SQLExceptionHandler().handleSQLException(e, statement,
-                uniqueConstraintValid, resource);
+                uniqueConstraintValid, completeSql);
     }
 
+    protected String buildLoggingMessageSql() {
+        String completeSql = null;
+        if (sql != null && loggingMessageSqlArgs != null) {
+            try {
+                completeSql = getCompleteSql(loggingMessageSqlArgs);
+            } catch (RuntimeException ignored) {
+            }
+        }
+        return completeSql;
+    }
+
     public static class SQLExceptionHandler {
 
         public void handleSQLException(SQLException e, Statement statement) {
-            handleSQLException(e, statement, false, null);
+            handleSQLException(e, statement, false);
         }
 
         public void handleSQLException(SQLException e, Statement statement,
-                boolean uniqueConstraintValid, Object resource) {
+                boolean uniqueConstraintValid) {
+            handleSQLException(e, statement, uniqueConstraintValid, null);
+        }
+
+        public void handleSQLException(SQLException e, Statement statement,
+                boolean uniqueConstraintValid, String completeSql) {
             if (isSqlExceptionOldStyleHandling()) {
                 throw new SQLRuntimeException(e);
             }
             if (uniqueConstraintValid && isUniqueConstraintException(e)) {
-                throwEntityAlreadyExistsException(e, statement, resource);
+                throwEntityAlreadyExistsException(e, statement, completeSql);
             }
-            throwSQLFailureException(e, statement, resource);
+            throwSQLFailureException(e, statement, completeSql);
         }
 
         protected boolean isUniqueConstraintException(SQLException e) {
@@ -173,7 +222,7 @@
         }
 
         protected void throwEntityAlreadyExistsException(SQLException e,
-                Statement statement, Object resource) {
+                Statement statement, String completeSql) {
             String msg = "Look! Read the message below." + getLineSeparator();
             msg = msg
                     + "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
@@ -188,17 +237,6 @@
             msg = msg + "And confirm the unique constraint for other columns."
                     + getLineSeparator();
             msg = msg + getLineSeparator();
-            if (statement != null) {
-                msg = msg + "[Statement]" + getLineSeparator() + statement
-                        + getLineSeparator();
-                msg = msg + getLineSeparator();
-            }
-            if (resource != null) {
-                msg = msg + "[Resource]" + getLineSeparator()
-                        + resource.getClass().getName() + getLineSeparator();
-                msg = msg + buildResourceDisplay(resource) + getLineSeparator();
-                msg = msg + getLineSeparator();
-            }
             msg = msg + "[SQLState]" + getLineSeparator() + extractSQLState(e)
                     + getLineSeparator();
             msg = msg + getLineSeparator();
@@ -223,12 +261,49 @@
                     msg = msg + nextNextEx.getMessage() + getLineSeparator();
                 }
             }
+            Object invokeName = extractBehaviorInvokeName();
+            if (invokeName != null) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[Behavior]" + getLineSeparator();
+                msg = msg + invokeName + getLineSeparator();
+            }
+            if (hasConditionBean()) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[ConditionBean]" + getLineSeparator();
+                msg = msg + getConditionBean().getClass().getName()
+                        + getLineSeparator();
+            }
+            if (hasOutsideSqlContext()) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[OutsideSql]" + getLineSeparator();
+                msg = msg + getOutsideSqlContext().getOutsideSqlPath()
+                        + getLineSeparator();
+                msg = msg + getLineSeparator();
+                msg = msg + "[ParameterBean]" + getLineSeparator();
+                Object pmb = getOutsideSqlContext().getParameterBean();
+                if (pmb != null) {
+                    msg = msg + pmb.getClass().getName() + getLineSeparator();
+                    msg = msg + pmb + getLineSeparator();
+                } else {
+                    msg = msg + pmb + getLineSeparator();
+                }
+            }
+            if (statement != null) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[Statement]" + getLineSeparator();
+                msg = msg + statement.getClass().getName() + getLineSeparator();
+            }
+            if (completeSql != null) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[Display SQL]" + getLineSeparator();
+                msg = msg + completeSql + getLineSeparator();
+            }
             msg = msg + "* * * * * * * * * */";
             throw new EntityAlreadyExistsException(msg, e);
         }
 
         protected void throwSQLFailureException(SQLException e,
-                Statement statement, Object resource) {
+                Statement statement, String completeSql) {
             String msg = "Look! Read the message below." + getLineSeparator();
             msg = msg
                     + "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
@@ -239,17 +314,6 @@
             msg = msg + "Please confirm the SQLException message."
                     + getLineSeparator();
             msg = msg + getLineSeparator();
-            if (statement != null) {
-                msg = msg + "[Statement]" + getLineSeparator() + statement
-                        + getLineSeparator();
-                msg = msg + getLineSeparator();
-            }
-            if (resource != null) {
-                msg = msg + "[Resource]" + getLineSeparator()
-                        + resource.getClass().getName() + getLineSeparator();
-                msg = msg + buildResourceDisplay(resource) + getLineSeparator();
-                msg = msg + getLineSeparator();
-            }
             msg = msg + "[SQLState]" + getLineSeparator() + extractSQLState(e)
                     + getLineSeparator();
             msg = msg + getLineSeparator();
@@ -274,35 +338,45 @@
                     msg = msg + nextNextEx.getMessage() + getLineSeparator();
                 }
             }
-            msg = msg + "* * * * * * * * * */";
-            throw new SQLFailureException(msg, e);
-        }
-
-        protected String buildResourceDisplay(Object resource) {
-            if (resource == null) {
-                return "";
+            Object invokeName = extractBehaviorInvokeName();
+            if (invokeName != null) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[Behavior]" + getLineSeparator();
+                msg = msg + invokeName + getLineSeparator();
             }
-            if (resource instanceof CommandContext) {
-                CommandContext ctx = (CommandContext) resource;
-                Object[] variables = ctx.getBindVariables();
-                return buildResourceDisplay(variables);
-            } else if (resource instanceof Object[]) {
-                return buildResourceDisplay((Object[]) resource);
-            } else {
-                return resource.toString();
+            if (hasConditionBean()) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[ConditionBean]" + getLineSeparator();
+                msg = msg + getConditionBean().getClass().getName()
+                        + getLineSeparator();
             }
-        }
-
-        protected String buildResourceDisplay(Object[] resources) {
-            if (resources == null) {
-                return "";
+            if (hasOutsideSqlContext()) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[OutsideSql]" + getLineSeparator();
+                msg = msg + getOutsideSqlContext().getOutsideSqlPath()
+                        + getLineSeparator();
+                msg = msg + getLineSeparator();
+                msg = msg + "[ParameterBean]" + getLineSeparator();
+                Object pmb = getOutsideSqlContext().getParameterBean();
+                if (pmb != null) {
+                    msg = msg + pmb.getClass().getName() + getLineSeparator();
+                    msg = msg + pmb + getLineSeparator();
+                } else {
+                    msg = msg + pmb + getLineSeparator();
+                }
             }
-            StringBuilder sb = new StringBuilder();
-            for (Object resource : resources) {
-                sb.append(", ").append(resource);
+            if (statement != null) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[Statement]" + getLineSeparator();
+                msg = msg + statement.getClass().getName() + getLineSeparator();
             }
-            sb.delete(0, ", ".length()).insert(0, "{").append("}");
-            return sb.toString();
+            if (completeSql != null) {
+                msg = msg + getLineSeparator();
+                msg = msg + "[Display SQL]" + getLineSeparator();
+                msg = msg + completeSql + getLineSeparator();
+            }
+            msg = msg + "* * * * * * * * * */";
+            throw new SQLFailureException(msg, e);
         }
 
         protected String extractSQLState(SQLException e) {
@@ -346,6 +420,49 @@
             return null;
         }
 
+        protected String extractBehaviorInvokeName() {
+            final Object behaviorInvokeName = InternalMapContext
+                    .getObject("df:BehaviorInvokeName");
+            if (behaviorInvokeName == null) {
+                return null;
+            }
+            final Object clientInvokeName = InternalMapContext
+                    .getObject("df:ClientInvokeName");
+            final Object byPassInvokeName = InternalMapContext
+                    .getObject("df:ByPassInvokeName");
+            final StringBuilder sb = new StringBuilder();
+            boolean existsPath = false;
+            if (clientInvokeName != null) {
+                existsPath = true;
+                sb.append(clientInvokeName);
+            }
+            if (byPassInvokeName != null) {
+                existsPath = true;
+                sb.append(byPassInvokeName);
+            }
+            sb.append(behaviorInvokeName);
+            if (existsPath) {
+                sb.append("...");
+            }
+            return sb.toString();
+        }
+
+        protected boolean hasConditionBean() {
+            return ConditionBeanContext.isExistConditionBeanOnThread();
+        }
+
+        protected ConditionBean getConditionBean() {
+            return ConditionBeanContext.getConditionBeanOnThread();
+        }
+
+        protected boolean hasOutsideSqlContext() {
+            return OutsideSqlContext.isExistOutsideSqlContextOnThread();
+        }
+
+        protected OutsideSqlContext getOutsideSqlContext() {
+            return OutsideSqlContext.getOutsideSqlContextOnThread();
+        }
+
         protected String getLineSeparator() {
             return SimpleSystemUtil.getLineSeparator();
         }
@@ -375,11 +492,11 @@
         return statementFactory.createPreparedStatement(conn, sql);
     }
 
-    protected int executeUpdate(PreparedStatement ps, Object resource) {
+    protected int executeUpdate(PreparedStatement ps) {
         try {
             return ps.executeUpdate();
         } catch (SQLException e) {
-            handleSQLException(e, ps, true, resource);
+            handleSQLException(e, ps, true);
             return 0;// Unreachable!
         }
     }
@@ -441,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() {
@@ -474,4 +616,8 @@
     public void setStatementFactory(StatementFactory statementFactory) {
         this.statementFactory = statementFactory;
     }
+
+    public void setLoggingMessageSqlArgs(Object[] loggingMessageSqlArgs) {
+        this.loggingMessageSqlArgs = loggingMessageSqlArgs;
+    }
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicSelectHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicSelectHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicSelectHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -7,7 +7,11 @@
 
 import javax.sql.DataSource;
 
-import org.seasar.extension.jdbc.ResultSetFactory;
+import jp.sf.pal.board.db.allcommon.cbean.FetchNarrowingBean;
+import jp.sf.pal.board.db.allcommon.cbean.FetchNarrowingBeanContext;
+import jp.sf.pal.board.db.allcommon.cbean.outsidesql.OutsideSqlContext;
+import jp.sf.pal.board.db.allcommon.s2dao.FetchNarrowingResultSetWrapper;
+
 import org.seasar.extension.jdbc.ResultSetHandler;
 import org.seasar.extension.jdbc.StatementFactory;
 
@@ -20,8 +24,6 @@
     // =========
     // Attribute
     // =========
-    private ResultSetFactory resultSetFactory;
-
     private ResultSetHandler resultSetHandler;
 
     //==========================================================================
@@ -29,12 +31,10 @@
     // Constructor
     // ===========
     public InternalBasicSelectHandler(DataSource dataSource, String sql,
-            ResultSetHandler resultSetHandler,
-            StatementFactory statementFactory, ResultSetFactory resultSetFactory) {
+            ResultSetHandler resultSetHandler, StatementFactory statementFactory) {
         super(dataSource, statementFactory);
         setSql(sql);
         setResultSetHandler(resultSetHandler);
-        setResultSetFactory(resultSetFactory);
     }
 
     //==========================================================================
@@ -65,7 +65,7 @@
             return execute(ps);
         } catch (SQLException e) {
             handleSQLException(e, ps);
-            return null;// Unreachable!
+            return null; // Unreachable!
         } finally {
             close(ps);
         }
@@ -85,22 +85,57 @@
         }
     }
 
-    protected ResultSet createResultSet(PreparedStatement ps) {
-        return resultSetFactory.createResultSet(ps);
+    protected ResultSet createResultSet(PreparedStatement ps)
+            throws SQLException {
+        final ResultSet resultSet = ps.executeQuery();
+        if (!FetchNarrowingBeanContext.isExistFetchNarrowingBeanOnThread()) {
+            return resultSet;
+        }
+        final FetchNarrowingBean cb = FetchNarrowingBeanContext
+                .getFetchNarrowingBeanOnThread();
+        if (!isUseFetchNarrowingResultSetWrapper(cb)) {
+            return resultSet;
+        }
+        final FetchNarrowingResultSetWrapper wrapper;
+        if (OutsideSqlContext.isExistOutsideSqlContextOnThread()) {
+            final OutsideSqlContext outsideSqlContext = OutsideSqlContext
+                    .getOutsideSqlContextOnThread();
+            wrapper = new FetchNarrowingResultSetWrapper(resultSet, cb,
+                    outsideSqlContext.isOffsetByCursorForcedly(),
+                    outsideSqlContext.isLimitByCursorForcedly());
+        } else {
+            wrapper = new FetchNarrowingResultSetWrapper(resultSet, cb, false,
+                    false);
+        }
+        return wrapper;
     }
 
+    protected boolean isUseFetchNarrowingResultSetWrapper(FetchNarrowingBean cb) {
+        if (cb.getSafetyMaxResultSize() > 0) {
+            return true;
+        }
+        if (!cb.isFetchNarrowingEffective()) {
+            return false; // It is not necessary to control.
+        }
+        if (OutsideSqlContext.isExistOutsideSqlContextOnThread()) {
+            final OutsideSqlContext outsideSqlContext = OutsideSqlContext
+                    .getOutsideSqlContextOnThread();
+            if (outsideSqlContext.isOffsetByCursorForcedly()
+                    || outsideSqlContext.isLimitByCursorForcedly()) {
+                return true;
+            }
+        }
+        if (cb.isFetchNarrowingSkipStartIndexEffective()
+                || cb.isFetchNarrowingLoopCountEffective()) {
+            return true;
+        }
+        return false;
+    }
+
     //==========================================================================
     // =========
     // Accessor
     // ========
-    public ResultSetFactory getResultSetFactory() {
-        return resultSetFactory;
-    }
-
-    public void setResultSetFactory(ResultSetFactory resultSetFactory) {
-        this.resultSetFactory = resultSetFactory;
-    }
-
     public ResultSetHandler getResultSetHandler() {
         return resultSetHandler;
     }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicUpdateHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicUpdateHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalBasicUpdateHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -45,7 +45,7 @@
         PreparedStatement ps = prepareStatement(connection);
         try {
             bindArgs(ps, args, argTypes);
-            return executeUpdate(ps, args);
+            return executeUpdate(ps);
         } finally {
             close(ps);
         }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalCommandContextHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalCommandContextHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalCommandContextHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -51,7 +51,7 @@
         try {
             bindArgs(ps, context.getBindVariables(), context
                     .getBindVariableTypes());
-            ret = executeUpdate(ps, context);
+            ret = executeUpdate(ps);
         } finally {
             close(ps);
         }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalDeleteAutoHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalDeleteAutoHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalDeleteAutoHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -28,5 +28,6 @@
     @Override
     protected void setupBindVariables(Object bean) {
         setupDeleteBindVariables(bean);
+        setLoggingMessageSqlArgs(bindVariables);
     }
 }
\ No newline at end of file

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalInsertAutoHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalInsertAutoHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalInsertAutoHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -29,6 +29,7 @@
     @Override
     protected void setupBindVariables(Object bean) {
         setupInsertBindVariables(bean);
+        setLoggingMessageSqlArgs(bindVariables);
     }
 
     @Override

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalProcedureHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalProcedureHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalProcedureHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -5,16 +5,17 @@
 import java.sql.ResultSet;
 import java.sql.ResultSetMetaData;
 import java.sql.SQLException;
+import java.sql.Statement;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
 
 import javax.sql.DataSource;
 
-import org.seasar.dao.ProcedureMetaData;
-import org.seasar.dao.ProcedureParameterType;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalProcedureMetaData;
+import jp.sf.pal.board.db.allcommon.s2dao.internal.various.InternalProcedureParameterType;
+
 import org.seasar.extension.jdbc.PropertyType;
-import org.seasar.extension.jdbc.ResultSetFactory;
 import org.seasar.extension.jdbc.ResultSetHandler;
 import org.seasar.extension.jdbc.StatementFactory;
 import org.seasar.extension.jdbc.ValueType;
@@ -31,7 +32,7 @@
     // =========
     // Attribute
     // =========
-    private ProcedureMetaData procedureMetaData;
+    private InternalProcedureMetaData procedureMetaData;
 
     //==========================================================================
     // =========
@@ -40,10 +41,8 @@
     public InternalProcedureHandler(final DataSource dataSource,
             final String sql, final ResultSetHandler resultSetHandler,
             final StatementFactory statementFactory,
-            final ResultSetFactory resultSetFactory,
-            final ProcedureMetaData procedureMetaData) {
-        super(dataSource, sql, resultSetHandler, statementFactory,
-                resultSetFactory);
+            final InternalProcedureMetaData procedureMetaData) {
+        super(dataSource, sql, resultSetHandler, statementFactory);
         this.procedureMetaData = procedureMetaData;
     }
 
@@ -97,9 +96,8 @@
         StringBuilder sb = new StringBuilder(100);
         int pos = 0;
         int pos2 = 0;
-        int size = procedureMetaData.getParameterTypeSize();
-        for (int i = 0; i < size; i++) {
-            ProcedureParameterType ppt = procedureMetaData.getParameterType(i);
+        for (InternalProcedureParameterType ppt : procedureMetaData
+                .parameterTypes()) {
             if ((pos2 = sql.indexOf('?', pos)) < 0) {
                 break;
             }
@@ -129,10 +127,9 @@
         if (dto == null) {
             return;
         }
-        final int size = procedureMetaData.getParameterTypeSize();
-        for (int i = 0; i < size; i++) {
-            final ProcedureParameterType ppt = procedureMetaData
-                    .getParameterType(i);
+        int i = 0;
+        for (InternalProcedureParameterType ppt : procedureMetaData
+                .parameterTypes()) {
             final ValueType valueType = ppt.getValueType();
             if (ppt.isOutType()) {
                 valueType.registerOutParameter(cs, i + 1);
@@ -141,6 +138,7 @@
                 final Object value = ppt.getValue(dto);
                 valueType.bindValue(cs, i + 1, value);
             }
+            ++i;
         }
     }
 
@@ -148,22 +146,30 @@
             throws SQLException {
         ResultSet rs = null;
         try {
-            rs = getResultSetFactory().getResultSet(cs);
+            rs = getResultSet(cs);
             return getResultSetHandler().handle(rs);
         } finally {
             close(rs);
         }
     }
 
+    protected ResultSet getResultSet(Statement statement) {
+        try {
+            return statement.getResultSet();
+        } catch (SQLException e) {
+            handleSQLException(e, statement);
+            return null;// Unreachable!
+        }
+    }
+
     protected Object handleOutParameters(final CallableStatement cs,
             final Object dto, Object returnValue) throws SQLException {
         if (dto == null) {
             return null;
         }
-        final int size = procedureMetaData.getParameterTypeSize();
-        for (int i = 0; i < size; i++) {
-            final ProcedureParameterType ppt = procedureMetaData
-                    .getParameterType(i);
+        int i = 0;
+        for (InternalProcedureParameterType ppt : procedureMetaData
+                .parameterTypes()) {
             final ValueType valueType = ppt.getValueType();
             if (ppt.isOutType()) {
                 Object value = valueType.getValue(cs, i + 1);
@@ -183,6 +189,7 @@
             } else if (ppt.isReturnType()) {
                 ppt.setValue(dto, returnValue);
             }
+            ++i;
         }
         return dto;
     }
@@ -202,7 +209,7 @@
     }
 
     protected ResultSetHandler createOutParameterResultSetHandler(
-            ProcedureParameterType ppt, ResultSet resultSet) {
+            InternalProcedureParameterType ppt, ResultSet resultSet) {
         return new InternalMapListResultSetHandler();
     }
 

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalUpdateAutoHandler.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalUpdateAutoHandler.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqlhandler/InternalUpdateAutoHandler.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -36,6 +36,7 @@
     @Override
     protected void setupBindVariables(Object bean) {
         setupUpdateBindVariables(bean);
+        setLoggingMessageSqlArgs(bindVariables);
     }
 
     @Override

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/sqllog/InternalSqlLogRegistry.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,137 @@
+package jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/valuetype/InternalBytesOidType.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaData.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaData.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaData.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,101 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.various;
+
+import java.util.Collection;
+import java.util.Comparator;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.TreeMap;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InternalProcedureMetaData {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    private String procedureName;
+
+    private Map<String, InternalProcedureParameterType> unorderedMap = createUnorderedMap();
+
+    private Map<String, InternalProcedureParameterType> parameterTypes = createParameterTypes();
+
+    private boolean returnType;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public InternalProcedureMetaData(final String procedureName) {
+        this.procedureName = procedureName;
+    }
+
+    //==========================================================================
+    // =========
+    // Factory
+    // =======
+    protected Map<String, InternalProcedureParameterType> createUnorderedMap() {
+        return new HashMap<String, InternalProcedureParameterType>();
+    }
+
+    protected Map<String, InternalProcedureParameterType> createParameterTypes() {
+        return new TreeMap<String, InternalProcedureParameterType>(
+                new ParameterComparator());
+    }
+
+    protected class ParameterComparator implements Comparator<String> {
+        public int compare(String o1, String o2) {
+            final int oneGreaterThanTwo = 1;
+            final int twoGreaterThanOne = -1;
+            final InternalProcedureParameterType parameterType1 = unorderedMap
+                    .get(o1);
+            final InternalProcedureParameterType parameterType2 = unorderedMap
+                    .get(o2);
+            if (parameterType1.isReturnType()) {
+                return twoGreaterThanOne; // Return type is prior
+            }
+            if (parameterType2.isReturnType()) {
+                return oneGreaterThanTwo; // Return type is prior
+            }
+            final Integer parameterIndex1 = parameterType1.getParameterIndex();
+            final Integer parameterIndex2 = parameterType2.getParameterIndex();
+            if (parameterIndex1 == null && parameterIndex2 == null) {
+                return oneGreaterThanTwo; // No changes
+            }
+            if (parameterIndex1 != null && parameterIndex2 == null) {
+                return twoGreaterThanOne; // Not null is prior
+            }
+            if (parameterIndex1 == null && parameterIndex2 != null) {
+                return oneGreaterThanTwo; // Not null is prior
+            }
+            return parameterIndex1.compareTo(parameterIndex2);
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+    public String getProcedureName() {
+        return procedureName;
+    }
+
+    public Collection<InternalProcedureParameterType> parameterTypes() {
+        return parameterTypes.values();
+    }
+
+    public void addParameterType(
+            final InternalProcedureParameterType parameterType) {
+        final String name = parameterType.getParameterName();
+        unorderedMap.put(name, parameterType);
+        parameterTypes.put(name, parameterType);
+        if (parameterType.isReturnType()) {
+            returnType = true;
+        }
+    }
+
+    public boolean hasReturnParameterType() {
+        return returnType;
+    }
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaDataFactory.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaDataFactory.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureMetaDataFactory.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,232 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.various;
+
+import java.lang.reflect.Field;
+import java.lang.reflect.Modifier;
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+import java.util.Stack;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBeanContext;
+
+import org.seasar.dao.ValueTypeFactory;
+import org.seasar.dao.util.TypeUtil;
+import org.seasar.extension.jdbc.ValueType;
+import org.seasar.extension.jdbc.types.ValueTypes;
+import org.seasar.framework.beans.BeanDesc;
+import org.seasar.framework.beans.factory.BeanDescFactory;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InternalProcedureMetaDataFactory {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected ValueTypeFactory valueTypeFactory;
+
+    protected InternalFieldProcedureAnnotationReader annotationReader = new InternalFieldProcedureAnnotationReader();
+
+    //==========================================================================
+    // =========
+    // Main
+    // ====
+    public InternalProcedureMetaData createProcedureMetaData(
+            final String procedureName, final Class<?> pmbType) {
+        final InternalProcedureMetaData metaData = new InternalProcedureMetaData(
+                procedureName);
+        if (pmbType == null) {
+            return metaData;
+        } else {
+            if (!isDtoType(pmbType)) {
+                throw new IllegalStateException(
+                        "The pmb type was Not DTO type: " + pmbType.getName());
+            }
+        }
+        final BeanDesc pmbDesc = BeanDescFactory.getBeanDesc(pmbType);
+
+        // *Point
+        final Stack<Class<?>> stack = new Stack<Class<?>>();
+        for (Class<?> clazz = pmbType; clazz != null && clazz != Object.class; clazz = clazz
+                .getSuperclass()) {
+            stack.push(clazz);
+        }
+        for (; !stack.isEmpty();) {
+            final Class<?> clazz = stack.pop();
+            registerParameterType(metaData, pmbDesc, clazz.getDeclaredFields());
+        }
+
+        return metaData;
+    }
+
+    protected void registerParameterType(InternalProcedureMetaData metaData,
+            BeanDesc pmbDesc, Field[] fields) {
+        for (Field field : fields) {
+            if (!isInstanceField(field)) {
+                continue;
+            }
+            final InternalProcedureParameterType ppt = getProcedureParameterType(
+                    pmbDesc, field);
+            if (ppt == null) {
+                continue;
+            }
+            metaData.addParameterType(ppt);
+        }
+    }
+
+    protected InternalProcedureParameterType getProcedureParameterType(
+            final BeanDesc dtoDesc, final Field field) {
+        final String procedureParameter = annotationReader
+                .getProcedureParameter(dtoDesc, field);
+        if (procedureParameter == null) {
+            return null;
+        }
+        final String type = extractParameterType(procedureParameter);
+        field.setAccessible(true);
+        final InternalProcedureParameterType ppt = new InternalProcedureParameterType(
+                field);
+        if (type.equalsIgnoreCase("in")) {
+            ppt.setInType(true);
+        } else if (type.equalsIgnoreCase("out")) {
+            ppt.setOutType(true);
+        } else if (type.equalsIgnoreCase("inout")) {
+            ppt.setInType(true);
+            ppt.setOutType(true);
+        } else if (type.equalsIgnoreCase("return")) {
+            ppt.setOutType(true);
+            ppt.setReturnType(true);
+        } else {
+            String msg = "The parameter type should be 'in' or 'out' or 'inout' or 'return':";
+            msg = msg + " class=" + field.getDeclaringClass().getSimpleName();
+            msg = msg + " field=" + field.getName();
+            msg = msg + " parameterType=" + type;
+            throw new IllegalStateException(msg);
+        }
+        final Integer index = extractParameterIndex(procedureParameter, field);
+        ppt.setParameterIndex(index);
+        final ValueType valueType = getValueType(dtoDesc, field);
+        ppt.setValueType(valueType);
+        return ppt;
+    }
+
+    protected String extractParameterType(String procedureParameter) {
+        if (procedureParameter.contains(",")) {
+            return procedureParameter.substring(0,
+                    procedureParameter.indexOf(",")).trim();
+        }
+        return procedureParameter.trim();
+    }
+
+    protected Integer extractParameterIndex(String procedureParameter,
+            Field field) {
+        if (procedureParameter.contains(",")) {
+            String tmp = procedureParameter.substring(
+                    procedureParameter.indexOf(",") + ",".length()).trim();
+            try {
+                return Integer.valueOf(tmp);
+            } catch (NumberFormatException e) {
+                String msg = "The parameter index should be number:";
+                msg = msg + " class="
+                        + field.getDeclaringClass().getSimpleName();
+                msg = msg + " field=" + field.getName();
+                msg = msg + " parameterIndex=" + tmp + " procedureParameter="
+                        + procedureParameter;
+                throw new IllegalStateException(msg, e);
+            }
+        }
+        return null;
+    }
+
+    protected ValueType getValueType(final BeanDesc dtoDesc, final Field field) {
+        final String name = annotationReader.getValueType(dtoDesc, field);
+        if (name != null) {
+            return valueTypeFactory.getValueTypeByName(name);
+        }
+        final Class<?> type = field.getType();
+        if (List.class.isAssignableFrom(type)) {// is for out parameter cursor.
+            if (ConditionBeanContext.isOracle()) {
+                return ValueTypes.ORACLE_RESULT_SET;
+            } else if (ConditionBeanContext.isPostgreSql()) {
+                return ValueTypes.POSTGRE_RESULT_SET;
+            } else {
+                return ValueTypes.SERIALIZABLE_BYTE_ARRAY;
+            }
+        }
+        return valueTypeFactory.getValueTypeByClass(type);
+    }
+
+    protected boolean isInstanceField(final Field field) {
+        final int mod = field.getModifiers();
+        return !Modifier.isStatic(mod) && !Modifier.isFinal(mod);
+    }
+
+    protected boolean isDtoType(final Class<?> clazz) {
+        return !TypeUtil.isSimpleType(clazz) && !isContainerType(clazz);
+    }
+
+    protected boolean isContainerType(final Class<?> clazz) {
+        if (clazz == null) {
+            throw new NullPointerException("clazz");
+        }
+        return Collection.class.isAssignableFrom(clazz)
+                || Map.class.isAssignableFrom(clazz) || clazz.isArray();
+    }
+
+    public void setValueTypeFactory(final ValueTypeFactory valueTypeFactory) {
+        this.valueTypeFactory = valueTypeFactory;
+    }
+
+    protected static class InternalFieldProcedureAnnotationReader {
+        protected String PROCEDURE_PARAMETER_SUFFIX;
+
+        protected String VALUE_TYPE_SUFFIX;
+
+        public InternalFieldProcedureAnnotationReader() {
+            PROCEDURE_PARAMETER_SUFFIX = "_PROCEDURE_PARAMETER";
+            VALUE_TYPE_SUFFIX = "_VALUE_TYPE";
+        }
+
+        public String getProcedureParameter(BeanDesc dtoDesc, Field field) {
+            String fieldName = removeInstanceVariablePrefix(field.getName());// *
+            // Point
+            String annotationName = fieldName + PROCEDURE_PARAMETER_SUFFIX;
+            if (dtoDesc.hasField(annotationName)) {
+                Field f = dtoDesc.getField(annotationName);
+                return (String) getValue(f, null);
+            } else {
+                return null;
+            }
+        }
+
+        public String getValueType(BeanDesc dtoDesc, Field field) {
+            String fieldName = removeInstanceVariablePrefix(field.getName());// *
+            // Point
+            String annotationName = fieldName + VALUE_TYPE_SUFFIX;
+            if (dtoDesc.hasField(annotationName)) {
+                Field f = dtoDesc.getField(annotationName);
+                return (String) getValue(f, null);
+            } else {
+                return null;
+            }
+        }
+
+        protected String removeInstanceVariablePrefix(String fieldName) {
+            return fieldName.startsWith("_") ? fieldName
+                    .substring("_".length()) : fieldName;
+        }
+
+        protected Object getValue(Field field, Object target) {
+            try {
+                return field.get(target);
+            } catch (IllegalAccessException e) {
+                String msg = "The getting of the field threw the exception:";
+                msg = msg + " class="
+                        + field.getDeclaringClass().getSimpleName();
+                msg = msg + " field=" + field.getName();
+                throw new IllegalStateException(msg, e);
+            }
+        }
+    }
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureParameterType.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureParameterType.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalProcedureParameterType.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,112 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.various;
+
+import java.lang.reflect.Field;
+
+import org.seasar.extension.jdbc.ValueType;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InternalProcedureParameterType {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    private String parameterName;
+
+    private Integer parameterIndex;
+
+    private Field field;
+
+    private ValueType valueType;
+
+    private boolean inType;
+
+    private boolean outType;
+
+    private boolean returnType;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    public InternalProcedureParameterType(Field field) {
+        this.field = field;
+        this.parameterName = field.getName();
+    }
+
+    //==========================================================================
+    // =========
+    // Field Value
+    // ===========
+    public Object getValue(Object target) {
+        try {
+            return field.get(target);
+        } catch (IllegalAccessException e) {
+            String msg = "The getting of the field threw the exception:";
+            msg = msg + " class=" + field.getDeclaringClass().getSimpleName();
+            msg = msg + " field=" + field.getName();
+            throw new IllegalStateException(msg, e);
+        }
+    }
+
+    public void setValue(Object target, Object value) {
+        try {
+            field.set(target, value);
+        } catch (IllegalAccessException e) {
+            String msg = "The setting of the field threw the exception:";
+            msg = msg + " class=" + field.getDeclaringClass().getSimpleName();
+            msg = msg + " field=" + field.getName();
+            throw new IllegalStateException(msg, e);
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+    public String getParameterName() {
+        return parameterName;
+    }
+
+    public Integer getParameterIndex() {
+        return parameterIndex;
+    }
+
+    public void setParameterIndex(Integer parameterIndex) {
+        this.parameterIndex = parameterIndex;
+    }
+
+    public ValueType getValueType() {
+        return valueType;
+    }
+
+    public void setValueType(final ValueType valueType) {
+        this.valueType = valueType;
+    }
+
+    public boolean isInType() {
+        return inType;
+    }
+
+    public void setInType(final boolean inType) {
+        this.inType = inType;
+    }
+
+    public boolean isOutType() {
+        return outType;
+    }
+
+    public void setOutType(final boolean outType) {
+        this.outType = outType;
+    }
+
+    public boolean isReturnType() {
+        return returnType;
+    }
+
+    public void setReturnType(final boolean returnType) {
+        this.returnType = returnType;
+    }
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRelationRowCreator.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRelationRowCreator.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRelationRowCreator.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,327 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.various;
+
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+import java.util.Stack;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBeanContext;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+
+import org.seasar.dao.BeanMetaData;
+import org.seasar.dao.RelationPropertyType;
+import org.seasar.dao.impl.RelationRowCreationResource;
+import org.seasar.dao.impl.RelationRowCreatorImpl;
+import org.seasar.extension.jdbc.PropertyType;
+import org.seasar.extension.jdbc.ValueType;
+import org.seasar.framework.beans.PropertyDesc;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InternalRelationRowCreator extends RelationRowCreatorImpl {
+
+    @Override
+    protected Object createRelationRow(RelationRowCreationResource res)
+            throws SQLException {
+        // - - - - - - - - - - -
+        // Recursive Call Point!
+        // - - - - - - - - - - -
+        if (!res.hasPropertyCacheElement()) {
+            return null;
+        }
+        setupRelationKeyValue(res);
+        setupRelationAllValue(res);
+        return res.getRow();
+    }
+
+    @Override
+    protected void setupRelationKeyValue(RelationRowCreationResource res) {
+        final RelationPropertyType rpt = res.getRelationPropertyType();
+        final BeanMetaData bmd = rpt.getBeanMetaData();
+        final DBMeta dbmeta = findDBMeta(bmd.getBeanClass(), bmd.getTableName());
+        for (int i = 0; i < rpt.getKeySize(); ++i) {
+            final String columnName = rpt.getMyKey(i) + res.getBaseSuffix();
+
+            if (!res.containsColumnName(columnName)) {
+                continue;
+            }
+            if (!res.hasRowInstance()) {
+                final Object row;
+                if (dbmeta != null) {
+                    row = dbmeta.newEntity();
+                } else {
+                    row = newRelationRow(rpt);
+                }
+                res.setRow(row);
+            }
+            if (!res.containsRelKeyValueIfExists(columnName)) {
+                continue;
+            }
+            final Object value = res.extractRelKeyValue(columnName);
+            if (value == null) {
+                continue;
+            }
+
+            final String yourKey = rpt.getYourKey(i);
+            final PropertyType pt = bmd.getPropertyTypeByColumnName(yourKey);
+            final PropertyDesc pd = pt.getPropertyDesc();
+            pd.setValue(res.getRow(), value);
+            continue;
+        }
+    }
+
+    protected Object createRelationRowInstance(DBMeta dbmeta) {
+        if (dbmeta != null) {
+            return dbmeta.newEntity();
+        }
+        return null;
+    }
+
+    protected DBMeta findDBMeta(Class<?> rowType, String tableName) {
+        return InternalRowCreator.findDBMeta(rowType, tableName);
+    }
+
+    @SuppressWarnings("unchecked")
+    @Override
+    protected void setupRelationAllValue(RelationRowCreationResource res)
+            throws SQLException {
+        final Map propertyCacheElement = res.extractPropertyCacheElement();
+        final Set columnNameCacheElementKeySet = propertyCacheElement.keySet();
+        for (final Iterator ite = columnNameCacheElementKeySet.iterator(); ite
+                .hasNext();) {
+            final String columnName = (String) ite.next();
+            final PropertyType pt = (PropertyType) propertyCacheElement
+                    .get(columnName);
+            res.setCurrentPropertyType(pt);
+            if (!isValidRelationPerPropertyLoop(res)) {
+                res.clearRowInstance();
+                return;
+            }
+            setupRelationProperty(res);
+        }
+        if (!isValidRelationAfterPropertyLoop(res)) {
+            res.clearRowInstance();
+            return;
+        }
+        res.clearValidValueCount();
+        if (res.hasNextRelationProperty()
+                && (hasConditionBean(res) || res.hasNextRelationLevel())) {
+            setupNextRelationRow(res);
+        }
+    }
+
+    @Override
+    protected void registerRelationValue(RelationRowCreationResource res,
+            String columnName) throws SQLException {
+        final PropertyType pt = res.getCurrentPropertyType();
+        Object value = null;
+        if (res.containsRelKeyValueIfExists(columnName)) {
+            value = res.extractRelKeyValue(columnName);
+        } else {
+            final ValueType valueType = pt.getValueType();
+            value = valueType.getValue(res.getResultSet(), columnName);
+        }
+
+        if (value != null) {
+            res.incrementValidValueCount();
+            final DBMeta dbmeta = findDBMeta(res.getRow());
+            final String propertyName = pt.getPropertyName();
+            if (dbmeta != null
+                    && dbmeta.hasEntityPropertySetupper(propertyName)) {
+                dbmeta.setupEntityProperty(propertyName, res.getRow(), value);
+            } else {
+                final PropertyDesc pd = pt.getPropertyDesc();
+                pd.setValue(res.getRow(), value);
+            }
+        }
+    }
+
+    /**
+     * @param row The instance of row. (NotNull)
+     * @return The interface of DBMeta. (Nullable: If it's null, it means
+     *         NotFound.)
+     */
+    protected DBMeta findDBMeta(Object row) {
+        return InternalRowCreator.findDBMeta(row);
+    }
+
+    @Override
+    protected void setupPropertyCache(RelationRowCreationResource res)
+            throws SQLException {
+        // - - - - - - - - - - -
+        // Recursive Call Point!
+        // - - - - - - - - - - -
+        res.initializePropertyCacheElement();
+
+        // Do only selected foreign property for performance if condition-bean
+        // exists.
+        if (hasConditionBean(res) && !hasSelectedForeignInfo(res)) {
+            return;
+        }
+
+        // Set up property cache about current beanMetaData.
+        final BeanMetaData nextBmd = res.getRelationBeanMetaData();
+        for (int i = 0; i < nextBmd.getPropertyTypeSize(); ++i) {
+            final PropertyType pt = nextBmd.getPropertyType(i);
+            res.setCurrentPropertyType(pt);
+            if (!isTargetProperty(res)) {
+                continue;
+            }
+            setupPropertyCacheElement(res);
+        }
+
+        // Set up next relation.
+        if (res.hasNextRelationProperty()
+                && (hasConditionBean(res) || res.hasNextRelationLevel())) {
+            res.backupRelationPropertyType();
+            res.incrementCurrentRelationNestLevel();
+            try {
+                setupNextPropertyCache(res, nextBmd);
+            } finally {
+                res.restoreRelationPropertyType();
+                res.decrementCurrentRelationNestLevel();
+            }
+        }
+    }
+
+    @Override
+    protected boolean isTargetProperty(RelationRowCreationResource res)
+            throws SQLException {
+        final PropertyType pt = res.getCurrentPropertyType();
+        if (!pt.getPropertyDesc().hasWriteMethod()) {
+            return false;
+        }
+        if (java.util.List.class.isAssignableFrom(pt.getPropertyDesc()
+                .getPropertyType())) {
+            return false;
+        }
+        return true;
+    }
+
+    @Override
+    protected boolean isCreateDeadLink() {
+        return false;
+    }
+
+    @Override
+    protected int getLimitRelationNestLevel() {
+        return 2;// for Compatible
+    }
+
+    @SuppressWarnings("unchecked")
+    @Override
+    protected RelationRowCreationResource createResourceForRow(ResultSet rs,
+            RelationPropertyType rpt, Set columnNames, Map relKeyValues,
+            Map relationPropertyCache) throws SQLException {
+        final RelationRowCreationResource res = new RelationRowCreationResourceExtension();
+        res.setResultSet(rs);
+        res.setRelationPropertyType(rpt);
+        res.setColumnNames(columnNames);
+        res.setRelKeyValues(relKeyValues);
+        res.setRelationPropertyCache(relationPropertyCache);
+        res.setBaseSuffix("");// as Default
+        res.setRelationNoSuffix(buildRelationNoSuffix(rpt));
+        res.setLimitRelationNestLevel(getLimitRelationNestLevel());
+        res.setCurrentRelationNestLevel(1);// as Default
+        res.setCreateDeadLink(isCreateDeadLink());
+        return res;
+    }
+
+    @SuppressWarnings("unchecked")
+    @Override
+    protected RelationRowCreationResource createResourceForPropertyCache(
+            RelationPropertyType rpt, Set columnNames,
+            Map relationPropertyCache, String baseSuffix,
+            String relationNoSuffix, int limitRelationNestLevel)
+            throws SQLException {
+        final RelationRowCreationResource res = new RelationRowCreationResourceExtension();
+        res.setRelationPropertyType(rpt);
+        res.setColumnNames(columnNames);
+        res.setRelationPropertyCache(relationPropertyCache);
+        res.setBaseSuffix(baseSuffix);
+        res.setRelationNoSuffix(relationNoSuffix);
+        res.setLimitRelationNestLevel(limitRelationNestLevel);
+        res.setCurrentRelationNestLevel(1);// as Default
+        return res;
+    }
+
+    protected boolean isConditionBeanSelectedRelation(
+            RelationRowCreationResource res) {
+        if (hasConditionBean(res)) {
+            final ConditionBean cb = ConditionBeanContext
+                    .getConditionBeanOnThread();
+            if (cb.getSqlClause().hasSelectedForeignInfo(
+                    res.getRelationNoSuffix())) {
+                return true;
+            }
+        }
+        return false;
+    }
+
+    protected boolean hasConditionBean(RelationRowCreationResource res) {
+        return ConditionBeanContext.isExistConditionBeanOnThread();
+    }
+
+    protected boolean hasSelectedForeignInfo(RelationRowCreationResource res) {
+        final ConditionBean cb = ConditionBeanContext
+                .getConditionBeanOnThread();
+        if (cb.getSqlClause().hasSelectedForeignInfo(res.getRelationNoSuffix())) {
+            return true;
+        }
+        return false;
+    }
+
+    protected static class RelationRowCreationResourceExtension extends
+            RelationRowCreationResource {
+        protected Stack<RelationPropertyType> backupRelationPropertyType = new Stack<RelationPropertyType>();
+
+        protected Stack<String> backupBaseSuffix = new Stack<String>();
+
+        protected Stack<String> backupRelationSuffix = new Stack<String>();
+
+        @Override
+        public void backupRelationPropertyType() {
+            backupRelationPropertyType.push(getRelationPropertyType());
+        }
+
+        @Override
+        public void restoreRelationPropertyType() {
+            setRelationPropertyType(backupRelationPropertyType.pop());
+        }
+
+        @Override
+        public void backupSuffixAndPrepare(String baseSuffix,
+                String additionalRelationNoSuffix) {
+            backupBaseSuffixExtension();
+            backupRelationNoSuffixExtension();
+            setBaseSuffix(baseSuffix);
+            addRelationNoSuffix(additionalRelationNoSuffix);
+        }
+
+        @Override
+        public void restoreSuffix() {
+            restoreBaseSuffixExtension();
+            restoreRelationNoSuffixExtension();
+        }
+
+        protected void backupBaseSuffixExtension() {
+            backupBaseSuffix.push(getBaseSuffix());
+        }
+
+        protected void restoreBaseSuffixExtension() {
+            setBaseSuffix(backupBaseSuffix.pop());
+        }
+
+        protected void backupRelationNoSuffixExtension() {
+            backupRelationSuffix.push(getRelationNoSuffix());
+        }
+
+        protected void restoreRelationNoSuffixExtension() {
+            setRelationNoSuffix(backupRelationSuffix.pop());
+        }
+    }
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRowCreator.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRowCreator.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/allcommon/s2dao/internal/various/InternalRowCreator.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,289 @@
+package jp.sf.pal.board.db.allcommon.s2dao.internal.various;
+
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.InternalMapContext;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.board.db.allcommon.util.SimpleSystemUtil;
+
+import org.seasar.dao.impl.RowCreatorImpl;
+import org.seasar.extension.jdbc.PropertyType;
+import org.seasar.extension.jdbc.ValueType;
+
+/**
+ * @author DBFlute(AutoGenerator)
+ */
+public class InternalRowCreator extends RowCreatorImpl {
+
+    //==========================================================================
+    // =========
+    // Definition
+    // ==========
+    /** Log instance. */
+    private static final org.apache.commons.logging.Log _log = org.apache.commons.logging.LogFactory
+            .getLog(InternalRowCreator.class);
+
+    /** The key of DBMeta cache. */
+    protected static final String DBMETA_CACHE_KEY = "df:DBMetaCache";
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected DBMeta _dbmeta;
+
+    //==========================================================================
+    // =========
+    // Constructor
+    // ===========
+    protected InternalRowCreator() {
+    }
+
+    /**
+     * @param beanClass The class of target bean to find DB-meta. (Nullable)
+     * @return The instance of internal row creator. (NotNull)
+     */
+    public static InternalRowCreator createInternalRowCreator(Class<?> beanClass) {
+        final InternalRowCreator rowCreator = new InternalRowCreator();
+        if (beanClass != null) {
+            rowCreator.setDBMeta(findDBMetaByClass(beanClass));
+        }
+        return rowCreator;
+    }
+
+    //==========================================================================
+    // =========
+    // Main
+    // ====
+    @SuppressWarnings("unchecked")
+    @Override
+    public Object createRow(ResultSet rs, Map propertyCache, Class beanClass)
+            throws SQLException {
+        final Set columnNameSet = propertyCache.keySet();
+        String columnName = null;
+        PropertyType pt = null;
+        String propertyName = null;
+        final Object row;
+        final DBMeta dbmeta;
+        if (_dbmeta != null) {
+            dbmeta = _dbmeta;
+            row = dbmeta.newEntity();
+        } else {
+            row = newBean(beanClass);
+            dbmeta = findDBMeta(row);
+        }
+        try {
+            if (dbmeta != null) {
+                for (final Iterator ite = columnNameSet.iterator(); ite
+                        .hasNext();) {
+                    columnName = (String) ite.next();
+                    pt = (PropertyType) propertyCache.get(columnName);
+                    propertyName = pt.getPropertyName();
+                    if (dbmeta.hasEntityPropertySetupper(propertyName)) {
+                        final ValueType valueType = pt.getValueType();
+                        final Object value = valueType.getValue(rs, columnName);
+                        dbmeta.setupEntityProperty(propertyName, row, value);
+                    } else {
+                        registerValue(rs, row, pt, columnName);
+                    }
+                }
+            } else {
+                for (final Iterator ite = columnNameSet.iterator(); ite
+                        .hasNext();) {
+                    columnName = (String) ite.next();
+                    pt = (PropertyType) propertyCache.get(columnName);
+                    propertyName = pt.getPropertyName();
+                    registerValue(rs, row, pt, columnName);
+                }
+            }
+            return row;
+        } catch (ClassCastException e) {
+            if (_log.isWarnEnabled()) {
+                String msg = ClassCastException.class.getSimpleName()
+                        + " occurred while ResultSet Handling:";
+                _log.warn(msg + " target=" + beanClass.getSimpleName() + "."
+                        + propertyName + " dbmeta");
+            }
+            throwNonsenseClassCastException(row, dbmeta, e);
+            return null; // Unreachable!
+        } catch (SQLException e) {
+            if (_log.isWarnEnabled()) {
+                String msg = SQLException.class.getSimpleName()
+                        + " occurred while ResultSet Handling:";
+                _log.warn(msg + " target=" + beanClass.getSimpleName() + "."
+                        + propertyName);
+            }
+            throw e;
+        }
+    }
+
+    protected void throwNonsenseClassCastException(Object entity,
+            DBMeta dbmeta, ClassCastException e) {
+        String msg = "Look! Read the message below." + getLineSeparator();
+        msg = msg
+                + "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
+                + getLineSeparator();
+        msg = msg + "Nonsense ClassCastException occured!" + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Advice]" + getLineSeparator();
+        msg = msg
+                + "This exception may be from ClassLoader Headache about HotDeploy."
+                + getLineSeparator();
+        msg = msg
+                + "Please add the ignore-package setting to convention.dicon like as follows:"
+                + getLineSeparator();
+        msg = msg + "  For example:" + getLineSeparator();
+        msg = msg + "    <initMethod name=”addIgnorePackageName”>"
+                + getLineSeparator();
+        msg = msg + "        <arg>”com.example.xxx.dbflute”</arg>"
+                + getLineSeparator();
+        msg = msg + "    </initMethod>" + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Exception Message]" + getLineSeparator() + e.getMessage()
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Target Entity]" + getLineSeparator() + entity
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Target Entity Class Loader]" + getLineSeparator()
+                + entity.getClass().getClassLoader() + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Target DBMeta]" + getLineSeparator() + dbmeta
+                + getLineSeparator();
+        msg = msg + getLineSeparator();
+        msg = msg + "[Target DBMeta Class Loader]" + getLineSeparator()
+                + dbmeta.getClass().getClassLoader() + getLineSeparator();
+        msg = msg + "* * * * * * * * * */";
+        throw new NonsenseClassCastException(msg, e);
+    }
+
+    public static class NonsenseClassCastException extends RuntimeException {
+        private static final long serialVersionUID = 1L;
+
+        public NonsenseClassCastException(String msg, ClassCastException e) {
+            super(msg, e);
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // Assist Helper
+    // =============
+    /**
+     * @param row The instance of row. (NotNull)
+     * @return The interface of DBMeta. (Nullable: If it's null, it means
+     *         NotFound.)
+     */
+    public static DBMeta findDBMeta(Object row) {
+        return DBMetaCacheHandler.findDBMeta(row);
+    }
+
+    /**
+     * @param rowType The type of row. (NotNull)
+     * @param tableName The name of table. (NotNull)
+     * @return The interface of DBMeta. (Nullable: If it's null, it means
+     *         NotFound.)
+     */
+    public static DBMeta findDBMeta(Class<?> rowType, String tableName) {
+        return DBMetaCacheHandler.findDBMeta(rowType, tableName);
+    }
+
+    protected static class DBMetaCacheHandler {
+
+        /** The key of DBMeta cache. */
+        protected static final String DBMETA_CACHE_KEY = "df:DBMetaCache";
+
+        public static DBMeta findDBMeta(Object row) {
+            if (!(row instanceof Entity)) {
+                return null;
+            }
+            final Entity entity = (Entity) row;
+            DBMeta dbmeta = findCachedDBMeta(entity.getClass());
+            if (dbmeta != null) {
+                return dbmeta;
+            }
+            dbmeta = entity.getDBMeta();
+            cacheDBMeta(entity, dbmeta);
+            return dbmeta;
+        }
+
+        public static DBMeta findDBMeta(Class<?> rowType, String tableName) {
+            DBMeta dbmeta = findCachedDBMeta(rowType);
+            if (dbmeta != null) {
+                return dbmeta;
+            }
+            try {
+                dbmeta = DBMetaInstanceHandler.findDBMeta(tableName);
+            } catch (DBMetaInstanceHandler.DBMetaNotFoundException ignored) {
+                return null;
+            }
+            cacheDBMeta(rowType, dbmeta);
+            return dbmeta;
+        }
+
+        protected static DBMeta findCachedDBMeta(Class<?> rowType) {
+            Map<Class<?>, DBMeta> dbmetaCache = findDBMetaCache();
+            if (dbmetaCache == null) {
+                dbmetaCache = new HashMap<Class<?>, DBMeta>();
+                InternalMapContext.setObject(DBMETA_CACHE_KEY, dbmetaCache);
+            }
+            return dbmetaCache.get(rowType);
+        }
+
+        protected static void cacheDBMeta(Entity entity, DBMeta dbmeta) {
+            cacheDBMeta(entity.getClass(), dbmeta);
+        }
+
+        protected static void cacheDBMeta(Class<?> type, DBMeta dbmeta) {
+            final Map<Class<?>, DBMeta> dbmetaCache = findDBMetaCache();
+            dbmetaCache.put(type, dbmeta);
+        }
+
+        @SuppressWarnings("unchecked")
+        protected static Map<Class<?>, DBMeta> findDBMetaCache() {
+            return (Map<Class<?>, DBMeta>) InternalMapContext
+                    .getObject(DBMETA_CACHE_KEY);
+        }
+    }
+
+    protected static DBMeta findDBMetaByClass(Class<?> beanClass) {
+        final Object instance = newInstance(beanClass);
+        if (!(instance instanceof Entity)) {
+            return null;
+        }
+        return ((Entity) instance).getDBMeta();
+    }
+
+    protected static Object newInstance(Class<?> clazz) {
+        try {
+            return clazz.newInstance();
+        } catch (InstantiationException e) {
+            throw new IllegalStateException(e);
+        } catch (IllegalAccessException e) {
+            throw new IllegalStateException(e);
+        }
+    }
+
+    //==========================================================================
+    // =========
+    // General Helper
+    // ==============
+    protected String getLineSeparator() {
+        return SimpleSystemUtil.getLineSeparator();
+    }
+
+    //==========================================================================
+    // =========
+    // Accessor
+    // ========
+    public void setDBMeta(DBMeta dbmeta) {
+        this._dbmeta = dbmeta;
+    }
+}


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

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsAttachmentBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsAttachmentBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsAttachmentBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -14,6 +14,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.AttachmentDbm;
 import jp.sf.pal.board.db.cbean.AttachmentCB;
@@ -57,7 +58,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsAttachmentBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -220,16 +220,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of Attachment. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<Attachment> selectList(AttachmentCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<Attachment>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<Attachment>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -237,10 +236,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of Attachment. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<Attachment> selectPage(final AttachmentCB cb) {
         assertConditionBeanNotNull(cb);
@@ -286,7 +285,7 @@
      * Load referrer of messageAttachmentList 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
+     * condition-bean that the setupper provides have settings before you touch
      * it. It is as follows:
      * 
      * <pre>
@@ -295,8 +294,8 @@
      * </pre>
      * 
      * @param attachmentList The entity list of attachment. (NotNull)
-     * @param conditionBeanSetupper Referrer condition setupper instance for
-     *            registering referrer condition. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
      */
     public void loadMessageAttachmentList(List<Attachment> attachmentList,
             ConditionBeanSetupper<MessageAttachmentCB> conditionBeanSetupper) {
@@ -316,7 +315,7 @@
      * setupper.}
      * 
      * @param attachmentList The entity list of attachment. (NotNull)
-     * @param loadReferrerOption the option of load-referrer. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
      */
     public void loadMessageAttachmentList(
             List<Attachment> attachmentList,
@@ -328,7 +327,7 @@
         if (attachmentList.isEmpty()) {
             return;
         }
-        final MessageAttachmentBhv referrerBhv = getBehaviorSelector().select(
+        final MessageAttachmentBhv referrerBhv = xgetBSFLR().select(
                 MessageAttachmentBhv.class);
         helpLoadReferrerInternally(
                 attachmentList,
@@ -378,8 +377,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
+    // Pullout Foreign
+    // ===============
 
     //==========================================================================
     // =========
@@ -591,18 +590,6 @@
     // -----------------------------------------------------
     // Select
     // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<Attachment> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected Attachment delegateGetEntity(Long id) {
-        return getMyDao().getEntity(id);
-    }
-
     protected int delegateSelectCount(AttachmentCB cb) {
         assertConditionBeanNotNull(cb);
         return getMyDao().selectCount(cb);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryAccessBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryAccessBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryAccessBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -12,6 +12,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.CategoryAccessDbm;
 import jp.sf.pal.board.db.cbean.CategoryAccessCB;
@@ -53,7 +54,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsCategoryAccessBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -219,16 +219,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of CategoryAccess. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<CategoryAccess> selectList(CategoryAccessCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<CategoryAccess>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<CategoryAccess>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -236,10 +235,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of CategoryAccess. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<CategoryAccess> selectPage(final CategoryAccessCB cb) {
         assertConditionBeanNotNull(cb);
@@ -285,9 +284,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
-
+    // Pullout Foreign
+    // ===============
     /**
      * Pull out the list of foreign table 'Category'.
      * 
@@ -636,18 +634,6 @@
     // -----------------------------------------------------
     // Select
     // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<CategoryAccess> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected CategoryAccess delegateGetEntity(Long id) {
-        return getMyDao().getEntity(id);
-    }
-
     protected int delegateSelectCount(CategoryAccessCB cb) {
         assertConditionBeanNotNull(cb);
         return getMyDao().selectCount(cb);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsCategoryBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -14,6 +14,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.CategoryDbm;
 import jp.sf.pal.board.db.cbean.CategoryAccessCB;
@@ -60,7 +61,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsCategoryBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -223,16 +223,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of Category. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<Category> selectList(CategoryCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<Category>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<Category>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -240,10 +239,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of Category. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<Category> selectPage(final CategoryCB cb) {
         assertConditionBeanNotNull(cb);
@@ -288,8 +287,8 @@
     /**
      * Load referrer of categoryAccessList 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
+     * 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>
@@ -298,8 +297,8 @@
      * </pre>
      * 
      * @param categoryList The entity list of category. (NotNull)
-     * @param conditionBeanSetupper Referrer condition setupper instance for
-     *            registering referrer condition. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
      */
     public void loadCategoryAccessList(List<Category> categoryList,
             ConditionBeanSetupper<CategoryAccessCB> conditionBeanSetupper) {
@@ -319,7 +318,7 @@
      * setupper.}
      * 
      * @param categoryList The entity list of category. (NotNull)
-     * @param loadReferrerOption the option of load-referrer. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
      */
     public void loadCategoryAccessList(
             List<Category> categoryList,
@@ -331,7 +330,7 @@
         if (categoryList.isEmpty()) {
             return;
         }
-        final CategoryAccessBhv referrerBhv = getBehaviorSelector().select(
+        final CategoryAccessBhv referrerBhv = xgetBSFLR().select(
                 CategoryAccessBhv.class);
         helpLoadReferrerInternally(
                 categoryList,
@@ -381,8 +380,8 @@
     /**
      * Load referrer of messageList 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
+     * 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>
@@ -391,8 +390,8 @@
      * </pre>
      * 
      * @param categoryList The entity list of category. (NotNull)
-     * @param conditionBeanSetupper Referrer condition setupper instance for
-     *            registering referrer condition. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
      */
     public void loadMessageList(List<Category> categoryList,
             ConditionBeanSetupper<MessageCB> conditionBeanSetupper) {
@@ -412,7 +411,7 @@
      * setupper.}
      * 
      * @param categoryList The entity list of category. (NotNull)
-     * @param loadReferrerOption the option of load-referrer. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
      */
     public void loadMessageList(List<Category> categoryList,
             LoadReferrerOption<MessageCB, Message> loadReferrerOption) {
@@ -422,8 +421,7 @@
         if (categoryList.isEmpty()) {
             return;
         }
-        final MessageBhv referrerBhv = getBehaviorSelector().select(
-                MessageBhv.class);
+        final MessageBhv referrerBhv = xgetBSFLR().select(MessageBhv.class);
         helpLoadReferrerInternally(
                 categoryList,
                 loadReferrerOption,
@@ -471,8 +469,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
+    // Pullout Foreign
+    // ===============
 
     //==========================================================================
     // =========
@@ -798,18 +796,6 @@
     // -----------------------------------------------------
     // 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);

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupInfoBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupInfoBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupInfoBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,897 @@
+package jp.sf.pal.board.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.allcommon.DaoReadable;
+import jp.sf.pal.board.db.allcommon.DaoWritable;
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.bsentity.dbmeta.GroupInfoDbm;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.exbhv.GroupMappingBhv;
+import jp.sf.pal.board.db.exbhv.UserInfoBhv;
+import jp.sf.pal.board.db.exdao.GroupInfoDao;
+import jp.sf.pal.board.db.exentity.GroupInfo;
+import jp.sf.pal.board.db.exentity.GroupMapping;
+import jp.sf.pal.board.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.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException When
+     * the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.board.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.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupMappingBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupMappingBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupMappingBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,602 @@
+package jp.sf.pal.board.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.allcommon.DaoReadable;
+import jp.sf.pal.board.db.allcommon.DaoWritable;
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.bsentity.dbmeta.GroupMappingDbm;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.exdao.GroupMappingDao;
+import jp.sf.pal.board.db.exentity.GroupInfo;
+import jp.sf.pal.board.db.exentity.GroupMapping;
+import jp.sf.pal.board.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.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException When
+     * the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsGroupMappingBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageAttachmentBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageAttachmentBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageAttachmentBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -12,6 +12,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.MessageAttachmentDbm;
 import jp.sf.pal.board.db.cbean.MessageAttachmentCB;
@@ -54,7 +55,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsMessageAttachmentBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -221,16 +221,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of MessageAttachment. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<MessageAttachment> selectList(MessageAttachmentCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<MessageAttachment>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<MessageAttachment>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -238,10 +237,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of MessageAttachment. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<MessageAttachment> selectPage(
             final MessageAttachmentCB cb) {
@@ -288,9 +287,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
-
+    // Pullout Foreign
+    // ===============
     /**
      * Pull out the list of foreign table 'Attachment'.
      * 
@@ -660,18 +658,6 @@
     // -----------------------------------------------------
     // Select
     // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<MessageAttachment> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected MessageAttachment delegateGetEntity(Long id) {
-        return getMyDao().getEntity(id);
-    }
-
     protected int delegateSelectCount(MessageAttachmentCB cb) {
         assertConditionBeanNotNull(cb);
         return getMyDao().selectCount(cb);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -14,6 +14,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.MessageDbm;
 import jp.sf.pal.board.db.cbean.MessageAttachmentCB;
@@ -62,7 +63,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsMessageBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -225,16 +225,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of Message. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<Message> selectList(MessageCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<Message>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<Message>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -242,10 +241,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of Message. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<Message> selectPage(final MessageCB cb) {
         assertConditionBeanNotNull(cb);
@@ -291,7 +290,7 @@
      * Load referrer of messageAttachmentList 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
+     * condition-bean that the setupper provides have settings before you touch
      * it. It is as follows:
      * 
      * <pre>
@@ -300,8 +299,8 @@
      * </pre>
      * 
      * @param messageList The entity list of message. (NotNull)
-     * @param conditionBeanSetupper Referrer condition setupper instance for
-     *            registering referrer condition. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
      */
     public void loadMessageAttachmentList(List<Message> messageList,
             ConditionBeanSetupper<MessageAttachmentCB> conditionBeanSetupper) {
@@ -321,7 +320,7 @@
      * setupper.}
      * 
      * @param messageList The entity list of message. (NotNull)
-     * @param loadReferrerOption the option of load-referrer. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
      */
     public void loadMessageAttachmentList(
             List<Message> messageList,
@@ -333,7 +332,7 @@
         if (messageList.isEmpty()) {
             return;
         }
-        final MessageAttachmentBhv referrerBhv = getBehaviorSelector().select(
+        final MessageAttachmentBhv referrerBhv = xgetBSFLR().select(
                 MessageAttachmentBhv.class);
         helpLoadReferrerInternally(
                 messageList,
@@ -382,8 +381,8 @@
     /**
      * Load referrer of replyList 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
+     * 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>
@@ -392,8 +391,8 @@
      * </pre>
      * 
      * @param messageList The entity list of message. (NotNull)
-     * @param conditionBeanSetupper Referrer condition setupper instance for
-     *            registering referrer condition. (NotNull)
+     * @param conditionBeanSetupper The instance of referrer condition-bean
+     *            setupper for registering referrer condition. (NotNull)
      */
     public void loadReplyList(List<Message> messageList,
             ConditionBeanSetupper<ReplyCB> conditionBeanSetupper) {
@@ -412,7 +411,7 @@
      * setupper.}
      * 
      * @param messageList The entity list of message. (NotNull)
-     * @param loadReferrerOption the option of load-referrer. (NotNull)
+     * @param loadReferrerOption The option of load-referrer. (NotNull)
      */
     public void loadReplyList(List<Message> messageList,
             LoadReferrerOption<ReplyCB, Reply> loadReferrerOption) {
@@ -422,8 +421,7 @@
         if (messageList.isEmpty()) {
             return;
         }
-        final ReplyBhv referrerBhv = getBehaviorSelector().select(
-                ReplyBhv.class);
+        final ReplyBhv referrerBhv = xgetBSFLR().select(ReplyBhv.class);
         helpLoadReferrerInternally(
                 messageList,
                 loadReferrerOption,
@@ -468,9 +466,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
-
+    // Pullout Foreign
+    // ===============
     /**
      * Pull out the list of foreign table 'Category'.
      * 
@@ -827,18 +824,6 @@
     // -----------------------------------------------------
     // Select
     // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<Message> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected Message delegateGetEntity(Long id) {
-        return getMyDao().getEntity(id);
-    }
-
     protected int delegateSelectCount(MessageCB cb) {
         assertConditionBeanNotNull(cb);
         return getMyDao().selectCount(cb);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageContentBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageContentBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsMessageContentBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -12,6 +12,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.MessageContentDbm;
 import jp.sf.pal.board.db.cbean.MessageContentCB;
@@ -53,7 +54,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsMessageContentBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -219,16 +219,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of MessageContent. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<MessageContent> selectList(MessageContentCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<MessageContent>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<MessageContent>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -236,10 +235,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of MessageContent. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<MessageContent> selectPage(final MessageContentCB cb) {
         assertConditionBeanNotNull(cb);
@@ -285,9 +284,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
-
+    // Pullout Foreign
+    // ===============
     /**
      * Pull out the list of foreign table 'Message'.
      * 
@@ -515,18 +513,6 @@
     // -----------------------------------------------------
     // Select
     // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<MessageContent> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected MessageContent delegateGetEntity(Long messageId) {
-        return getMyDao().getEntity(messageId);
-    }
-
     protected int delegateSelectCount(MessageContentCB cb) {
         assertConditionBeanNotNull(cb);
         return getMyDao().selectCount(cb);

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsReplyBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsReplyBhv.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsReplyBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -12,6 +12,7 @@
 import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
 import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
 import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
 import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.board.db.bsentity.dbmeta.ReplyDbm;
 import jp.sf.pal.board.db.cbean.ReplyCB;
@@ -53,7 +54,6 @@
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public abstract class BsReplyBhv extends
         jp.sf.pal.board.db.allcommon.bhv.AbstractBehaviorWritable {
 
@@ -216,16 +216,15 @@
     // List Select
     // ===========
     /**
-     * Select the list as result-bean.
+     * Select the list as result bean.
      * 
      * @param cb The condition-bean of Reply. (NotNull)
-     * @return The result-bean of selected list. (NotNull)
+     * @return The result bean of selected list. (NotNull)
      */
     public ListResultBean<Reply> selectList(ReplyCB cb) {
         assertConditionBeanNotNull(cb);
-        return new jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder<Reply>(
-                getTableDbName()).buildListResultBean(cb,
-                delegateSelectList(cb));
+        return new ResultBeanBuilder<Reply>(getTableDbName())
+                .buildListResultBean(cb, delegateSelectList(cb));
     }
 
     //==========================================================================
@@ -233,10 +232,10 @@
     // Page Select
     // ===========
     /**
-     * Select the page as result-bean.
+     * Select the page as result bean.
      * 
      * @param cb The condition-bean of Reply. (NotNull)
-     * @return The result-bean of selected page. (NotNull)
+     * @return The result bean of selected page. (NotNull)
      */
     public PagingResultBean<Reply> selectPage(final ReplyCB cb) {
         assertConditionBeanNotNull(cb);
@@ -281,9 +280,8 @@
 
     //==========================================================================
     // =========
-    // Pull Out Foreign
-    // ================
-
+    // Pullout Foreign
+    // ===============
     /**
      * Pull out the list of foreign table 'Message'.
      * 
@@ -507,18 +505,6 @@
     // -----------------------------------------------------
     // Select
     // ------
-    protected int delegateGetCountAll() {
-        return getMyDao().getCountAll();
-    }
-
-    protected List<Reply> delegateGetListAll() {
-        return getMyDao().getListAll();
-    }
-
-    protected Reply delegateGetEntity(Long id) {
-        return getMyDao().getEntity(id);
-    }
-
     protected int delegateSelectCount(ReplyCB cb) {
         assertConditionBeanNotNull(cb);
         return getMyDao().selectCount(cb);

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleInfoBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleInfoBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleInfoBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,895 @@
+package jp.sf.pal.board.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.allcommon.DaoReadable;
+import jp.sf.pal.board.db.allcommon.DaoWritable;
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.bsentity.dbmeta.RoleInfoDbm;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.exbhv.RoleMappingBhv;
+import jp.sf.pal.board.db.exbhv.UserInfoBhv;
+import jp.sf.pal.board.db.exdao.RoleInfoDao;
+import jp.sf.pal.board.db.exentity.RoleInfo;
+import jp.sf.pal.board.db.exentity.RoleMapping;
+import jp.sf.pal.board.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.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException When
+     * the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.board.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.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleMappingBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleMappingBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleMappingBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,597 @@
+package jp.sf.pal.board.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.allcommon.DaoReadable;
+import jp.sf.pal.board.db.allcommon.DaoWritable;
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.bsentity.dbmeta.RoleMappingDbm;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.exdao.RoleMappingDao;
+import jp.sf.pal.board.db.exentity.RoleInfo;
+import jp.sf.pal.board.db.exentity.RoleMapping;
+import jp.sf.pal.board.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.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException When
+     * the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsRoleMappingBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsUserInfoBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsUserInfoBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsUserInfoBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,927 @@
+package jp.sf.pal.board.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.allcommon.DaoReadable;
+import jp.sf.pal.board.db.allcommon.DaoWritable;
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.board.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.board.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.board.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.board.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.board.db.allcommon.cbean.ResultBeanBuilder;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.bsentity.dbmeta.UserInfoDbm;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.exbhv.GroupMappingBhv;
+import jp.sf.pal.board.db.exbhv.RoleMappingBhv;
+import jp.sf.pal.board.db.exdao.UserInfoDao;
+import jp.sf.pal.board.db.exentity.GroupInfo;
+import jp.sf.pal.board.db.exentity.GroupMapping;
+import jp.sf.pal.board.db.exentity.RoleInfo;
+import jp.sf.pal.board.db.exentity.RoleMapping;
+import jp.sf.pal.board.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, NICKNAME, GENDER, BIRTH_DATE, 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.board.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.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException When
+     * the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.board.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.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.board.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.board.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsbhv/BsUserInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsAttachmentDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsAttachmentDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsAttachmentDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,49 +6,32 @@
 import jp.sf.pal.board.db.exentity.Attachment;
 
 /**
- * The dao interface of ATTACHMENT.
+ * The DAO interface of ATTACHMENT.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsAttachmentDao extends
         jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = Attachment.class;// For S2Dao
+    public Class<?> BEAN = Attachment.class; // For S2Dao
 
-    public static final String getCountAll_SQL = "select count(*) from ATTACHMENT";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, DATA, NAME, SIZE, CONTENT_TYPE, CREATED_TIME, CREATED_BY from ATTACHMENT";
-
-    public java.util.List<Attachment> getListAll();
-
-    public static final String getEntity_SQL = "select ID, DATA, NAME, SIZE, CONTENT_TYPE, CREATED_TIME, CREATED_BY from ATTACHMENT where ATTACHMENT.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public Attachment getEntity(Long id);
-
     public int selectCount(AttachmentCB cb);
 
     public List<Attachment> selectList(AttachmentCB cb);
 
-    public int insert(Attachment entity);
+    int insert(Attachment entity);
 
-    public int updateModifiedOnly(Attachment entity);
+    int updateModifiedOnly(Attachment entity);
 
-    public int delete(Attachment entity);
+    int delete(Attachment entity);
 
-    public int[] insertList(List<Attachment> entityList);
+    int[] insertList(List<Attachment> entityList);
 
-    public int[] updateList(List<Attachment> entityList);
+    int[] updateList(List<Attachment> entityList);
 
-    public int updateByQuery(AttachmentCB cb, Attachment entity);//{DBFlute-0.7.5
+    int updateByQuery(AttachmentCB cb, Attachment entity);
 
-    // }
+    int[] deleteList(List<Attachment> entityList);
 
-    public int[] deleteList(List<Attachment> entityList);
-
-    public int deleteByQuery(AttachmentCB cb);
+    int deleteByQuery(AttachmentCB cb);
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryAccessDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryAccessDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryAccessDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,60 +6,40 @@
 import jp.sf.pal.board.db.exentity.CategoryAccess;
 
 /**
- * The dao interface of CATEGORY_ACCESS.
+ * The DAO interface of CATEGORY_ACCESS.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsCategoryAccessDao extends
         jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = CategoryAccess.class;// For S2Dao
+    public Class<?> BEAN = CategoryAccess.class; // For S2Dao
 
-    public static final String getCountAll_SQL = "select count(*) from CATEGORY_ACCESS";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, NAME, ACCESS_TYPE, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, VERSIONNO from CATEGORY_ACCESS";
-
-    public java.util.List<CategoryAccess> getListAll();
-
-    public static final String getEntity_SQL = "select ID, NAME, ACCESS_TYPE, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, VERSIONNO from CATEGORY_ACCESS where CATEGORY_ACCESS.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public CategoryAccess getEntity(Long id);
-
     public int selectCount(CategoryAccessCB cb);
 
     public List<CategoryAccess> selectList(CategoryAccessCB cb);
 
-    public int insert(CategoryAccess entity);
+    int insert(CategoryAccess entity);
 
-    public int updateModifiedOnly(CategoryAccess entity);
+    int updateModifiedOnly(CategoryAccess entity);
 
-    public int updateNonstrictModifiedOnly(CategoryAccess entity);
+    int updateNonstrictModifiedOnly(CategoryAccess entity);
 
-    public int delete(CategoryAccess entity);
+    int delete(CategoryAccess entity);
 
-    public int deleteNonstrict(CategoryAccess entity);
+    int deleteNonstrict(CategoryAccess entity);
 
-    public int[] insertList(List<CategoryAccess> entityList);
+    int[] insertList(List<CategoryAccess> entityList);
 
-    public int[] updateList(List<CategoryAccess> entityList);
+    int[] updateList(List<CategoryAccess> entityList);
 
-    public int[] updateListNonstrict(List<CategoryAccess> entityList);
+    int[] updateListNonstrict(List<CategoryAccess> entityList);
 
-    public int updateByQuery(CategoryAccessCB cb, CategoryAccess entity);// {
+    int updateByQuery(CategoryAccessCB cb, CategoryAccess entity);
 
-    // DBFlute
-    // -
-    // 0.7.5
-    // }
+    int[] deleteList(List<CategoryAccess> entityList);
 
-    public int[] deleteList(List<CategoryAccess> entityList);
+    int[] deleteListNonstrict(List<CategoryAccess> entityList);
 
-    public int[] deleteListNonstrict(List<CategoryAccess> entityList);
-
-    public int deleteByQuery(CategoryAccessCB cb);
+    int deleteByQuery(CategoryAccessCB cb);
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsCategoryDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,54 +6,39 @@
 import jp.sf.pal.board.db.exentity.Category;
 
 /**
- * The dao interface of CATEGORY.
+ * The DAO interface of CATEGORY.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsCategoryDao extends jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = Category.class;// For S2Dao
+    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, 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, 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);
+    int insert(Category entity);
 
-    public int updateModifiedOnly(Category entity);
+    int updateModifiedOnly(Category entity);
 
-    public int updateNonstrictModifiedOnly(Category entity);
+    int updateNonstrictModifiedOnly(Category entity);
 
-    public int delete(Category entity);
+    int delete(Category entity);
 
-    public int deleteNonstrict(Category entity);
+    int deleteNonstrict(Category entity);
 
-    public int[] insertList(List<Category> entityList);
+    int[] insertList(List<Category> entityList);
 
-    public int[] updateList(List<Category> entityList);
+    int[] updateList(List<Category> entityList);
 
-    public int[] updateListNonstrict(List<Category> entityList);
+    int[] updateListNonstrict(List<Category> entityList);
 
-    public int updateByQuery(CategoryCB cb, Category entity);// {DBFlute-0.7.5}
+    int updateByQuery(CategoryCB cb, Category entity);
 
-    public int[] deleteList(List<Category> entityList);
+    int[] deleteList(List<Category> entityList);
 
-    public int[] deleteListNonstrict(List<Category> entityList);
+    int[] deleteListNonstrict(List<Category> entityList);
 
-    public int deleteByQuery(CategoryCB cb);
+    int deleteByQuery(CategoryCB cb);
 }

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupInfoDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupInfoDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupInfoDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,45 @@
+package jp.sf.pal.board.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.exentity.GroupInfo;
+
+/**
+ * The DAO interface of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsGroupInfoDao extends
+        jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupMappingDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupMappingDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupMappingDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,37 @@
+package jp.sf.pal.board.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.exentity.GroupMapping;
+
+/**
+ * The DAO interface of GROUP_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsGroupMappingDao extends
+        jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsGroupMappingDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageAttachmentDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageAttachmentDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageAttachmentDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,61 +6,40 @@
 import jp.sf.pal.board.db.exentity.MessageAttachment;
 
 /**
- * The dao interface of MESSAGE_ATTACHMENT.
+ * The DAO interface of MESSAGE_ATTACHMENT.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsMessageAttachmentDao extends
         jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = MessageAttachment.class;// For S2Dao
+    public Class<?> BEAN = MessageAttachment.class; // For S2Dao
 
-    public static final String getCountAll_SQL = "select count(*) from MESSAGE_ATTACHMENT";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, MEMO, VERSIONABLE, MESSAGE_ID, ATTACHMENT_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from MESSAGE_ATTACHMENT";
-
-    public java.util.List<MessageAttachment> getListAll();
-
-    public static final String getEntity_SQL = "select ID, MEMO, VERSIONABLE, MESSAGE_ID, ATTACHMENT_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from MESSAGE_ATTACHMENT where MESSAGE_ATTACHMENT.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public MessageAttachment getEntity(Long id);
-
     public int selectCount(MessageAttachmentCB cb);
 
     public List<MessageAttachment> selectList(MessageAttachmentCB cb);
 
-    public int insert(MessageAttachment entity);
+    int insert(MessageAttachment entity);
 
-    public int updateModifiedOnly(MessageAttachment entity);
+    int updateModifiedOnly(MessageAttachment entity);
 
-    public int updateNonstrictModifiedOnly(MessageAttachment entity);
+    int updateNonstrictModifiedOnly(MessageAttachment entity);
 
-    public int delete(MessageAttachment entity);
+    int delete(MessageAttachment entity);
 
-    public int deleteNonstrict(MessageAttachment entity);
+    int deleteNonstrict(MessageAttachment entity);
 
-    public int[] insertList(List<MessageAttachment> entityList);
+    int[] insertList(List<MessageAttachment> entityList);
 
-    public int[] updateList(List<MessageAttachment> entityList);
+    int[] updateList(List<MessageAttachment> entityList);
 
-    public int[] updateListNonstrict(List<MessageAttachment> entityList);
+    int[] updateListNonstrict(List<MessageAttachment> entityList);
 
-    public int updateByQuery(MessageAttachmentCB cb, MessageAttachment entity);// {
+    int updateByQuery(MessageAttachmentCB cb, MessageAttachment entity);
 
-    // DBFlute
-    // -
-    // 0.7
-    // .5
-    // }
+    int[] deleteList(List<MessageAttachment> entityList);
 
-    public int[] deleteList(List<MessageAttachment> entityList);
+    int[] deleteListNonstrict(List<MessageAttachment> entityList);
 
-    public int[] deleteListNonstrict(List<MessageAttachment> entityList);
-
-    public int deleteByQuery(MessageAttachmentCB cb);
+    int deleteByQuery(MessageAttachmentCB cb);
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageContentDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageContentDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageContentDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,52 +6,32 @@
 import jp.sf.pal.board.db.exentity.MessageContent;
 
 /**
- * The dao interface of MESSAGE_CONTENT.
+ * The DAO interface of MESSAGE_CONTENT.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsMessageContentDao extends
         jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = MessageContent.class;// For S2Dao
+    public Class<?> BEAN = MessageContent.class; // For S2Dao
 
-    public static final String getCountAll_SQL = "select count(*) from MESSAGE_CONTENT";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select MESSAGE_ID, CONTENT from MESSAGE_CONTENT";
-
-    public java.util.List<MessageContent> getListAll();
-
-    public static final String getEntity_SQL = "select MESSAGE_ID, CONTENT from MESSAGE_CONTENT where MESSAGE_CONTENT.MESSAGE_ID = /*messageId*/null";
-
-    public static final String getEntity_ARGS = "messageId";
-
-    public MessageContent getEntity(Long messageId);
-
     public int selectCount(MessageContentCB cb);
 
     public List<MessageContent> selectList(MessageContentCB cb);
 
-    public int insert(MessageContent entity);
+    int insert(MessageContent entity);
 
-    public int updateModifiedOnly(MessageContent entity);
+    int updateModifiedOnly(MessageContent entity);
 
-    public int delete(MessageContent entity);
+    int delete(MessageContent entity);
 
-    public int[] insertList(List<MessageContent> entityList);
+    int[] insertList(List<MessageContent> entityList);
 
-    public int[] updateList(List<MessageContent> entityList);
+    int[] updateList(List<MessageContent> entityList);
 
-    public int updateByQuery(MessageContentCB cb, MessageContent entity);// {
+    int updateByQuery(MessageContentCB cb, MessageContent entity);
 
-    // DBFlute
-    // -
-    // 0.7.5
-    // }
+    int[] deleteList(List<MessageContent> entityList);
 
-    public int[] deleteList(List<MessageContent> entityList);
-
-    public int deleteByQuery(MessageContentCB cb);
+    int deleteByQuery(MessageContentCB cb);
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsMessageDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,54 +6,39 @@
 import jp.sf.pal.board.db.exentity.Message;
 
 /**
- * The dao interface of MESSAGE.
+ * The DAO interface of MESSAGE.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsMessageDao extends jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = Message.class;// For S2Dao
+    public Class<?> BEAN = Message.class; // For S2Dao
 
-    public static final String getCountAll_SQL = "select count(*) from MESSAGE";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, DISPLAY_NAME, TITLE, STATUS, START_TIME, END_TIME, HAS_REPLY, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from MESSAGE";
-
-    public java.util.List<Message> getListAll();
-
-    public static final String getEntity_SQL = "select ID, DISPLAY_NAME, TITLE, STATUS, START_TIME, END_TIME, HAS_REPLY, CATEGORY_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from MESSAGE where MESSAGE.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public Message getEntity(Long id);
-
     public int selectCount(MessageCB cb);
 
     public List<Message> selectList(MessageCB cb);
 
-    public int insert(Message entity);
+    int insert(Message entity);
 
-    public int updateModifiedOnly(Message entity);
+    int updateModifiedOnly(Message entity);
 
-    public int updateNonstrictModifiedOnly(Message entity);
+    int updateNonstrictModifiedOnly(Message entity);
 
-    public int delete(Message entity);
+    int delete(Message entity);
 
-    public int deleteNonstrict(Message entity);
+    int deleteNonstrict(Message entity);
 
-    public int[] insertList(List<Message> entityList);
+    int[] insertList(List<Message> entityList);
 
-    public int[] updateList(List<Message> entityList);
+    int[] updateList(List<Message> entityList);
 
-    public int[] updateListNonstrict(List<Message> entityList);
+    int[] updateListNonstrict(List<Message> entityList);
 
-    public int updateByQuery(MessageCB cb, Message entity);// {DBFlute-0.7.5}
+    int updateByQuery(MessageCB cb, Message entity);
 
-    public int[] deleteList(List<Message> entityList);
+    int[] deleteList(List<Message> entityList);
 
-    public int[] deleteListNonstrict(List<Message> entityList);
+    int[] deleteListNonstrict(List<Message> entityList);
 
-    public int deleteByQuery(MessageCB cb);
+    int deleteByQuery(MessageCB cb);
 }

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsReplyDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsReplyDao.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsReplyDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -6,46 +6,31 @@
 import jp.sf.pal.board.db.exentity.Reply;
 
 /**
- * The dao interface of REPLY.
+ * The DAO interface of REPLY.
  * 
  * @author DBFlute(AutoGenerator)
  */
- @ SuppressWarnings("unchecked")
 public interface BsReplyDao extends jp.sf.pal.board.db.allcommon.DaoWritable {
 
-    public Class BEAN = Reply.class;// For S2Dao
+    public Class<?> BEAN = Reply.class; // For S2Dao
 
-    public static final String getCountAll_SQL = "select count(*) from REPLY";
-
-    public int getCountAll();
-
-    public static final String getListAll_SQL = "select ID, DISPLAY_NAME, CONTENT, MESSAGE_ID, CREATED_TIME, CREATED_BY, DELETED_TIME, DELETED_BY from REPLY";
-
-    public java.util.List<Reply> getListAll();
-
-    public static final String getEntity_SQL = "select ID, DISPLAY_NAME, CONTENT, MESSAGE_ID, CREATED_TIME, CREATED_BY, DELETED_TIME, DELETED_BY from REPLY where REPLY.ID = /*id*/null";
-
-    public static final String getEntity_ARGS = "id";
-
-    public Reply getEntity(Long id);
-
     public int selectCount(ReplyCB cb);
 
     public List<Reply> selectList(ReplyCB cb);
 
-    public int insert(Reply entity);
+    int insert(Reply entity);
 
-    public int updateModifiedOnly(Reply entity);
+    int updateModifiedOnly(Reply entity);
 
-    public int delete(Reply entity);
+    int delete(Reply entity);
 
-    public int[] insertList(List<Reply> entityList);
+    int[] insertList(List<Reply> entityList);
 
-    public int[] updateList(List<Reply> entityList);
+    int[] updateList(List<Reply> entityList);
 
-    public int updateByQuery(ReplyCB cb, Reply entity);// {DBFlute-0.7.5}
+    int updateByQuery(ReplyCB cb, Reply entity);
 
-    public int[] deleteList(List<Reply> entityList);
+    int[] deleteList(List<Reply> entityList);
 
-    public int deleteByQuery(ReplyCB cb);
+    int deleteByQuery(ReplyCB cb);
 }

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleInfoDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleInfoDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleInfoDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,44 @@
+package jp.sf.pal.board.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.exentity.RoleInfo;
+
+/**
+ * The DAO interface of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsRoleInfoDao extends jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleMappingDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleMappingDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleMappingDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,37 @@
+package jp.sf.pal.board.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.exentity.RoleMapping;
+
+/**
+ * The DAO interface of ROLE_MAPPING.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsRoleMappingDao extends
+        jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsRoleMappingDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsUserInfoDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsUserInfoDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsUserInfoDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,44 @@
+package jp.sf.pal.board.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.exentity.UserInfo;
+
+/**
+ * The DAO interface of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+public interface BsUserInfoDao extends jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsdao/BsUserInfoDao.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsAttachment.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsAttachment.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsAttachment.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -10,7 +10,7 @@
 import jp.sf.pal.board.db.exentity.MessageAttachment;
 
 /**
- * The entity of ATTACHMENT(TABLE).
+ * The entity of ATTACHMENT that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -66,29 +66,25 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_FB4FD353_2751_4F2F_887D_3D1E78C7C7DA]}
-     */
+    /** ID: {PK : ID : NotNull : BIGINT} */
     protected Long _id;
 
-    /** The attribute of the column 'DATA'. {BLOB : NotNull} */
+    /** DATA: {NotNull : BLOB} */
     protected byte[] _data;
 
-    /** The attribute of the column 'NAME'. {VARCHAR(255)} */
+    /** NAME: {VARCHAR(255)} */
     protected String _name;
 
-    /** The attribute of the column 'SIZE'. {INTEGER} */
+    /** SIZE: {INTEGER} */
     protected Integer _size;
 
-    /** The attribute of the column 'CONTENT_TYPE'. {VARCHAR(40)} */
+    /** CONTENT_TYPE: {VARCHAR(40)} */
     protected String _contentType;
 
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _createdTime;
 
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
     protected String _createdBy;
 
     // -----------------------------------------------------
@@ -147,13 +143,11 @@
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     // Referrer Property = [messageAttachmentList]
     // * * * * * * * * */
-
-    /** The entity list of referrer property 'messageAttachmentList'. */
+    /** MESSAGE_ATTACHMENT as 'messageAttachmentList'. */
     protected List<MessageAttachment> _childrenMessageAttachmentList;
 
     /**
-     * Get the entity list of referrer property 'messageAttachmentList'.
-     * {without lazy-load} <br />
+     * MESSAGE_ATTACHMENT as 'messageAttachmentList'. {without lazy-load} <br />
      * 
      * @return The entity list of referrer property 'messageAttachmentList'.
      *         (NotNull: If it's not loaded yet, initializes the list instance
@@ -167,7 +161,7 @@
     }
 
     /**
-     * Set the entity list of referrer property 'messageAttachmentList'.
+     * MESSAGE_ATTACHMENT as 'messageAttachmentList'.
      * 
      * @param messageAttachmentList The entity list of referrer property
      *            'messageAttachmentList'. (Nullable)
@@ -274,17 +268,11 @@
     // Accessor
     // ========
 
-    /**
-     * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_FB4FD353_2751_4F2F_887D_3D1E78C7C7DA]}
-     */
+    /** The column annotation for S2Dao. {PK : ID : NotNull : BIGINT} */
     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_FB4FD353_2751_4F2F_887D_3D1E78C7C7DA]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -293,9 +281,7 @@
     }
 
     /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_FB4FD353_2751_4F2F_887D_3D1E78C7C7DA]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -304,11 +290,11 @@
         this._id = id;
     }
 
-    /** The column annotation for S2Dao. {BLOB : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : BLOB} */
     public static final String data_COLUMN = "DATA";
 
     /**
-     * Get the value of the column 'DATA'. <br /> {BLOB : NotNull}
+     * DATA: {NotNull : BLOB} <br />
      * 
      * @return The value of the column 'DATA'. (Nullable)
      */
@@ -317,7 +303,7 @@
     }
 
     /**
-     * Set the value of the column 'DATA'. <br /> {BLOB : NotNull}
+     * DATA: {NotNull : BLOB} <br />
      * 
      * @param data The value of the column 'DATA'. (Nullable)
      */
@@ -330,7 +316,7 @@
     public static final String name_COLUMN = "NAME";
 
     /**
-     * Get the value of the column 'NAME'. <br /> {VARCHAR(255)}
+     * NAME: {VARCHAR(255)} <br />
      * 
      * @return The value of the column 'NAME'. (Nullable)
      */
@@ -339,7 +325,7 @@
     }
 
     /**
-     * Set the value of the column 'NAME'. <br /> {VARCHAR(255)}
+     * NAME: {VARCHAR(255)} <br />
      * 
      * @param name The value of the column 'NAME'. (Nullable)
      */
@@ -352,7 +338,7 @@
     public static final String size_COLUMN = "SIZE";
 
     /**
-     * Get the value of the column 'SIZE'. <br /> {INTEGER}
+     * SIZE: {INTEGER} <br />
      * 
      * @return The value of the column 'SIZE'. (Nullable)
      */
@@ -361,7 +347,7 @@
     }
 
     /**
-     * Set the value of the column 'SIZE'. <br /> {INTEGER}
+     * SIZE: {INTEGER} <br />
      * 
      * @param size The value of the column 'SIZE'. (Nullable)
      */
@@ -374,7 +360,7 @@
     public static final String contentType_COLUMN = "CONTENT_TYPE";
 
     /**
-     * Get the value of the column 'CONTENT_TYPE'. <br /> {VARCHAR(40)}
+     * CONTENT_TYPE: {VARCHAR(40)} <br />
      * 
      * @return The value of the column 'CONTENT_TYPE'. (Nullable)
      */
@@ -383,7 +369,7 @@
     }
 
     /**
-     * Set the value of the column 'CONTENT_TYPE'. <br /> {VARCHAR(40)}
+     * CONTENT_TYPE: {VARCHAR(40)} <br />
      * 
      * @param contentType The value of the column 'CONTENT_TYPE'. (Nullable)
      */
@@ -392,11 +378,11 @@
         this._contentType = contentType;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String createdTime_COLUMN = "CREATED_TIME";
 
     /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -405,7 +391,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -414,11 +400,11 @@
         this._createdTime = createdTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String createdBy_COLUMN = "CREATED_BY";
 
     /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -427,7 +413,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
      */

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategory.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategory.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategory.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -11,7 +11,7 @@
 import jp.sf.pal.board.db.exentity.Message;
 
 /**
- * The entity of CATEGORY(TABLE).
+ * The entity of CATEGORY that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -70,44 +70,34 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_746A38F7_C47F_443B_8A4C_C50514E361B2]}
-     */
+    /** ID: {PK : ID : NotNull : INTEGER} */
     protected Integer _id;
 
-    /** The attribute of the column 'NAME'. {VARCHAR(100) : NotNull} */
+    /** NAME: {NotNull : VARCHAR(100)} */
     protected String _name;
 
-    /**
-     * The attribute of the column 'SORT_ORDER'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
+    /** SORT_ORDER: {NotNull : INTEGER : Default=[0]} */
     protected Integer _sortOrder;
 
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _createdTime;
 
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
     protected String _createdBy;
 
-    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _updatedTime;
 
-    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
     protected String _updatedBy;
 
-    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    /** DELETED_TIME: {TIMESTAMP} */
     protected java.sql.Timestamp _deletedTime;
 
-    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    /** DELETED_BY: {VARCHAR(255)} */
     protected String _deletedBy;
 
-    /**
-     * The attribute of the column 'VERSIONNO'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
+    /** VERSIONNO: {NotNull : INTEGER : Default=[0]} */
     protected Integer _versionno;
 
     // -----------------------------------------------------
@@ -166,13 +156,11 @@
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     // Referrer Property = [categoryAccessList]
     // * * * * * * * * */
-
-    /** The entity list of referrer property 'categoryAccessList'. */
+    /** CATEGORY_ACCESS as 'categoryAccessList'. */
     protected List<CategoryAccess> _childrenCategoryAccessList;
 
     /**
-     * Get the entity list of referrer property 'categoryAccessList'. {without
-     * lazy-load} <br />
+     * CATEGORY_ACCESS as 'categoryAccessList'. {without lazy-load} <br />
      * 
      * @return The entity list of referrer property 'categoryAccessList'.
      *         (NotNull: If it's not loaded yet, initializes the list instance
@@ -186,7 +174,7 @@
     }
 
     /**
-     * Set the entity list of referrer property 'categoryAccessList'.
+     * CATEGORY_ACCESS as 'categoryAccessList'.
      * 
      * @param categoryAccessList The entity list of referrer property
      *            'categoryAccessList'. (Nullable)
@@ -198,13 +186,11 @@
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     // Referrer Property = [messageList]
     // * * * * * * * * */
-
-    /** The entity list of referrer property 'messageList'. */
+    /** MESSAGE as 'messageList'. */
     protected List<Message> _childrenMessageList;
 
     /**
-     * Get the entity list of referrer property 'messageList'. {without
-     * lazy-load} <br />
+     * MESSAGE as 'messageList'. {without lazy-load} <br />
      * 
      * @return The entity list of referrer property 'messageList'. (NotNull: If
      *         it's not loaded yet, initializes the list instance of referrer as
@@ -218,7 +204,7 @@
     }
 
     /**
-     * Set the entity list of referrer property 'messageList'.
+     * MESSAGE as 'messageList'.
      * 
      * @param messageList The entity list of referrer property 'messageList'.
      *            (Nullable)
@@ -327,17 +313,11 @@
     // Accessor
     // ========
 
-    /**
-     * The column annotation for S2Dao. {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_746A38F7_C47F_443B_8A4C_C50514E361B2]}
-     */
+    /** The column annotation for S2Dao. {PK : ID : NotNull : INTEGER} */
     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_746A38F7_C47F_443B_8A4C_C50514E361B2]}
+     * ID: {PK : ID : NotNull : INTEGER} <br />
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -346,9 +326,7 @@
     }
 
     /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : INTEGER : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_746A38F7_C47F_443B_8A4C_C50514E361B2]}
+     * ID: {PK : ID : NotNull : INTEGER} <br />
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -357,11 +335,11 @@
         this._id = id;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(100) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(100)} */
     public static final String name_COLUMN = "NAME";
 
     /**
-     * Get the value of the column 'NAME'. <br /> {VARCHAR(100) : NotNull}
+     * NAME: {NotNull : VARCHAR(100)} <br />
      * 
      * @return The value of the column 'NAME'. (Nullable)
      */
@@ -370,7 +348,7 @@
     }
 
     /**
-     * Set the value of the column 'NAME'. <br /> {VARCHAR(100) : NotNull}
+     * NAME: {NotNull : VARCHAR(100)} <br />
      * 
      * @param name The value of the column 'NAME'. (Nullable)
      */
@@ -379,12 +357,11 @@
         this._name = name;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
     public static final String sortOrder_COLUMN = "SORT_ORDER";
 
     /**
-     * Get the value of the column 'SORT_ORDER'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * SORT_ORDER: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @return The value of the column 'SORT_ORDER'. (Nullable)
      */
@@ -393,8 +370,7 @@
     }
 
     /**
-     * Set the value of the column 'SORT_ORDER'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * SORT_ORDER: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @param sortOrder The value of the column 'SORT_ORDER'. (Nullable)
      */
@@ -403,11 +379,11 @@
         this._sortOrder = sortOrder;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String createdTime_COLUMN = "CREATED_TIME";
 
     /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -416,7 +392,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -425,11 +401,11 @@
         this._createdTime = createdTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String createdBy_COLUMN = "CREATED_BY";
 
     /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -438,7 +414,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -447,11 +423,11 @@
         this._createdBy = createdBy;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String updatedTime_COLUMN = "UPDATED_TIME";
 
     /**
-     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -460,7 +436,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -469,11 +445,11 @@
         this._updatedTime = updatedTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String updatedBy_COLUMN = "UPDATED_BY";
 
     /**
-     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -482,7 +458,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -495,7 +471,7 @@
     public static final String deletedTime_COLUMN = "DELETED_TIME";
 
     /**
-     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @return The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -504,7 +480,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -517,7 +493,7 @@
     public static final String deletedBy_COLUMN = "DELETED_BY";
 
     /**
-     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @return The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -526,7 +502,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -535,12 +511,11 @@
         this._deletedBy = deletedBy;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
     public static final String versionno_COLUMN = "VERSIONNO";
 
     /**
-     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @return The value of the column 'VERSIONNO'. (Nullable)
      */
@@ -549,8 +524,7 @@
     }
 
     /**
-     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @param versionno The value of the column 'VERSIONNO'. (Nullable)
      */

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategoryAccess.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategoryAccess.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsCategoryAccess.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -8,7 +8,7 @@
 import jp.sf.pal.board.db.exentity.Category;
 
 /**
- * The entity of CATEGORY_ACCESS(TABLE).
+ * The entity of CATEGORY_ACCESS that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -67,41 +67,31 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_0B32D55D_EC47_4FE2_880B_EC7D35C62C64]}
-     */
+    /** ID: {PK : ID : NotNull : BIGINT} */
     protected Long _id;
 
-    /** The attribute of the column 'NAME'. {VARCHAR(255) : NotNull} */
+    /** NAME: {NotNull : VARCHAR(255)} */
     protected String _name;
 
-    /** The attribute of the column 'ACCESS_TYPE'. {INTEGER : NotNull} */
+    /** ACCESS_TYPE: {NotNull : INTEGER} */
     protected Integer _accessType;
 
-    /**
-     * The attribute of the column 'CATEGORY_ID'. {INTEGER : NotNull : FK to
-     * CATEGORY}
-     */
+    /** CATEGORY_ID: {NotNull : INTEGER : FK to CATEGORY} */
     protected Integer _categoryId;
 
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _createdTime;
 
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
     protected String _createdBy;
 
-    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _updatedTime;
 
-    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
     protected String _updatedBy;
 
-    /**
-     * The attribute of the column 'VERSIONNO'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
+    /** VERSIONNO: {NotNull : INTEGER : Default=[0]} */
     protected Integer _versionno;
 
     // -----------------------------------------------------
@@ -160,11 +150,11 @@
 
     public static final String category_RELKEYS = "CATEGORY_ID:ID";
 
-    /** The entity of foreign property 'category'. */
+    /** CATEGORY as 'category'. */
     protected Category _parentCategory;
 
     /**
-     * Get the entity of foreign property 'category'. {without lazy-load}
+     * CATEGORY as 'category'. {without lazy-load}
      * 
      * @return The entity of foreign property 'category'. (Nullable: If the
      *         foreign key does not have 'NotNull' constraint, please check
@@ -175,7 +165,7 @@
     }
 
     /**
-     * Set the entity of foreign property 'category'.
+     * CATEGORY as 'category'.
      * 
      * @param category The entity of foreign property 'category'. (Nullable)
      */
@@ -287,17 +277,11 @@
     // Accessor
     // ========
 
-    /**
-     * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_0B32D55D_EC47_4FE2_880B_EC7D35C62C64]}
-     */
+    /** The column annotation for S2Dao. {PK : ID : NotNull : BIGINT} */
     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_0B32D55D_EC47_4FE2_880B_EC7D35C62C64]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -306,9 +290,7 @@
     }
 
     /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_0B32D55D_EC47_4FE2_880B_EC7D35C62C64]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -317,11 +299,11 @@
         this._id = id;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String name_COLUMN = "NAME";
 
     /**
-     * Get the value of the column 'NAME'. <br /> {VARCHAR(255) : NotNull}
+     * NAME: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'NAME'. (Nullable)
      */
@@ -330,7 +312,7 @@
     }
 
     /**
-     * Set the value of the column 'NAME'. <br /> {VARCHAR(255) : NotNull}
+     * NAME: {NotNull : VARCHAR(255)} <br />
      * 
      * @param name The value of the column 'NAME'. (Nullable)
      */
@@ -339,11 +321,11 @@
         this._name = name;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER} */
     public static final String accessType_COLUMN = "ACCESS_TYPE";
 
     /**
-     * Get the value of the column 'ACCESS_TYPE'. <br /> {INTEGER : NotNull}
+     * ACCESS_TYPE: {NotNull : INTEGER} <br />
      * 
      * @return The value of the column 'ACCESS_TYPE'. (Nullable)
      */
@@ -352,7 +334,7 @@
     }
 
     /**
-     * Set the value of the column 'ACCESS_TYPE'. <br /> {INTEGER : NotNull}
+     * ACCESS_TYPE: {NotNull : INTEGER} <br />
      * 
      * @param accessType The value of the column 'ACCESS_TYPE'. (Nullable)
      */
@@ -361,12 +343,11 @@
         this._accessType = accessType;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull : FK to CATEGORY} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER : FK to CATEGORY} */
     public static final String categoryId_COLUMN = "CATEGORY_ID";
 
     /**
-     * Get the value of the column 'CATEGORY_ID'. <br /> {INTEGER : NotNull : FK
-     * to CATEGORY}
+     * CATEGORY_ID: {NotNull : INTEGER : FK to CATEGORY} <br />
      * 
      * @return The value of the column 'CATEGORY_ID'. (Nullable)
      */
@@ -375,8 +356,7 @@
     }
 
     /**
-     * Set the value of the column 'CATEGORY_ID'. <br /> {INTEGER : NotNull : FK
-     * to CATEGORY}
+     * CATEGORY_ID: {NotNull : INTEGER : FK to CATEGORY} <br />
      * 
      * @param categoryId The value of the column 'CATEGORY_ID'. (Nullable)
      */
@@ -385,11 +365,11 @@
         this._categoryId = categoryId;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String createdTime_COLUMN = "CREATED_TIME";
 
     /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -398,7 +378,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -407,11 +387,11 @@
         this._createdTime = createdTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String createdBy_COLUMN = "CREATED_BY";
 
     /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -420,7 +400,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -429,11 +409,11 @@
         this._createdBy = createdBy;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String updatedTime_COLUMN = "UPDATED_TIME";
 
     /**
-     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -442,7 +422,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -451,11 +431,11 @@
         this._updatedTime = updatedTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String updatedBy_COLUMN = "UPDATED_BY";
 
     /**
-     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -464,7 +444,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -473,12 +453,11 @@
         this._updatedBy = updatedBy;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
     public static final String versionno_COLUMN = "VERSIONNO";
 
     /**
-     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @return The value of the column 'VERSIONNO'. (Nullable)
      */
@@ -487,8 +466,7 @@
     }
 
     /**
-     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @param versionno The value of the column 'VERSIONNO'. (Nullable)
      */

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupInfo.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupInfo.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupInfo.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,611 @@
+package jp.sf.pal.board.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.board.db.exentity.GroupMapping;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupMapping.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupMapping.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupMapping.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,356 @@
+package jp.sf.pal.board.db.bsentity;
+
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.board.db.exentity.GroupInfo;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsGroupMapping.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessage.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessage.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessage.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -13,7 +13,7 @@
 import jp.sf.pal.board.db.exentity.Reply;
 
 /**
- * The entity of MESSAGE(TABLE).
+ * The entity of MESSAGE that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -72,65 +72,49 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F4AE50AB_EDB1_4AEC_95D9_572122832CF3]}
-     */
+    /** ID: {PK : ID : NotNull : BIGINT} */
     protected Long _id;
 
-    /** The attribute of the column 'DISPLAY_NAME'. {VARCHAR(100) : NotNull} */
+    /** DISPLAY_NAME: {NotNull : VARCHAR(100)} */
     protected String _displayName;
 
-    /** The attribute of the column 'TITLE'. {VARCHAR(200) : NotNull} */
+    /** TITLE: {NotNull : VARCHAR(200)} */
     protected String _title;
 
-    /**
-     * The attribute of the column 'STATUS'. {VARCHAR(1) : NotNull :
-     * Default=[E]}
-     */
+    /** STATUS: {NotNull : VARCHAR(1) : Default=[E]} */
     protected String _status;
 
-    /** The attribute of the column 'START_TIME'. {TIMESTAMP} */
+    /** START_TIME: {TIMESTAMP} */
     protected java.sql.Timestamp _startTime;
 
-    /** The attribute of the column 'END_TIME'. {TIMESTAMP} */
+    /** END_TIME: {TIMESTAMP} */
     protected java.sql.Timestamp _endTime;
 
-    /**
-     * The attribute of the column 'HAS_REPLY'. {VARCHAR(1) : NotNull :
-     * Default=[T]}
-     */
+    /** HAS_REPLY: {NotNull : VARCHAR(1) : Default=[T]} */
     protected String _hasReply;
 
-    /**
-     * The attribute of the column 'CATEGORY_ID'. {INTEGER : NotNull :
-     * Default=[0] : FK to CATEGORY}
-     */
+    /** CATEGORY_ID: {NotNull : INTEGER : Default=[0] : FK to CATEGORY} */
     protected Integer _categoryId;
 
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _createdTime;
 
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
     protected String _createdBy;
 
-    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _updatedTime;
 
-    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
     protected String _updatedBy;
 
-    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    /** DELETED_TIME: {TIMESTAMP} */
     protected java.sql.Timestamp _deletedTime;
 
-    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    /** DELETED_BY: {VARCHAR(255)} */
     protected String _deletedBy;
 
-    /**
-     * The attribute of the column 'VERSIONNO'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
+    /** VERSIONNO: {NotNull : INTEGER : Default=[0]} */
     protected Integer _versionno;
 
     // -----------------------------------------------------
@@ -189,11 +173,11 @@
 
     public static final String category_RELKEYS = "CATEGORY_ID:ID";
 
-    /** The entity of foreign property 'category'. */
+    /** CATEGORY as 'category'. */
     protected Category _parentCategory;
 
     /**
-     * Get the entity of foreign property 'category'. {without lazy-load}
+     * CATEGORY as 'category'. {without lazy-load}
      * 
      * @return The entity of foreign property 'category'. (Nullable: If the
      *         foreign key does not have 'NotNull' constraint, please check
@@ -204,7 +188,7 @@
     }
 
     /**
-     * Set the entity of foreign property 'category'.
+     * CATEGORY as 'category'.
      * 
      * @param category The entity of foreign property 'category'. (Nullable)
      */
@@ -219,12 +203,11 @@
 
     public static final String messageContentAsOne_RELKEYS = "ID:MESSAGE_ID";
 
-    /** the entity of foreign property(referrer-as-one) 'messageContentAsOne'. */
+    /** MESSAGE_CONTENT as 'messageContentAsOne'. */
     protected MessageContent _childrenmessageContentAsOne;
 
     /**
-     * Get the entity of foreign property(referrer-as-one)
-     * 'messageContentAsOne'. {without lazy-load} <br />
+     * MESSAGE_CONTENT as 'messageContentAsOne'. {without lazy-load} <br />
      * 
      * @return the entity of foreign property(referrer-as-one)
      *         'messageContentAsOne'. (Nullable: If the foreign key does not
@@ -235,8 +218,7 @@
     }
 
     /**
-     * Set the entity of foreign property(referrer-as-one)
-     * 'messageContentAsOne'.
+     * MESSAGE_CONTENT as 'messageContentAsOne'.
      * 
      * @param messageContentAsOne The entity of foreign
      *            property(referrer-as-one) 'messageContentAsOne'. (Nullable)
@@ -252,13 +234,11 @@
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     // Referrer Property = [messageAttachmentList]
     // * * * * * * * * */
-
-    /** The entity list of referrer property 'messageAttachmentList'. */
+    /** MESSAGE_ATTACHMENT as 'messageAttachmentList'. */
     protected List<MessageAttachment> _childrenMessageAttachmentList;
 
     /**
-     * Get the entity list of referrer property 'messageAttachmentList'.
-     * {without lazy-load} <br />
+     * MESSAGE_ATTACHMENT as 'messageAttachmentList'. {without lazy-load} <br />
      * 
      * @return The entity list of referrer property 'messageAttachmentList'.
      *         (NotNull: If it's not loaded yet, initializes the list instance
@@ -272,7 +252,7 @@
     }
 
     /**
-     * Set the entity list of referrer property 'messageAttachmentList'.
+     * MESSAGE_ATTACHMENT as 'messageAttachmentList'.
      * 
      * @param messageAttachmentList The entity list of referrer property
      *            'messageAttachmentList'. (Nullable)
@@ -285,13 +265,11 @@
     // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
     // Referrer Property = [replyList]
     // * * * * * * * * */
-
-    /** The entity list of referrer property 'replyList'. */
+    /** REPLY as 'replyList'. */
     protected List<Reply> _childrenReplyList;
 
     /**
-     * Get the entity list of referrer property 'replyList'. {without lazy-load}
-     * <br />
+     * REPLY as 'replyList'. {without lazy-load} <br />
      * 
      * @return The entity list of referrer property 'replyList'. (NotNull: If
      *         it's not loaded yet, initializes the list instance of referrer as
@@ -305,7 +283,7 @@
     }
 
     /**
-     * Set the entity list of referrer property 'replyList'.
+     * REPLY as 'replyList'.
      * 
      * @param replyList The entity list of referrer property 'replyList'.
      *            (Nullable)
@@ -419,17 +397,11 @@
     // Accessor
     // ========
 
-    /**
-     * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F4AE50AB_EDB1_4AEC_95D9_572122832CF3]}
-     */
+    /** The column annotation for S2Dao. {PK : ID : NotNull : BIGINT} */
     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_F4AE50AB_EDB1_4AEC_95D9_572122832CF3]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -438,9 +410,7 @@
     }
 
     /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F4AE50AB_EDB1_4AEC_95D9_572122832CF3]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -449,12 +419,11 @@
         this._id = id;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(100) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(100)} */
     public static final String displayName_COLUMN = "DISPLAY_NAME";
 
     /**
-     * Get the value of the column 'DISPLAY_NAME'. <br /> {VARCHAR(100) :
-     * NotNull}
+     * DISPLAY_NAME: {NotNull : VARCHAR(100)} <br />
      * 
      * @return The value of the column 'DISPLAY_NAME'. (Nullable)
      */
@@ -463,8 +432,7 @@
     }
 
     /**
-     * Set the value of the column 'DISPLAY_NAME'. <br /> {VARCHAR(100) :
-     * NotNull}
+     * DISPLAY_NAME: {NotNull : VARCHAR(100)} <br />
      * 
      * @param displayName The value of the column 'DISPLAY_NAME'. (Nullable)
      */
@@ -473,11 +441,11 @@
         this._displayName = displayName;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(200) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(200)} */
     public static final String title_COLUMN = "TITLE";
 
     /**
-     * Get the value of the column 'TITLE'. <br /> {VARCHAR(200) : NotNull}
+     * TITLE: {NotNull : VARCHAR(200)} <br />
      * 
      * @return The value of the column 'TITLE'. (Nullable)
      */
@@ -486,7 +454,7 @@
     }
 
     /**
-     * Set the value of the column 'TITLE'. <br /> {VARCHAR(200) : NotNull}
+     * TITLE: {NotNull : VARCHAR(200)} <br />
      * 
      * @param title The value of the column 'TITLE'. (Nullable)
      */
@@ -495,12 +463,11 @@
         this._title = title;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(1) : NotNull : Default=[E]} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(1) : Default=[E]} */
     public static final String status_COLUMN = "STATUS";
 
     /**
-     * Get the value of the column 'STATUS'. <br /> {VARCHAR(1) : NotNull :
-     * Default=[E]}
+     * STATUS: {NotNull : VARCHAR(1) : Default=[E]} <br />
      * 
      * @return The value of the column 'STATUS'. (Nullable)
      */
@@ -509,8 +476,7 @@
     }
 
     /**
-     * Set the value of the column 'STATUS'. <br /> {VARCHAR(1) : NotNull :
-     * Default=[E]}
+     * STATUS: {NotNull : VARCHAR(1) : Default=[E]} <br />
      * 
      * @param status The value of the column 'STATUS'. (Nullable)
      */
@@ -523,7 +489,7 @@
     public static final String startTime_COLUMN = "START_TIME";
 
     /**
-     * Get the value of the column 'START_TIME'. <br /> {TIMESTAMP}
+     * START_TIME: {TIMESTAMP} <br />
      * 
      * @return The value of the column 'START_TIME'. (Nullable)
      */
@@ -532,7 +498,7 @@
     }
 
     /**
-     * Set the value of the column 'START_TIME'. <br /> {TIMESTAMP}
+     * START_TIME: {TIMESTAMP} <br />
      * 
      * @param startTime The value of the column 'START_TIME'. (Nullable)
      */
@@ -545,7 +511,7 @@
     public static final String endTime_COLUMN = "END_TIME";
 
     /**
-     * Get the value of the column 'END_TIME'. <br /> {TIMESTAMP}
+     * END_TIME: {TIMESTAMP} <br />
      * 
      * @return The value of the column 'END_TIME'. (Nullable)
      */
@@ -554,7 +520,7 @@
     }
 
     /**
-     * Set the value of the column 'END_TIME'. <br /> {TIMESTAMP}
+     * END_TIME: {TIMESTAMP} <br />
      * 
      * @param endTime The value of the column 'END_TIME'. (Nullable)
      */
@@ -563,12 +529,11 @@
         this._endTime = endTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(1) : NotNull : Default=[T]} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(1) : Default=[T]} */
     public static final String hasReply_COLUMN = "HAS_REPLY";
 
     /**
-     * Get the value of the column 'HAS_REPLY'. <br /> {VARCHAR(1) : NotNull :
-     * Default=[T]}
+     * HAS_REPLY: {NotNull : VARCHAR(1) : Default=[T]} <br />
      * 
      * @return The value of the column 'HAS_REPLY'. (Nullable)
      */
@@ -577,8 +542,7 @@
     }
 
     /**
-     * Set the value of the column 'HAS_REPLY'. <br /> {VARCHAR(1) : NotNull :
-     * Default=[T]}
+     * HAS_REPLY: {NotNull : VARCHAR(1) : Default=[T]} <br />
      * 
      * @param hasReply The value of the column 'HAS_REPLY'. (Nullable)
      */
@@ -588,14 +552,13 @@
     }
 
     /**
-     * The column annotation for S2Dao. {INTEGER : NotNull : Default=[0] : FK to
+     * The column annotation for S2Dao. {NotNull : INTEGER : Default=[0] : FK to
      * CATEGORY}
      */
     public static final String categoryId_COLUMN = "CATEGORY_ID";
 
     /**
-     * Get the value of the column 'CATEGORY_ID'. <br /> {INTEGER : NotNull :
-     * Default=[0] : FK to CATEGORY}
+     * CATEGORY_ID: {NotNull : INTEGER : Default=[0] : FK to CATEGORY} <br />
      * 
      * @return The value of the column 'CATEGORY_ID'. (Nullable)
      */
@@ -604,8 +567,7 @@
     }
 
     /**
-     * Set the value of the column 'CATEGORY_ID'. <br /> {INTEGER : NotNull :
-     * Default=[0] : FK to CATEGORY}
+     * CATEGORY_ID: {NotNull : INTEGER : Default=[0] : FK to CATEGORY} <br />
      * 
      * @param categoryId The value of the column 'CATEGORY_ID'. (Nullable)
      */
@@ -614,11 +576,11 @@
         this._categoryId = categoryId;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String createdTime_COLUMN = "CREATED_TIME";
 
     /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -627,7 +589,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -636,11 +598,11 @@
         this._createdTime = createdTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String createdBy_COLUMN = "CREATED_BY";
 
     /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -649,7 +611,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -658,11 +620,11 @@
         this._createdBy = createdBy;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String updatedTime_COLUMN = "UPDATED_TIME";
 
     /**
-     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -671,7 +633,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -680,11 +642,11 @@
         this._updatedTime = updatedTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String updatedBy_COLUMN = "UPDATED_BY";
 
     /**
-     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -693,7 +655,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -706,7 +668,7 @@
     public static final String deletedTime_COLUMN = "DELETED_TIME";
 
     /**
-     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @return The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -715,7 +677,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -728,7 +690,7 @@
     public static final String deletedBy_COLUMN = "DELETED_BY";
 
     /**
-     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @return The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -737,7 +699,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -746,12 +708,11 @@
         this._deletedBy = deletedBy;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
     public static final String versionno_COLUMN = "VERSIONNO";
 
     /**
-     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @return The value of the column 'VERSIONNO'. (Nullable)
      */
@@ -760,8 +721,7 @@
     }
 
     /**
-     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @param versionno The value of the column 'VERSIONNO'. (Nullable)
      */

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageAttachment.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageAttachment.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageAttachment.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -9,7 +9,7 @@
 import jp.sf.pal.board.db.exentity.Message;
 
 /**
- * The entity of MESSAGE_ATTACHMENT(TABLE).
+ * The entity of MESSAGE_ATTACHMENT that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -69,56 +69,40 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_304D2C2B_8314_4813_8E20_7F3E73D618FA]}
-     */
+    /** ID: {PK : ID : NotNull : BIGINT} */
     protected Long _id;
 
-    /** The attribute of the column 'MEMO'. {VARCHAR(100)} */
+    /** MEMO: {VARCHAR(100)} */
     protected String _memo;
 
-    /**
-     * The attribute of the column 'VERSIONABLE'. {VARCHAR(1) : NotNull :
-     * Default=[F]}
-     */
+    /** VERSIONABLE: {NotNull : VARCHAR(1) : Default=[F]} */
     protected String _versionable;
 
-    /**
-     * The attribute of the column 'MESSAGE_ID'. {BIGINT : NotNull : FK to
-     * MESSAGE}
-     */
+    /** MESSAGE_ID: {NotNull : BIGINT : FK to MESSAGE} */
     protected Long _messageId;
 
-    /**
-     * The attribute of the column 'ATTACHMENT_ID'. {BIGINT : NotNull : FK to
-     * ATTACHMENT}
-     */
+    /** ATTACHMENT_ID: {NotNull : BIGINT : FK to ATTACHMENT} */
     protected Long _attachmentId;
 
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _createdTime;
 
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
     protected String _createdBy;
 
-    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    /** UPDATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _updatedTime;
 
-    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    /** UPDATED_BY: {NotNull : VARCHAR(255)} */
     protected String _updatedBy;
 
-    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    /** DELETED_TIME: {TIMESTAMP} */
     protected java.sql.Timestamp _deletedTime;
 
-    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    /** DELETED_BY: {VARCHAR(255)} */
     protected String _deletedBy;
 
-    /**
-     * The attribute of the column 'VERSIONNO'. {INTEGER : NotNull :
-     * Default=[0]}
-     */
+    /** VERSIONNO: {NotNull : INTEGER : Default=[0]} */
     protected Integer _versionno;
 
     // -----------------------------------------------------
@@ -177,11 +161,11 @@
 
     public static final String attachment_RELKEYS = "ATTACHMENT_ID:ID";
 
-    /** The entity of foreign property 'attachment'. */
+    /** ATTACHMENT as 'attachment'. */
     protected Attachment _parentAttachment;
 
     /**
-     * Get the entity of foreign property 'attachment'. {without lazy-load}
+     * ATTACHMENT as 'attachment'. {without lazy-load}
      * 
      * @return The entity of foreign property 'attachment'. (Nullable: If the
      *         foreign key does not have 'NotNull' constraint, please check
@@ -192,7 +176,7 @@
     }
 
     /**
-     * Set the entity of foreign property 'attachment'.
+     * ATTACHMENT as 'attachment'.
      * 
      * @param attachment The entity of foreign property 'attachment'. (Nullable)
      */
@@ -207,11 +191,11 @@
 
     public static final String message_RELKEYS = "MESSAGE_ID:ID";
 
-    /** The entity of foreign property 'message'. */
+    /** MESSAGE as 'message'. */
     protected Message _parentMessage;
 
     /**
-     * Get the entity of foreign property 'message'. {without lazy-load}
+     * MESSAGE as 'message'. {without lazy-load}
      * 
      * @return The entity of foreign property 'message'. (Nullable: If the
      *         foreign key does not have 'NotNull' constraint, please check
@@ -222,7 +206,7 @@
     }
 
     /**
-     * Set the entity of foreign property 'message'.
+     * MESSAGE as 'message'.
      * 
      * @param message The entity of foreign property 'message'. (Nullable)
      */
@@ -337,17 +321,11 @@
     // Accessor
     // ========
 
-    /**
-     * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_304D2C2B_8314_4813_8E20_7F3E73D618FA]}
-     */
+    /** The column annotation for S2Dao. {PK : ID : NotNull : BIGINT} */
     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_304D2C2B_8314_4813_8E20_7F3E73D618FA]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -356,9 +334,7 @@
     }
 
     /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_304D2C2B_8314_4813_8E20_7F3E73D618FA]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -371,7 +347,7 @@
     public static final String memo_COLUMN = "MEMO";
 
     /**
-     * Get the value of the column 'MEMO'. <br /> {VARCHAR(100)}
+     * MEMO: {VARCHAR(100)} <br />
      * 
      * @return The value of the column 'MEMO'. (Nullable)
      */
@@ -380,7 +356,7 @@
     }
 
     /**
-     * Set the value of the column 'MEMO'. <br /> {VARCHAR(100)}
+     * MEMO: {VARCHAR(100)} <br />
      * 
      * @param memo The value of the column 'MEMO'. (Nullable)
      */
@@ -389,12 +365,11 @@
         this._memo = memo;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(1) : NotNull : Default=[F]} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(1) : Default=[F]} */
     public static final String versionable_COLUMN = "VERSIONABLE";
 
     /**
-     * Get the value of the column 'VERSIONABLE'. <br /> {VARCHAR(1) : NotNull :
-     * Default=[F]}
+     * VERSIONABLE: {NotNull : VARCHAR(1) : Default=[F]} <br />
      * 
      * @return The value of the column 'VERSIONABLE'. (Nullable)
      */
@@ -403,8 +378,7 @@
     }
 
     /**
-     * Set the value of the column 'VERSIONABLE'. <br /> {VARCHAR(1) : NotNull :
-     * Default=[F]}
+     * VERSIONABLE: {NotNull : VARCHAR(1) : Default=[F]} <br />
      * 
      * @param versionable The value of the column 'VERSIONABLE'. (Nullable)
      */
@@ -413,12 +387,11 @@
         this._versionable = versionable;
     }
 
-    /** The column annotation for S2Dao. {BIGINT : NotNull : FK to MESSAGE} */
+    /** The column annotation for S2Dao. {NotNull : BIGINT : FK to MESSAGE} */
     public static final String messageId_COLUMN = "MESSAGE_ID";
 
     /**
-     * Get the value of the column 'MESSAGE_ID'. <br /> {BIGINT : NotNull : FK
-     * to MESSAGE}
+     * MESSAGE_ID: {NotNull : BIGINT : FK to MESSAGE} <br />
      * 
      * @return The value of the column 'MESSAGE_ID'. (Nullable)
      */
@@ -427,8 +400,7 @@
     }
 
     /**
-     * Set the value of the column 'MESSAGE_ID'. <br /> {BIGINT : NotNull : FK
-     * to MESSAGE}
+     * MESSAGE_ID: {NotNull : BIGINT : FK to MESSAGE} <br />
      * 
      * @param messageId The value of the column 'MESSAGE_ID'. (Nullable)
      */
@@ -437,12 +409,11 @@
         this._messageId = messageId;
     }
 
-    /** The column annotation for S2Dao. {BIGINT : NotNull : FK to ATTACHMENT} */
+    /** The column annotation for S2Dao. {NotNull : BIGINT : FK to ATTACHMENT} */
     public static final String attachmentId_COLUMN = "ATTACHMENT_ID";
 
     /**
-     * Get the value of the column 'ATTACHMENT_ID'. <br /> {BIGINT : NotNull :
-     * FK to ATTACHMENT}
+     * ATTACHMENT_ID: {NotNull : BIGINT : FK to ATTACHMENT} <br />
      * 
      * @return The value of the column 'ATTACHMENT_ID'. (Nullable)
      */
@@ -451,8 +422,7 @@
     }
 
     /**
-     * Set the value of the column 'ATTACHMENT_ID'. <br /> {BIGINT : NotNull :
-     * FK to ATTACHMENT}
+     * ATTACHMENT_ID: {NotNull : BIGINT : FK to ATTACHMENT} <br />
      * 
      * @param attachmentId The value of the column 'ATTACHMENT_ID'. (Nullable)
      */
@@ -461,11 +431,11 @@
         this._attachmentId = attachmentId;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String createdTime_COLUMN = "CREATED_TIME";
 
     /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -474,7 +444,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -483,11 +453,11 @@
         this._createdTime = createdTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String createdBy_COLUMN = "CREATED_BY";
 
     /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -496,7 +466,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -505,11 +475,11 @@
         this._createdBy = createdBy;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String updatedTime_COLUMN = "UPDATED_TIME";
 
     /**
-     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -518,7 +488,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * UPDATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
      */
@@ -527,11 +497,11 @@
         this._updatedTime = updatedTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String updatedBy_COLUMN = "UPDATED_BY";
 
     /**
-     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -540,7 +510,7 @@
     }
 
     /**
-     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * UPDATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
      */
@@ -553,7 +523,7 @@
     public static final String deletedTime_COLUMN = "DELETED_TIME";
 
     /**
-     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @return The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -562,7 +532,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -575,7 +545,7 @@
     public static final String deletedBy_COLUMN = "DELETED_BY";
 
     /**
-     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @return The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -584,7 +554,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -593,12 +563,11 @@
         this._deletedBy = deletedBy;
     }
 
-    /** The column annotation for S2Dao. {INTEGER : NotNull : Default=[0]} */
+    /** The column annotation for S2Dao. {NotNull : INTEGER : Default=[0]} */
     public static final String versionno_COLUMN = "VERSIONNO";
 
     /**
-     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @return The value of the column 'VERSIONNO'. (Nullable)
      */
@@ -607,8 +576,7 @@
     }
 
     /**
-     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull :
-     * Default=[0]}
+     * VERSIONNO: {NotNull : INTEGER : Default=[0]} <br />
      * 
      * @param versionno The value of the column 'VERSIONNO'. (Nullable)
      */

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageContent.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageContent.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsMessageContent.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -8,7 +8,7 @@
 import jp.sf.pal.board.db.exentity.Message;
 
 /**
- * The entity of MESSAGE_CONTENT(TABLE).
+ * The entity of MESSAGE_CONTENT that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -61,13 +61,10 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'MESSAGE_ID'. {PK : BIGINT : NotNull : FK to
-     * MESSAGE}
-     */
+    /** MESSAGE_ID: {PK : NotNull : BIGINT : FK to MESSAGE} */
     protected Long _messageId;
 
-    /** The attribute of the column 'CONTENT'. {VARCHAR(4000)} */
+    /** CONTENT: {VARCHAR(4000)} */
     protected String _content;
 
     // -----------------------------------------------------
@@ -126,11 +123,11 @@
 
     public static final String message_RELKEYS = "MESSAGE_ID:ID";
 
-    /** The entity of foreign property 'message'. */
+    /** MESSAGE as 'message'. */
     protected Message _parentMessage;
 
     /**
-     * Get the entity of foreign property 'message'. {without lazy-load}
+     * MESSAGE as 'message'. {without lazy-load}
      * 
      * @return The entity of foreign property 'message'. (Nullable: If the
      *         foreign key does not have 'NotNull' constraint, please check
@@ -141,7 +138,7 @@
     }
 
     /**
-     * Set the entity of foreign property 'message'.
+     * MESSAGE as 'message'.
      * 
      * @param message The entity of foreign property 'message'. (Nullable)
      */
@@ -246,12 +243,11 @@
     // Accessor
     // ========
 
-    /** The column annotation for S2Dao. {PK : BIGINT : NotNull : FK to MESSAGE} */
+    /** The column annotation for S2Dao. {PK : NotNull : BIGINT : FK to MESSAGE} */
     public static final String messageId_COLUMN = "MESSAGE_ID";
 
     /**
-     * Get the value of the column 'MESSAGE_ID'. <br /> {PK : BIGINT : NotNull :
-     * FK to MESSAGE}
+     * MESSAGE_ID: {PK : NotNull : BIGINT : FK to MESSAGE} <br />
      * 
      * @return The value of the column 'MESSAGE_ID'. (Nullable)
      */
@@ -260,8 +256,7 @@
     }
 
     /**
-     * Set the value of the column 'MESSAGE_ID'. <br /> {PK : BIGINT : NotNull :
-     * FK to MESSAGE}
+     * MESSAGE_ID: {PK : NotNull : BIGINT : FK to MESSAGE} <br />
      * 
      * @param messageId The value of the column 'MESSAGE_ID'. (Nullable)
      */
@@ -274,7 +269,7 @@
     public static final String content_COLUMN = "CONTENT";
 
     /**
-     * Get the value of the column 'CONTENT'. <br /> {VARCHAR(4000)}
+     * CONTENT: {VARCHAR(4000)} <br />
      * 
      * @return The value of the column 'CONTENT'. (Nullable)
      */
@@ -283,7 +278,7 @@
     }
 
     /**
-     * Set the value of the column 'CONTENT'. <br /> {VARCHAR(4000)}
+     * CONTENT: {VARCHAR(4000)} <br />
      * 
      * @param content The value of the column 'CONTENT'. (Nullable)
      */

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsReply.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsReply.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsReply.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -8,7 +8,7 @@
 import jp.sf.pal.board.db.exentity.Message;
 
 /**
- * The entity of REPLY(TABLE).
+ * The entity of REPLY that the type is TABLE. <br />
  * 
  * <pre>
  * [primary-key]
@@ -64,35 +64,28 @@
     // -----------------------------------------------------
     // Column
     // ------
-    /**
-     * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_93C8394F_FD69_4329_9935_CE081FCB94AA]}
-     */
+    /** ID: {PK : ID : NotNull : BIGINT} */
     protected Long _id;
 
-    /** The attribute of the column 'DISPLAY_NAME'. {VARCHAR(100) : NotNull} */
+    /** DISPLAY_NAME: {NotNull : VARCHAR(100)} */
     protected String _displayName;
 
-    /** The attribute of the column 'CONTENT'. {VARCHAR(4000)} */
+    /** CONTENT: {VARCHAR(4000)} */
     protected String _content;
 
-    /**
-     * The attribute of the column 'MESSAGE_ID'. {BIGINT : NotNull : FK to
-     * MESSAGE}
-     */
+    /** MESSAGE_ID: {NotNull : BIGINT : FK to MESSAGE} */
     protected Long _messageId;
 
-    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    /** CREATED_TIME: {NotNull : TIMESTAMP} */
     protected java.sql.Timestamp _createdTime;
 
-    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    /** CREATED_BY: {NotNull : VARCHAR(255)} */
     protected String _createdBy;
 
-    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    /** DELETED_TIME: {TIMESTAMP} */
     protected java.sql.Timestamp _deletedTime;
 
-    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    /** DELETED_BY: {VARCHAR(255)} */
     protected String _deletedBy;
 
     // -----------------------------------------------------
@@ -151,11 +144,11 @@
 
     public static final String message_RELKEYS = "MESSAGE_ID:ID";
 
-    /** The entity of foreign property 'message'. */
+    /** MESSAGE as 'message'. */
     protected Message _parentMessage;
 
     /**
-     * Get the entity of foreign property 'message'. {without lazy-load}
+     * MESSAGE as 'message'. {without lazy-load}
      * 
      * @return The entity of foreign property 'message'. (Nullable: If the
      *         foreign key does not have 'NotNull' constraint, please check
@@ -166,7 +159,7 @@
     }
 
     /**
-     * Set the entity of foreign property 'message'.
+     * MESSAGE as 'message'.
      * 
      * @param message The entity of foreign property 'message'. (Nullable)
      */
@@ -277,17 +270,11 @@
     // Accessor
     // ========
 
-    /**
-     * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_93C8394F_FD69_4329_9935_CE081FCB94AA]}
-     */
+    /** The column annotation for S2Dao. {PK : ID : NotNull : BIGINT} */
     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_93C8394F_FD69_4329_9935_CE081FCB94AA]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -296,9 +283,7 @@
     }
 
     /**
-     * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_93C8394F_FD69_4329_9935_CE081FCB94AA]}
+     * ID: {PK : ID : NotNull : BIGINT} <br />
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -307,12 +292,11 @@
         this._id = id;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(100) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(100)} */
     public static final String displayName_COLUMN = "DISPLAY_NAME";
 
     /**
-     * Get the value of the column 'DISPLAY_NAME'. <br /> {VARCHAR(100) :
-     * NotNull}
+     * DISPLAY_NAME: {NotNull : VARCHAR(100)} <br />
      * 
      * @return The value of the column 'DISPLAY_NAME'. (Nullable)
      */
@@ -321,8 +305,7 @@
     }
 
     /**
-     * Set the value of the column 'DISPLAY_NAME'. <br /> {VARCHAR(100) :
-     * NotNull}
+     * DISPLAY_NAME: {NotNull : VARCHAR(100)} <br />
      * 
      * @param displayName The value of the column 'DISPLAY_NAME'. (Nullable)
      */
@@ -335,7 +318,7 @@
     public static final String content_COLUMN = "CONTENT";
 
     /**
-     * Get the value of the column 'CONTENT'. <br /> {VARCHAR(4000)}
+     * CONTENT: {VARCHAR(4000)} <br />
      * 
      * @return The value of the column 'CONTENT'. (Nullable)
      */
@@ -344,7 +327,7 @@
     }
 
     /**
-     * Set the value of the column 'CONTENT'. <br /> {VARCHAR(4000)}
+     * CONTENT: {VARCHAR(4000)} <br />
      * 
      * @param content The value of the column 'CONTENT'. (Nullable)
      */
@@ -353,12 +336,11 @@
         this._content = content;
     }
 
-    /** The column annotation for S2Dao. {BIGINT : NotNull : FK to MESSAGE} */
+    /** The column annotation for S2Dao. {NotNull : BIGINT : FK to MESSAGE} */
     public static final String messageId_COLUMN = "MESSAGE_ID";
 
     /**
-     * Get the value of the column 'MESSAGE_ID'. <br /> {BIGINT : NotNull : FK
-     * to MESSAGE}
+     * MESSAGE_ID: {NotNull : BIGINT : FK to MESSAGE} <br />
      * 
      * @return The value of the column 'MESSAGE_ID'. (Nullable)
      */
@@ -367,8 +349,7 @@
     }
 
     /**
-     * Set the value of the column 'MESSAGE_ID'. <br /> {BIGINT : NotNull : FK
-     * to MESSAGE}
+     * MESSAGE_ID: {NotNull : BIGINT : FK to MESSAGE} <br />
      * 
      * @param messageId The value of the column 'MESSAGE_ID'. (Nullable)
      */
@@ -377,11 +358,11 @@
         this._messageId = messageId;
     }
 
-    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */
     public static final String createdTime_COLUMN = "CREATED_TIME";
 
     /**
-     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @return The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -390,7 +371,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * CREATED_TIME: {NotNull : TIMESTAMP} <br />
      * 
      * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
      */
@@ -399,11 +380,11 @@
         this._createdTime = createdTime;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /** The column annotation for S2Dao. {NotNull : VARCHAR(255)} */
     public static final String createdBy_COLUMN = "CREATED_BY";
 
     /**
-     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @return The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -412,7 +393,7 @@
     }
 
     /**
-     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * CREATED_BY: {NotNull : VARCHAR(255)} <br />
      * 
      * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
      */
@@ -425,7 +406,7 @@
     public static final String deletedTime_COLUMN = "DELETED_TIME";
 
     /**
-     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @return The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -434,7 +415,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * DELETED_TIME: {TIMESTAMP} <br />
      * 
      * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
      */
@@ -447,7 +428,7 @@
     public static final String deletedBy_COLUMN = "DELETED_BY";
 
     /**
-     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @return The value of the column 'DELETED_BY'. (Nullable)
      */
@@ -456,7 +437,7 @@
     }
 
     /**
-     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * DELETED_BY: {VARCHAR(255)} <br />
      * 
      * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
      */

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleInfo.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleInfo.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleInfo.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,611 @@
+package jp.sf.pal.board.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.board.db.exentity.RoleMapping;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleMapping.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleMapping.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleMapping.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,356 @@
+package jp.sf.pal.board.db.bsentity;
+
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.board.db.exentity.RoleInfo;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsRoleMapping.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsUserInfo.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsUserInfo.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsUserInfo.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,883 @@
+package jp.sf.pal.board.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.board.db.exentity.GroupInfo;
+import jp.sf.pal.board.db.exentity.GroupMapping;
+import jp.sf.pal.board.db.exentity.RoleInfo;
+import jp.sf.pal.board.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, NICKNAME, GENDER, BIRTH_DATE, 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;
+
+    /** NICKNAME: {VARCHAR(100)} */
+    protected String _nickname;
+
+    /** GENDER: {VARCHAR(1)} */
+    protected String _gender;
+
+    /** BIRTH_DATE: {DATE} */
+    protected java.util.Date _birthDate;
+
+    /** 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(getNickname());
+        sb.append(delimiter).append(getGender());
+        sb.append(delimiter).append(getBirthDate());
+        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(100)} */
+    public static final String nickname_COLUMN = "NICKNAME";
+
+    /**
+     * NICKNAME: {VARCHAR(100)} <br />
+     * 
+     * @return The value of the column 'NICKNAME'. (Nullable)
+     */
+    public String getNickname() {
+        return _nickname;
+    }
+
+    /**
+     * NICKNAME: {VARCHAR(100)} <br />
+     * 
+     * @param nickname The value of the column 'NICKNAME'. (Nullable)
+     */
+    public void setNickname(String nickname) {
+        _modifiedProperties.addPropertyName("nickname");
+        this._nickname = nickname;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(1)} */
+    public static final String gender_COLUMN = "GENDER";
+
+    /**
+     * GENDER: {VARCHAR(1)} <br />
+     * 
+     * @return The value of the column 'GENDER'. (Nullable)
+     */
+    public String getGender() {
+        return _gender;
+    }
+
+    /**
+     * GENDER: {VARCHAR(1)} <br />
+     * 
+     * @param gender The value of the column 'GENDER'. (Nullable)
+     */
+    public void setGender(String gender) {
+        _modifiedProperties.addPropertyName("gender");
+        this._gender = gender;
+    }
+
+    /** The column annotation for S2Dao. {DATE} */
+    public static final String birthDate_COLUMN = "BIRTH_DATE";
+
+    /**
+     * BIRTH_DATE: {DATE} <br />
+     * 
+     * @return The value of the column 'BIRTH_DATE'. (Nullable)
+     */
+    public java.util.Date getBirthDate() {
+        return _birthDate;
+    }
+
+    /**
+     * BIRTH_DATE: {DATE} <br />
+     * 
+     * @param birthDate The value of the column 'BIRTH_DATE'. (Nullable)
+     */
+    public void setBirthDate(java.util.Date birthDate) {
+        _modifiedProperties.addPropertyName("birthDate");
+        this._birthDate = birthDate;
+    }
+
+    /** 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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/BsUserInfo.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/AttachmentDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/AttachmentDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/AttachmentDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -39,6 +39,10 @@
         return "attachment";
     }
 
+    public String getTableSqlName() {
+        return "ATTACHMENT";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryAccessDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryAccessDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryAccessDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -39,6 +39,10 @@
         return "categoryAccess";
     }
 
+    public String getTableSqlName() {
+        return "CATEGORY_ACCESS";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/CategoryDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -39,6 +39,10 @@
         return "category";
     }
 
+    public String getTableSqlName() {
+        return "CATEGORY";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupInfoDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupInfoDbm.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupInfoDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,447 @@
+package jp.sf.pal.board.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.board.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.board.db.exentity.GroupInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.board.db.cbean.bs.GroupInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.board.db.exdao.GroupInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupMappingDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupMappingDbm.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupMappingDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,299 @@
+package jp.sf.pal.board.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.board.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.board.db.exentity.GroupMapping";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.board.db.cbean.bs.GroupMappingCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.board.db.exdao.GroupMappingDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/GroupMappingDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageAttachmentDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageAttachmentDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageAttachmentDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -39,6 +39,10 @@
         return "messageAttachment";
     }
 
+    public String getTableSqlName() {
+        return "MESSAGE_ATTACHMENT";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageContentDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageContentDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageContentDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -39,6 +39,10 @@
         return "messageContent";
     }
 
+    public String getTableSqlName() {
+        return "MESSAGE_CONTENT";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/MessageDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -40,6 +40,10 @@
         return "message";
     }
 
+    public String getTableSqlName() {
+        return "MESSAGE";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/ReplyDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/ReplyDbm.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/ReplyDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -39,6 +39,10 @@
         return "reply";
     }
 
+    public String getTableSqlName() {
+        return "REPLY";
+    }
+
     //==========================================================================
     // =========
     // Column Info

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleInfoDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleInfoDbm.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleInfoDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,447 @@
+package jp.sf.pal.board.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.board.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.board.db.exentity.RoleInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.board.db.cbean.bs.RoleInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.board.db.exdao.RoleInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleMappingDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleMappingDbm.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleMappingDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,299 @@
+package jp.sf.pal.board.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.board.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.board.db.exentity.RoleMapping";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.board.db.cbean.bs.RoleMappingCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.board.db.exdao.RoleMappingDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/RoleMappingDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/UserInfoDbm.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/UserInfoDbm.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/UserInfoDbm.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,572 @@
+package jp.sf.pal.board.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.Entity;
+import jp.sf.pal.board.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.board.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.board.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 _columnNickname = cci("NICKNAME", "nickname",
+            String.class, false, 100, 0);
+
+    protected ColumnInfo _columnGender = cci("GENDER", "gender", String.class,
+            false, 1, 0);
+
+    protected ColumnInfo _columnBirthDate = cci("BIRTH_DATE", "birthDate",
+            java.util.Date.class, false, null, null);
+
+    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 columnNickname() {
+        return _columnNickname;
+    }
+
+    public ColumnInfo columnGender() {
+        return _columnGender;
+    }
+
+    public ColumnInfo columnBirthDate() {
+        return _columnBirthDate;
+    }
+
+    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.board.db.exentity.UserInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.board.db.cbean.bs.UserInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.board.db.exdao.UserInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.board.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 EpsNickname(), columnNickname());
+        setupEps(_epsMap, new EpsGender(), columnGender());
+        setupEps(_epsMap, new EpsBirthDate(), columnBirthDate());
+        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 EpsNickname implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setNickname((String) v);
+        }
+    }
+
+    public static class EpsGender implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setGender((String) v);
+        }
+    }
+
+    public static class EpsBirthDate implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setBirthDate((java.util.Date) 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: board/trunk/src/main/java/jp/sf/pal/board/db/bsentity/dbmeta/UserInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupInfoCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupInfoCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupInfoCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.cbean.bs.BsGroupInfoCB {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupMappingCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupMappingCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/GroupMappingCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,15 @@
+package jp.sf.pal.board.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.board.db.cbean.bs.BsGroupMappingCB {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleInfoCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleInfoCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleInfoCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.cbean.bs.BsRoleInfoCB {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleMappingCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleMappingCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/RoleMappingCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.cbean.bs.BsRoleMappingCB {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/UserInfoCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/UserInfoCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/UserInfoCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.cbean.bs.BsUserInfoCB {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupInfoCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupInfoCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupInfoCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,295 @@
+package jp.sf.pal.board.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupMappingCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupMappingCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupMappingCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,325 @@
+package jp.sf.pal.board.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.nss.GroupInfoNss;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsGroupMappingCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleInfoCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleInfoCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleInfoCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,292 @@
+package jp.sf.pal.board.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleMappingCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleMappingCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleMappingCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,325 @@
+package jp.sf.pal.board.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.nss.RoleInfoNss;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsRoleMappingCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsUserInfoCB.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsUserInfoCB.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsUserInfoCB.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,422 @@
+package jp.sf.pal.board.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.nss.GroupInfoNss;
+import jp.sf.pal.board.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 columnNickname() {
+            doColumn("NICKNAME");
+        }
+
+        public void columnGender() {
+            doColumn("GENDER");
+        }
+
+        public void columnBirthDate() {
+            doColumn("BIRTH_DATE");
+        }
+
+        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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/bs/BsUserInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,45 @@
+package jp.sf.pal.board.db.cbean.cq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupMappingCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupMappingCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupMappingCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,45 @@
+package jp.sf.pal.board.db.cbean.cq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/GroupMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,45 @@
+package jp.sf.pal.board.db.cbean.cq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleMappingCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleMappingCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleMappingCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,45 @@
+package jp.sf.pal.board.db.cbean.cq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/RoleMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/UserInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/UserInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/UserInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,45 @@
+package jp.sf.pal.board.db.cbean.cq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/UserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsAttachmentCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsAttachmentCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsAttachmentCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -48,9 +48,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_FB4FD353_2751_4F2F_887D_3D1E78C7C7DA]}
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : BIGINT}
      * 
      * @param id The value of id as equal.
      */
@@ -245,6 +243,20 @@
     abstract public String keepId_DeriveSubQuery_MessageAttachmentList(
             MessageAttachmentCQ 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");
     }
@@ -637,7 +649,7 @@
     abstract protected ConditionValue getCValueContentType();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param createdTime The value of createdTime as equal.
      */
@@ -692,7 +704,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -709,7 +721,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -735,8 +747,8 @@
     abstract protected ConditionValue getCValueCreatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param createdBy The value of createdBy as equal.
      */

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryAccessCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryAccessCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryAccessCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -48,9 +48,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_0B32D55D_EC47_4FE2_880B_EC7D35C62C64]}
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : BIGINT}
      * 
      * @param id The value of id as equal.
      */
@@ -123,6 +121,20 @@
         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");
     }
@@ -134,8 +146,8 @@
     abstract protected ConditionValue getCValueId();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param name The value of name as equal.
      */
@@ -256,7 +268,7 @@
     abstract protected ConditionValue getCValueName();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER}
      * 
      * @param accessType The value of accessType as equal.
      */
@@ -342,7 +354,7 @@
     abstract protected ConditionValue getCValueAccessType();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull : FK to
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER : FK to
      * CATEGORY}
      * 
      * @param categoryId The value of categoryId as equal.
@@ -459,7 +471,7 @@
     abstract protected ConditionValue getCValueCategoryId();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param createdTime The value of createdTime as equal.
      */
@@ -514,7 +526,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -531,7 +543,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -557,8 +569,8 @@
     abstract protected ConditionValue getCValueCreatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param createdBy The value of createdBy as equal.
      */
@@ -681,7 +693,7 @@
     abstract protected ConditionValue getCValueCreatedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param updatedTime The value of updatedTime as equal.
      */
@@ -736,7 +748,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -753,7 +765,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -779,8 +791,8 @@
     abstract protected ConditionValue getCValueUpdatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param updatedBy The value of updatedBy as equal.
      */
@@ -903,7 +915,7 @@
     abstract protected ConditionValue getCValueUpdatedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
      * Default=[0]}
      * 
      * @param versionno The value of versionno as equal.

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsCategoryCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -50,9 +50,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : INTEGER : NotNull
-     * : Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_746A38F7_C47F_443B_8A4C_C50514E361B2]}
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : INTEGER}
      * 
      * @param id The value of id as equal.
      */
@@ -354,6 +352,20 @@
 
     abstract public String keepId_DeriveSubQuery_MessageList(MessageCQ 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");
     }
@@ -365,8 +377,8 @@
     abstract protected ConditionValue getCValueId();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(100)}
      * 
      * @param name The value of name as equal.
      */
@@ -487,7 +499,7 @@
     abstract protected ConditionValue getCValueName();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
      * Default=[0]}
      * 
      * @param sortOrder The value of sortOrder as equal.
@@ -574,7 +586,7 @@
     abstract protected ConditionValue getCValueSortOrder();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param createdTime The value of createdTime as equal.
      */
@@ -629,7 +641,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -646,7 +658,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -672,8 +684,8 @@
     abstract protected ConditionValue getCValueCreatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param createdBy The value of createdBy as equal.
      */
@@ -796,7 +808,7 @@
     abstract protected ConditionValue getCValueCreatedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param updatedTime The value of updatedTime as equal.
      */
@@ -851,7 +863,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -868,7 +880,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -894,8 +906,8 @@
     abstract protected ConditionValue getCValueUpdatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param updatedBy The value of updatedBy as equal.
      */
@@ -1267,7 +1279,7 @@
     abstract protected ConditionValue getCValueDeletedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
      * Default=[0]}
      * 
      * @param versionno The value of versionno as equal.

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,1893 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,465 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsGroupMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageAttachmentCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageAttachmentCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageAttachmentCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -51,9 +51,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_304D2C2B_8314_4813_8E20_7F3E73D618FA]}
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : BIGINT}
      * 
      * @param id The value of id as equal.
      */
@@ -126,6 +124,20 @@
         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");
     }
@@ -272,7 +284,7 @@
     abstract protected ConditionValue getCValueMemo();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(1) : NotNull :
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(1) :
      * Default=[F]}
      * 
      * @param versionable The value of versionable as equal.
@@ -397,7 +409,7 @@
     abstract protected ConditionValue getCValueVersionable();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {BIGINT : NotNull : FK to
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : BIGINT : FK to
      * MESSAGE}
      * 
      * @param messageId The value of messageId as equal.
@@ -513,7 +525,7 @@
     abstract protected ConditionValue getCValueMessageId();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {BIGINT : NotNull : FK to
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : BIGINT : FK to
      * ATTACHMENT}
      * 
      * @param attachmentId The value of attachmentId as equal.
@@ -630,7 +642,7 @@
     abstract protected ConditionValue getCValueAttachmentId();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param createdTime The value of createdTime as equal.
      */
@@ -685,7 +697,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -702,7 +714,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -728,8 +740,8 @@
     abstract protected ConditionValue getCValueCreatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param createdBy The value of createdBy as equal.
      */
@@ -852,7 +864,7 @@
     abstract protected ConditionValue getCValueCreatedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param updatedTime The value of updatedTime as equal.
      */
@@ -907,7 +919,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -924,7 +936,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -950,8 +962,8 @@
     abstract protected ConditionValue getCValueUpdatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param updatedBy The value of updatedBy as equal.
      */
@@ -1323,7 +1335,7 @@
     abstract protected ConditionValue getCValueDeletedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
      * Default=[0]}
      * 
      * @param versionno The value of versionno as equal.

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -54,9 +54,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F4AE50AB_EDB1_4AEC_95D9_572122832CF3]}
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : BIGINT}
      * 
      * @param id The value of id as equal.
      */
@@ -464,6 +462,20 @@
 
     abstract public String keepId_DeriveSubQuery_ReplyList(ReplyCQ 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");
     }
@@ -475,8 +487,8 @@
     abstract protected ConditionValue getCValueId();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(100)}
      * 
      * @param displayName The value of displayName as equal.
      */
@@ -600,8 +612,8 @@
     abstract protected ConditionValue getCValueDisplayName();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(200) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(200)}
      * 
      * @param title The value of title as equal.
      */
@@ -723,7 +735,7 @@
     abstract protected ConditionValue getCValueTitle();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(1) : NotNull :
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(1) :
      * Default=[E]}
      * 
      * @param status The value of status as equal.
@@ -1071,7 +1083,7 @@
     abstract protected ConditionValue getCValueEndTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(1) : NotNull :
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull : VARCHAR(1) :
      * Default=[T]}
      * 
      * @param hasReply The value of hasReply as equal.
@@ -1195,7 +1207,7 @@
     abstract protected ConditionValue getCValueHasReply();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
      * Default=[0] : FK to CATEGORY}
      * 
      * @param categoryId The value of categoryId as equal.
@@ -1312,7 +1324,7 @@
     abstract protected ConditionValue getCValueCategoryId();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param createdTime The value of createdTime as equal.
      */
@@ -1367,7 +1379,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -1384,7 +1396,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -1410,8 +1422,8 @@
     abstract protected ConditionValue getCValueCreatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param createdBy The value of createdBy as equal.
      */
@@ -1534,7 +1546,7 @@
     abstract protected ConditionValue getCValueCreatedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param updatedTime The value of updatedTime as equal.
      */
@@ -1589,7 +1601,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -1606,7 +1618,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of updatedTime. (Nullable)
      * @param toDate The to-date of updatedTime. (Nullable)
@@ -1632,8 +1644,8 @@
     abstract protected ConditionValue getCValueUpdatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param updatedBy The value of updatedBy as equal.
      */
@@ -2005,7 +2017,7 @@
     abstract protected ConditionValue getCValueDeletedBy();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull :
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : INTEGER :
      * Default=[0]}
      * 
      * @param versionno The value of versionno as equal.

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageContentCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageContentCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsMessageContentCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -48,7 +48,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : BIGINT : NotNull : FK to
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : NotNull : BIGINT : FK to
      * MESSAGE}
      * 
      * @param messageId The value of messageId as equal.
@@ -151,6 +151,20 @@
     abstract public String keepMessageId_InScopeSubQuery_Message(
             MessageCQ subQuery);
 
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setMessageId_IsNull() {
+        regMessageId(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setMessageId_IsNotNull() {
+        regMessageId(CK_ISNN, DUMMY_OBJECT);
+    }
+
     protected void regMessageId(ConditionKey key, Object value) {
         registerQuery(key, value, getCValueMessageId(), "MESSAGE_ID",
                 "MessageId", "messageId");

Modified: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsReplyCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsReplyCQ.java	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsReplyCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -48,9 +48,7 @@
     // =====
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
-     * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_93C8394F_FD69_4329_9935_CE081FCB94AA]}
+     * Equal(=). And NullIgnored, OnceRegistered. {PK : ID : NotNull : BIGINT}
      * 
      * @param id The value of id as equal.
      */
@@ -123,6 +121,20 @@
         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");
     }
@@ -134,8 +146,8 @@
     abstract protected ConditionValue getCValueId();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(100) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(100)}
      * 
      * @param displayName The value of displayName as equal.
      */
@@ -396,7 +408,7 @@
     abstract protected ConditionValue getCValueContent();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {BIGINT : NotNull : FK to
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : BIGINT : FK to
      * MESSAGE}
      * 
      * @param messageId The value of messageId as equal.
@@ -512,7 +524,7 @@
     abstract protected ConditionValue getCValueMessageId();
 
     /**
-     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * Equal(=). And NullIgnored, OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param createdTime The value of createdTime as equal.
      */
@@ -567,7 +579,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -584,7 +596,7 @@
 
     /**
      * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
-     * OnceRegistered. {TIMESTAMP : NotNull}
+     * OnceRegistered. {NotNull : TIMESTAMP}
      * 
      * @param fromDate The from-date of createdTime. (Nullable)
      * @param toDate The to-date of createdTime. (Nullable)
@@ -610,8 +622,8 @@
     abstract protected ConditionValue getCValueCreatedTime();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {NotNull :
+     * VARCHAR(255)}
      * 
      * @param createdBy The value of createdBy as equal.
      */

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,1891 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,464 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsRoleMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsUserInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsUserInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,3033 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.board.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.GroupInfoCB;
+import jp.sf.pal.board.db.cbean.GroupMappingCB;
+import jp.sf.pal.board.db.cbean.RoleInfoCB;
+import jp.sf.pal.board.db.cbean.RoleMappingCB;
+import jp.sf.pal.board.db.cbean.UserInfoCB;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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(100)}
+     * 
+     * @param nickname The value of nickname as equal.
+     */
+    public void setNickname_Equal(String nickname) {
+        regNickname(CK_EQ, fRES(nickname));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param nickname The value of nickname as notEqual.
+     */
+    public void setNickname_NotEqual(String nickname) {
+        regNickname(CK_NE, fRES(nickname));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param nickname The value of nickname as greaterThan.
+     */
+    public void setNickname_GreaterThan(String nickname) {
+        regNickname(CK_GT, fRES(nickname));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param nickname The value of nickname as lessThan.
+     */
+    public void setNickname_LessThan(String nickname) {
+        regNickname(CK_LT, fRES(nickname));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param nickname The value of nickname as greaterEqual.
+     */
+    public void setNickname_GreaterEqual(String nickname) {
+        regNickname(CK_GE, fRES(nickname));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param nickname The value of nickname as lessEqual.
+     */
+    public void setNickname_LessEqual(String nickname) {
+        regNickname(CK_LE, fRES(nickname));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param nickname The value of nickname as prefixSearch.
+     */
+    public void setNickname_PrefixSearch(String nickname) {
+        regNickname(CK_PS, fRES(nickname));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param nickname The value of nickname as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setNickname_LikeSearch(
+            String nickname,
+            jp.sf.pal.board.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(nickname), getCValueNickname(),
+                "NICKNAME", "Nickname", "nickname", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nicknameList The collection of nickname as inScope.
+     */
+    public void setNickname_InScope(Collection<String> nicknameList) {
+        regNickname(CK_INS, cTL(nicknameList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nickname The collection of nickname as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setNickname_InScope(
+            String nickname,
+            jp.sf.pal.board.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(nickname), getCValueNickname(),
+                "NICKNAME", "Nickname", "nickname", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param nicknameList The collection of nickname as notInScope.
+     */
+    public void setNickname_NotInScope(Collection<String> nicknameList) {
+        regNickname(CK_NINS, cTL(nicknameList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setNickname_IsNull() {
+        regNickname(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setNickname_IsNotNull() {
+        regNickname(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regNickname(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueNickname(), "NICKNAME", "Nickname",
+                "nickname");
+    }
+
+    protected void registerInlineNickname(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueNickname(), "NICKNAME",
+                "Nickname", "nickname");
+    }
+
+    abstract protected ConditionValue getCValueNickname();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(1)}
+     * 
+     * @param gender The value of gender as equal.
+     */
+    public void setGender_Equal(String gender) {
+        regGender(CK_EQ, fRES(gender));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param gender The value of gender as notEqual.
+     */
+    public void setGender_NotEqual(String gender) {
+        regGender(CK_NE, fRES(gender));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param gender The value of gender as greaterThan.
+     */
+    public void setGender_GreaterThan(String gender) {
+        regGender(CK_GT, fRES(gender));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param gender The value of gender as lessThan.
+     */
+    public void setGender_LessThan(String gender) {
+        regGender(CK_LT, fRES(gender));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param gender The value of gender as greaterEqual.
+     */
+    public void setGender_GreaterEqual(String gender) {
+        regGender(CK_GE, fRES(gender));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param gender The value of gender as lessEqual.
+     */
+    public void setGender_LessEqual(String gender) {
+        regGender(CK_LE, fRES(gender));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param gender The value of gender as prefixSearch.
+     */
+    public void setGender_PrefixSearch(String gender) {
+        regGender(CK_PS, fRES(gender));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param gender The value of gender as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setGender_LikeSearch(
+            String gender,
+            jp.sf.pal.board.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(gender), getCValueGender(),
+                "GENDER", "Gender", "gender", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param genderList The collection of gender as inScope.
+     */
+    public void setGender_InScope(Collection<String> genderList) {
+        regGender(CK_INS, cTL(genderList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param gender The collection of gender as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setGender_InScope(
+            String gender,
+            jp.sf.pal.board.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(gender), getCValueGender(), "GENDER",
+                "Gender", "gender", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param genderList The collection of gender as notInScope.
+     */
+    public void setGender_NotInScope(Collection<String> genderList) {
+        regGender(CK_NINS, cTL(genderList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setGender_IsNull() {
+        regGender(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setGender_IsNotNull() {
+        regGender(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regGender(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueGender(), "GENDER", "Gender",
+                "gender");
+    }
+
+    protected void registerInlineGender(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueGender(), "GENDER", "Gender",
+                "gender");
+    }
+
+    abstract protected ConditionValue getCValueGender();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {DATE}
+     * 
+     * @param birthDate The value of birthDate as equal.
+     */
+    public void setBirthDate_Equal(java.util.Date birthDate) {
+        regBirthDate(CK_EQ, birthDate);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param birthDate The value of birthDate as notEqual.
+     */
+    public void setBirthDate_NotEqual(java.util.Date birthDate) {
+        regBirthDate(CK_NE, birthDate);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param birthDate The value of birthDate as greaterThan.
+     */
+    public void setBirthDate_GreaterThan(java.util.Date birthDate) {
+        regBirthDate(CK_GT, birthDate);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param birthDate The value of birthDate as lessThan.
+     */
+    public void setBirthDate_LessThan(java.util.Date birthDate) {
+        regBirthDate(CK_LT, birthDate);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param birthDate The value of birthDate as greaterEqual.
+     */
+    public void setBirthDate_GreaterEqual(java.util.Date birthDate) {
+        regBirthDate(CK_GE, birthDate);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param birthDate The value of birthDate as lessEqual.
+     */
+    public void setBirthDate_LessEqual(java.util.Date birthDate) {
+        regBirthDate(CK_LE, birthDate);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {DATE}
+     * 
+     * @param fromDate The from-date of birthDate. (Nullable)
+     * @param toDate The to-date of birthDate. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setBirthDate_FromTo(java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.board.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery(fromDate, toDate, getCValueBirthDate(),
+                "BIRTH_DATE", "BirthDate", "birthDate", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {DATE}
+     * 
+     * @param fromDate The from-date of birthDate. (Nullable)
+     * @param toDate The to-date of birthDate. (Nullable)
+     */
+    public void setBirthDate_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setBirthDate_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.board.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setBirthDate_IsNull() {
+        regBirthDate(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setBirthDate_IsNotNull() {
+        regBirthDate(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regBirthDate(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueBirthDate(), "BIRTH_DATE",
+                "BirthDate", "birthDate");
+    }
+
+    protected void registerInlineBirthDate(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueBirthDate(), "BIRTH_DATE",
+                "BirthDate", "birthDate");
+    }
+
+    abstract protected ConditionValue getCValueBirthDate();
+
+    /**
+     * 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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,575 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupMappingCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupMappingCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupMappingCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,291 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsGroupMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,574 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleMappingCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleMappingCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleMappingCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,291 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsRoleMappingCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsUserInfoCQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsUserInfoCQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsUserInfoCQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,877 @@
+package jp.sf.pal.board.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.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 _nickname;
+
+    public ConditionValue getNickname() {
+        if (_nickname == null) {
+            _nickname = new ConditionValue();
+        }
+        return _nickname;
+    }
+
+    protected ConditionValue getCValueNickname() {
+        return getNickname();
+    }
+
+    public BsUserInfoCQ addOrderBy_Nickname_Asc() {
+        regOBA("NICKNAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Nickname_Desc() {
+        regOBD("NICKNAME");
+        return this;
+    }
+
+    protected ConditionValue _gender;
+
+    public ConditionValue getGender() {
+        if (_gender == null) {
+            _gender = new ConditionValue();
+        }
+        return _gender;
+    }
+
+    protected ConditionValue getCValueGender() {
+        return getGender();
+    }
+
+    public BsUserInfoCQ addOrderBy_Gender_Asc() {
+        regOBA("GENDER");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Gender_Desc() {
+        regOBD("GENDER");
+        return this;
+    }
+
+    protected ConditionValue _birthDate;
+
+    public ConditionValue getBirthDate() {
+        if (_birthDate == null) {
+            _birthDate = new ConditionValue();
+        }
+        return _birthDate;
+    }
+
+    protected ConditionValue getCValueBirthDate() {
+        return getBirthDate();
+    }
+
+    public BsUserInfoCQ addOrderBy_BirthDate_Asc() {
+        regOBA("BIRTH_DATE");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_BirthDate_Desc() {
+        regOBD("BIRTH_DATE");
+        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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/bs/BsUserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupInfoCIQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupInfoCIQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupInfoCIQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,202 @@
+package jp.sf.pal.board.db.cbean.cq.ciq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.bs.AbstractBsGroupInfoCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupMappingCIQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupMappingCIQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupMappingCIQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,118 @@
+package jp.sf.pal.board.db.cbean.cq.ciq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.bs.AbstractBsGroupMappingCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/GroupMappingCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleInfoCIQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleInfoCIQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleInfoCIQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,201 @@
+package jp.sf.pal.board.db.cbean.cq.ciq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.bs.AbstractBsRoleInfoCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleMappingCIQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleMappingCIQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleMappingCIQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,118 @@
+package jp.sf.pal.board.db.cbean.cq.ciq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.bs.AbstractBsRoleMappingCQ;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/RoleMappingCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/UserInfoCIQ.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/UserInfoCIQ.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/UserInfoCIQ.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,248 @@
+package jp.sf.pal.board.db.cbean.cq.ciq;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.board.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.board.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.board.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.board.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.GroupMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.RoleMappingCQ;
+import jp.sf.pal.board.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.board.db.cbean.cq.bs.AbstractBsUserInfoCQ;
+import jp.sf.pal.board.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 getCValueNickname() {
+        return _myCQ.getNickname();
+    }
+
+    protected ConditionValue getCValueGender() {
+        return _myCQ.getGender();
+    }
+
+    protected ConditionValue getCValueBirthDate() {
+        return _myCQ.getBirthDate();
+    }
+
+    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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/cq/ciq/UserInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupInfoNss.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupInfoNss.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupInfoNss.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,32 @@
+package jp.sf.pal.board.db.cbean.nss;
+
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupInfoNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupMappingNss.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupMappingNss.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupMappingNss.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,50 @@
+package jp.sf.pal.board.db.cbean.nss;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/GroupMappingNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleInfoNss.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleInfoNss.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleInfoNss.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,32 @@
+package jp.sf.pal.board.db.cbean.nss;
+
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleInfoNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleMappingNss.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleMappingNss.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleMappingNss.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,50 @@
+package jp.sf.pal.board.db.cbean.nss;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/RoleMappingNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/UserInfoNss.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/UserInfoNss.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/UserInfoNss.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,50 @@
+package jp.sf.pal.board.db.cbean.nss;
+
+import jp.sf.pal.board.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.board.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: board/trunk/src/main/java/jp/sf/pal/board/db/cbean/nss/UserInfoNss.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupInfoBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupInfoBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupInfoBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsbhv.BsGroupInfoBhv {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupMappingBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupMappingBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/GroupMappingBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsbhv.BsGroupMappingBhv {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleInfoBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleInfoBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleInfoBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsbhv.BsRoleInfoBhv {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleMappingBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleMappingBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/RoleMappingBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsbhv.BsRoleMappingBhv {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/UserInfoBhv.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/UserInfoBhv.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exbhv/UserInfoBhv.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsbhv.BsUserInfoBhv {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupInfoDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupInfoDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupInfoDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsdao.BsGroupInfoDao {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupMappingDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupMappingDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exdao/GroupMappingDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,15 @@
+package jp.sf.pal.board.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.board.db.bsdao.BsGroupMappingDao {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleInfoDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleInfoDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleInfoDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsdao.BsRoleInfoDao {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleMappingDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleMappingDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exdao/RoleMappingDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,15 @@
+package jp.sf.pal.board.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.board.db.bsdao.BsRoleMappingDao {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exdao/UserInfoDao.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exdao/UserInfoDao.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exdao/UserInfoDao.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,14 @@
+package jp.sf.pal.board.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.board.db.bsdao.BsUserInfoDao {
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupInfo.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupInfo.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupInfo.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,17 @@
+package jp.sf.pal.board.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.board.db.bsentity.BsGroupInfo {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupMapping.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupMapping.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exentity/GroupMapping.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,17 @@
+package jp.sf.pal.board.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.board.db.bsentity.BsGroupMapping {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleInfo.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleInfo.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleInfo.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,17 @@
+package jp.sf.pal.board.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.board.db.bsentity.BsRoleInfo {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleMapping.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleMapping.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exentity/RoleMapping.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,17 @@
+package jp.sf.pal.board.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.board.db.bsentity.BsRoleMapping {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


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

Added: board/trunk/src/main/java/jp/sf/pal/board/db/exentity/UserInfo.java
===================================================================
--- board/trunk/src/main/java/jp/sf/pal/board/db/exentity/UserInfo.java	                        (rev 0)
+++ board/trunk/src/main/java/jp/sf/pal/board/db/exentity/UserInfo.java	2008-11-13 06:58:14 UTC (rev 1345)
@@ -0,0 +1,17 @@
+package jp.sf.pal.board.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.board.db.bsentity.BsUserInfo {
+
+    /** Serial version UID. (Default) */
+    private static final long serialVersionUID = 1L;
+}


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

Modified: board/trunk/src/main/resources/dbflute.dicon
===================================================================
--- board/trunk/src/main/resources/dbflute.dicon	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/resources/dbflute.dicon	2008-11-13 06:58:14 UTC (rev 1345)
@@ -24,6 +24,7 @@
     <component class="org.seasar.dao.impl.ProcedureMetaDataFactoryImpl"/>
     <component class="jp.sf.pal.board.db.allcommon.s2dao.S2DaoLatestSqlProvider"/>
 	<component name="dbfluteStringClobType" class="org.seasar.extension.jdbc.types.StringClobType" />
+	<component name="dbfluteBytesOidType" class="jp.sf.pal.board.db.allcommon.s2dao.internal.valuetype.InternalBytesOidType" />
 
     <!-- The selector of behavior. -->
     <component name="behaviorSelector" class="jp.sf.pal.board.db.allcommon.CacheBehaviorSelector">
@@ -59,6 +60,18 @@
     </component>
     <component name="categoryAccessBhv" class="jp.sf.pal.board.db.exbhv.CategoryAccessBhv"/>
 
+    <!-- GROUP_INFO -->
+    <component name="groupInfoDao" class="jp.sf.pal.board.db.exdao.GroupInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="groupInfoBhv" class="jp.sf.pal.board.db.exbhv.GroupInfoBhv"/>
+
+    <!-- GROUP_MAPPING -->
+    <component name="groupMappingDao" class="jp.sf.pal.board.db.exdao.GroupMappingDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="groupMappingBhv" class="jp.sf.pal.board.db.exbhv.GroupMappingBhv"/>
+
     <!-- MESSAGE -->
     <component name="messageDao" class="jp.sf.pal.board.db.exdao.MessageDao">
         <aspect>dbflute.interceptor</aspect>
@@ -83,4 +96,22 @@
     </component>
     <component name="replyBhv" class="jp.sf.pal.board.db.exbhv.ReplyBhv"/>
 
+    <!-- ROLE_INFO -->
+    <component name="roleInfoDao" class="jp.sf.pal.board.db.exdao.RoleInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="roleInfoBhv" class="jp.sf.pal.board.db.exbhv.RoleInfoBhv"/>
+
+    <!-- ROLE_MAPPING -->
+    <component name="roleMappingDao" class="jp.sf.pal.board.db.exdao.RoleMappingDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="roleMappingBhv" class="jp.sf.pal.board.db.exbhv.RoleMappingBhv"/>
+
+    <!-- USER_INFO -->
+    <component name="userInfoDao" class="jp.sf.pal.board.db.exdao.UserInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="userInfoBhv" class="jp.sf.pal.board.db.exbhv.UserInfoBhv"/>
+
 </components>

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

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

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

Deleted: board/trunk/src/main/webapp/WEB-INF/db/board.trace.db
===================================================================
--- board/trunk/src/main/webapp/WEB-INF/db/board.trace.db	2008-11-13 06:32:39 UTC (rev 1344)
+++ board/trunk/src/main/webapp/WEB-INF/db/board.trace.db	2008-11-13 06:58:14 UTC (rev 1345)
@@ -1,119 +0,0 @@
-10-14 12:22:36 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル MESSAGE_CONTENT が見つかりません
-Table MESSAGE_CONTENT not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)
-10-14 12:22:37 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル MESSAGE_ATTACHMENT が見つかりません
-Table MESSAGE_ATTACHMENT not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)
-10-14 12:22:37 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル REPLY が見つかりません
-Table REPLY not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)
-10-14 12:22:37 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル CATEGORY_ACCESS が見つかりません
-Table CATEGORY_ACCESS not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)
-10-14 12:22:37 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル MESSAGE が見つかりません
-Table MESSAGE not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)
-10-14 12:22:37 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル ATTACHMENT が見つかりません
-Table ATTACHMENT not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)
-10-14 12:22:37 jdbc[2]: SQLException
-org.h2.jdbc.JdbcSQLException: テーブル CATEGORY が見つかりません
-Table CATEGORY not found [42102-79]
-	at org.h2.message.Message.getSQLException(Message.java:103)
-	at org.h2.message.Message.getSQLException(Message.java:114)
-	at org.h2.message.Message.getSQLException(Message.java:77)
-	at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
-	at org.h2.command.ddl.DropTable.update(DropTable.java:93)
-	at org.h2.command.CommandContainer.update(CommandContainer.java:69)
-	at org.h2.command.Command.executeUpdate(Command.java:206)
-	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:163)
-	at org.h2.server.web.WebThread.getResult(WebThread.java:1713)
-	at org.h2.server.web.WebThread.query(WebThread.java:1276)
-	at org.h2.server.web.WebThread.process(WebThread.java:443)
-	at org.h2.server.web.WebThread.processRequest(WebThread.java:185)
-	at org.h2.server.web.WebThread.process(WebThread.java:240)
-	at org.h2.server.web.WebThread.run(WebThread.java:195)


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