[pal-cvs 3559] [1293] set a default break time, customizable minutes, set holidays, added search form.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 11月 6日 (木) 14:51:42 JST


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

Log Message:
-----------
set a default break time, customizable minutes, set holidays, added search form.

Modified Paths:
--------------
    timecard/trunk/src/main/config/erd/timecard.erd
    timecard/trunk/src/main/config/sql/timecard.ddl
    timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/action/EmployeeAction.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/action/admin/EmployeeAction.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/action/manager/EmployeeAction.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/allcommon/dbmeta/DBMetaInstanceHandler.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsEmployeeBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsDailyReport.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsEmployee.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsMonthlyReport.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/EmployeeDbm.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsEmployeeCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsDailyReportCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsEmployeeCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsMonthlyReportCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsEmployeeCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/EmployeeCIQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/EmployeeNss.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/DailyReport.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/pager/EmployeePager.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/service/ReportService.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/util/TimecardUtil.java
    timecard/trunk/src/main/resources/dbflute.dicon
    timecard/trunk/src/main/webapp/WEB-INF/db/timecard.1.log.db
    timecard/trunk/src/main/webapp/WEB-INF/db/timecard.data.db
    timecard/trunk/src/main/webapp/WEB-INF/db/timecard.index.db
    timecard/trunk/src/main/webapp/WEB-INF/view/admin/employee/index.jsp
    timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp
    timecard/trunk/src/main/webapp/WEB-INF/view/employee/confirm.jsp
    timecard/trunk/src/main/webapp/WEB-INF/view/manager/employee/index.jsp

Added Paths:
-----------
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsGroupInfoBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsRoleInfoBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsUserInfoBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsGroupInfoDao.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsRoleInfoDao.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsUserInfoDao.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsGroupInfo.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsRoleInfo.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsUserInfo.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/GroupInfoDbm.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/RoleInfoDbm.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/UserInfoDbm.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/GroupInfoCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/RoleInfoCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/UserInfoCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsGroupInfoCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsRoleInfoCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsUserInfoCB.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/GroupInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/RoleInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/UserInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsGroupInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsRoleInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsUserInfoCQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/GroupInfoCIQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/RoleInfoCIQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/UserInfoCIQ.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/GroupInfoNss.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/RoleInfoNss.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/UserInfoNss.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exbhv/GroupInfoBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exbhv/RoleInfoBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exbhv/UserInfoBhv.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exdao/GroupInfoDao.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exdao/RoleInfoDao.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exdao/UserInfoDao.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/GroupInfo.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/RoleInfo.java
    timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/UserInfo.java


-------------- next part --------------
Modified: timecard/trunk/src/main/config/erd/timecard.erd
===================================================================
--- timecard/trunk/src/main/config/erd/timecard.erd	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/config/erd/timecard.erd	2008-11-06 05:51:41 UTC (rev 1293)
@@ -448,12 +448,683 @@
             </columns>
             <indices/>
             <constraint>
-              <x>659</x>
-              <y>529</y>
+              <x>500</x>
+              <y>537</y>
               <width>-1</width>
               <height>-1</height>
             </constraint>
-            <sourceConnections/>
+            <sourceConnections>
+              <net.java.amateras.db.visual.model.ForeignKeyModel>
+                <foreignKeyName>FK_from_employee_to_user_for_username</foreignKeyName>
+                <references>
+                  <entry>
+                    <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 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">
+                  <error></error>
+                  <linkedPath></linkedPath>
+                  <tableName>user_info</tableName>
+                  <logicalName>User 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>given_name</columnName>
+                      <logicalName>Given Name</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType">
+                        <name>VARCHAR</name>
+                        <logicalName>String</logicalName>
+                        <supportSize>true</supportSize>
+                        <type>12</type>
+                      </columnType>
+                      <size>100</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>family_name</columnName>
+                      <logicalName>Family Name</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>100</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>middle_name</columnName>
+                      <logicalName>Middle Name</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>50</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>given_name_desc</columnName>
+                      <logicalName>Given Name Descritpion</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>100</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>family_name_desc</columnName>
+                      <logicalName>Family Name Description</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>100</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>email</columnName>
+                      <logicalName>Email</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>url</columnName>
+                      <logicalName>URL</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>telephone_number</columnName>
+                      <logicalName>Telephone Number</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/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="../../../../references/entry/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="../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                      <size>255</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>created_time</columnName>
+                      <logicalName>Created Time</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType">
+                        <name>TIMESTAMP</name>
+                        <logicalName>Datetime</logicalName>
+                        <supportSize>false</supportSize>
+                        <type>93</type>
+                      </columnType>
+                      <size>10</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>created_by</columnName>
+                      <logicalName>Created By</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>updated_time</columnName>
+                      <logicalName>Updated Time</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                      <size>10</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>updated_by</columnName>
+                      <logicalName>Updated By</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>deleted_time</columnName>
+                      <logicalName>Deleted Time</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                      <size>10</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>deleted_by</columnName>
+                      <logicalName>Deleted By</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                      <size>255</size>
+                      <notNull>false</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                    <net.java.amateras.db.visual.model.ColumnModel>
+                      <columnName>versionNo</columnName>
+                      <logicalName>Version No.</logicalName>
+                      <columnType class="net.java.amateras.db.dialect.ColumnType">
+                        <name>INTEGER</name>
+                        <logicalName>Integer</logicalName>
+                        <supportSize>false</supportSize>
+                        <type>4</type>
+                      </columnType>
+                      <size>10</size>
+                      <notNull>true</notNull>
+                      <primaryKey>false</primaryKey>
+                      <description></description>
+                      <autoIncrement>false</autoIncrement>
+                      <defaultValue></defaultValue>
+                    </net.java.amateras.db.visual.model.ColumnModel>
+                  </columns>
+                  <indices/>
+                  <constraint>
+                    <x>507</x>
+                    <y>106</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="../../../../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                            <size>255</size>
+                            <notNull>true</notNull>
+                            <primaryKey>true</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[11]"/>
+                        </entry>
+                      </references>
+                      <source class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+                      <target class="net.java.amateras.db.visual.model.TableModel">
+                        <error></error>
+                        <linkedPath></linkedPath>
+                        <tableName>group_info</tableName>
+                        <logicalName>Group Information</logicalName>
+                        <description></description>
+                        <columns>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../references/entry/net.java.amateras.db.visual.model.ColumnModel"/>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>name</columnName>
+                            <logicalName>Name</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../../references/entry/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="../../../../../../../references/entry/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="../../../../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                            <size>40</size>
+                            <notNull>false</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>created_time</columnName>
+                            <logicalName>Created Time</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                            <size>10</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>created_by</columnName>
+                            <logicalName>Created By</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                            <size>255</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>updated_time</columnName>
+                            <logicalName>Updated Time</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                            <size>10</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>updated_by</columnName>
+                            <logicalName>Updated By</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                            <size>255</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>deleted_time</columnName>
+                            <logicalName>Deleted Time</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                            <size>10</size>
+                            <notNull>false</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>deleted_by</columnName>
+                            <logicalName>Deleted By</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                            <size>255</size>
+                            <notNull>false</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>versionNo</columnName>
+                            <logicalName>Version No.</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[18]/columnType"/>
+                            <size>10</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                        </columns>
+                        <indices/>
+                        <constraint>
+                          <x>854</x>
+                          <y>79</y>
+                          <width>-1</width>
+                          <height>-1</height>
+                        </constraint>
+                        <sourceConnections/>
+                        <targetConnections>
+                          <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="../../../../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                            <size>255</size>
+                            <notNull>true</notNull>
+                            <primaryKey>true</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[10]"/>
+                        </entry>
+                      </references>
+                      <source class="net.java.amateras.db.visual.model.TableModel" reference="../../.."/>
+                      <target class="net.java.amateras.db.visual.model.TableModel">
+                        <error></error>
+                        <linkedPath></linkedPath>
+                        <tableName>role_info</tableName>
+                        <logicalName>Role Information</logicalName>
+                        <description></description>
+                        <columns>
+                          <net.java.amateras.db.visual.model.ColumnModel reference="../../../references/entry/net.java.amateras.db.visual.model.ColumnModel"/>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>name</columnName>
+                            <logicalName>Name</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../../references/entry/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="../../../../../../../references/entry/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="../../../../../../../references/entry/net.java.amateras.db.visual.model.ColumnModel/columnType"/>
+                            <size>40</size>
+                            <notNull>false</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>created_time</columnName>
+                            <logicalName>Created Time</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                            <size>10</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>created_by</columnName>
+                            <logicalName>Created By</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                            <size>255</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>updated_time</columnName>
+                            <logicalName>Updated Time</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                            <size>10</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>updated_by</columnName>
+                            <logicalName>Updated By</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                            <size>255</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>deleted_time</columnName>
+                            <logicalName>Deleted Time</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[12]/columnType"/>
+                            <size>10</size>
+                            <notNull>false</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>deleted_by</columnName>
+                            <logicalName>Deleted By</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[2]/columnType"/>
+                            <size>255</size>
+                            <notNull>false</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                          <net.java.amateras.db.visual.model.ColumnModel>
+                            <columnName>versionNo</columnName>
+                            <logicalName>Version No.</logicalName>
+                            <columnType class="net.java.amateras.db.dialect.ColumnType" reference="../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[18]/columnType"/>
+                            <size>10</size>
+                            <notNull>true</notNull>
+                            <primaryKey>false</primaryKey>
+                            <description></description>
+                            <autoIncrement>false</autoIncrement>
+                            <defaultValue></defaultValue>
+                          </net.java.amateras.db.visual.model.ColumnModel>
+                        </columns>
+                        <indices/>
+                        <constraint>
+                          <x>851</x>
+                          <y>449</y>
+                          <width>-1</width>
+                          <height>-1</height>
+                        </constraint>
+                        <sourceConnections/>
+                        <targetConnections>
+                          <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="../../.."/>
+                    <net.java.amateras.db.visual.model.ForeignKeyModel>
+                      <foreignKeyName>FK_from_employee_to_user_for_manager</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 reference="../../../../../../../../columns/net.java.amateras.db.visual.model.ColumnModel[3]"/>
+                        </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>
+                  </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 reference="../net.java.amateras.db.visual.model.ForeignKeyModel/target/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]"/>
+            </sourceConnections>
             <targetConnections>
               <net.java.amateras.db.visual.model.ForeignKeyModel reference="../../.."/>
             </targetConnections>
@@ -763,6 +1434,9 @@
     </net.java.amateras.db.visual.model.TableModel>
     <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target"/>
     <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/targetConnections/net.java.amateras.db.visual.model.ForeignKeyModel/source"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target"/>
+    <net.java.amateras.db.visual.model.TableModel reference="../net.java.amateras.db.visual.model.TableModel/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel/target/sourceConnections/net.java.amateras.db.visual.model.ForeignKeyModel[2]/target"/>
   </children>
   <dommains/>
   <dialectName>hsqldb</dialectName>

Modified: timecard/trunk/src/main/config/sql/timecard.ddl
===================================================================
--- timecard/trunk/src/main/config/sql/timecard.ddl	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/config/sql/timecard.ddl	2008-11-06 05:51:41 UTC (rev 1293)
@@ -1,8 +1,75 @@
 DROP TABLE daily_report;
 DROP TABLE monthly_report;
 DROP TABLE employee;
+DROP TABLE user_info;
+DROP TABLE role_info;
+DROP TABLE group_info;
 
 /**********************************
+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),
+  email VARCHAR(255),
+  url VARCHAR(255),
+  telephone_number 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: Employee
 **********************************/
 CREATE TABLE employee(
@@ -17,7 +84,9 @@
   updated_by VARCHAR(255) NOT NULL,
   deleted_time TIMESTAMP,
   deleted_by VARCHAR(255),
-  versionNo INTEGER DEFAULT 0 NOT NULL
+  versionNo INTEGER DEFAULT 0 NOT NULL,
+  FOREIGN KEY (username) REFERENCES user_info (user_id),
+  FOREIGN KEY (manager) REFERENCES user_info (user_id)
 );
 
 /**********************************

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -67,4 +67,16 @@
     public static final int WORKING_TYPE_SUBSTITUTE_HOLIDAY_AM = 111;
 
     public static final int WORKING_TYPE_SUBSTITUTE_HOLIDAY_PM = 112;
+
+    public static final String TIME_AM_START = "time.am.start";
+
+    public static final String TIME_AM_END = "time.am.end";
+
+    public static final String TIME_PM_START = "time.pm.start";
+
+    public static final String TIME_PM_END = "time.pm.end";
+
+    public static final String TIME_LABEL_MINUTES = "time.label.minutes";
+
+    public static final String TIME_HOLIDAYS = "time.holidays";
 }

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -4,6 +4,7 @@
 
 import javax.servlet.http.HttpServletRequest;
 
+import jp.sf.pal.timecard.TimecardConstants;
 import jp.sf.pal.timecard.common.util.ConfigUtil;
 import jp.sf.pal.timecard.common.util.SAStrutsUtil;
 import jp.sf.pal.timecard.form.config.ConfigForm;
@@ -27,10 +28,18 @@
     private transient HttpServletRequest request;
 
     protected String displayIndex() {
-        configForm.amStartTime = ConfigUtil.getString("time.am.start", "09:00");
-        configForm.amEndTime = ConfigUtil.getString("time.am.end", "12:00");
-        configForm.pmStartTime = ConfigUtil.getString("time.pm.start", "13:00");
-        configForm.pmEndTime = ConfigUtil.getString("time.pm.end", "17:30");
+        configForm.amStartTime = ConfigUtil.getString(
+                TimecardConstants.TIME_AM_START, "09:00");
+        configForm.amEndTime = ConfigUtil.getString(
+                TimecardConstants.TIME_AM_END, "12:00");
+        configForm.pmStartTime = ConfigUtil.getString(
+                TimecardConstants.TIME_PM_START, "13:00");
+        configForm.pmEndTime = ConfigUtil.getString(
+                TimecardConstants.TIME_PM_END, "17:30");
+        configForm.displayedMinutes = ConfigUtil.getString(
+                TimecardConstants.TIME_LABEL_MINUTES, "00\n15\n30\n45");
+        configForm.holidays = ConfigUtil.getString(
+                TimecardConstants.TIME_HOLIDAYS, "");
         return "index.jsp";
     }
 
@@ -43,10 +52,18 @@
     @Execute(validator = false, input = "index.jsp")
     public String update() {
         ConfigUtil.init(request);
-        ConfigUtil.setProperty("time.am.start", configForm.amStartTime);
-        ConfigUtil.setProperty("time.am.end", configForm.amEndTime);
-        ConfigUtil.setProperty("time.pm.start", configForm.pmStartTime);
-        ConfigUtil.setProperty("time.pm.end", configForm.pmEndTime);
+        ConfigUtil.setProperty(TimecardConstants.TIME_AM_START,
+                configForm.amStartTime);
+        ConfigUtil.setProperty(TimecardConstants.TIME_AM_END,
+                configForm.amEndTime);
+        ConfigUtil.setProperty(TimecardConstants.TIME_PM_START,
+                configForm.pmStartTime);
+        ConfigUtil.setProperty(TimecardConstants.TIME_PM_END,
+                configForm.pmEndTime);
+        ConfigUtil.setProperty(TimecardConstants.TIME_LABEL_MINUTES,
+                configForm.displayedMinutes);
+        ConfigUtil.setProperty(TimecardConstants.TIME_HOLIDAYS,
+                configForm.holidays);
         try {
             ConfigUtil.save();
             SAStrutsUtil.addMessage(request, "success.update_config");

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/action/EmployeeAction.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/action/EmployeeAction.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/action/EmployeeAction.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -17,7 +17,9 @@
 import jp.sf.pal.timecard.dxo.DailyReportDxo;
 import jp.sf.pal.timecard.form.employee.EmployeeForm;
 import jp.sf.pal.timecard.service.ReportService;
+import jp.sf.pal.timecard.util.TimecardUtil;
 
+import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.seasar.struts.annotation.ActionForm;
@@ -159,6 +161,13 @@
 
         loadDailyReport();
 
+        if (employeeForm.breakTimeHr == null
+                || employeeForm.breakTimeMin == null) {
+            long breakTime = TimecardUtil.getStdBreakTime();
+            employeeForm.breakTimeHr = TimecardUtil.getHours(breakTime);
+            employeeForm.breakTimeMin = TimecardUtil.getMinutes(breakTime);
+        }
+
         return "edit.jsp";
     }
 
@@ -326,12 +335,23 @@
         session.setAttribute(HOUR_ITEMS, hourItems);
 
         List<String> minuteItems = new ArrayList<String>();
-        for (int i = 0; i < 60; i++) {
-            if (i < 10) {
-                minuteItems.add("0" + i);
-            } else {
-                minuteItems.add(String.valueOf(i));
+        String value = ConfigUtil.getString(
+                TimecardConstants.TIME_LABEL_MINUTES, "");
+        if (!StringUtils.isEmpty(value)) {
+            String[] values = value.split("\r\n");
+            for (int i = 0; i < values.length; i++) {
+                if (!StringUtils.isEmpty(values[i])) {
+                    minuteItems.add(values[i]);
+                }
             }
+        } else {
+            for (int i = 0; i < 60; i++) {
+                if (i < 10) {
+                    minuteItems.add("0" + i);
+                } else {
+                    minuteItems.add(String.valueOf(i));
+                }
+            }
         }
         session.setAttribute(MINUTE_ITEMS, minuteItems);
 

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/action/admin/EmployeeAction.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/action/admin/EmployeeAction.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/action/admin/EmployeeAction.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -50,6 +50,9 @@
         // page navi
         employeeItems = employeeService.getEmployeeList(employeePager);
 
+        // restore from pager
+        employeeForm.username = employeePager.getUsername();
+
         return "index.jsp";
     }
 
@@ -69,8 +72,7 @@
 
     @Execute(validator = false, input = "error.jsp")
     public String search() {
-        // TODO
-        // employeePager.setUsername(employeeForm.username);
+        employeePager.setUsername(employeeForm.username);
 
         return displayList();
     }

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/action/manager/EmployeeAction.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/action/manager/EmployeeAction.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/action/manager/EmployeeAction.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -53,6 +53,9 @@
         employeePager.setManager(manager);
         employeeItems = employeeService.getEmployeeList(employeePager);
 
+        // restore from pager
+        employeeForm.username = employeePager.getUsername();
+
         return "index.jsp";
     }
 
@@ -72,8 +75,7 @@
 
     @Execute(validator = false, input = "error.jsp")
     public String search() {
-        // TODO
-        // employeePager.setUsername(employeeForm.username);
+        employeePager.setUsername(employeeForm.username);
 
         return displayList();
     }

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/allcommon/dbmeta/DBMetaInstanceHandler.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/allcommon/dbmeta/DBMetaInstanceHandler.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/allcommon/dbmeta/DBMetaInstanceHandler.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -31,8 +31,14 @@
                 "jp.sf.pal.timecard.db.bsentity.dbmeta.DailyReportDbm");
         tmpMap.put("EMPLOYEE",
                 "jp.sf.pal.timecard.db.bsentity.dbmeta.EmployeeDbm");
+        tmpMap.put("GROUP_INFO",
+                "jp.sf.pal.timecard.db.bsentity.dbmeta.GroupInfoDbm");
         tmpMap.put("MONTHLY_REPORT",
                 "jp.sf.pal.timecard.db.bsentity.dbmeta.MonthlyReportDbm");
+        tmpMap.put("ROLE_INFO",
+                "jp.sf.pal.timecard.db.bsentity.dbmeta.RoleInfoDbm");
+        tmpMap.put("USER_INFO",
+                "jp.sf.pal.timecard.db.bsentity.dbmeta.UserInfoDbm");
 
         _tableDbNameClassNameMap = Collections.unmodifiableMap(tmpMap);
     }
@@ -44,7 +50,10 @@
 
         tmpMap.put("DAILY_REPORT".toLowerCase(), "dailyReport");
         tmpMap.put("EMPLOYEE".toLowerCase(), "employee");
+        tmpMap.put("GROUP_INFO".toLowerCase(), "groupInfo");
         tmpMap.put("MONTHLY_REPORT".toLowerCase(), "monthlyReport");
+        tmpMap.put("ROLE_INFO".toLowerCase(), "roleInfo");
+        tmpMap.put("USER_INFO".toLowerCase(), "userInfo");
 
         _tableDbNamePropertyNameKeyToLowerMap = Collections
                 .unmodifiableMap(tmpMap);
@@ -57,7 +66,10 @@
 
         tmpMap.put("dailyReport".toLowerCase(), "DAILY_REPORT");
         tmpMap.put("employee".toLowerCase(), "EMPLOYEE");
+        tmpMap.put("groupInfo".toLowerCase(), "GROUP_INFO");
         tmpMap.put("monthlyReport".toLowerCase(), "MONTHLY_REPORT");
+        tmpMap.put("roleInfo".toLowerCase(), "ROLE_INFO");
+        tmpMap.put("userInfo".toLowerCase(), "USER_INFO");
 
         _tablePropertyNameDbNameKeyToLowerMap = Collections
                 .unmodifiableMap(tmpMap);

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsEmployeeBhv.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsEmployeeBhv.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsEmployeeBhv.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -22,6 +22,7 @@
 import jp.sf.pal.timecard.db.exdao.EmployeeDao;
 import jp.sf.pal.timecard.db.exentity.Employee;
 import jp.sf.pal.timecard.db.exentity.MonthlyReport;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
 
 /**
  * The behavior of EMPLOYEE.
@@ -43,13 +44,13 @@
  *     VERSIONNO
  * 
  * [foreign-table]
- *     
+ *     USER_INFO
  * 
  * [referrer-table]
  *     MONTHLY_REPORT
  * 
  * [foreign-property]
- *     
+ *     userInfoByUsername, userInfoByManager
  * 
  * [referrer-property]
  *     monthlyReportList
@@ -380,6 +381,36 @@
     // Pull Out Foreign
     // ================
 
+    /**
+     * Pull out the list of foreign table 'UserInfo'.
+     * 
+     * @param employeeList The list of employee. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<UserInfo> pulloutUserInfoByUsername(List<Employee> employeeList) {
+        return helpPulloutInternally(employeeList,
+                new InternalPulloutCallback<Employee, UserInfo>() {
+                    public UserInfo callbackGetForeignEntity(Employee entity) {
+                        return entity.getUserInfoByUsername();
+                    }
+                });
+    }
+
+    /**
+     * Pull out the list of foreign table 'UserInfo'.
+     * 
+     * @param employeeList The list of employee. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<UserInfo> pulloutUserInfoByManager(List<Employee> employeeList) {
+        return helpPulloutInternally(employeeList,
+                new InternalPulloutCallback<Employee, UserInfo>() {
+                    public UserInfo callbackGetForeignEntity(Employee entity) {
+                        return entity.getUserInfoByManager();
+                    }
+                });
+    }
+
     //==========================================================================
     // =========
     // Entity Update

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsGroupInfoBhv.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsGroupInfoBhv.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsGroupInfoBhv.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,817 @@
+package jp.sf.pal.timecard.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.timecard.db.allcommon.DaoReadable;
+import jp.sf.pal.timecard.db.allcommon.DaoWritable;
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.timecard.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.timecard.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.timecard.db.bsentity.dbmeta.GroupInfoDbm;
+import jp.sf.pal.timecard.db.cbean.GroupInfoCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.exbhv.UserInfoBhv;
+import jp.sf.pal.timecard.db.exdao.GroupInfoDao;
+import jp.sf.pal.timecard.db.exentity.GroupInfo;
+import jp.sf.pal.timecard.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]
+ *     USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     userInfoList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsGroupInfoBhv extends
+        jp.sf.pal.timecard.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.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.timecard.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 jp.sf.pal.timecard.db.allcommon.cbean.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 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 conditionBean 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 Referrer condition setupper instance 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 = getBehaviorSelector().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);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pull Out Foreign
+    // ================
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param groupInfo The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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 delegateGetCountAll() {
+        return getMyDao().getCountAll();
+    }
+
+    protected List<GroupInfo> delegateGetListAll() {
+        return getMyDao().getListAll();
+    }
+
+    protected GroupInfo delegateGetEntity(String groupId) {
+        return getMyDao().getEntity(groupId);
+    }
+
+    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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsGroupInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsRoleInfoBhv.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsRoleInfoBhv.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsRoleInfoBhv.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,815 @@
+package jp.sf.pal.timecard.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.timecard.db.allcommon.DaoReadable;
+import jp.sf.pal.timecard.db.allcommon.DaoWritable;
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.timecard.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.timecard.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.timecard.db.bsentity.dbmeta.RoleInfoDbm;
+import jp.sf.pal.timecard.db.cbean.RoleInfoCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.exbhv.UserInfoBhv;
+import jp.sf.pal.timecard.db.exdao.RoleInfoDao;
+import jp.sf.pal.timecard.db.exentity.RoleInfo;
+import jp.sf.pal.timecard.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]
+ *     USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     userInfoList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsRoleInfoBhv extends
+        jp.sf.pal.timecard.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.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.timecard.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 jp.sf.pal.timecard.db.allcommon.cbean.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 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 conditionBean 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 Referrer condition setupper instance 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 = getBehaviorSelector().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);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pull Out Foreign
+    // ================
+
+    //==========================================================================
+    // =========
+    // Entity Update
+    // =============
+    /**
+     * Insert the entity.
+     * 
+     * @param roleInfo The entity of insert target. (NotNull)
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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 delegateGetCountAll() {
+        return getMyDao().getCountAll();
+    }
+
+    protected List<RoleInfo> delegateGetListAll() {
+        return getMyDao().getListAll();
+    }
+
+    protected RoleInfo delegateGetEntity(String roleId) {
+        return getMyDao().getEntity(roleId);
+    }
+
+    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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsRoleInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsUserInfoBhv.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsUserInfoBhv.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsUserInfoBhv.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,938 @@
+package jp.sf.pal.timecard.db.bsbhv;
+
+import java.util.List;
+
+import jp.sf.pal.timecard.db.allcommon.DaoReadable;
+import jp.sf.pal.timecard.db.allcommon.DaoWritable;
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.bhv.load.LoadReferrerOption;
+import jp.sf.pal.timecard.db.allcommon.bhv.setup.ConditionBeanSetupper;
+import jp.sf.pal.timecard.db.allcommon.bhv.setup.ValueLabelSetupper;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.ListResultBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingHandler;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingInvoker;
+import jp.sf.pal.timecard.db.allcommon.cbean.PagingResultBean;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.timecard.db.bsentity.dbmeta.UserInfoDbm;
+import jp.sf.pal.timecard.db.cbean.EmployeeCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.exbhv.EmployeeBhv;
+import jp.sf.pal.timecard.db.exdao.UserInfoDao;
+import jp.sf.pal.timecard.db.exentity.Employee;
+import jp.sf.pal.timecard.db.exentity.GroupInfo;
+import jp.sf.pal.timecard.db.exentity.RoleInfo;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
+
+/**
+ * The behavior of USER_INFO.
+ * 
+ * <pre>
+ * [primary-key]
+ *     USER_ID
+ * 
+ * [column]
+ *     USER_ID, GIVEN_NAME, FAMILY_NAME, MIDDLE_NAME, GIVEN_NAME_DESC, FAMILY_NAME_DESC, EMAIL, URL, TELEPHONE_NUMBER, 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]
+ *     EMPLOYEE
+ * 
+ * [foreign-property]
+ *     groupInfo, roleInfo
+ * 
+ * [referrer-property]
+ *     employeeByUsernameList, employeeByManagerList
+ * </pre>
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public abstract class BsUserInfoBhv extends
+        jp.sf.pal.timecard.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.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     * When the entity has already been deleted.
+     * @exception
+     * jp.sf.pal.timecard.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 jp.sf.pal.timecard.db.allcommon.cbean.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 employeeByUsernameList with the setupper for
+     * condition-bean of referrer. <br /> About internal policy, the value of
+     * primary key(and others too) is treated as case-insensitive. <br /> The
+     * conditionBean that the setupper provides have settings before you touch
+     * it. It is as follows:
+     * 
+     * <pre>
+     * cb.query().setUsername_InScope(pkList);
+     * cb.query().addOrderBy_Username_Asc();
+     * </pre>
+     * 
+     * @param userInfoList The entity list of userInfo. (NotNull)
+     * @param conditionBeanSetupper Referrer condition setupper instance for
+     *            registering referrer condition. (NotNull)
+     */
+    public void loadEmployeeByUsernameList(List<UserInfo> userInfoList,
+            ConditionBeanSetupper<EmployeeCB> conditionBeanSetupper) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("conditionBeanSetupper<EmployeeCB>",
+                conditionBeanSetupper);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        loadEmployeeByUsernameList(userInfoList,
+                new LoadReferrerOption<EmployeeCB, Employee>(
+                        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 loadEmployeeByUsernameList(List<UserInfo> userInfoList,
+            LoadReferrerOption<EmployeeCB, Employee> loadReferrerOption) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("loadReferrerOption<Employee, EmployeeCB>",
+                loadReferrerOption);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        final EmployeeBhv referrerBhv = getBehaviorSelector().select(
+                EmployeeBhv.class);
+        helpLoadReferrerInternally(
+                userInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<UserInfo, String, EmployeeCB, Employee>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            UserInfo entity) {
+                        return entity.getUserId();
+                    }
+
+                    public void callbackBase_setReferrerList(UserInfo entity,
+                            List<Employee> referrerList) {
+                        entity.setEmployeeByUsernameList(referrerList);
+                    }
+
+                    public EmployeeCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            EmployeeCB cb, List<String> pkList) {
+                        cb.query().setUsername_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            EmployeeCB cb) {
+                        cb.query().addOrderBy_Username_Asc();
+                    }
+
+                    public List<Employee> callbackReferrer_selectList(
+                            EmployeeCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            Employee entity) {
+                        return entity.getUsername();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            Employee referrerEntity, UserInfo baseEntity) {
+                        referrerEntity.setUserInfoByUsername(baseEntity);
+                    }
+                });
+    }
+
+    /**
+     * Load referrer of employeeByManagerList with the setupper for
+     * condition-bean of referrer. <br /> About internal policy, the value of
+     * primary key(and others too) is treated as case-insensitive. <br /> The
+     * conditionBean that the setupper provides have settings before you touch
+     * it. It is as follows:
+     * 
+     * <pre>
+     * cb.query().setManager_InScope(pkList);
+     * cb.query().addOrderBy_Manager_Asc();
+     * </pre>
+     * 
+     * @param userInfoList The entity list of userInfo. (NotNull)
+     * @param conditionBeanSetupper Referrer condition setupper instance for
+     *            registering referrer condition. (NotNull)
+     */
+    public void loadEmployeeByManagerList(List<UserInfo> userInfoList,
+            ConditionBeanSetupper<EmployeeCB> conditionBeanSetupper) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("conditionBeanSetupper<EmployeeCB>",
+                conditionBeanSetupper);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        loadEmployeeByManagerList(userInfoList,
+                new LoadReferrerOption<EmployeeCB, Employee>(
+                        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 loadEmployeeByManagerList(List<UserInfo> userInfoList,
+            LoadReferrerOption<EmployeeCB, Employee> loadReferrerOption) {
+        assertObjectNotNull("userInfoList<UserInfo>", userInfoList);
+        assertObjectNotNull("loadReferrerOption<Employee, EmployeeCB>",
+                loadReferrerOption);
+        if (userInfoList.isEmpty()) {
+            return;
+        }
+        final EmployeeBhv referrerBhv = getBehaviorSelector().select(
+                EmployeeBhv.class);
+        helpLoadReferrerInternally(
+                userInfoList,
+                loadReferrerOption,
+                new InternalLoadReferrerCallback<UserInfo, String, EmployeeCB, Employee>() {
+                    public String callbackBase_getPrimaryKeyValue(
+                            UserInfo entity) {
+                        return entity.getUserId();
+                    }
+
+                    public void callbackBase_setReferrerList(UserInfo entity,
+                            List<Employee> referrerList) {
+                        entity.setEmployeeByManagerList(referrerList);
+                    }
+
+                    public EmployeeCB callbackReferrer_newMyConditionBean() {
+                        return referrerBhv.newMyConditionBean();
+                    }
+
+                    public void callbackReferrer_queryForeignKeyInScope(
+                            EmployeeCB cb, List<String> pkList) {
+                        cb.query().setManager_InScope(pkList);
+                    }
+
+                    public void callbackReferrer_queryAddOrderByForeignKeyAsc(
+                            EmployeeCB cb) {
+                        cb.query().addOrderBy_Manager_Asc();
+                    }
+
+                    public List<Employee> callbackReferrer_selectList(
+                            EmployeeCB cb) {
+                        return referrerBhv.selectList(cb);
+                    }
+
+                    public String callbackReferrer_getForeignKeyValue(
+                            Employee entity) {
+                        return entity.getManager();
+                    }
+
+                    public void callbackReferrer_setForeignEntity(
+                            Employee referrerEntity, UserInfo baseEntity) {
+                        referrerEntity.setUserInfoByManager(baseEntity);
+                    }
+                });
+    }
+
+    //==========================================================================
+    // =========
+    // Pull Out 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.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.db.allcommon.exception.EntityDuplicatedException
+     *                When the entity has been duplicated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyUpdatedException
+     *                When the entity has already been updated.
+     * @exception jp.sf.pal.timecard.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.timecard.db.allcommon.exception.EntityAlreadyDeletedException
+     *                When the entity has already been deleted.
+     * @exception jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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 delegateGetCountAll() {
+        return getMyDao().getCountAll();
+    }
+
+    protected List<UserInfo> delegateGetListAll() {
+        return getMyDao().getListAll();
+    }
+
+    protected UserInfo delegateGetEntity(String userId) {
+        return getMyDao().getEntity(userId);
+    }
+
+    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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsbhv/BsUserInfoBhv.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsGroupInfoDao.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsGroupInfoDao.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsGroupInfoDao.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,60 @@
+package jp.sf.pal.timecard.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.timecard.db.cbean.GroupInfoCB;
+import jp.sf.pal.timecard.db.exentity.GroupInfo;
+
+/**
+ * The dao interface of GROUP_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface BsGroupInfoDao extends
+        jp.sf.pal.timecard.db.allcommon.DaoWritable {
+
+    public Class BEAN = GroupInfo.class;// For S2Dao
+
+    public static final String getCountAll_SQL = "select count(*) from GROUP_INFO";
+
+    public int getCountAll();
+
+    public static final String getListAll_SQL = "select GROUP_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from GROUP_INFO";
+
+    public java.util.List<GroupInfo> getListAll();
+
+    public static final String getEntity_SQL = "select GROUP_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from GROUP_INFO where GROUP_INFO.GROUP_ID = /*groupId*/null";
+
+    public static final String getEntity_ARGS = "groupId";
+
+    public GroupInfo getEntity(String groupId);
+
+    public int selectCount(GroupInfoCB cb);
+
+    public List<GroupInfo> selectList(GroupInfoCB cb);
+
+    public int insert(GroupInfo entity);
+
+    public int updateModifiedOnly(GroupInfo entity);
+
+    public int updateNonstrictModifiedOnly(GroupInfo entity);
+
+    public int delete(GroupInfo entity);
+
+    public int deleteNonstrict(GroupInfo entity);
+
+    public int[] insertList(List<GroupInfo> entityList);
+
+    public int[] updateList(List<GroupInfo> entityList);
+
+    public int[] updateListNonstrict(List<GroupInfo> entityList);
+
+    public int updateByQuery(GroupInfoCB cb, GroupInfo entity);//{DBFlute-0.7.5}
+
+    public int[] deleteList(List<GroupInfo> entityList);
+
+    public int[] deleteListNonstrict(List<GroupInfo> entityList);
+
+    public int deleteByQuery(GroupInfoCB cb);
+}


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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsRoleInfoDao.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsRoleInfoDao.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsRoleInfoDao.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,60 @@
+package jp.sf.pal.timecard.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.timecard.db.cbean.RoleInfoCB;
+import jp.sf.pal.timecard.db.exentity.RoleInfo;
+
+/**
+ * The dao interface of ROLE_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface BsRoleInfoDao extends
+        jp.sf.pal.timecard.db.allcommon.DaoWritable {
+
+    public Class BEAN = RoleInfo.class;// For S2Dao
+
+    public static final String getCountAll_SQL = "select count(*) from ROLE_INFO";
+
+    public int getCountAll();
+
+    public static final String getListAll_SQL = "select ROLE_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from ROLE_INFO";
+
+    public java.util.List<RoleInfo> getListAll();
+
+    public static final String getEntity_SQL = "select ROLE_ID, NAME, DESCRIPTION, EMAIL, URL, TELEPHONE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from ROLE_INFO where ROLE_INFO.ROLE_ID = /*roleId*/null";
+
+    public static final String getEntity_ARGS = "roleId";
+
+    public RoleInfo getEntity(String roleId);
+
+    public int selectCount(RoleInfoCB cb);
+
+    public List<RoleInfo> selectList(RoleInfoCB cb);
+
+    public int insert(RoleInfo entity);
+
+    public int updateModifiedOnly(RoleInfo entity);
+
+    public int updateNonstrictModifiedOnly(RoleInfo entity);
+
+    public int delete(RoleInfo entity);
+
+    public int deleteNonstrict(RoleInfo entity);
+
+    public int[] insertList(List<RoleInfo> entityList);
+
+    public int[] updateList(List<RoleInfo> entityList);
+
+    public int[] updateListNonstrict(List<RoleInfo> entityList);
+
+    public int updateByQuery(RoleInfoCB cb, RoleInfo entity);// {DBFlute-0.7.5}
+
+    public int[] deleteList(List<RoleInfo> entityList);
+
+    public int[] deleteListNonstrict(List<RoleInfo> entityList);
+
+    public int deleteByQuery(RoleInfoCB cb);
+}


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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsUserInfoDao.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsUserInfoDao.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsdao/BsUserInfoDao.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,60 @@
+package jp.sf.pal.timecard.db.bsdao;
+
+import java.util.List;
+
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
+
+/**
+ * The dao interface of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public interface BsUserInfoDao extends
+        jp.sf.pal.timecard.db.allcommon.DaoWritable {
+
+    public Class BEAN = UserInfo.class;// For S2Dao
+
+    public static final String getCountAll_SQL = "select count(*) from USER_INFO";
+
+    public int getCountAll();
+
+    public static final String getListAll_SQL = "select USER_ID, GIVEN_NAME, FAMILY_NAME, MIDDLE_NAME, GIVEN_NAME_DESC, FAMILY_NAME_DESC, EMAIL, URL, TELEPHONE_NUMBER, ROLE_ID, GROUP_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from USER_INFO";
+
+    public java.util.List<UserInfo> getListAll();
+
+    public static final String getEntity_SQL = "select USER_ID, GIVEN_NAME, FAMILY_NAME, MIDDLE_NAME, GIVEN_NAME_DESC, FAMILY_NAME_DESC, EMAIL, URL, TELEPHONE_NUMBER, ROLE_ID, GROUP_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO from USER_INFO where USER_INFO.USER_ID = /*userId*/null";
+
+    public static final String getEntity_ARGS = "userId";
+
+    public UserInfo getEntity(String userId);
+
+    public int selectCount(UserInfoCB cb);
+
+    public List<UserInfo> selectList(UserInfoCB cb);
+
+    public int insert(UserInfo entity);
+
+    public int updateModifiedOnly(UserInfo entity);
+
+    public int updateNonstrictModifiedOnly(UserInfo entity);
+
+    public int delete(UserInfo entity);
+
+    public int deleteNonstrict(UserInfo entity);
+
+    public int[] insertList(List<UserInfo> entityList);
+
+    public int[] updateList(List<UserInfo> entityList);
+
+    public int[] updateListNonstrict(List<UserInfo> entityList);
+
+    public int updateByQuery(UserInfoCB cb, UserInfo entity);// {DBFlute-0.7.5}
+
+    public int[] deleteList(List<UserInfo> entityList);
+
+    public int[] deleteListNonstrict(List<UserInfo> entityList);
+
+    public int deleteByQuery(UserInfoCB cb);
+}


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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsDailyReport.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsDailyReport.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsDailyReport.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -70,7 +70,7 @@
     /**
      * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F95B09D3_3E35_4F4E_81F4_295D5B036C69]}
+     * PUBLIC.SYSTEM_SEQUENCE_4702E7AF_BED5_430F_872C_0E616FCCB710]}
      */
     protected Long _id;
 
@@ -330,14 +330,14 @@
     /**
      * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F95B09D3_3E35_4F4E_81F4_295D5B036C69]}
+     * PUBLIC.SYSTEM_SEQUENCE_4702E7AF_BED5_430F_872C_0E616FCCB710]}
      */
     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_F95B09D3_3E35_4F4E_81F4_295D5B036C69]}
+     * PUBLIC.SYSTEM_SEQUENCE_4702E7AF_BED5_430F_872C_0E616FCCB710]}
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -348,7 +348,7 @@
     /**
      * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F95B09D3_3E35_4F4E_81F4_295D5B036C69]}
+     * PUBLIC.SYSTEM_SEQUENCE_4702E7AF_BED5_430F_872C_0E616FCCB710]}
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsEmployee.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsEmployee.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsEmployee.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -8,6 +8,7 @@
 import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
 import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMetaInstanceHandler;
 import jp.sf.pal.timecard.db.exentity.MonthlyReport;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
 
 /**
  * The entity of EMPLOYEE(TABLE).
@@ -29,13 +30,13 @@
  *     VERSIONNO
  * 
  * [foreign-table]
- *     
+ *     USER_INFO
  * 
  * [referrer-table]
  *     MONTHLY_REPORT
  * 
  * [foreign-property]
- *     
+ *     userInfoByUsername, userInfoByManager
  * 
  * [referrer-property]
  *     monthlyReportList
@@ -72,14 +73,20 @@
     /**
      * The attribute of the column 'ID'. {PK : INC : INTEGER : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_DECF6155_521A_4FFA_8951_09452601F6FA]}
+     * PUBLIC.SYSTEM_SEQUENCE_B9D70913_E2FA_457A_9EE2_47106722A258]}
      */
     protected Integer _id;
 
-    /** The attribute of the column 'USERNAME'. {VARCHAR(255) : NotNull} */
+    /**
+     * The attribute of the column 'USERNAME'. {VARCHAR(255) : NotNull : FK to
+     * USER_INFO}
+     */
     protected String _username;
 
-    /** The attribute of the column 'MANAGER'. {VARCHAR(255) : NotNull} */
+    /**
+     * The attribute of the column 'MANAGER'. {VARCHAR(255) : NotNull : FK to
+     * USER_INFO}
+     */
     protected String _manager;
 
     /**
@@ -167,6 +174,70 @@
     // =========
     // Foreign Property
     // ================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [userInfoByUsername]
+    // * * * * * * * * */
+    public static final int userInfoByUsername_RELNO = 0;
+
+    public static final String userInfoByUsername_RELKEYS = "USERNAME:USER_ID";
+
+    /** The entity of foreign property 'userInfoByUsername'. */
+    protected UserInfo _parentUserInfoByUsername;
+
+    /**
+     * Get the entity of foreign property 'userInfoByUsername'. {without
+     * lazy-load}
+     * 
+     * @return The entity of foreign property 'userInfoByUsername'. (Nullable:
+     *         If the foreign key does not have 'NotNull' constraint, please
+     *         check null.)
+     */
+    public UserInfo getUserInfoByUsername() {
+        return _parentUserInfoByUsername;
+    }
+
+    /**
+     * Set the entity of foreign property 'userInfoByUsername'.
+     * 
+     * @param userInfoByUsername The entity of foreign property
+     *            'userInfoByUsername'. (Nullable)
+     */
+    public void setUserInfoByUsername(UserInfo userInfoByUsername) {
+        _parentUserInfoByUsername = userInfoByUsername;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Foreign Property = [userInfoByManager]
+    // * * * * * * * * */
+    public static final int userInfoByManager_RELNO = 1;
+
+    public static final String userInfoByManager_RELKEYS = "MANAGER:USER_ID";
+
+    /** The entity of foreign property 'userInfoByManager'. */
+    protected UserInfo _parentUserInfoByManager;
+
+    /**
+     * Get the entity of foreign property 'userInfoByManager'. {without
+     * lazy-load}
+     * 
+     * @return The entity of foreign property 'userInfoByManager'. (Nullable: If
+     *         the foreign key does not have 'NotNull' constraint, please check
+     *         null.)
+     */
+    public UserInfo getUserInfoByManager() {
+        return _parentUserInfoByManager;
+    }
+
+    /**
+     * Set the entity of foreign property 'userInfoByManager'.
+     * 
+     * @param userInfoByManager The entity of foreign property
+     *            'userInfoByManager'. (Nullable)
+     */
+    public void setUserInfoByManager(UserInfo userInfoByManager) {
+        _parentUserInfoByManager = userInfoByManager;
+    }
+
     //==========================================================================
     // =========
     // Referrer Property
@@ -308,14 +379,14 @@
     /**
      * The column annotation for S2Dao. {PK : INC : INTEGER : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_DECF6155_521A_4FFA_8951_09452601F6FA]}
+     * PUBLIC.SYSTEM_SEQUENCE_B9D70913_E2FA_457A_9EE2_47106722A258]}
      */
     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_DECF6155_521A_4FFA_8951_09452601F6FA]}
+     * PUBLIC.SYSTEM_SEQUENCE_B9D70913_E2FA_457A_9EE2_47106722A258]}
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -326,7 +397,7 @@
     /**
      * Set the value of the column 'ID'. <br /> {PK : INC : INTEGER : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_DECF6155_521A_4FFA_8951_09452601F6FA]}
+     * PUBLIC.SYSTEM_SEQUENCE_B9D70913_E2FA_457A_9EE2_47106722A258]}
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */
@@ -335,11 +406,15 @@
         this._id = id;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /**
+     * The column annotation for S2Dao. {VARCHAR(255) : NotNull : FK to
+     * USER_INFO}
+     */
     public static final String username_COLUMN = "USERNAME";
 
     /**
-     * Get the value of the column 'USERNAME'. <br /> {VARCHAR(255) : NotNull}
+     * Get the value of the column 'USERNAME'. <br /> {VARCHAR(255) : NotNull :
+     * FK to USER_INFO}
      * 
      * @return The value of the column 'USERNAME'. (Nullable)
      */
@@ -348,7 +423,8 @@
     }
 
     /**
-     * Set the value of the column 'USERNAME'. <br /> {VARCHAR(255) : NotNull}
+     * Set the value of the column 'USERNAME'. <br /> {VARCHAR(255) : NotNull :
+     * FK to USER_INFO}
      * 
      * @param username The value of the column 'USERNAME'. (Nullable)
      */
@@ -357,11 +433,15 @@
         this._username = username;
     }
 
-    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    /**
+     * The column annotation for S2Dao. {VARCHAR(255) : NotNull : FK to
+     * USER_INFO}
+     */
     public static final String manager_COLUMN = "MANAGER";
 
     /**
-     * Get the value of the column 'MANAGER'. <br /> {VARCHAR(255) : NotNull}
+     * Get the value of the column 'MANAGER'. <br /> {VARCHAR(255) : NotNull :
+     * FK to USER_INFO}
      * 
      * @return The value of the column 'MANAGER'. (Nullable)
      */
@@ -370,7 +450,8 @@
     }
 
     /**
-     * Set the value of the column 'MANAGER'. <br /> {VARCHAR(255) : NotNull}
+     * Set the value of the column 'MANAGER'. <br /> {VARCHAR(255) : NotNull :
+     * FK to USER_INFO}
      * 
      * @param manager The value of the column 'MANAGER'. (Nullable)
      */

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsGroupInfo.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsGroupInfo.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsGroupInfo.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,584 @@
+package jp.sf.pal.timecard.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
+
+/**
+ * The entity of GROUP_INFO(TABLE).
+ * 
+ * <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]
+ *     USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     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
+    // ------
+    /** The attribute of the column 'GROUP_ID'. {PK : VARCHAR(255) : NotNull} */
+    protected String _groupId;
+
+    /** The attribute of the column 'NAME'. {VARCHAR(100)} */
+    protected String _name;
+
+    /** The attribute of the column 'DESCRIPTION'. {VARCHAR(255)} */
+    protected String _description;
+
+    /** The attribute of the column 'EMAIL'. {VARCHAR(255)} */
+    protected String _email;
+
+    /** The attribute of the column 'URL'. {VARCHAR(255)} */
+    protected String _url;
+
+    /** The attribute of the column 'TELEPHONE'. {VARCHAR(40)} */
+    protected String _telephone;
+
+    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    protected String _createdBy;
+
+    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    protected String _updatedBy;
+
+    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** The attribute of the column 'VERSIONNO'. {INTEGER : NotNull} */
+    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 = [userInfoList]
+    // * * * * * * * * */
+
+    /** The entity list of referrer property 'userInfoList'. */
+    protected List<UserInfo> _childrenUserInfoList;
+
+    /**
+     * Get the entity list of referrer property '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;
+    }
+
+    /**
+     * Set the entity list of referrer property '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 : VARCHAR(255) : NotNull} */
+    public static final String groupId_COLUMN = "GROUP_ID";
+
+    /**
+     * Get the value of the column 'GROUP_ID'. <br /> {PK : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @return The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public String getGroupId() {
+        return _groupId;
+    }
+
+    /**
+     * Set the value of the column 'GROUP_ID'. <br /> {PK : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @return The value of the column 'NAME'. (Nullable)
+     */
+    public String getName() {
+        return _name;
+    }
+
+    /**
+     * Set the value of the column 'NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'DESCRIPTION'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'DESCRIPTION'. (Nullable)
+     */
+    public String getDescription() {
+        return _description;
+    }
+
+    /**
+     * Set the value of the column 'DESCRIPTION'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'EMAIL'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'EMAIL'. (Nullable)
+     */
+    public String getEmail() {
+        return _email;
+    }
+
+    /**
+     * Set the value of the column 'EMAIL'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'URL'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * Set the value of the column 'URL'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'TELEPHONE'. <br /> {VARCHAR(40)}
+     * 
+     * @return The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public String getTelephone() {
+        return _telephone;
+    }
+
+    /**
+     * Set the value of the column 'TELEPHONE'. <br /> {VARCHAR(40)}
+     * 
+     * @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. {TIMESTAMP : NotNull} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {INTEGER : NotNull} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull}
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull}
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsMonthlyReport.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsMonthlyReport.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsMonthlyReport.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -73,7 +73,7 @@
     /**
      * The attribute of the column 'ID'. {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_940A2BD3_BBE2_4599_9FBC_C0BA4C739586]}
+     * PUBLIC.SYSTEM_SEQUENCE_6A0692DE_1982_46B6_913E_4DD089ECE512]}
      */
     protected Long _id;
 
@@ -388,14 +388,14 @@
     /**
      * The column annotation for S2Dao. {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_940A2BD3_BBE2_4599_9FBC_C0BA4C739586]}
+     * PUBLIC.SYSTEM_SEQUENCE_6A0692DE_1982_46B6_913E_4DD089ECE512]}
      */
     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_940A2BD3_BBE2_4599_9FBC_C0BA4C739586]}
+     * PUBLIC.SYSTEM_SEQUENCE_6A0692DE_1982_46B6_913E_4DD089ECE512]}
      * 
      * @return The value of the column 'ID'. (Nullable)
      */
@@ -406,7 +406,7 @@
     /**
      * Set the value of the column 'ID'. <br /> {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_940A2BD3_BBE2_4599_9FBC_C0BA4C739586]}
+     * PUBLIC.SYSTEM_SEQUENCE_6A0692DE_1982_46B6_913E_4DD089ECE512]}
      * 
      * @param id The value of the column 'ID'. (Nullable)
      */

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsRoleInfo.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsRoleInfo.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsRoleInfo.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,584 @@
+package jp.sf.pal.timecard.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
+
+/**
+ * The entity of ROLE_INFO(TABLE).
+ * 
+ * <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]
+ *     USER_INFO
+ * 
+ * [foreign-property]
+ *     
+ * 
+ * [referrer-property]
+ *     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
+    // ------
+    /** The attribute of the column 'ROLE_ID'. {PK : VARCHAR(255) : NotNull} */
+    protected String _roleId;
+
+    /** The attribute of the column 'NAME'. {VARCHAR(100)} */
+    protected String _name;
+
+    /** The attribute of the column 'DESCRIPTION'. {VARCHAR(255)} */
+    protected String _description;
+
+    /** The attribute of the column 'EMAIL'. {VARCHAR(255)} */
+    protected String _email;
+
+    /** The attribute of the column 'URL'. {VARCHAR(255)} */
+    protected String _url;
+
+    /** The attribute of the column 'TELEPHONE'. {VARCHAR(40)} */
+    protected String _telephone;
+
+    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    protected String _createdBy;
+
+    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    protected String _updatedBy;
+
+    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** The attribute of the column 'VERSIONNO'. {INTEGER : NotNull} */
+    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 = [userInfoList]
+    // * * * * * * * * */
+
+    /** The entity list of referrer property 'userInfoList'. */
+    protected List<UserInfo> _childrenUserInfoList;
+
+    /**
+     * Get the entity list of referrer property '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;
+    }
+
+    /**
+     * Set the entity list of referrer property '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 : VARCHAR(255) : NotNull} */
+    public static final String roleId_COLUMN = "ROLE_ID";
+
+    /**
+     * Get the value of the column 'ROLE_ID'. <br /> {PK : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @return The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public String getRoleId() {
+        return _roleId;
+    }
+
+    /**
+     * Set the value of the column 'ROLE_ID'. <br /> {PK : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @return The value of the column 'NAME'. (Nullable)
+     */
+    public String getName() {
+        return _name;
+    }
+
+    /**
+     * Set the value of the column 'NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'DESCRIPTION'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'DESCRIPTION'. (Nullable)
+     */
+    public String getDescription() {
+        return _description;
+    }
+
+    /**
+     * Set the value of the column 'DESCRIPTION'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'EMAIL'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'EMAIL'. (Nullable)
+     */
+    public String getEmail() {
+        return _email;
+    }
+
+    /**
+     * Set the value of the column 'EMAIL'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'URL'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * Set the value of the column 'URL'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'TELEPHONE'. <br /> {VARCHAR(40)}
+     * 
+     * @return The value of the column 'TELEPHONE'. (Nullable)
+     */
+    public String getTelephone() {
+        return _telephone;
+    }
+
+    /**
+     * Set the value of the column 'TELEPHONE'. <br /> {VARCHAR(40)}
+     * 
+     * @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. {TIMESTAMP : NotNull} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {INTEGER : NotNull} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull}
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull}
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsUserInfo.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsUserInfo.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/BsUserInfo.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,817 @@
+package jp.sf.pal.timecard.db.bsentity;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMeta;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.DBMetaInstanceHandler;
+import jp.sf.pal.timecard.db.exentity.Employee;
+import jp.sf.pal.timecard.db.exentity.GroupInfo;
+import jp.sf.pal.timecard.db.exentity.RoleInfo;
+
+/**
+ * The entity of USER_INFO(TABLE).
+ * 
+ * <pre>
+ * [primary-key]
+ *     USER_ID
+ * 
+ * [column]
+ *     USER_ID, GIVEN_NAME, FAMILY_NAME, MIDDLE_NAME, GIVEN_NAME_DESC, FAMILY_NAME_DESC, EMAIL, URL, TELEPHONE_NUMBER, 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]
+ *     EMPLOYEE
+ * 
+ * [foreign-property]
+ *     groupInfo, roleInfo
+ * 
+ * [referrer-property]
+ *     employeeByUsernameList, employeeByManagerList
+ * </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
+    // ------
+    /** The attribute of the column 'USER_ID'. {PK : VARCHAR(255) : NotNull} */
+    protected String _userId;
+
+    /** The attribute of the column 'GIVEN_NAME'. {VARCHAR(100)} */
+    protected String _givenName;
+
+    /** The attribute of the column 'FAMILY_NAME'. {VARCHAR(100)} */
+    protected String _familyName;
+
+    /** The attribute of the column 'MIDDLE_NAME'. {VARCHAR(50)} */
+    protected String _middleName;
+
+    /** The attribute of the column 'GIVEN_NAME_DESC'. {VARCHAR(100)} */
+    protected String _givenNameDesc;
+
+    /** The attribute of the column 'FAMILY_NAME_DESC'. {VARCHAR(100)} */
+    protected String _familyNameDesc;
+
+    /** The attribute of the column 'EMAIL'. {VARCHAR(255)} */
+    protected String _email;
+
+    /** The attribute of the column 'URL'. {VARCHAR(255)} */
+    protected String _url;
+
+    /** The attribute of the column 'TELEPHONE_NUMBER'. {VARCHAR(40)} */
+    protected String _telephoneNumber;
+
+    /** The attribute of the column 'ROLE_ID'. {VARCHAR(255) : FK to ROLE_INFO} */
+    protected String _roleId;
+
+    /**
+     * The attribute of the column 'GROUP_ID'. {VARCHAR(255) : FK to GROUP_INFO}
+     */
+    protected String _groupId;
+
+    /** The attribute of the column 'CREATED_TIME'. {TIMESTAMP : NotNull} */
+    protected java.sql.Timestamp _createdTime;
+
+    /** The attribute of the column 'CREATED_BY'. {VARCHAR(255) : NotNull} */
+    protected String _createdBy;
+
+    /** The attribute of the column 'UPDATED_TIME'. {TIMESTAMP : NotNull} */
+    protected java.sql.Timestamp _updatedTime;
+
+    /** The attribute of the column 'UPDATED_BY'. {VARCHAR(255) : NotNull} */
+    protected String _updatedBy;
+
+    /** The attribute of the column 'DELETED_TIME'. {TIMESTAMP} */
+    protected java.sql.Timestamp _deletedTime;
+
+    /** The attribute of the column 'DELETED_BY'. {VARCHAR(255)} */
+    protected String _deletedBy;
+
+    /** The attribute of the column 'VERSIONNO'. {INTEGER : NotNull} */
+    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";
+
+    /** The entity of foreign property 'groupInfo'. */
+    protected GroupInfo _parentGroupInfo;
+
+    /**
+     * Get the entity of foreign property '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;
+    }
+
+    /**
+     * Set the entity of foreign property '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";
+
+    /** The entity of foreign property 'roleInfo'. */
+    protected RoleInfo _parentRoleInfo;
+
+    /**
+     * Get the entity of foreign property '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;
+    }
+
+    /**
+     * Set the entity of foreign property 'roleInfo'.
+     * 
+     * @param roleInfo The entity of foreign property 'roleInfo'. (Nullable)
+     */
+    public void setRoleInfo(RoleInfo roleInfo) {
+        _parentRoleInfo = roleInfo;
+    }
+
+    //==========================================================================
+    // =========
+    // Referrer Property
+    // =================
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [employeeByUsernameList]
+    // * * * * * * * * */
+
+    /** The entity list of referrer property 'employeeByUsernameList'. */
+    protected List<Employee> _childrenEmployeeByUsernameList;
+
+    /**
+     * Get the entity list of referrer property 'employeeByUsernameList'.
+     * {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'employeeByUsernameList'.
+     *         (NotNull: If it's not loaded yet, initializes the list instance
+     *         of referrer as empty and returns it.)
+     */
+    public List<Employee> getEmployeeByUsernameList() {
+        if (_childrenEmployeeByUsernameList == null) {
+            _childrenEmployeeByUsernameList = new ArrayList<Employee>();
+        }
+        return _childrenEmployeeByUsernameList;
+    }
+
+    /**
+     * Set the entity list of referrer property 'employeeByUsernameList'.
+     * 
+     * @param employeeByUsernameList The entity list of referrer property
+     *            'employeeByUsernameList'. (Nullable)
+     */
+    public void setEmployeeByUsernameList(List<Employee> employeeByUsernameList) {
+        _childrenEmployeeByUsernameList = employeeByUsernameList;
+    }
+
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+    // Referrer Property = [employeeByManagerList]
+    // * * * * * * * * */
+
+    /** The entity list of referrer property 'employeeByManagerList'. */
+    protected List<Employee> _childrenEmployeeByManagerList;
+
+    /**
+     * Get the entity list of referrer property 'employeeByManagerList'.
+     * {without lazy-load} <br />
+     * 
+     * @return The entity list of referrer property 'employeeByManagerList'.
+     *         (NotNull: If it's not loaded yet, initializes the list instance
+     *         of referrer as empty and returns it.)
+     */
+    public List<Employee> getEmployeeByManagerList() {
+        if (_childrenEmployeeByManagerList == null) {
+            _childrenEmployeeByManagerList = new ArrayList<Employee>();
+        }
+        return _childrenEmployeeByManagerList;
+    }
+
+    /**
+     * Set the entity list of referrer property 'employeeByManagerList'.
+     * 
+     * @param employeeByManagerList The entity list of referrer property
+     *            'employeeByManagerList'. (Nullable)
+     */
+    public void setEmployeeByManagerList(List<Employee> employeeByManagerList) {
+        _childrenEmployeeByManagerList = employeeByManagerList;
+    }
+
+    //==========================================================================
+    // =========
+    // Determination
+    // =============
+    public boolean hasPrimaryKeyValue() {
+        if (_userId == null) {
+            return false;
+        }
+        return true;
+    }
+
+    //==========================================================================
+    // =========
+    // Modified Properties
+    // ===================
+    public Set<String> getModifiedPropertyNames() {
+        return _modifiedProperties.getPropertyNames();
+    }
+
+    protected EntityModifiedProperties newEntityModifiedProperties() {
+        return new EntityModifiedProperties();
+    }
+
+    public void clearModifiedPropertyNames() {
+        _modifiedProperties.clear();
+    }
+
+    public boolean hasModification() {
+        return !_modifiedProperties.isEmpty();
+    }
+
+    //==========================================================================
+    // =========
+    // Basic Override
+    // ==============
+    /**
+     * If the primary-key of the other is same as this one, returns true.
+     * 
+     * @param other Other entity.
+     * @return Comparing result.
+     */
+    public boolean equals(Object other) {
+        if (other == null || !(other instanceof BsUserInfo)) {
+            return false;
+        }
+        BsUserInfo otherEntity = (BsUserInfo) other;
+        if (!helpComparingValue(getUserId(), otherEntity.getUserId())) {
+            return false;
+        }
+        return true;
+    }
+
+    protected boolean helpComparingValue(Object value1, Object value2) {
+        if (value1 == null && value2 == null) {
+            return true;
+        }
+        return value1 != null && value2 != null && value1.equals(value2);
+    }
+
+    /**
+     * Calculates hash-code from primary-key.
+     * 
+     * @return Hash-code from primary-keys.
+     */
+    public int hashCode() {
+        int result = 17;
+        if (this.getUserId() != null) {
+            result = result + getUserId().hashCode();
+        }
+        return result;
+    }
+
+    /**
+     * @return The view string of columns. (NotNull)
+     */
+    public String toString() {
+        String delimiter = ",";
+        StringBuilder sb = new StringBuilder();
+        sb.append(delimiter).append(getUserId());
+        sb.append(delimiter).append(getGivenName());
+        sb.append(delimiter).append(getFamilyName());
+        sb.append(delimiter).append(getMiddleName());
+        sb.append(delimiter).append(getGivenNameDesc());
+        sb.append(delimiter).append(getFamilyNameDesc());
+        sb.append(delimiter).append(getEmail());
+        sb.append(delimiter).append(getUrl());
+        sb.append(delimiter).append(getTelephoneNumber());
+        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 : VARCHAR(255) : NotNull} */
+    public static final String userId_COLUMN = "USER_ID";
+
+    /**
+     * Get the value of the column 'USER_ID'. <br /> {PK : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @return The value of the column 'USER_ID'. (Nullable)
+     */
+    public String getUserId() {
+        return _userId;
+    }
+
+    /**
+     * Set the value of the column 'USER_ID'. <br /> {PK : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'GIVEN_NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @return The value of the column 'GIVEN_NAME'. (Nullable)
+     */
+    public String getGivenName() {
+        return _givenName;
+    }
+
+    /**
+     * Set the value of the column 'GIVEN_NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'FAMILY_NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @return The value of the column 'FAMILY_NAME'. (Nullable)
+     */
+    public String getFamilyName() {
+        return _familyName;
+    }
+
+    /**
+     * Set the value of the column 'FAMILY_NAME'. <br /> {VARCHAR(100)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'MIDDLE_NAME'. <br /> {VARCHAR(50)}
+     * 
+     * @return The value of the column 'MIDDLE_NAME'. (Nullable)
+     */
+    public String getMiddleName() {
+        return _middleName;
+    }
+
+    /**
+     * Set the value of the column 'MIDDLE_NAME'. <br /> {VARCHAR(50)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'GIVEN_NAME_DESC'. <br /> {VARCHAR(100)}
+     * 
+     * @return The value of the column 'GIVEN_NAME_DESC'. (Nullable)
+     */
+    public String getGivenNameDesc() {
+        return _givenNameDesc;
+    }
+
+    /**
+     * Set the value of the column 'GIVEN_NAME_DESC'. <br /> {VARCHAR(100)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'FAMILY_NAME_DESC'. <br /> {VARCHAR(100)}
+     * 
+     * @return The value of the column 'FAMILY_NAME_DESC'. (Nullable)
+     */
+    public String getFamilyNameDesc() {
+        return _familyNameDesc;
+    }
+
+    /**
+     * Set the value of the column 'FAMILY_NAME_DESC'. <br /> {VARCHAR(100)}
+     * 
+     * @param familyNameDesc The value of the column 'FAMILY_NAME_DESC'.
+     *            (Nullable)
+     */
+    public void setFamilyNameDesc(String familyNameDesc) {
+        _modifiedProperties.addPropertyName("familyNameDesc");
+        this._familyNameDesc = familyNameDesc;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String email_COLUMN = "EMAIL";
+
+    /**
+     * Get the value of the column 'EMAIL'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'EMAIL'. (Nullable)
+     */
+    public String getEmail() {
+        return _email;
+    }
+
+    /**
+     * Set the value of the column 'EMAIL'. <br /> {VARCHAR(255)}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'URL'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'URL'. (Nullable)
+     */
+    public String getUrl() {
+        return _url;
+    }
+
+    /**
+     * Set the value of the column 'URL'. <br /> {VARCHAR(255)}
+     * 
+     * @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 telephoneNumber_COLUMN = "TELEPHONE_NUMBER";
+
+    /**
+     * Get the value of the column 'TELEPHONE_NUMBER'. <br /> {VARCHAR(40)}
+     * 
+     * @return The value of the column 'TELEPHONE_NUMBER'. (Nullable)
+     */
+    public String getTelephoneNumber() {
+        return _telephoneNumber;
+    }
+
+    /**
+     * Set the value of the column 'TELEPHONE_NUMBER'. <br /> {VARCHAR(40)}
+     * 
+     * @param telephoneNumber The value of the column 'TELEPHONE_NUMBER'.
+     *            (Nullable)
+     */
+    public void setTelephoneNumber(String telephoneNumber) {
+        _modifiedProperties.addPropertyName("telephoneNumber");
+        this._telephoneNumber = telephoneNumber;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : FK to ROLE_INFO} */
+    public static final String roleId_COLUMN = "ROLE_ID";
+
+    /**
+     * Get the value of the column 'ROLE_ID'. <br /> {VARCHAR(255) : FK to
+     * ROLE_INFO}
+     * 
+     * @return The value of the column 'ROLE_ID'. (Nullable)
+     */
+    public String getRoleId() {
+        return _roleId;
+    }
+
+    /**
+     * Set the value of the column 'ROLE_ID'. <br /> {VARCHAR(255) : FK to
+     * ROLE_INFO}
+     * 
+     * @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";
+
+    /**
+     * Get the value of the column 'GROUP_ID'. <br /> {VARCHAR(255) : FK to
+     * GROUP_INFO}
+     * 
+     * @return The value of the column 'GROUP_ID'. (Nullable)
+     */
+    public String getGroupId() {
+        return _groupId;
+    }
+
+    /**
+     * Set the value of the column 'GROUP_ID'. <br /> {VARCHAR(255) : FK to
+     * GROUP_INFO}
+     * 
+     * @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. {TIMESTAMP : NotNull} */
+    public static final String createdTime_COLUMN = "CREATED_TIME";
+
+    /**
+     * Get the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @return The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getCreatedTime() {
+        return _createdTime;
+    }
+
+    /**
+     * Set the value of the column 'CREATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @param createdTime The value of the column 'CREATED_TIME'. (Nullable)
+     */
+    public void setCreatedTime(java.sql.Timestamp createdTime) {
+        _modifiedProperties.addPropertyName("createdTime");
+        this._createdTime = createdTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    public static final String createdBy_COLUMN = "CREATED_BY";
+
+    /**
+     * Get the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @return The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public String getCreatedBy() {
+        return _createdBy;
+    }
+
+    /**
+     * Set the value of the column 'CREATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @param createdBy The value of the column 'CREATED_BY'. (Nullable)
+     */
+    public void setCreatedBy(String createdBy) {
+        _modifiedProperties.addPropertyName("createdBy");
+        this._createdBy = createdBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP : NotNull} */
+    public static final String updatedTime_COLUMN = "UPDATED_TIME";
+
+    /**
+     * Get the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @return The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getUpdatedTime() {
+        return _updatedTime;
+    }
+
+    /**
+     * Set the value of the column 'UPDATED_TIME'. <br /> {TIMESTAMP : NotNull}
+     * 
+     * @param updatedTime The value of the column 'UPDATED_TIME'. (Nullable)
+     */
+    public void setUpdatedTime(java.sql.Timestamp updatedTime) {
+        _modifiedProperties.addPropertyName("updatedTime");
+        this._updatedTime = updatedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255) : NotNull} */
+    public static final String updatedBy_COLUMN = "UPDATED_BY";
+
+    /**
+     * Get the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @return The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public String getUpdatedBy() {
+        return _updatedBy;
+    }
+
+    /**
+     * Set the value of the column 'UPDATED_BY'. <br /> {VARCHAR(255) : NotNull}
+     * 
+     * @param updatedBy The value of the column 'UPDATED_BY'. (Nullable)
+     */
+    public void setUpdatedBy(String updatedBy) {
+        _modifiedProperties.addPropertyName("updatedBy");
+        this._updatedBy = updatedBy;
+    }
+
+    /** The column annotation for S2Dao. {TIMESTAMP} */
+    public static final String deletedTime_COLUMN = "DELETED_TIME";
+
+    /**
+     * Get the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * 
+     * @return The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public java.sql.Timestamp getDeletedTime() {
+        return _deletedTime;
+    }
+
+    /**
+     * Set the value of the column 'DELETED_TIME'. <br /> {TIMESTAMP}
+     * 
+     * @param deletedTime The value of the column 'DELETED_TIME'. (Nullable)
+     */
+    public void setDeletedTime(java.sql.Timestamp deletedTime) {
+        _modifiedProperties.addPropertyName("deletedTime");
+        this._deletedTime = deletedTime;
+    }
+
+    /** The column annotation for S2Dao. {VARCHAR(255)} */
+    public static final String deletedBy_COLUMN = "DELETED_BY";
+
+    /**
+     * Get the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * 
+     * @return The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public String getDeletedBy() {
+        return _deletedBy;
+    }
+
+    /**
+     * Set the value of the column 'DELETED_BY'. <br /> {VARCHAR(255)}
+     * 
+     * @param deletedBy The value of the column 'DELETED_BY'. (Nullable)
+     */
+    public void setDeletedBy(String deletedBy) {
+        _modifiedProperties.addPropertyName("deletedBy");
+        this._deletedBy = deletedBy;
+    }
+
+    /** The column annotation for S2Dao. {INTEGER : NotNull} */
+    public static final String versionno_COLUMN = "VERSIONNO";
+
+    /**
+     * Get the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull}
+     * 
+     * @return The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public Integer getVersionno() {
+        return _versionno;
+    }
+
+    /**
+     * Set the value of the column 'VERSIONNO'. <br /> {INTEGER : NotNull}
+     * 
+     * @param versionno The value of the column 'VERSIONNO'. (Nullable)
+     */
+    public void setVersionno(Integer versionno) {
+        _modifiedProperties.addPropertyName("versionno");
+        this._versionno = versionno;
+    }
+
+}


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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/EmployeeDbm.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/EmployeeDbm.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/EmployeeDbm.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -6,6 +6,7 @@
 import jp.sf.pal.timecard.db.allcommon.Entity;
 import jp.sf.pal.timecard.db.allcommon.dbmeta.AbstractDBMeta;
 import jp.sf.pal.timecard.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.info.ForeignInfo;
 import jp.sf.pal.timecard.db.allcommon.dbmeta.info.ReferrerInfo;
 import jp.sf.pal.timecard.db.allcommon.dbmeta.info.UniqueInfo;
 import jp.sf.pal.timecard.db.exentity.Employee;
@@ -227,7 +228,20 @@
     // -----------------------------------------------------
     // Foreign Property
     // ----------------
+    public ForeignInfo foreignUserInfoByUsername() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUsername(),
+                UserInfoDbm.getInstance().columnUserId());
+        return cfi("userInfoByUsername", this, UserInfoDbm.getInstance(), map,
+                0, false);
+    }
 
+    public ForeignInfo foreignUserInfoByManager() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnManager(),
+                UserInfoDbm.getInstance().columnUserId());
+        return cfi("userInfoByManager", this, UserInfoDbm.getInstance(), map,
+                1, false);
+    }
+
     // -----------------------------------------------------
     // Referrer Property
     // -----------------

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

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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/UserInfoDbm.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/UserInfoDbm.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/UserInfoDbm.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,526 @@
+package jp.sf.pal.timecard.db.bsentity.dbmeta;
+
+import java.util.List;
+import java.util.Map;
+
+import jp.sf.pal.timecard.db.allcommon.Entity;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.AbstractDBMeta;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.info.ColumnInfo;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.info.ForeignInfo;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.info.ReferrerInfo;
+import jp.sf.pal.timecard.db.allcommon.dbmeta.info.UniqueInfo;
+import jp.sf.pal.timecard.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";
+    }
+
+    //==========================================================================
+    // =========
+    // Column Info
+    // ===========
+    protected ColumnInfo _columnUserId = cci("USER_ID", "userId", String.class,
+            true, 255, 0);
+
+    protected ColumnInfo _columnGivenName = cci("GIVEN_NAME", "givenName",
+            String.class, false, 100, 0);
+
+    protected ColumnInfo _columnFamilyName = cci("FAMILY_NAME", "familyName",
+            String.class, false, 100, 0);
+
+    protected ColumnInfo _columnMiddleName = cci("MIDDLE_NAME", "middleName",
+            String.class, false, 50, 0);
+
+    protected ColumnInfo _columnGivenNameDesc = cci("GIVEN_NAME_DESC",
+            "givenNameDesc", String.class, false, 100, 0);
+
+    protected ColumnInfo _columnFamilyNameDesc = cci("FAMILY_NAME_DESC",
+            "familyNameDesc", String.class, false, 100, 0);
+
+    protected ColumnInfo _columnEmail = cci("EMAIL", "email", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnUrl = cci("URL", "url", String.class, false,
+            255, 0);
+
+    protected ColumnInfo _columnTelephoneNumber = cci("TELEPHONE_NUMBER",
+            "telephoneNumber", String.class, false, 40, 0);
+
+    protected ColumnInfo _columnRoleId = cci("ROLE_ID", "roleId", String.class,
+            false, 255, 0);
+
+    protected ColumnInfo _columnGroupId = cci("GROUP_ID", "groupId",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME",
+            "createdTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnCreatedBy = cci("CREATED_BY", "createdBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnUpdatedTime = cci("UPDATED_TIME",
+            "updatedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnUpdatedBy = cci("UPDATED_BY", "updatedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnDeletedTime = cci("DELETED_TIME",
+            "deletedTime", java.sql.Timestamp.class, false, null, null);
+
+    protected ColumnInfo _columnDeletedBy = cci("DELETED_BY", "deletedBy",
+            String.class, false, 255, 0);
+
+    protected ColumnInfo _columnVersionno = cci("VERSIONNO", "versionno",
+            Integer.class, false, null, null, OptimisticLockType.VERSION_NO);
+
+    public ColumnInfo columnUserId() {
+        return _columnUserId;
+    }
+
+    public ColumnInfo columnGivenName() {
+        return _columnGivenName;
+    }
+
+    public ColumnInfo columnFamilyName() {
+        return _columnFamilyName;
+    }
+
+    public ColumnInfo columnMiddleName() {
+        return _columnMiddleName;
+    }
+
+    public ColumnInfo columnGivenNameDesc() {
+        return _columnGivenNameDesc;
+    }
+
+    public ColumnInfo columnFamilyNameDesc() {
+        return _columnFamilyNameDesc;
+    }
+
+    public ColumnInfo columnEmail() {
+        return _columnEmail;
+    }
+
+    public ColumnInfo columnUrl() {
+        return _columnUrl;
+    }
+
+    public ColumnInfo columnTelephoneNumber() {
+        return _columnTelephoneNumber;
+    }
+
+    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.timecard.db.exentity.UserInfo";
+    }
+
+    public String getConditionBeanTypeName() {
+        return "jp.sf.pal.timecard.db.cbean.bs.UserInfoCB";
+    }
+
+    public String getDaoTypeName() {
+        return "jp.sf.pal.timecard.db.exdao.UserInfoDao";
+    }
+
+    public String getBehaviorTypeName() {
+        return "jp.sf.pal.timecard.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 referrerEmployeeByUsernameList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUserId(),
+                EmployeeDbm.getInstance().columnUsername());
+        return cri("employeeByUsernameList", this, EmployeeDbm.getInstance(),
+                map, false);
+    }
+
+    public ReferrerInfo referrerEmployeeByManagerList() {
+        Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnUserId(),
+                EmployeeDbm.getInstance().columnManager());
+        return cri("employeeByManagerList", this, EmployeeDbm.getInstance(),
+                map, false);
+    }
+
+    //==========================================================================
+    // =========
+    // Various Info
+    // ============
+    public boolean hasVersionNo() {
+        return true;
+    }
+
+    public ColumnInfo getVersionNoColumnInfo() {
+        return _columnVersionno;
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Handling
+    // ===============
+    // -----------------------------------------------------
+    // Accept
+    // ------
+    public void acceptPrimaryKeyMap(Entity entity,
+            Map<String, ? extends Object> primaryKeyMap) {
+        doAcceptPrimaryKeyMap((UserInfo) entity, primaryKeyMap, _epsMap);
+    }
+
+    public void acceptPrimaryKeyMapString(Entity entity,
+            String primaryKeyMapString) {
+        MapStringUtil.acceptPrimaryKeyMapString(primaryKeyMapString, entity);
+    }
+
+    public void acceptColumnValueMap(Entity entity,
+            Map<String, ? extends Object> columnValueMap) {
+        doAcceptColumnValueMap((UserInfo) entity, columnValueMap, _epsMap);
+    }
+
+    public void acceptColumnValueMapString(Entity entity,
+            String columnValueMapString) {
+        MapStringUtil.acceptColumnValueMapString(columnValueMapString, entity);
+    }
+
+    // -----------------------------------------------------
+    // Extract
+    // -------
+    public String extractPrimaryKeyMapString(Entity entity) {
+        return MapStringUtil.extractPrimaryKeyMapString(entity);
+    }
+
+    public String extractPrimaryKeyMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractPrimaryKeyMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    public String extractColumnValueMapString(Entity entity) {
+        return MapStringUtil.extractColumnValueMapString(entity);
+    }
+
+    public String extractColumnValueMapString(Entity entity, String startBrace,
+            String endBrace, String delimiter, String equal) {
+        return doExtractColumnValueMapString(entity, startBrace, endBrace,
+                delimiter, equal);
+    }
+
+    // -----------------------------------------------------
+    // Convert
+    // -------
+    public List<Object> convertToColumnValueList(Entity entity) {
+        return newArrayList(convertToColumnValueMap(entity).values());
+    }
+
+    public Map<String, Object> convertToColumnValueMap(Entity entity) {
+        return doConvertToColumnValueMap(entity);
+    }
+
+    public List<String> convertToColumnStringValueList(Entity entity) {
+        return newArrayList(convertToColumnStringValueMap(entity).values());
+    }
+
+    public Map<String, String> convertToColumnStringValueMap(Entity entity) {
+        return doConvertToColumnStringValueMap(entity);
+    }
+
+    //==========================================================================
+    // =========
+    // Entity Property Setup
+    // =====================
+    // It's very INTERNAL!
+    protected Map<String, Eps<UserInfo>> _epsMap = newHashMap();
+    {
+        setupEps(_epsMap, new EpsUserId(), columnUserId());
+        setupEps(_epsMap, new EpsGivenName(), columnGivenName());
+        setupEps(_epsMap, new EpsFamilyName(), columnFamilyName());
+        setupEps(_epsMap, new EpsMiddleName(), columnMiddleName());
+        setupEps(_epsMap, new EpsGivenNameDesc(), columnGivenNameDesc());
+        setupEps(_epsMap, new EpsFamilyNameDesc(), columnFamilyNameDesc());
+        setupEps(_epsMap, new EpsEmail(), columnEmail());
+        setupEps(_epsMap, new EpsUrl(), columnUrl());
+        setupEps(_epsMap, new EpsTelephoneNumber(), columnTelephoneNumber());
+        setupEps(_epsMap, new EpsRoleId(), columnRoleId());
+        setupEps(_epsMap, new EpsGroupId(), columnGroupId());
+        setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime());
+        setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy());
+        setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime());
+        setupEps(_epsMap, new EpsUpdatedBy(), columnUpdatedBy());
+        setupEps(_epsMap, new EpsDeletedTime(), columnDeletedTime());
+        setupEps(_epsMap, new EpsDeletedBy(), columnDeletedBy());
+        setupEps(_epsMap, new EpsVersionno(), columnVersionno());
+    }
+
+    public boolean hasEntityPropertySetupper(String propertyName) {
+        return _epsMap.containsKey(propertyName);
+    }
+
+    public void setupEntityProperty(String propertyName, Object entity,
+            Object value) {
+        findEps(_epsMap, propertyName).setup((UserInfo) entity, value);
+    }
+
+    public static class EpsUserId implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setUserId((String) v);
+        }
+    }
+
+    public static class EpsGivenName implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setGivenName((String) v);
+        }
+    }
+
+    public static class EpsFamilyName implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setFamilyName((String) v);
+        }
+    }
+
+    public static class EpsMiddleName implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setMiddleName((String) v);
+        }
+    }
+
+    public static class EpsGivenNameDesc implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setGivenNameDesc((String) v);
+        }
+    }
+
+    public static class EpsFamilyNameDesc implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setFamilyNameDesc((String) v);
+        }
+    }
+
+    public static class EpsEmail implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setEmail((String) v);
+        }
+    }
+
+    public static class EpsUrl implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setUrl((String) v);
+        }
+    }
+
+    public static class EpsTelephoneNumber implements Eps<UserInfo> {
+        public void setup(UserInfo e, Object v) {
+            e.setTelephoneNumber((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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/bsentity/dbmeta/UserInfoDbm.java
___________________________________________________________________
Name: svn:eol-style
   + native

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


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

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


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

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


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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsEmployeeCB.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsEmployeeCB.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsEmployeeCB.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -9,7 +9,10 @@
 import jp.sf.pal.timecard.db.allcommon.cbean.UnionQuery;
 import jp.sf.pal.timecard.db.cbean.EmployeeCB;
 import jp.sf.pal.timecard.db.cbean.MonthlyReportCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
 import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.timecard.db.cbean.nss.UserInfoNss;
 
 /**
  * The base condition-bean of EMPLOYEE.
@@ -160,6 +163,52 @@
     // Setup Select
     // ============
 
+    protected UserInfoNss _nssUserInfoByUsername;
+
+    public UserInfoNss getNssUserInfoByUsername() {
+        if (_nssUserInfoByUsername == null) {
+            _nssUserInfoByUsername = new UserInfoNss(null);
+        }
+        return _nssUserInfoByUsername;
+    }
+
+    public UserInfoNss setupSelect_UserInfoByUsername() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryUserInfoByUsername();
+            }
+        });
+        if (_nssUserInfoByUsername == null
+                || !_nssUserInfoByUsername.hasConditionQuery()) {
+            _nssUserInfoByUsername = new UserInfoNss(query()
+                    .queryUserInfoByUsername());
+        }
+        return _nssUserInfoByUsername;
+    }
+
+    protected UserInfoNss _nssUserInfoByManager;
+
+    public UserInfoNss getNssUserInfoByManager() {
+        if (_nssUserInfoByManager == null) {
+            _nssUserInfoByManager = new UserInfoNss(null);
+        }
+        return _nssUserInfoByManager;
+    }
+
+    public UserInfoNss setupSelect_UserInfoByManager() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryUserInfoByManager();
+            }
+        });
+        if (_nssUserInfoByManager == null
+                || !_nssUserInfoByManager.hasConditionQuery()) {
+            _nssUserInfoByManager = new UserInfoNss(query()
+                    .queryUserInfoByManager());
+        }
+        return _nssUserInfoByManager;
+    }
+
     // [DBFlute-0.7.4]
     //==========================================================================
     // =========
@@ -186,6 +235,10 @@
     public static class Specification extends AbstractSpecification<EmployeeCQ> {
         protected SpQyCall<EmployeeCQ> _myQyCall;
 
+        protected UserInfoCB.Specification _userInfoByUsername;
+
+        protected UserInfoCB.Specification _userInfoByManager;
+
         public Specification(ConditionBean baseCB, SpQyCall<EmployeeCQ> qyCall,
                 boolean forDeriveReferrer) {
             super(baseCB, qyCall, forDeriveReferrer);
@@ -242,12 +295,58 @@
 
         protected void doSpecifyRequiredColumn() {
             columnId();// PK
+            if (_myQyCall.qy().hasConditionQueryUserInfoByUsername()) {
+                columnUsername();// FK
+            }
+            if (_myQyCall.qy().hasConditionQueryUserInfoByManager()) {
+                columnManager();// FK
+            }
         }
 
         protected String getTableDbName() {
             return "EMPLOYEE";
         }
 
+        public UserInfoCB.Specification specifyUserInfoByUsername() {
+            assertForeign("userInfoByUsername");
+            if (_userInfoByUsername == null) {
+                _userInfoByUsername = new UserInfoCB.Specification(_baseCB,
+                        new SpQyCall<UserInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall
+                                                .qy()
+                                                .hasConditionQueryUserInfoByUsername();
+                            }
+
+                            public UserInfoCQ qy() {
+                                return _myQyCall.qy().queryUserInfoByUsername();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _userInfoByUsername;
+        }
+
+        public UserInfoCB.Specification specifyUserInfoByManager() {
+            assertForeign("userInfoByManager");
+            if (_userInfoByManager == null) {
+                _userInfoByManager = new UserInfoCB.Specification(_baseCB,
+                        new SpQyCall<UserInfoCQ>() {
+                            public boolean has() {
+                                return _myQyCall.has()
+                                        && _myQyCall
+                                                .qy()
+                                                .hasConditionQueryUserInfoByManager();
+                            }
+
+                            public UserInfoCQ qy() {
+                                return _myQyCall.qy().queryUserInfoByManager();
+                            }
+                        }, _forDeriveReferrer);
+            }
+            return _userInfoByManager;
+        }
+
         public RAFunction<MonthlyReportCB, EmployeeCQ> derivedMonthlyReportList() {
             return new RAFunction<MonthlyReportCB, EmployeeCQ>(_baseCB,
                     _myQyCall.qy(),

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

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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsUserInfoCB.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsUserInfoCB.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsUserInfoCB.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,409 @@
+package jp.sf.pal.timecard.db.cbean.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.AbstractConditionBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionBean;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.UnionQuery;
+import jp.sf.pal.timecard.db.cbean.EmployeeCB;
+import jp.sf.pal.timecard.db.cbean.GroupInfoCB;
+import jp.sf.pal.timecard.db.cbean.RoleInfoCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.timecard.db.cbean.nss.GroupInfoNss;
+import jp.sf.pal.timecard.db.cbean.nss.RoleInfoNss;
+
+/**
+ * The base condition-bean of USER_INFO.
+ * 
+ * @author DBFlute(AutoGenerator)
+ */
+ @ SuppressWarnings("unchecked")
+public class BsUserInfoCB extends AbstractConditionBean {
+
+    //==========================================================================
+    // =========
+    // Attribute
+    // =========
+    protected UserInfoCQ _conditionQuery;
+
+    //==========================================================================
+    // =========
+    // Table Name
+    // ==========
+    public String getTableDbName() {
+        return "USER_INFO";
+    }
+
+    public String getTableSqlName() {
+        return "USER_INFO";
+    }
+
+    //==========================================================================
+    // =========
+    // PrimaryKey Map
+    // ==============
+    public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
+        assertPrimaryKeyMap(primaryKeyMap);
+        {
+            Object obj = primaryKeyMap.get("USER_ID");
+            if (obj instanceof String) {
+                query().setUserId_Equal((String) obj);
+            } else {
+                checkTypeString(obj, "userId", "String");
+                query().setUserId_Equal((String) obj);
+            }
+        }
+
+    }
+
+    //==========================================================================
+    // =========
+    // OrderBy Setting
+    // ===============
+    public ConditionBean addOrderBy_PK_Asc() {
+        query().addOrderBy_UserId_Asc();
+        return this;
+    }
+
+    public ConditionBean addOrderBy_PK_Desc() {
+        query().addOrderBy_UserId_Desc();
+        return this;
+    }
+
+    //==========================================================================
+    // =========
+    // Query
+    // =====
+    public UserInfoCQ query() {
+        return getConditionQuery();
+    }
+
+    public UserInfoCQ getConditionQuery() {
+        if (_conditionQuery == null) {
+            _conditionQuery = new UserInfoCQ(null, getSqlClause(),
+                    getSqlClause().getLocalTableAliasName(), 0);
+        }
+        return _conditionQuery;
+    }
+
+    public ConditionQuery getConditionQueryAsInterface() {
+        return getConditionQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Union
+    // =====
+    /**
+     * Set up 'union'.
+     * 
+     * <pre>
+     * cb.query().union(new UnionQuery&lt;UserInfoCB&gt;() {
+     *     public void query(UserInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void union(UnionQuery<UserInfoCB> unionQuery) {
+        final UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final UserInfoCQ cq = cb.query();
+        query().xsetUnionQuery(cq);
+    }
+
+    /**
+     * Set up 'union all'.
+     * 
+     * <pre>
+     * cb.query().unionAll(new UnionQuery&lt;UserInfoCB&gt;() {
+     *     public void query(UserInfoCB unionCB) {
+     *         unionCB.query().setXxx...
+     *     }
+     * });
+     * </pre>
+     * 
+     * @param unionQuery The query of 'union'. (NotNull)
+     */
+    public void unionAll(UnionQuery<UserInfoCB> unionQuery) {
+        final UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForUnion();
+        unionQuery.query(cb);
+        final UserInfoCQ cq = cb.query();
+        query().xsetUnionAllQuery(cq);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use union(UnionQuery<UserInfoCB> unionQuery).
+     */
+    public void union(UserInfoCQ unionQuery) {
+        query().xsetUnionQuery(unionQuery);
+    }
+
+    /**
+     * @param unionQuery The query of 'union'. (NotNull)
+     * @deprecated Sorry! Please use unionAll(UnionQuery<UserInfoCB>
+     *             unionQuery).
+     */
+    public void unionAll(UserInfoCQ unionQuery) {
+        query().xsetUnionAllQuery(unionQuery);
+    }
+
+    public boolean hasUnionQueryOrUnionAllQuery() {
+        return query().hasUnionQueryOrUnionAllQuery();
+    }
+
+    //==========================================================================
+    // =========
+    // Setup Select
+    // ============
+
+    protected GroupInfoNss _nssGroupInfo;
+
+    public GroupInfoNss getNssGroupInfo() {
+        if (_nssGroupInfo == null) {
+            _nssGroupInfo = new GroupInfoNss(null);
+        }
+        return _nssGroupInfo;
+    }
+
+    public GroupInfoNss setupSelect_GroupInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryGroupInfo();
+            }
+        });
+        if (_nssGroupInfo == null || !_nssGroupInfo.hasConditionQuery()) {
+            _nssGroupInfo = new GroupInfoNss(query().queryGroupInfo());
+        }
+        return _nssGroupInfo;
+    }
+
+    protected RoleInfoNss _nssRoleInfo;
+
+    public RoleInfoNss getNssRoleInfo() {
+        if (_nssRoleInfo == null) {
+            _nssRoleInfo = new RoleInfoNss(null);
+        }
+        return _nssRoleInfo;
+    }
+
+    public RoleInfoNss setupSelect_RoleInfo() {
+        doSetupSelect(new SsCall() {
+            public ConditionQuery qf() {
+                return query().queryRoleInfo();
+            }
+        });
+        if (_nssRoleInfo == null || !_nssRoleInfo.hasConditionQuery()) {
+            _nssRoleInfo = new RoleInfoNss(query().queryRoleInfo());
+        }
+        return _nssRoleInfo;
+    }
+
+    // [DBFlute-0.7.4]
+    //==========================================================================
+    // =========
+    // Specify
+    // =======
+    protected Specification _specification;
+
+    public Specification specify() {
+        if (_specification == null) {
+            _specification = new Specification(this,
+                    new SpQyCall<UserInfoCQ>() {
+                        public boolean has() {
+                            return true;
+                        }
+
+                        public UserInfoCQ qy() {
+                            return query();
+                        }
+                    }, _forDeriveReferrer);
+        }
+        return _specification;
+    }
+
+    public static class Specification extends AbstractSpecification<UserInfoCQ> {
+        protected SpQyCall<UserInfoCQ> _myQyCall;
+
+        protected GroupInfoCB.Specification _groupInfo;
+
+        protected RoleInfoCB.Specification _roleInfo;
+
+        public Specification(ConditionBean baseCB, SpQyCall<UserInfoCQ> qyCall,
+                boolean forDeriveReferrer) {
+            super(baseCB, qyCall, forDeriveReferrer);
+            _myQyCall = qyCall;
+        }
+
+        public void columnUserId() {
+            doColumn("USER_ID");
+        }
+
+        public void columnGivenName() {
+            doColumn("GIVEN_NAME");
+        }
+
+        public void columnFamilyName() {
+            doColumn("FAMILY_NAME");
+        }
+
+        public void columnMiddleName() {
+            doColumn("MIDDLE_NAME");
+        }
+
+        public void columnGivenNameDesc() {
+            doColumn("GIVEN_NAME_DESC");
+        }
+
+        public void columnFamilyNameDesc() {
+            doColumn("FAMILY_NAME_DESC");
+        }
+
+        public void columnEmail() {
+            doColumn("EMAIL");
+        }
+
+        public void columnUrl() {
+            doColumn("URL");
+        }
+
+        public void columnTelephoneNumber() {
+            doColumn("TELEPHONE_NUMBER");
+        }
+
+        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<EmployeeCB, UserInfoCQ> derivedEmployeeByUsernameList() {
+            return new RAFunction<EmployeeCB, UserInfoCQ>(_baseCB, _myQyCall
+                    .qy(), new RAQSetupper<EmployeeCB, UserInfoCQ>() {
+                public void setup(String function,
+                        SubQuery<EmployeeCB> subQuery, UserInfoCQ cq,
+                        String aliasName) {
+                    cq.xderiveEmployeeByUsernameList(function, subQuery,
+                            aliasName);
+                }
+            });
+        }
+
+        public RAFunction<EmployeeCB, UserInfoCQ> derivedEmployeeByManagerList() {
+            return new RAFunction<EmployeeCB, UserInfoCQ>(_baseCB, _myQyCall
+                    .qy(), new RAQSetupper<EmployeeCB, UserInfoCQ>() {
+                public void setup(String function,
+                        SubQuery<EmployeeCB> subQuery, UserInfoCQ cq,
+                        String aliasName) {
+                    cq.xderiveEmployeeByManagerList(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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/bs/BsUserInfoCB.java
___________________________________________________________________
Name: svn:eol-style
   + native

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

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

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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsDailyReportCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsDailyReportCQ.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsDailyReportCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -50,7 +50,7 @@
     /**
      * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_F95B09D3_3E35_4F4E_81F4_295D5B036C69]}
+     * PUBLIC.SYSTEM_SEQUENCE_4702E7AF_BED5_430F_872C_0E616FCCB710]}
      * 
      * @param id The value of id as equal.
      */

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsEmployeeCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsEmployeeCQ.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsEmployeeCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -10,8 +10,10 @@
 import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
 import jp.sf.pal.timecard.db.cbean.EmployeeCB;
 import jp.sf.pal.timecard.db.cbean.MonthlyReportCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
 import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
 import jp.sf.pal.timecard.db.cbean.cq.MonthlyReportCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
 
 /**
  * The abstract condition-query of EMPLOYEE.
@@ -50,7 +52,7 @@
     /**
      * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : INTEGER : NotNull
      * : Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_DECF6155_521A_4FFA_8951_09452601F6FA]}
+     * PUBLIC.SYSTEM_SEQUENCE_B9D70913_E2FA_457A_9EE2_47106722A258]}
      * 
      * @param id The value of id as equal.
      */
@@ -265,8 +267,8 @@
     abstract protected ConditionValue getCValueId();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : NotNull
+     * : FK to USER_INFO}
      * 
      * @param username The value of username as equal.
      */
@@ -376,6 +378,36 @@
         regUsername(CK_NINS, cTL(usernameList));
     }
 
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use inScopeUserInfoByUsername(subQuery) method.
+     */
+    public void setUsername_InScopeSubQuery_UserInfoByUsername(
+            UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepUsername_InScopeSubQuery_UserInfoByUsername(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(userInfoCBquery, "USERNAME", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeUserInfoByUsername(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUsername_InScopeSubQuery_UserInfoByUsername(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USERNAME", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUsername_InScopeSubQuery_UserInfoByUsername(
+            jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ subQuery);
+
     protected void regUsername(ConditionKey key, Object value) {
         registerQuery(key, value, getCValueUsername(), "USERNAME", "Username",
                 "username");
@@ -389,8 +421,8 @@
     abstract protected ConditionValue getCValueUsername();
 
     /**
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
-     * NotNull}
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : NotNull
+     * : FK to USER_INFO}
      * 
      * @param manager The value of manager as equal.
      */
@@ -500,6 +532,36 @@
         regManager(CK_NINS, cTL(managerList));
     }
 
+    /**
+     * @param userInfoCBquery Query.
+     * @deprecated Please use inScopeUserInfoByManager(subQuery) method.
+     */
+    public void setManager_InScopeSubQuery_UserInfoByManager(
+            UserInfoCQ userInfoCBquery) {
+        String subQueryPropertyName = keepManager_InScopeSubQuery_UserInfoByManager(userInfoCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(userInfoCBquery, "MANAGER", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    public void inScopeUserInfoByManager(SubQuery<UserInfoCB> subQuery) {
+        assertObjectNotNull("subQuery<UserInfoCB>", subQuery);
+        UserInfoCB cb = new UserInfoCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepManager_InScopeSubQuery_UserInfoByManager(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "MANAGER", "USER_ID",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepManager_InScopeSubQuery_UserInfoByManager(
+            jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ subQuery);
+
     protected void regManager(ConditionKey key, Object value) {
         registerQuery(key, value, getCValueManager(), "MANAGER", "Manager",
                 "manager");

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,1776 @@
+package jp.sf.pal.timecard.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.GroupInfoCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.timecard.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 : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @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.timecard.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.timecard.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 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 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 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
+     * 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 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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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. {TIMESTAMP : NotNull}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.timecard.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
+     * NotNull}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.timecard.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
+     * NotNull}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull}
+     * 
+     * @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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsGroupInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsMonthlyReportCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsMonthlyReportCQ.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsMonthlyReportCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -52,7 +52,7 @@
     /**
      * Equal(=). And NullIgnored, OnceRegistered. {PK : INC : BIGINT : NotNull :
      * Default=[NEXT VALUE FOR
-     * PUBLIC.SYSTEM_SEQUENCE_940A2BD3_BBE2_4599_9FBC_C0BA4C739586]}
+     * PUBLIC.SYSTEM_SEQUENCE_6A0692DE_1982_46B6_913E_4DD089ECE512]}
      * 
      * @param id The value of id as equal.
      */

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,1775 @@
+package jp.sf.pal.timecard.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.RoleInfoCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.timecard.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 : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @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.timecard.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.timecard.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 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 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 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 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 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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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. {TIMESTAMP : NotNull}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.timecard.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
+     * NotNull}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.timecard.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
+     * NotNull}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull}
+     * 
+     * @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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsRoleInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsUserInfoCQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsUserInfoCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,2658 @@
+package jp.sf.pal.timecard.db.cbean.cq.bs;
+
+import java.util.Collection;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.AbstractConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.SubQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.EmployeeCB;
+import jp.sf.pal.timecard.db.cbean.GroupInfoCB;
+import jp.sf.pal.timecard.db.cbean.RoleInfoCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
+import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
+import jp.sf.pal.timecard.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.timecard.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 : VARCHAR(255) :
+     * NotNull}
+     * 
+     * @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.timecard.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.timecard.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 employeeCBquery Query.
+     * @deprecated Please use inScopeEmployeeByUsernameList(subQuery) method.
+     */
+    public void setUserId_InScopeSubQuery_EmployeeByUsernameList(
+            EmployeeCQ employeeCBquery) {
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_EmployeeByUsernameList(employeeCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(employeeCBquery, "USER_ID", "USERNAME",
+                subQueryPropertyName);
+    }
+
+    public void inScopeEmployeeByUsernameList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_EmployeeByUsernameList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USER_ID", "USERNAME",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_InScopeSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery);
+
+    /**
+     * @param employeeCBquery Query.
+     * @deprecated Please use inScopeEmployeeByManagerList(subQuery) method.
+     */
+    public void setUserId_InScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ employeeCBquery) {
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_EmployeeByManagerList(employeeCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerInScopeSubQuery(employeeCBquery, "USER_ID", "MANAGER",
+                subQueryPropertyName);
+    }
+
+    public void inScopeEmployeeByManagerList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_InScopeSubQuery_EmployeeByManagerList(cb
+                .query());// for saving query-value.
+        registerInScopeSubQuery(cb.query(), "USER_ID", "MANAGER",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_InScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery);
+
+    public void notInScopeEmployeeByUsernameList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotInScopeSubQuery_EmployeeByUsernameList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "USER_ID", "USERNAME",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotInScopeSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery);
+
+    public void notInScopeEmployeeByManagerList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForInScopeSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotInScopeSubQuery_EmployeeByManagerList(cb
+                .query());// for saving query-value.
+        registerNotInScopeSubQuery(cb.query(), "USER_ID", "MANAGER",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotInScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery);
+
+    /**
+     * @param employeeCBquery Query.
+     * @deprecated Please use existsEmployeeByUsernameList(subQuery) method.
+     */
+    public void setUserId_ExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ employeeCBquery) {
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_EmployeeByUsernameList(employeeCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(employeeCBquery, "USER_ID", "USERNAME",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select USERNAME from EMPLOYEE where
+     * ...)}
+     * 
+     * @param subQuery The sub-query of
+     *            UserId_ExistsSubQuery_EmployeeByUsernameList for 'exists'.
+     *            (NotNull)
+     */
+    public void existsEmployeeByUsernameList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_EmployeeByUsernameList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "USER_ID", "USERNAME",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_ExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery);
+
+    /**
+     * @param employeeCBquery Query.
+     * @deprecated Please use existsEmployeeByManagerList(subQuery) method.
+     */
+    public void setUserId_ExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ employeeCBquery) {
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_EmployeeByManagerList(employeeCBquery);// for
+        // saving
+        // query
+        // -
+        // value
+        // .
+        registerExistsSubQuery(employeeCBquery, "USER_ID", "MANAGER",
+                subQueryPropertyName);
+    }
+
+    /**
+     * Set up 'exists' sub-query. {exists (select MANAGER from EMPLOYEE where
+     * ...)}
+     * 
+     * @param subQuery The sub-query of
+     *            UserId_ExistsSubQuery_EmployeeByManagerList for 'exists'.
+     *            (NotNull)
+     */
+    public void existsEmployeeByManagerList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_ExistsSubQuery_EmployeeByManagerList(cb
+                .query());// for saving query-value.
+        registerExistsSubQuery(cb.query(), "USER_ID", "MANAGER",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_ExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select USERNAME from EMPLOYEE
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of
+     *            UserId_NotExistsSubQuery_EmployeeByUsernameList for 'not
+     *            exists'. (NotNull)
+     */
+    public void notExistsEmployeeByUsernameList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotExistsSubQuery_EmployeeByUsernameList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "USER_ID", "USERNAME",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery);
+
+    /**
+     * Set up 'not exists' sub-query. {not exists (select MANAGER from EMPLOYEE
+     * where ...)}
+     * 
+     * @param subQuery The sub-query of
+     *            UserId_NotExistsSubQuery_EmployeeByManagerList for 'not
+     *            exists'. (NotNull)
+     */
+    public void notExistsEmployeeByManagerList(SubQuery<EmployeeCB> subQuery) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForExistsSubQuery();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_NotExistsSubQuery_EmployeeByManagerList(cb
+                .query());// for saving query-value.
+        registerNotExistsSubQuery(cb.query(), "USER_ID", "MANAGER",
+                subQueryPropertyName);
+    }
+
+    abstract public String keepUserId_NotExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery);
+
+    public void xderiveEmployeeByUsernameList(String function,
+            SubQuery<EmployeeCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_DeriveSubQuery_EmployeeByUsernameList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "USER_ID", "USERNAME",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepUserId_DeriveSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery);
+
+    public void xderiveEmployeeByManagerList(String function,
+            SubQuery<EmployeeCB> subQuery, String aliasName) {
+        assertObjectNotNull("subQuery<EmployeeCB>", subQuery);
+        EmployeeCB cb = new EmployeeCB();
+        cb.xsetupForDeriveReferrer();
+        subQuery.query(cb);
+        String subQueryPropertyName = keepUserId_DeriveSubQuery_EmployeeByManagerList(cb
+                .query());// for saving query-value.
+        registerDeriveSubQuery(function, cb.query(), "USER_ID", "MANAGER",
+                subQueryPropertyName, aliasName);
+    }
+
+    abstract public String keepUserId_DeriveSubQuery_EmployeeByManagerList(
+            EmployeeCQ 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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(familyNameDesc),
+                getCValueFamilyNameDesc(), "FAMILY_NAME_DESC",
+                "FamilyNameDesc", "familyNameDesc", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param familyNameDescList The collection of familyNameDesc as notInScope.
+     */
+    public void setFamilyNameDesc_NotInScope(
+            Collection<String> familyNameDescList) {
+        regFamilyNameDesc(CK_NINS, cTL(familyNameDescList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setFamilyNameDesc_IsNull() {
+        regFamilyNameDesc(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setFamilyNameDesc_IsNotNull() {
+        regFamilyNameDesc(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regFamilyNameDesc(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueFamilyNameDesc(),
+                "FAMILY_NAME_DESC", "FamilyNameDesc", "familyNameDesc");
+    }
+
+    protected void registerInlineFamilyNameDesc(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueFamilyNameDesc(),
+                "FAMILY_NAME_DESC", "FamilyNameDesc", "familyNameDesc");
+    }
+
+    abstract protected ConditionValue getCValueFamilyNameDesc();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}
+     * 
+     * @param email The value of email as equal.
+     */
+    public void setEmail_Equal(String email) {
+        regEmail(CK_EQ, fRES(email));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as notEqual.
+     */
+    public void setEmail_NotEqual(String email) {
+        regEmail(CK_NE, fRES(email));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterThan.
+     */
+    public void setEmail_GreaterThan(String email) {
+        regEmail(CK_GT, fRES(email));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessThan.
+     */
+    public void setEmail_LessThan(String email) {
+        regEmail(CK_LT, fRES(email));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as greaterEqual.
+     */
+    public void setEmail_GreaterEqual(String email) {
+        regEmail(CK_GE, fRES(email));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as lessEqual.
+     */
+    public void setEmail_LessEqual(String email) {
+        regEmail(CK_LE, fRES(email));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param email The value of email as prefixSearch.
+     */
+    public void setEmail_PrefixSearch(String email) {
+        regEmail(CK_PS, fRES(email));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param email The value of email as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setEmail_LikeSearch(
+            String email,
+            jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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 telephoneNumber The value of telephoneNumber as equal.
+     */
+    public void setTelephoneNumber_Equal(String telephoneNumber) {
+        regTelephoneNumber(CK_EQ, fRES(telephoneNumber));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as notEqual.
+     */
+    public void setTelephoneNumber_NotEqual(String telephoneNumber) {
+        regTelephoneNumber(CK_NE, fRES(telephoneNumber));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as greaterThan.
+     */
+    public void setTelephoneNumber_GreaterThan(String telephoneNumber) {
+        regTelephoneNumber(CK_GT, fRES(telephoneNumber));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as lessThan.
+     */
+    public void setTelephoneNumber_LessThan(String telephoneNumber) {
+        regTelephoneNumber(CK_LT, fRES(telephoneNumber));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as greaterEqual.
+     */
+    public void setTelephoneNumber_GreaterEqual(String telephoneNumber) {
+        regTelephoneNumber(CK_GE, fRES(telephoneNumber));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as lessEqual.
+     */
+    public void setTelephoneNumber_LessEqual(String telephoneNumber) {
+        regTelephoneNumber(CK_LE, fRES(telephoneNumber));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as prefixSearch.
+     */
+    public void setTelephoneNumber_PrefixSearch(String telephoneNumber) {
+        regTelephoneNumber(CK_PS, fRES(telephoneNumber));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param telephoneNumber The value of telephoneNumber as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setTelephoneNumber_LikeSearch(
+            String telephoneNumber,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.LikeSearchOption likeSearchOption) {
+        registerLikeSearchQuery(CK_LS, fRES(telephoneNumber),
+                getCValueTelephoneNumber(), "TELEPHONE_NUMBER",
+                "TelephoneNumber", "telephoneNumber", likeSearchOption);
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneNumberList The collection of telephoneNumber as inScope.
+     */
+    public void setTelephoneNumber_InScope(
+            Collection<String> telephoneNumberList) {
+        regTelephoneNumber(CK_INS, cTL(telephoneNumberList));
+    }
+
+    /**
+     * InScope(in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneNumber The collection of telephoneNumber as inScope.
+     * @param inScopeOption The option of in-scope. (NotNull)
+     */
+    public void setTelephoneNumber_InScope(
+            String telephoneNumber,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(telephoneNumber),
+                getCValueTelephoneNumber(), "TELEPHONE_NUMBER",
+                "TelephoneNumber", "telephoneNumber", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param telephoneNumberList The collection of telephoneNumber as
+     *            notInScope.
+     */
+    public void setTelephoneNumber_NotInScope(
+            Collection<String> telephoneNumberList) {
+        regTelephoneNumber(CK_NINS, cTL(telephoneNumberList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setTelephoneNumber_IsNull() {
+        regTelephoneNumber(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setTelephoneNumber_IsNotNull() {
+        regTelephoneNumber(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regTelephoneNumber(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueTelephoneNumber(),
+                "TELEPHONE_NUMBER", "TelephoneNumber", "telephoneNumber");
+    }
+
+    protected void registerInlineTelephoneNumber(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueTelephoneNumber(),
+                "TELEPHONE_NUMBER", "TelephoneNumber", "telephoneNumber");
+    }
+
+    abstract protected ConditionValue getCValueTelephoneNumber();
+
+    /**
+     * 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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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. {TIMESTAMP : NotNull}
+     * 
+     * @param createdTime The value of createdTime as equal.
+     */
+    public void setCreatedTime_Equal(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_EQ, createdTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as notEqual.
+     */
+    public void setCreatedTime_NotEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_NE, createdTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterThan.
+     */
+    public void setCreatedTime_GreaterThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GT, createdTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessThan.
+     */
+    public void setCreatedTime_LessThan(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LT, createdTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as greaterEqual.
+     */
+    public void setCreatedTime_GreaterEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_GE, createdTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param createdTime The value of createdTime as lessEqual.
+     */
+    public void setCreatedTime_LessEqual(java.sql.Timestamp createdTime) {
+        regCreatedTime(CK_LE, createdTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setCreatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueCreatedTime(),
+                "CREATED_TIME", "CreatedTime", "createdTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of createdTime. (Nullable)
+     * @param toDate The to-date of createdTime. (Nullable)
+     */
+    public void setCreatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setCreatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.timecard.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regCreatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    protected void registerInlineCreatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedTime(), "CREATED_TIME",
+                "CreatedTime", "createdTime");
+    }
+
+    abstract protected ConditionValue getCValueCreatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
+     * NotNull}
+     * 
+     * @param createdBy The value of createdBy as equal.
+     */
+    public void setCreatedBy_Equal(String createdBy) {
+        regCreatedBy(CK_EQ, fRES(createdBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as notEqual.
+     */
+    public void setCreatedBy_NotEqual(String createdBy) {
+        regCreatedBy(CK_NE, fRES(createdBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterThan.
+     */
+    public void setCreatedBy_GreaterThan(String createdBy) {
+        regCreatedBy(CK_GT, fRES(createdBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessThan.
+     */
+    public void setCreatedBy_LessThan(String createdBy) {
+        regCreatedBy(CK_LT, fRES(createdBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as greaterEqual.
+     */
+    public void setCreatedBy_GreaterEqual(String createdBy) {
+        regCreatedBy(CK_GE, fRES(createdBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as lessEqual.
+     */
+    public void setCreatedBy_LessEqual(String createdBy) {
+        regCreatedBy(CK_LE, fRES(createdBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param createdBy The value of createdBy as prefixSearch.
+     */
+    public void setCreatedBy_PrefixSearch(String createdBy) {
+        regCreatedBy(CK_PS, fRES(createdBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param createdBy The value of createdBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setCreatedBy_LikeSearch(
+            String createdBy,
+            jp.sf.pal.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(createdBy), getCValueCreatedBy(),
+                "CREATED_BY", "CreatedBy", "createdBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param createdByList The collection of createdBy as notInScope.
+     */
+    public void setCreatedBy_NotInScope(Collection<String> createdByList) {
+        regCreatedBy(CK_NINS, cTL(createdByList));
+    }
+
+    protected void regCreatedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    protected void registerInlineCreatedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueCreatedBy(), "CREATED_BY",
+                "CreatedBy", "createdBy");
+    }
+
+    abstract protected ConditionValue getCValueCreatedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param updatedTime The value of updatedTime as equal.
+     */
+    public void setUpdatedTime_Equal(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_EQ, updatedTime);
+    }
+
+    /**
+     * NotEqual(!=). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as notEqual.
+     */
+    public void setUpdatedTime_NotEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_NE, updatedTime);
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterThan.
+     */
+    public void setUpdatedTime_GreaterThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GT, updatedTime);
+    }
+
+    /**
+     * LessThan(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessThan.
+     */
+    public void setUpdatedTime_LessThan(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LT, updatedTime);
+    }
+
+    /**
+     * GreaterEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as greaterEqual.
+     */
+    public void setUpdatedTime_GreaterEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_GE, updatedTime);
+    }
+
+    /**
+     * LessEqual(&gt;). And NullIgnored, OnceRegistered.
+     * 
+     * @param updatedTime The value of updatedTime as lessEqual.
+     */
+    public void setUpdatedTime_LessEqual(java.sql.Timestamp updatedTime) {
+        regUpdatedTime(CK_LE, updatedTime);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt;= $toDate). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     * @param fromToOption The option of from-to. (NotNull)
+     */
+    public void setUpdatedTime_FromTo(
+            java.util.Date fromDate,
+            java.util.Date toDate,
+            jp.sf.pal.timecard.db.allcommon.cbean.coption.FromToOption fromToOption) {
+        registerFromToQuery((fromDate != null ? new java.sql.Timestamp(fromDate
+                .getTime()) : null), (toDate != null ? new java.sql.Timestamp(
+                toDate.getTime()) : null), getCValueUpdatedTime(),
+                "UPDATED_TIME", "UpdatedTime", "updatedTime", fromToOption);
+    }
+
+    /**
+     * FromTo($fromDate &lt;= COLUMN_NAME &lt; $toDate + 1). And NullIgnored,
+     * OnceRegistered. {TIMESTAMP : NotNull}
+     * 
+     * @param fromDate The from-date of updatedTime. (Nullable)
+     * @param toDate The to-date of updatedTime. (Nullable)
+     */
+    public void setUpdatedTime_DateFromTo(java.util.Date fromDate,
+            java.util.Date toDate) {
+        setUpdatedTime_FromTo(
+                fromDate,
+                toDate,
+                new jp.sf.pal.timecard.db.allcommon.cbean.coption.DateFromToOption());
+    }
+
+    protected void regUpdatedTime(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    protected void registerInlineUpdatedTime(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueUpdatedTime(), "UPDATED_TIME",
+                "UpdatedTime", "updatedTime");
+    }
+
+    abstract protected ConditionValue getCValueUpdatedTime();
+
+    /**
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) :
+     * NotNull}
+     * 
+     * @param updatedBy The value of updatedBy as equal.
+     */
+    public void setUpdatedBy_Equal(String updatedBy) {
+        regUpdatedBy(CK_EQ, fRES(updatedBy));
+    }
+
+    /**
+     * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as notEqual.
+     */
+    public void setUpdatedBy_NotEqual(String updatedBy) {
+        regUpdatedBy(CK_NE, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterThan(&gt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterThan.
+     */
+    public void setUpdatedBy_GreaterThan(String updatedBy) {
+        regUpdatedBy(CK_GT, fRES(updatedBy));
+    }
+
+    /**
+     * LessThan(&lt;). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessThan.
+     */
+    public void setUpdatedBy_LessThan(String updatedBy) {
+        regUpdatedBy(CK_LT, fRES(updatedBy));
+    }
+
+    /**
+     * GreaterEqual(&gt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as greaterEqual.
+     */
+    public void setUpdatedBy_GreaterEqual(String updatedBy) {
+        regUpdatedBy(CK_GE, fRES(updatedBy));
+    }
+
+    /**
+     * LessEqual(&lt;=). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as lessEqual.
+     */
+    public void setUpdatedBy_LessEqual(String updatedBy) {
+        regUpdatedBy(CK_LE, fRES(updatedBy));
+    }
+
+    /**
+     * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as prefixSearch.
+     */
+    public void setUpdatedBy_PrefixSearch(String updatedBy) {
+        regUpdatedBy(CK_PS, fRES(updatedBy));
+    }
+
+    /**
+     * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored,
+     * SeveralRegistered.
+     * 
+     * @param updatedBy The value of updatedBy as likeSearch.
+     * @param likeSearchOption The option of like-search. (NotNull)
+     */
+    public void setUpdatedBy_LikeSearch(
+            String updatedBy,
+            jp.sf.pal.timecard.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.timecard.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.timecard.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.timecard.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.timecard.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.timecard.db.allcommon.cbean.coption.InScopeOption inScopeOption) {
+        registerInScopeQuery(CK_INS, fRES(deletedBy), getCValueDeletedBy(),
+                "DELETED_BY", "DeletedBy", "deletedBy", inScopeOption);
+    }
+
+    /**
+     * NotInScope(not in ('a', 'b')). And NullOrEmptyIgnored,
+     * NullOrEmptyElementIgnored, SeveralRegistered.
+     * 
+     * @param deletedByList The collection of deletedBy as notInScope.
+     */
+    public void setDeletedBy_NotInScope(Collection<String> deletedByList) {
+        regDeletedBy(CK_NINS, cTL(deletedByList));
+    }
+
+    /**
+     * IsNull(is null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNull() {
+        regDeletedBy(CK_ISN, DUMMY_OBJECT);
+    }
+
+    /**
+     * IsNotNull(is not null). And OnceRegistered.
+     */
+    public void setDeletedBy_IsNotNull() {
+        regDeletedBy(CK_ISNN, DUMMY_OBJECT);
+    }
+
+    protected void regDeletedBy(ConditionKey key, Object value) {
+        registerQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    protected void registerInlineDeletedBy(ConditionKey key, Object value) {
+        registerInlineQuery(key, value, getCValueDeletedBy(), "DELETED_BY",
+                "DeletedBy", "deletedBy");
+    }
+
+    abstract protected ConditionValue getCValueDeletedBy();
+
+    /**
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : NotNull}
+     * 
+     * @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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/AbstractBsUserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsEmployeeCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsEmployeeCQ.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsEmployeeCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -7,6 +7,7 @@
 import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
 import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
 import jp.sf.pal.timecard.db.cbean.cq.MonthlyReportCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
 import jp.sf.pal.timecard.db.cbean.cq.ciq.EmployeeCIQ;
 
 /**
@@ -193,6 +194,23 @@
         return getUsername();
     }
 
+    protected Map<String, UserInfoCQ> _username_InScopeSubQuery_UserInfoByUsernameMap;
+
+    public Map<String, UserInfoCQ> getUsername_InScopeSubQuery_UserInfoByUsername() {
+        return _username_InScopeSubQuery_UserInfoByUsernameMap;
+    }
+
+    public String keepUsername_InScopeSubQuery_UserInfoByUsername(
+            UserInfoCQ subQuery) {
+        if (_username_InScopeSubQuery_UserInfoByUsernameMap == null) {
+            _username_InScopeSubQuery_UserInfoByUsernameMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_username_InScopeSubQuery_UserInfoByUsernameMap.size() + 1);
+        _username_InScopeSubQuery_UserInfoByUsernameMap.put(key, subQuery);
+        return "username_InScopeSubQuery_UserInfoByUsername." + key;
+    }
+
     public BsEmployeeCQ addOrderBy_Username_Asc() {
         regOBA("USERNAME");
         return this;
@@ -216,6 +234,23 @@
         return getManager();
     }
 
+    protected Map<String, UserInfoCQ> _manager_InScopeSubQuery_UserInfoByManagerMap;
+
+    public Map<String, UserInfoCQ> getManager_InScopeSubQuery_UserInfoByManager() {
+        return _manager_InScopeSubQuery_UserInfoByManagerMap;
+    }
+
+    public String keepManager_InScopeSubQuery_UserInfoByManager(
+            UserInfoCQ subQuery) {
+        if (_manager_InScopeSubQuery_UserInfoByManagerMap == null) {
+            _manager_InScopeSubQuery_UserInfoByManagerMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_manager_InScopeSubQuery_UserInfoByManagerMap.size() + 1);
+        _manager_InScopeSubQuery_UserInfoByManagerMap.put(key, subQuery);
+        return "manager_InScopeSubQuery_UserInfoByManager." + key;
+    }
+
     public BsEmployeeCQ addOrderBy_Manager_Asc() {
         regOBA("MANAGER");
         return this;
@@ -453,6 +488,18 @@
     // ===========
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper,
             ConditionQuery unionQueryAsSuper) {
+        EmployeeCQ baseQuery = (EmployeeCQ) baseQueryAsSuper;
+        EmployeeCQ unionQuery = (EmployeeCQ) unionQueryAsSuper;
+        if (baseQuery.hasConditionQueryUserInfoByUsername()) {
+            unionQuery.queryUserInfoByUsername().reflectRelationOnUnionQuery(
+                    baseQuery.queryUserInfoByUsername(),
+                    unionQuery.queryUserInfoByUsername());
+        }
+        if (baseQuery.hasConditionQueryUserInfoByManager()) {
+            unionQuery.queryUserInfoByManager().reflectRelationOnUnionQuery(
+                    baseQuery.queryUserInfoByManager(),
+                    unionQuery.queryUserInfoByManager());
+        }
     }
 
     //==========================================================================
@@ -460,6 +507,78 @@
     // Foreign Query
     // =============
 
+    public UserInfoCQ queryUserInfoByUsername() {
+        return getConditionQueryUserInfoByUsername();
+    }
+
+    protected UserInfoCQ _conditionQueryUserInfoByUsername;
+
+    public UserInfoCQ getConditionQueryUserInfoByUsername() {
+        if (_conditionQueryUserInfoByUsername == null) {
+            _conditionQueryUserInfoByUsername = createQueryUserInfoByUsername();
+            setupOuterJoin_UserInfoByUsername();
+        }
+        return _conditionQueryUserInfoByUsername;
+    }
+
+    protected void setupOuterJoin_UserInfoByUsername() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("USERNAME"),
+                getConditionQueryUserInfoByUsername().getRealColumnName(
+                        "USER_ID"));
+        registerOuterJoin(getConditionQueryUserInfoByUsername(), joinOnMap);
+    }
+
+    protected UserInfoCQ createQueryUserInfoByUsername() {
+        String nrp = resolveNextRelationPath("EMPLOYEE", "userInfoByUsername");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        UserInfoCQ cq = new UserInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("userInfoByUsername");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryUserInfoByUsername() {
+        return _conditionQueryUserInfoByUsername != null;
+    }
+
+    public UserInfoCQ queryUserInfoByManager() {
+        return getConditionQueryUserInfoByManager();
+    }
+
+    protected UserInfoCQ _conditionQueryUserInfoByManager;
+
+    public UserInfoCQ getConditionQueryUserInfoByManager() {
+        if (_conditionQueryUserInfoByManager == null) {
+            _conditionQueryUserInfoByManager = createQueryUserInfoByManager();
+            setupOuterJoin_UserInfoByManager();
+        }
+        return _conditionQueryUserInfoByManager;
+    }
+
+    protected void setupOuterJoin_UserInfoByManager() {
+        Map<String, String> joinOnMap = newLinkedHashMap();
+        joinOnMap.put(getRealColumnName("MANAGER"),
+                getConditionQueryUserInfoByManager().getRealColumnName(
+                        "USER_ID"));
+        registerOuterJoin(getConditionQueryUserInfoByManager(), joinOnMap);
+    }
+
+    protected UserInfoCQ createQueryUserInfoByManager() {
+        String nrp = resolveNextRelationPath("EMPLOYEE", "userInfoByManager");
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());
+        UserInfoCQ cq = new UserInfoCQ(this, getSqlClause(), jan,
+                getNextNestLevel());
+        cq.xsetForeignPropertyName("userInfoByManager");
+        cq.xsetRelationPath(nrp);
+        return cq;
+    }
+
+    public boolean hasConditionQueryUserInfoByManager() {
+        return _conditionQueryUserInfoByManager != null;
+    }
+
     protected String getConditionQueryClassNameInternally() {
         return EmployeeCQ.class.getName();
     }

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

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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsUserInfoCQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsUserInfoCQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsUserInfoCQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,807 @@
+package jp.sf.pal.timecard.db.cbean.cq.bs;
+
+import java.util.Map;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
+import jp.sf.pal.timecard.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.timecard.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, EmployeeCQ> _userId_InScopeSubQuery_EmployeeByUsernameListMap;
+
+    public Map<String, EmployeeCQ> getUserId_InScopeSubQuery_EmployeeByUsernameList() {
+        return _userId_InScopeSubQuery_EmployeeByUsernameListMap;
+    }
+
+    public String keepUserId_InScopeSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        if (_userId_InScopeSubQuery_EmployeeByUsernameListMap == null) {
+            _userId_InScopeSubQuery_EmployeeByUsernameListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_InScopeSubQuery_EmployeeByUsernameListMap.size() + 1);
+        _userId_InScopeSubQuery_EmployeeByUsernameListMap.put(key, subQuery);
+        return "userId_InScopeSubQuery_EmployeeByUsernameList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_InScopeSubQuery_EmployeeByManagerListMap;
+
+    public Map<String, EmployeeCQ> getUserId_InScopeSubQuery_EmployeeByManagerList() {
+        return _userId_InScopeSubQuery_EmployeeByManagerListMap;
+    }
+
+    public String keepUserId_InScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        if (_userId_InScopeSubQuery_EmployeeByManagerListMap == null) {
+            _userId_InScopeSubQuery_EmployeeByManagerListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_InScopeSubQuery_EmployeeByManagerListMap.size() + 1);
+        _userId_InScopeSubQuery_EmployeeByManagerListMap.put(key, subQuery);
+        return "userId_InScopeSubQuery_EmployeeByManagerList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_NotInScopeSubQuery_EmployeeByUsernameListMap;
+
+    public Map<String, EmployeeCQ> getUserId_NotInScopeSubQuery_EmployeeByUsernameList() {
+        return _userId_NotInScopeSubQuery_EmployeeByUsernameListMap;
+    }
+
+    public String keepUserId_NotInScopeSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        if (_userId_NotInScopeSubQuery_EmployeeByUsernameListMap == null) {
+            _userId_NotInScopeSubQuery_EmployeeByUsernameListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotInScopeSubQuery_EmployeeByUsernameListMap.size() + 1);
+        _userId_NotInScopeSubQuery_EmployeeByUsernameListMap.put(key, subQuery);
+        return "userId_NotInScopeSubQuery_EmployeeByUsernameList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_NotInScopeSubQuery_EmployeeByManagerListMap;
+
+    public Map<String, EmployeeCQ> getUserId_NotInScopeSubQuery_EmployeeByManagerList() {
+        return _userId_NotInScopeSubQuery_EmployeeByManagerListMap;
+    }
+
+    public String keepUserId_NotInScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        if (_userId_NotInScopeSubQuery_EmployeeByManagerListMap == null) {
+            _userId_NotInScopeSubQuery_EmployeeByManagerListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotInScopeSubQuery_EmployeeByManagerListMap.size() + 1);
+        _userId_NotInScopeSubQuery_EmployeeByManagerListMap.put(key, subQuery);
+        return "userId_NotInScopeSubQuery_EmployeeByManagerList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_ExistsSubQuery_EmployeeByUsernameListMap;
+
+    public Map<String, EmployeeCQ> getUserId_ExistsSubQuery_EmployeeByUsernameList() {
+        return _userId_ExistsSubQuery_EmployeeByUsernameListMap;
+    }
+
+    public String keepUserId_ExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        if (_userId_ExistsSubQuery_EmployeeByUsernameListMap == null) {
+            _userId_ExistsSubQuery_EmployeeByUsernameListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_ExistsSubQuery_EmployeeByUsernameListMap.size() + 1);
+        _userId_ExistsSubQuery_EmployeeByUsernameListMap.put(key, subQuery);
+        return "userId_ExistsSubQuery_EmployeeByUsernameList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_ExistsSubQuery_EmployeeByManagerListMap;
+
+    public Map<String, EmployeeCQ> getUserId_ExistsSubQuery_EmployeeByManagerList() {
+        return _userId_ExistsSubQuery_EmployeeByManagerListMap;
+    }
+
+    public String keepUserId_ExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        if (_userId_ExistsSubQuery_EmployeeByManagerListMap == null) {
+            _userId_ExistsSubQuery_EmployeeByManagerListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_ExistsSubQuery_EmployeeByManagerListMap.size() + 1);
+        _userId_ExistsSubQuery_EmployeeByManagerListMap.put(key, subQuery);
+        return "userId_ExistsSubQuery_EmployeeByManagerList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_NotExistsSubQuery_EmployeeByUsernameListMap;
+
+    public Map<String, EmployeeCQ> getUserId_NotExistsSubQuery_EmployeeByUsernameList() {
+        return _userId_NotExistsSubQuery_EmployeeByUsernameListMap;
+    }
+
+    public String keepUserId_NotExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        if (_userId_NotExistsSubQuery_EmployeeByUsernameListMap == null) {
+            _userId_NotExistsSubQuery_EmployeeByUsernameListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotExistsSubQuery_EmployeeByUsernameListMap.size() + 1);
+        _userId_NotExistsSubQuery_EmployeeByUsernameListMap.put(key, subQuery);
+        return "userId_NotExistsSubQuery_EmployeeByUsernameList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_NotExistsSubQuery_EmployeeByManagerListMap;
+
+    public Map<String, EmployeeCQ> getUserId_NotExistsSubQuery_EmployeeByManagerList() {
+        return _userId_NotExistsSubQuery_EmployeeByManagerListMap;
+    }
+
+    public String keepUserId_NotExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        if (_userId_NotExistsSubQuery_EmployeeByManagerListMap == null) {
+            _userId_NotExistsSubQuery_EmployeeByManagerListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_NotExistsSubQuery_EmployeeByManagerListMap.size() + 1);
+        _userId_NotExistsSubQuery_EmployeeByManagerListMap.put(key, subQuery);
+        return "userId_NotExistsSubQuery_EmployeeByManagerList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_DeriveSubQuery_EmployeeByUsernameListMap;
+
+    public Map<String, EmployeeCQ> getUserId_DeriveSubQuery_EmployeeByUsernameList() {
+        return _userId_DeriveSubQuery_EmployeeByUsernameListMap;
+    }
+
+    public String keepUserId_DeriveSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        if (_userId_DeriveSubQuery_EmployeeByUsernameListMap == null) {
+            _userId_DeriveSubQuery_EmployeeByUsernameListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_DeriveSubQuery_EmployeeByUsernameListMap.size() + 1);
+        _userId_DeriveSubQuery_EmployeeByUsernameListMap.put(key, subQuery);
+        return "userId_DeriveSubQuery_EmployeeByUsernameList." + key;
+    }
+
+    protected Map<String, EmployeeCQ> _userId_DeriveSubQuery_EmployeeByManagerListMap;
+
+    public Map<String, EmployeeCQ> getUserId_DeriveSubQuery_EmployeeByManagerList() {
+        return _userId_DeriveSubQuery_EmployeeByManagerListMap;
+    }
+
+    public String keepUserId_DeriveSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        if (_userId_DeriveSubQuery_EmployeeByManagerListMap == null) {
+            _userId_DeriveSubQuery_EmployeeByManagerListMap = newLinkedHashMap();
+        }
+        String key = "subQueryMapKey"
+                + (_userId_DeriveSubQuery_EmployeeByManagerListMap.size() + 1);
+        _userId_DeriveSubQuery_EmployeeByManagerListMap.put(key, subQuery);
+        return "userId_DeriveSubQuery_EmployeeByManagerList." + key;
+    }
+
+    public BsUserInfoCQ addOrderBy_UserId_Asc() {
+        regOBA("USER_ID");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_UserId_Desc() {
+        regOBD("USER_ID");
+        return this;
+    }
+
+    protected ConditionValue _givenName;
+
+    public ConditionValue getGivenName() {
+        if (_givenName == null) {
+            _givenName = new ConditionValue();
+        }
+        return _givenName;
+    }
+
+    protected ConditionValue getCValueGivenName() {
+        return getGivenName();
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenName_Asc() {
+        regOBA("GIVEN_NAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenName_Desc() {
+        regOBD("GIVEN_NAME");
+        return this;
+    }
+
+    protected ConditionValue _familyName;
+
+    public ConditionValue getFamilyName() {
+        if (_familyName == null) {
+            _familyName = new ConditionValue();
+        }
+        return _familyName;
+    }
+
+    protected ConditionValue getCValueFamilyName() {
+        return getFamilyName();
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyName_Asc() {
+        regOBA("FAMILY_NAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyName_Desc() {
+        regOBD("FAMILY_NAME");
+        return this;
+    }
+
+    protected ConditionValue _middleName;
+
+    public ConditionValue getMiddleName() {
+        if (_middleName == null) {
+            _middleName = new ConditionValue();
+        }
+        return _middleName;
+    }
+
+    protected ConditionValue getCValueMiddleName() {
+        return getMiddleName();
+    }
+
+    public BsUserInfoCQ addOrderBy_MiddleName_Asc() {
+        regOBA("MIDDLE_NAME");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_MiddleName_Desc() {
+        regOBD("MIDDLE_NAME");
+        return this;
+    }
+
+    protected ConditionValue _givenNameDesc;
+
+    public ConditionValue getGivenNameDesc() {
+        if (_givenNameDesc == null) {
+            _givenNameDesc = new ConditionValue();
+        }
+        return _givenNameDesc;
+    }
+
+    protected ConditionValue getCValueGivenNameDesc() {
+        return getGivenNameDesc();
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenNameDesc_Asc() {
+        regOBA("GIVEN_NAME_DESC");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_GivenNameDesc_Desc() {
+        regOBD("GIVEN_NAME_DESC");
+        return this;
+    }
+
+    protected ConditionValue _familyNameDesc;
+
+    public ConditionValue getFamilyNameDesc() {
+        if (_familyNameDesc == null) {
+            _familyNameDesc = new ConditionValue();
+        }
+        return _familyNameDesc;
+    }
+
+    protected ConditionValue getCValueFamilyNameDesc() {
+        return getFamilyNameDesc();
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyNameDesc_Asc() {
+        regOBA("FAMILY_NAME_DESC");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_FamilyNameDesc_Desc() {
+        regOBD("FAMILY_NAME_DESC");
+        return this;
+    }
+
+    protected ConditionValue _email;
+
+    public ConditionValue getEmail() {
+        if (_email == null) {
+            _email = new ConditionValue();
+        }
+        return _email;
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return getEmail();
+    }
+
+    public BsUserInfoCQ addOrderBy_Email_Asc() {
+        regOBA("EMAIL");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Email_Desc() {
+        regOBD("EMAIL");
+        return this;
+    }
+
+    protected ConditionValue _url;
+
+    public ConditionValue getUrl() {
+        if (_url == null) {
+            _url = new ConditionValue();
+        }
+        return _url;
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return getUrl();
+    }
+
+    public BsUserInfoCQ addOrderBy_Url_Asc() {
+        regOBA("URL");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_Url_Desc() {
+        regOBD("URL");
+        return this;
+    }
+
+    protected ConditionValue _telephoneNumber;
+
+    public ConditionValue getTelephoneNumber() {
+        if (_telephoneNumber == null) {
+            _telephoneNumber = new ConditionValue();
+        }
+        return _telephoneNumber;
+    }
+
+    protected ConditionValue getCValueTelephoneNumber() {
+        return getTelephoneNumber();
+    }
+
+    public BsUserInfoCQ addOrderBy_TelephoneNumber_Asc() {
+        regOBA("TELEPHONE_NUMBER");
+        return this;
+    }
+
+    public BsUserInfoCQ addOrderBy_TelephoneNumber_Desc() {
+        regOBD("TELEPHONE_NUMBER");
+        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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/bs/BsUserInfoCQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/EmployeeCIQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/EmployeeCIQ.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/EmployeeCIQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -7,6 +7,7 @@
 import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
 import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
 import jp.sf.pal.timecard.db.cbean.cq.MonthlyReportCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
 import jp.sf.pal.timecard.db.cbean.cq.bs.AbstractBsEmployeeCQ;
 import jp.sf.pal.timecard.db.cbean.cq.bs.BsEmployeeCQ;
 
@@ -127,10 +128,20 @@
         return _myCQ.getUsername();
     }
 
+    public String keepUsername_InScopeSubQuery_UserInfoByUsername(
+            UserInfoCQ subQuery) {
+        return _myCQ.keepUsername_InScopeSubQuery_UserInfoByUsername(subQuery);
+    }
+
     protected ConditionValue getCValueManager() {
         return _myCQ.getManager();
     }
 
+    public String keepManager_InScopeSubQuery_UserInfoByManager(
+            UserInfoCQ subQuery) {
+        return _myCQ.keepManager_InScopeSubQuery_UserInfoByManager(subQuery);
+    }
+
     protected ConditionValue getCValuePaidHolidays() {
         return _myCQ.getPaidHolidays();
     }

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/GroupInfoCIQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/GroupInfoCIQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/GroupInfoCIQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,173 @@
+package jp.sf.pal.timecard.db.cbean.cq.ciq;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.timecard.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.bs.AbstractBsGroupInfoCQ;
+import jp.sf.pal.timecard.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_UserInfoList(UserInfoCQ subQuery) {
+        return _myCQ.keepGroupId_InScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepGroupId_NotInScopeSubQuery_UserInfoList(
+            UserInfoCQ subQuery) {
+        return _myCQ.keepGroupId_NotInScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepGroupId_ExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery 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_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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/GroupInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/RoleInfoCIQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/RoleInfoCIQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/RoleInfoCIQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,172 @@
+package jp.sf.pal.timecard.db.cbean.cq.ciq;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.timecard.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.bs.AbstractBsRoleInfoCQ;
+import jp.sf.pal.timecard.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_UserInfoList(UserInfoCQ subQuery) {
+        return _myCQ.keepRoleId_InScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepRoleId_NotInScopeSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        return _myCQ.keepRoleId_NotInScopeSubQuery_UserInfoList(subQuery);
+    }
+
+    public String keepRoleId_ExistsSubQuery_UserInfoList(UserInfoCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery 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_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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/RoleInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/UserInfoCIQ.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/UserInfoCIQ.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/UserInfoCIQ.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,238 @@
+package jp.sf.pal.timecard.db.cbean.cq.ciq;
+
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
+import jp.sf.pal.timecard.db.allcommon.cbean.ckey.ConditionKey;
+import jp.sf.pal.timecard.db.allcommon.cbean.coption.ConditionOption;
+import jp.sf.pal.timecard.db.allcommon.cbean.cvalue.ConditionValue;
+import jp.sf.pal.timecard.db.allcommon.cbean.sqlclause.SqlClause;
+import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
+import jp.sf.pal.timecard.db.cbean.cq.GroupInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.RoleInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.UserInfoCQ;
+import jp.sf.pal.timecard.db.cbean.cq.bs.AbstractBsUserInfoCQ;
+import jp.sf.pal.timecard.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_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        return _myCQ
+                .keepUserId_InScopeSubQuery_EmployeeByUsernameList(subQuery);
+    }
+
+    public String keepUserId_InScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        return _myCQ.keepUserId_InScopeSubQuery_EmployeeByManagerList(subQuery);
+    }
+
+    public String keepUserId_NotInScopeSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        return _myCQ
+                .keepUserId_NotInScopeSubQuery_EmployeeByUsernameList(subQuery);
+    }
+
+    public String keepUserId_NotInScopeSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        return _myCQ
+                .keepUserId_NotInScopeSubQuery_EmployeeByManagerList(subQuery);
+    }
+
+    public String keepUserId_ExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_ExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "ExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_NotExistsSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_NotExistsSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "NotExistsSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_DeriveSubQuery_EmployeeByUsernameList(
+            EmployeeCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    public String keepUserId_DeriveSubQuery_EmployeeByManagerList(
+            EmployeeCQ subQuery) {
+        throw new UnsupportedOperationException(
+                "DeriveSubQuery at inline() is unsupported! Sorry!");
+    }
+
+    protected ConditionValue getCValueGivenName() {
+        return _myCQ.getGivenName();
+    }
+
+    protected ConditionValue getCValueFamilyName() {
+        return _myCQ.getFamilyName();
+    }
+
+    protected ConditionValue getCValueMiddleName() {
+        return _myCQ.getMiddleName();
+    }
+
+    protected ConditionValue getCValueGivenNameDesc() {
+        return _myCQ.getGivenNameDesc();
+    }
+
+    protected ConditionValue getCValueFamilyNameDesc() {
+        return _myCQ.getFamilyNameDesc();
+    }
+
+    protected ConditionValue getCValueEmail() {
+        return _myCQ.getEmail();
+    }
+
+    protected ConditionValue getCValueUrl() {
+        return _myCQ.getUrl();
+    }
+
+    protected ConditionValue getCValueTelephoneNumber() {
+        return _myCQ.getTelephoneNumber();
+    }
+
+    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: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/cq/ciq/UserInfoCIQ.java
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/EmployeeNss.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/EmployeeNss.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/cbean/nss/EmployeeNss.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -1,5 +1,6 @@
 package jp.sf.pal.timecard.db.cbean.nss;
 
+import jp.sf.pal.timecard.db.allcommon.cbean.ConditionQuery;
 import jp.sf.pal.timecard.db.cbean.cq.EmployeeCQ;
 
 /**
@@ -24,7 +25,24 @@
     // =========
     // With Nested Foreign Table
     // =========================
+    public UserInfoNss withUserInfoByUsername() {
+        _query.doNss(new EmployeeCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryUserInfoByUsername();
+            }
+        });
+        return new UserInfoNss(_query.queryUserInfoByUsername());
+    }
 
+    public UserInfoNss withUserInfoByManager() {
+        _query.doNss(new EmployeeCQ.NssCall() {
+            public ConditionQuery qf() {
+                return _query.queryUserInfoByManager();
+            }
+        });
+        return new UserInfoNss(_query.queryUserInfoByManager());
+    }
+
     //==========================================================================
     // =========
     // With Nested Referrer Table

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

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

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

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


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

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


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

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


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

Added: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exdao/GroupInfoDao.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exdao/GroupInfoDao.java	                        (rev 0)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exdao/GroupInfoDao.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -0,0 +1,15 @@
+package jp.sf.pal.timecard.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.timecard.db.bsdao.BsGroupInfoDao {
+}


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

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


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

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


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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/DailyReport.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/DailyReport.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/db/exentity/DailyReport.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -311,7 +311,7 @@
                 return String.valueOf(hour);
             }
         } else {
-            return "00";
+            return null;
         }
     }
 
@@ -324,7 +324,7 @@
                 return String.valueOf(min);
             }
         } else {
-            return "00";
+            return null;
         }
     }
 }

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


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

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


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

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


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

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -24,4 +24,10 @@
     @Required(target = "update")
     @Mask(mask = "\\d\\d:\\d\\d")
     public String pmEndTime;
+
+    @Required(target = "update")
+    public String displayedMinutes;
+
+    @Required(target = "update")
+    public String holidays;
 }

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/pager/EmployeePager.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/pager/EmployeePager.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/pager/EmployeePager.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -15,6 +15,11 @@
         manager = null;
     }
 
+    public void clear() {
+        super.clear();
+        username = null;
+    }
+
     protected int getDefaultPageSize() {
         return 50;
     }

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -8,8 +8,11 @@
 import jp.sf.pal.timecard.common.util.PagingResultBeanWrapper;
 import jp.sf.pal.timecard.db.allcommon.cbean.PagingResultBean;
 import jp.sf.pal.timecard.db.cbean.EmployeeCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
 import jp.sf.pal.timecard.db.exbhv.EmployeeBhv;
+import jp.sf.pal.timecard.db.exbhv.UserInfoBhv;
 import jp.sf.pal.timecard.db.exentity.Employee;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
 import jp.sf.pal.timecard.dxo.PagerDxo;
 import jp.sf.pal.timecard.pager.EmployeePager;
 
@@ -23,6 +26,24 @@
 
     private PagerDxo pagerDxo;
 
+    private transient UserInfoBhv userInfoBhv;
+
+    private void initUserInfo(String userId) {
+        UserInfoCB cb = new UserInfoCB();
+        cb.query().setUserId_Equal(userId);
+        UserInfo userInfo = userInfoBhv.selectEntity(cb);
+        if (userInfo == null) {
+            Timestamp now = new Timestamp(new Date().getTime());
+            userInfo = new UserInfo();
+            userInfo.setUserId(userId);
+            userInfo.setCreatedBy(userId);
+            userInfo.setCreatedTime(now);
+            userInfo.setUpdatedBy(userId);
+            userInfo.setUpdatedTime(now);
+            userInfoBhv.insert(userInfo);
+        }
+    }
+
     public List<Employee> getEmployeeList(EmployeePager employeePager) {
 
         HotdeployUtil.rebuildValue(employeePager);
@@ -42,6 +63,7 @@
         }
         cb.query().setDeletedBy_IsNull();
 
+        cb.query().addOrderBy_Username_Asc();
         cb.query().addOrderBy_UpdatedBy_Asc();
 
         PagingResultBean<Employee> employeeList = employeeBhv.selectPage(cb);
@@ -71,6 +93,9 @@
         Timestamp now = new Timestamp(System.currentTimeMillis());
         employee.setUpdatedTime(now);
 
+        initUserInfo(employee.getUsername());
+        initUserInfo(employee.getManager());
+
         // Employee
         if (isUpdate) {
             employeeBhv.update(employee);
@@ -111,4 +136,12 @@
         this.pagerDxo = pagerDxo;
     }
 
+    public UserInfoBhv getUserInfoBhv() {
+        return userInfoBhv;
+    }
+
+    public void setUserInfoBhv(UserInfoBhv userInfoBhv) {
+        this.userInfoBhv = userInfoBhv;
+    }
+
 }

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/service/ReportService.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/service/ReportService.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/service/ReportService.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -11,12 +11,15 @@
 import jp.sf.pal.timecard.db.cbean.DailyReportCB;
 import jp.sf.pal.timecard.db.cbean.EmployeeCB;
 import jp.sf.pal.timecard.db.cbean.MonthlyReportCB;
+import jp.sf.pal.timecard.db.cbean.UserInfoCB;
 import jp.sf.pal.timecard.db.exbhv.DailyReportBhv;
 import jp.sf.pal.timecard.db.exbhv.EmployeeBhv;
 import jp.sf.pal.timecard.db.exbhv.MonthlyReportBhv;
+import jp.sf.pal.timecard.db.exbhv.UserInfoBhv;
 import jp.sf.pal.timecard.db.exentity.DailyReport;
 import jp.sf.pal.timecard.db.exentity.Employee;
 import jp.sf.pal.timecard.db.exentity.MonthlyReport;
+import jp.sf.pal.timecard.db.exentity.UserInfo;
 import jp.sf.pal.timecard.util.TimecardUtil;
 
 public class ReportService implements Serializable {
@@ -29,6 +32,24 @@
 
     private transient DailyReportBhv dailyReportBhv;
 
+    private transient UserInfoBhv userInfoBhv;
+
+    private void initUserInfo(String userId) {
+        UserInfoCB cb = new UserInfoCB();
+        cb.query().setUserId_Equal(userId);
+        UserInfo userInfo = userInfoBhv.selectEntity(cb);
+        if (userInfo == null) {
+            Timestamp now = new Timestamp(new Date().getTime());
+            userInfo = new UserInfo();
+            userInfo.setUserId(userId);
+            userInfo.setCreatedBy(userId);
+            userInfo.setCreatedTime(now);
+            userInfo.setUpdatedBy(userId);
+            userInfo.setUpdatedTime(now);
+            userInfoBhv.insert(userInfo);
+        }
+    }
+
     public MonthlyReport getMonthlyReport(String username, int year, int month) {
 
         MonthlyReportCB cb = new MonthlyReportCB();
@@ -51,6 +72,7 @@
             Employee employee = employeeBhv.selectEntity(cb1);
             // TODO option
             if (employee == null) {
+                initUserInfo(username);
                 // create employee
                 employee = new Employee();
                 employee.setUsername(username);
@@ -93,8 +115,9 @@
                 DailyReport dailyReport = new DailyReport();
                 dailyReport.setDate(i);
                 dailyReport.setDayOfWeek(currentDayOfWeek);
-                // TODO check holiday
-                if (currentDayOfWeek != 0 && currentDayOfWeek != 6) {
+                // check holiday
+                if (currentDayOfWeek != 0 && currentDayOfWeek != 6
+                        && !TimecardUtil.checkHoliday(year, month, i)) {
                     dailyReport
                             .setDateType(TimecardConstants.DATE_TYPE_WORKING);
                     dailyReport
@@ -145,7 +168,30 @@
         cb2.query().setMonthlyReportId_Equal(monthlyReport.getId());
         cb2.query().addOrderBy_Date_Asc();
 
-        monthlyReport.setDailyReportList(dailyReportBhv.selectList(cb2));
+        List<DailyReport> dailyReportList = dailyReportBhv.selectList(cb2);
+        for (DailyReport dailyReport : dailyReportList) {
+            if (dailyReport.getStartTime() == null
+                    && dailyReport.getEndTime() == null
+                    && dailyReport.getBreakTime() == null) {
+                // check holiday
+                if (dailyReport.getDayOfWeek() != 0
+                        && dailyReport.getDayOfWeek() != 6
+                        && !TimecardUtil.checkHoliday(year, month, dailyReport
+                                .getDate())) {
+                    dailyReport
+                            .setDateType(TimecardConstants.DATE_TYPE_WORKING);
+                    dailyReport
+                            .setWorkingType(TimecardConstants.WORKING_TYPE_WORK);
+                } else {
+                    dailyReport
+                            .setDateType(TimecardConstants.DATE_TYPE_HOLIDAY);
+                    dailyReport
+                            .setWorkingType(TimecardConstants.WORKING_TYPE_HOLIDAY);
+                }
+                dailyReportBhv.update(dailyReport);
+            }
+        }
+        monthlyReport.setDailyReportList(dailyReportList);
 
         return monthlyReport;
     }
@@ -465,6 +511,14 @@
         this.dailyReportBhv = dailyReportBhv;
     }
 
+    public UserInfoBhv getUserInfoBhv() {
+        return userInfoBhv;
+    }
+
+    public void setUserInfoBhv(UserInfoBhv userInfoBhv) {
+        this.userInfoBhv = userInfoBhv;
+    }
+
     // public void disable(Long dailyReportId, String name) {
     // // not delete
     // DailyReportCB cb = new DailyReportCB();

Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/util/TimecardUtil.java
===================================================================
--- timecard/trunk/src/main/java/jp/sf/pal/timecard/util/TimecardUtil.java	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/java/jp/sf/pal/timecard/util/TimecardUtil.java	2008-11-06 05:51:41 UTC (rev 1293)
@@ -5,10 +5,13 @@
 import java.util.Date;
 import java.util.TimeZone;
 
+import jp.sf.pal.timecard.TimecardConstants;
 import jp.sf.pal.timecard.common.util.ConfigUtil;
 import jp.sf.pal.timecard.common.util.DateUtil;
 import jp.sf.pal.timecard.db.exentity.DailyReport;
 
+import org.apache.commons.lang.StringUtils;
+
 public class TimecardUtil {
     public static String getHours(long time) {
         Date d = new Date(time);
@@ -142,4 +145,25 @@
         }
         return new Time(DateUtil.get(70, 0, 1, hr, min).getTime());
     }
+
+    public static boolean checkHoliday(int year, int month, int date) {
+        StringBuilder buf = new StringBuilder(String.valueOf(year));
+        buf.append("-");
+        if (month < 10) {
+            buf.append("0");
+        }
+        buf.append(month);
+        buf.append("-");
+        if (date < 10) {
+            buf.append("0");
+        }
+        buf.append(date);
+
+        String holidays = ConfigUtil.getString(TimecardConstants.TIME_HOLIDAYS,
+                "");
+        if (!StringUtils.isEmpty(holidays)) {
+            return holidays.indexOf(buf.toString()) > -1;
+        }
+        return false;
+    }
 }

Modified: timecard/trunk/src/main/resources/dbflute.dicon
===================================================================
--- timecard/trunk/src/main/resources/dbflute.dicon	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/resources/dbflute.dicon	2008-11-06 05:51:41 UTC (rev 1293)
@@ -53,10 +53,28 @@
     </component>
     <component name="employeeBhv" class="jp.sf.pal.timecard.db.exbhv.EmployeeBhv"/>
 
+    <!-- GROUP_INFO -->
+    <component name="groupInfoDao" class="jp.sf.pal.timecard.db.exdao.GroupInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="groupInfoBhv" class="jp.sf.pal.timecard.db.exbhv.GroupInfoBhv"/>
+
     <!-- MONTHLY_REPORT -->
     <component name="monthlyReportDao" class="jp.sf.pal.timecard.db.exdao.MonthlyReportDao">
         <aspect>dbflute.interceptor</aspect>
     </component>
     <component name="monthlyReportBhv" class="jp.sf.pal.timecard.db.exbhv.MonthlyReportBhv"/>
 
+    <!-- ROLE_INFO -->
+    <component name="roleInfoDao" class="jp.sf.pal.timecard.db.exdao.RoleInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="roleInfoBhv" class="jp.sf.pal.timecard.db.exbhv.RoleInfoBhv"/>
+
+    <!-- USER_INFO -->
+    <component name="userInfoDao" class="jp.sf.pal.timecard.db.exdao.UserInfoDao">
+        <aspect>dbflute.interceptor</aspect>
+    </component>
+    <component name="userInfoBhv" class="jp.sf.pal.timecard.db.exbhv.UserInfoBhv"/>
+
 </components>

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

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

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

Modified: timecard/trunk/src/main/webapp/WEB-INF/view/admin/employee/index.jsp
===================================================================
--- timecard/trunk/src/main/webapp/WEB-INF/view/admin/employee/index.jsp	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/webapp/WEB-INF/view/admin/employee/index.jsp	2008-11-06 05:51:41 UTC (rev 1293)
@@ -8,7 +8,24 @@
 <div style="padding:3px;">
 <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div>
 
-<div class="list-table">
+<div class="form-table" style="margin-top:3px;">
+<s:form>
+<table>
+	<tbody>
+		<tr>
+			<th>User ID</th>
+			<td><html:text property="username" size="10"/></td>
+			<td>
+        <input type="submit" name="search" value="Search"/>
+        <input type="submit" name="reset" value="Reset"/>
+			</td>
+		</tr>
+	</tbody
+</table>
+</s:form>
+</div>
+
+<div class="list-table" style="margin-top:5px;">
 <div>
 <s:link href="createpage"><bean:message key="labels.create_employee"/></s:link>
 </div>

Modified: timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp
===================================================================
--- timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp	2008-11-06 05:51:41 UTC (rev 1293)
@@ -28,6 +28,16 @@
 			<th><bean:message key="labels.pm_end_time"/></th>
 			<td><html:text property="pmEndTime" size="5"/></td>
 		</tr>
+		<tr>
+			<th>表示する分</th>
+			<td><html:textarea property="displayedMinutes" cols="2" rows="5"/></td>
+		</tr>
+		<tr>
+			<th>休日</th>
+			<td><html:textarea property="holidays" cols="10" rows="5"/>
+			<br/>ex. YYYY-MM-DD
+			</td>
+		</tr>
 	</tbody>
 	<tfoot>
 		<tr>

Modified: timecard/trunk/src/main/webapp/WEB-INF/view/employee/confirm.jsp
===================================================================
--- timecard/trunk/src/main/webapp/WEB-INF/view/employee/confirm.jsp	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/webapp/WEB-INF/view/employee/confirm.jsp	2008-11-06 05:51:41 UTC (rev 1293)
@@ -22,7 +22,15 @@
 			<tbody>
                 <tr>
                     <th style="width: 80px;"><bean:message key="labels.date"/></th>
-                    <td>${f:h(month)}/${f:h(date)}</td><!-- TODO: i18n -->
+                    <td>${f:h(month)}/${f:h(date)}<!-- TODO: i18n -->
+<c:if test="${dayOfWeek==0}"><bean:message key="labels.sunday"/></c:if>
+<c:if test="${dayOfWeek==1}"><bean:message key="labels.monday"/></c:if>
+<c:if test="${dayOfWeek==2}"><bean:message key="labels.tuesday"/></c:if>
+<c:if test="${dayOfWeek==3}"><bean:message key="labels.wednesday"/></c:if>
+<c:if test="${dayOfWeek==4}"><bean:message key="labels.thursday"/></c:if>
+<c:if test="${dayOfWeek==5}"><bean:message key="labels.friday"/></c:if>
+<c:if test="${dayOfWeek==6}"><bean:message key="labels.saturday"/></c:if>
+</td>
 				</tr>
                 <tr>
                     <th style="width: 80px;"><bean:message key="labels.working_status"/></th>

Modified: timecard/trunk/src/main/webapp/WEB-INF/view/manager/employee/index.jsp
===================================================================
--- timecard/trunk/src/main/webapp/WEB-INF/view/manager/employee/index.jsp	2008-11-06 02:53:06 UTC (rev 1292)
+++ timecard/trunk/src/main/webapp/WEB-INF/view/manager/employee/index.jsp	2008-11-06 05:51:41 UTC (rev 1293)
@@ -8,7 +8,24 @@
 <div style="padding:3px;">
 <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div>
 
-<div class="list-table">
+<div class="form-table" style="margin-top:3px;">
+<s:form>
+<table>
+	<tbody>
+		<tr>
+			<th>User ID</th>
+			<td><html:text property="username" size="10"/></td>
+			<td>
+        <input type="submit" name="search" value="Search"/>
+        <input type="submit" name="reset" value="Reset"/>
+			</td>
+		</tr>
+	</tbody
+</table>
+</s:form>
+</div>
+
+<div class="list-table" style="margin-top:5px;">
 <%--
 <div>
 <s:link href="createpage"><bean:message key="labels.create_employee"/></s:link>


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