OSDN Git Service

EAからOracle用DDLが吐けるようになった
authortaktos9 <taktos9@136db618-7844-41ca-8ac1-fb3fd040db1d>
Sun, 19 Oct 2008 18:15:49 +0000 (18:15 +0000)
committertaktos9 <taktos9@136db618-7844-41ca-8ac1-fb3fd040db1d>
Sun, 19 Oct 2008 18:15:49 +0000 (18:15 +0000)
git-svn-id: http://svn.sourceforge.jp/svnroot/ea2ddl/trunk/ea2ddl@36 136db618-7844-41ca-8ac1-fb3fd040db1d

46 files changed:
ea2ddl-dao/.settings/org.eclipse.jdt.core.prefs
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsbhv/BsTAttributeBhv.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsbhv/BsTConnectorBhv.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsbhv/BsTObjectpropertiesBhv.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsbhv/BsTOperationBhv.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsbhv/BsTOperationparamsBhv.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/BsTAttribute.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/BsTConnector.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/BsTObjectproperties.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/BsTOperation.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/BsTOperationparams.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/dbmeta/TAttributeDbm.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/dbmeta/TConnectorDbm.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/dbmeta/TObjectpropertiesDbm.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/dbmeta/TOperationDbm.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsentity/dbmeta/TOperationparamsDbm.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/bs/BsTAttributeCB.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/bs/BsTConnectorCB.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/bs/BsTObjectpropertiesCB.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/bs/BsTOperationCB.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/bs/BsTOperationparamsCB.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTAttributeCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTConnectorCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTObjectCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTObjectpropertiesCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTOperationCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTOperationparamsCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/BsTAttributeCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/BsTConnectorCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/BsTObjectCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/BsTObjectpropertiesCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/BsTOperationCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/BsTOperationparamsCQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/ciq/TAttributeCIQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/ciq/TConnectorCIQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/ciq/TObjectCIQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/ciq/TObjectpropertiesCIQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/ciq/TOperationCIQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/ciq/TOperationparamsCIQ.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/nss/TAttributeNss.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/nss/TConnectorNss.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/nss/TObjectpropertiesNss.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/nss/TOperationNss.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/nss/TOperationparamsNss.java
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/exbhv/TObjectBhv.java
ea2ddl-dao/src/main/resources/jdbc.dicon

index 8eb274a..9774af9 100644 (file)
@@ -1,4 +1,4 @@
-#Tue Oct 14 02:02:44 JST 2008\r
+#Sat Oct 18 14:03:01 JST 2008\r
 eclipse.preferences.version=1\r
 org.eclipse.jdt.core.codeComplete.argumentPrefixes=\r
 org.eclipse.jdt.core.codeComplete.argumentSuffixes=\r
@@ -9,12 +9,12 @@ org.eclipse.jdt.core.codeComplete.localSuffixes=
 org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=\r
 org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=\r
 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled\r
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6\r
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5\r
 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve\r
-org.eclipse.jdt.core.compiler.compliance=1.6\r
+org.eclipse.jdt.core.compiler.compliance=1.5\r
 org.eclipse.jdt.core.compiler.debug.lineNumber=generate\r
 org.eclipse.jdt.core.compiler.debug.localVariable=generate\r
 org.eclipse.jdt.core.compiler.debug.sourceFile=generate\r
 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error\r
 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error\r
-org.eclipse.jdt.core.compiler.source=1.6\r
+org.eclipse.jdt.core.compiler.source=1.5\r
index b12a05c..eef5a17 100644 (file)
@@ -38,13 +38,13 @@ import jp.sourceforge.ea2ddl.dao.cbean.*;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tObject\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -184,6 +184,15 @@ public abstract class BsTAttributeBhv extends jp.sourceforge.ea2ddl.dao.allcommo
     // ===================================================================================\r
     //                                                                     Pullout Foreign\r
     //                                                                     ===============\r
+    /**\r
+     * Pull out the list of foreign table 'TObject'.\r
+     * @param tAttributeList The list of tAttribute. (NotNull)\r
+     * @return The list of foreign table. (NotNull)\r
+     */\r
+    public List<TObject> pulloutTObject(List<TAttribute> tAttributeList) {\r
+        return helpPulloutInternally(tAttributeList, new InternalPulloutCallback<TAttribute, TObject>() {\r
+            public TObject callbackGetForeignEntity(TAttribute entity) { return entity.getTObject(); } });\r
+    }\r
   \r
     // ===================================================================================\r
     //                                                                     Delegate Method\r
index c4f9883..9112fe6 100644 (file)
@@ -38,13 +38,13 @@ import jp.sourceforge.ea2ddl.dao.cbean.*;
  *     
  * 
  * [foreign-table]
- *     
+ *     t_operation, t_object
  * 
  * [referrer-table]
  *     
  * 
  * [foreign-property]
- *     
+ *     tOperationBySourcerole, tOperationByDestrole, tObjectByStartObjectId, tObjectByEndObjectId
  * 
  * [referrer-property]
  *     
@@ -185,6 +185,42 @@ public abstract class BsTConnectorBhv extends jp.sourceforge.ea2ddl.dao.allcommo
     // ===================================================================================
     //                                                                     Pullout Foreign
     //                                                                     ===============
+    /**
+     * Pull out the list of foreign table 'TOperation'.
+     * @param tConnectorList The list of tConnector. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<TOperation> pulloutTOperationBySourcerole(List<TConnector> tConnectorList) {
+        return helpPulloutInternally(tConnectorList, new InternalPulloutCallback<TConnector, TOperation>() {
+            public TOperation callbackGetForeignEntity(TConnector entity) { return entity.getTOperationBySourcerole(); } });
+    }
+    /**
+     * Pull out the list of foreign table 'TOperation'.
+     * @param tConnectorList The list of tConnector. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<TOperation> pulloutTOperationByDestrole(List<TConnector> tConnectorList) {
+        return helpPulloutInternally(tConnectorList, new InternalPulloutCallback<TConnector, TOperation>() {
+            public TOperation callbackGetForeignEntity(TConnector entity) { return entity.getTOperationByDestrole(); } });
+    }
+    /**
+     * Pull out the list of foreign table 'TObject'.
+     * @param tConnectorList The list of tConnector. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<TObject> pulloutTObjectByStartObjectId(List<TConnector> tConnectorList) {
+        return helpPulloutInternally(tConnectorList, new InternalPulloutCallback<TConnector, TObject>() {
+            public TObject callbackGetForeignEntity(TConnector entity) { return entity.getTObjectByStartObjectId(); } });
+    }
+    /**
+     * Pull out the list of foreign table 'TObject'.
+     * @param tConnectorList The list of tConnector. (NotNull)
+     * @return The list of foreign table. (NotNull)
+     */
+    public List<TObject> pulloutTObjectByEndObjectId(List<TConnector> tConnectorList) {
+        return helpPulloutInternally(tConnectorList, new InternalPulloutCallback<TConnector, TObject>() {
+            public TObject callbackGetForeignEntity(TConnector entity) { return entity.getTObjectByEndObjectId(); } });
+    }
   
     // ===================================================================================
     //                                                                     Delegate Method
index 7d64a88..8e2db7c 100644 (file)
@@ -38,13 +38,13 @@ import jp.sourceforge.ea2ddl.dao.cbean.*;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tObject\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -184,6 +184,15 @@ public abstract class BsTObjectpropertiesBhv extends jp.sourceforge.ea2ddl.dao.a
     // ===================================================================================\r
     //                                                                     Pullout Foreign\r
     //                                                                     ===============\r
+    /**\r
+     * Pull out the list of foreign table 'TObject'.\r
+     * @param tObjectpropertiesList The list of tObjectproperties. (NotNull)\r
+     * @return The list of foreign table. (NotNull)\r
+     */\r
+    public List<TObject> pulloutTObject(List<TObjectproperties> tObjectpropertiesList) {\r
+        return helpPulloutInternally(tObjectpropertiesList, new InternalPulloutCallback<TObjectproperties, TObject>() {\r
+            public TObject callbackGetForeignEntity(TObjectproperties entity) { return entity.getTObject(); } });\r
+    }\r
   \r
     // ===================================================================================\r
     //                                                                     Delegate Method\r
index f096561..2fcecb0 100644 (file)
@@ -38,13 +38,13 @@ import jp.sourceforge.ea2ddl.dao.cbean.*;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tObject\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -184,6 +184,15 @@ public abstract class BsTOperationBhv extends jp.sourceforge.ea2ddl.dao.allcommo
     // ===================================================================================\r
     //                                                                     Pullout Foreign\r
     //                                                                     ===============\r
+    /**\r
+     * Pull out the list of foreign table 'TObject'.\r
+     * @param tOperationList The list of tOperation. (NotNull)\r
+     * @return The list of foreign table. (NotNull)\r
+     */\r
+    public List<TObject> pulloutTObject(List<TOperation> tOperationList) {\r
+        return helpPulloutInternally(tOperationList, new InternalPulloutCallback<TOperation, TObject>() {\r
+            public TObject callbackGetForeignEntity(TOperation entity) { return entity.getTObject(); } });\r
+    }\r
   \r
     // ===================================================================================\r
     //                                                                     Delegate Method\r
index 6fb66e3..97dc27d 100644 (file)
@@ -38,13 +38,13 @@ import jp.sourceforge.ea2ddl.dao.cbean.*;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     T_OPERATION\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tOperation\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -184,6 +184,15 @@ public abstract class BsTOperationparamsBhv extends jp.sourceforge.ea2ddl.dao.al
     // ===================================================================================\r
     //                                                                     Pullout Foreign\r
     //                                                                     ===============\r
+    /**\r
+     * Pull out the list of foreign table 'TOperation'.\r
+     * @param tOperationparamsList The list of tOperationparams. (NotNull)\r
+     * @return The list of foreign table. (NotNull)\r
+     */\r
+    public List<TOperation> pulloutTOperation(List<TOperationparams> tOperationparamsList) {\r
+        return helpPulloutInternally(tOperationparamsList, new InternalPulloutCallback<TOperationparams, TOperation>() {\r
+            public TOperation callbackGetForeignEntity(TOperationparams entity) { return entity.getTOperation(); } });\r
+    }\r
   \r
     // ===================================================================================\r
     //                                                                     Delegate Method\r
index 139e512..d4ff912 100644 (file)
@@ -5,6 +5,7 @@ import java.util.*;
 import jp.sourceforge.ea2ddl.dao.allcommon.Entity;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMeta;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;\r
+import jp.sourceforge.ea2ddl.dao.exentity.*;\r
 \r
 /**\r
  * The entity of t_attribute(TABLE).\r
@@ -25,13 +26,13 @@ import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tObject\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -57,7 +58,7 @@ public abstract class BsTAttribute implements Entity, java.io.Serializable {
     // -----------------------------------------------------\r
     //                                                Column\r
     //                                                ------\r
-    /** The attribute of the column 'Object_ID'. {INTEGER} */\r
+    /** The attribute of the column 'Object_ID'. {INTEGER : FK to t_object} */\r
     protected java.lang.Integer _objectId;\r
 \r
     /** The attribute of the column 'Name'. {VARCHAR(255)} */\r
@@ -174,6 +175,31 @@ public abstract class BsTAttribute implements Entity, java.io.Serializable {
     // ===================================================================================\r
     //                                                                    Foreign Property\r
     //                                                                    ================\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TObject]\r
+    // * * * * * * * * */\r
+    public static final int TObject_RELNO = 0;\r
+    public static final String TObject_RELKEYS = "Object_ID:Object_ID";\r
+\r
+    /** The entity of foreign property 'TObject'. */\r
+    protected TObject _parentTObject;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TObject'. {without lazy-load}\r
+     * @return The entity of foreign property 'TObject'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TObject getTObject() {\r
+        return _parentTObject;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TObject'.\r
+     * @param tObject The entity of foreign property 'TObject'. (Nullable)\r
+     */\r
+    public void setTObject(TObject tObject) {\r
+        _parentTObject = tObject;\r
+    }\r
+\r
     // ===================================================================================\r
     //                                                                   Referrer Property\r
     //                                                                   =================\r
@@ -322,12 +348,12 @@ public abstract class BsTAttribute implements Entity, java.io.Serializable {
     //                                                                            Accessor\r
     //                                                                            ========\r
 \r
-    /** The column annotation for S2Dao. {INTEGER} */\r
+    /** The column annotation for S2Dao. {INTEGER : FK to t_object} */\r
     public static final String objectId_COLUMN = "Object_ID";\r
 \r
     /**\r
      * Get the value of the column 'Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @return The value of the column 'Object_ID'. (Nullable)\r
      */\r
     public java.lang.Integer getObjectId() {\r
@@ -336,7 +362,7 @@ public abstract class BsTAttribute implements Entity, java.io.Serializable {
 \r
     /**\r
      * Set the value of the column 'Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @param objectId The value of the column 'Object_ID'. (Nullable)\r
      */\r
     public void setObjectId(java.lang.Integer objectId) {\r
index 417786e..1c58b50 100644 (file)
@@ -5,6 +5,7 @@ import java.util.*;
 import jp.sourceforge.ea2ddl.dao.allcommon.Entity;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMeta;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;\r
+import jp.sourceforge.ea2ddl.dao.exentity.*;\r
 \r
 /**\r
  * The entity of t_connector(TABLE).\r
@@ -25,13 +26,13 @@ import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_operation, t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tOperationBySourcerole, tOperationByDestrole, tObjectByStartObjectId, tObjectByEndObjectId\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -93,7 +94,7 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
     /** The attribute of the column 'DestElement'. {VARCHAR(50)} */\r
     protected String _destelement;\r
 \r
-    /** The attribute of the column 'SourceRole'. {VARCHAR(255)} */\r
+    /** The attribute of the column 'SourceRole'. {VARCHAR(255) : FK to t_operation} */\r
     protected String _sourcerole;\r
 \r
     /** The attribute of the column 'SourceRoleType'. {VARCHAR(50)} */\r
@@ -114,7 +115,7 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
     /** The attribute of the column 'SourceQualifier'. {VARCHAR(50)} */\r
     protected String _sourcequalifier;\r
 \r
-    /** The attribute of the column 'DestRole'. {VARCHAR(255)} */\r
+    /** The attribute of the column 'DestRole'. {VARCHAR(255) : FK to t_operation} */\r
     protected String _destrole;\r
 \r
     /** The attribute of the column 'DestRoleType'. {VARCHAR(50)} */\r
@@ -135,10 +136,10 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
     /** The attribute of the column 'DestQualifier'. {VARCHAR(50)} */\r
     protected String _destqualifier;\r
 \r
-    /** The attribute of the column 'Start_Object_ID'. {INTEGER} */\r
+    /** The attribute of the column 'Start_Object_ID'. {INTEGER : FK to t_object} */\r
     protected java.lang.Integer _startObjectId;\r
 \r
-    /** The attribute of the column 'End_Object_ID'. {INTEGER} */\r
+    /** The attribute of the column 'End_Object_ID'. {INTEGER : FK to t_object} */\r
     protected java.lang.Integer _endObjectId;\r
 \r
     /** The attribute of the column 'Top_Start_Label'. {VARCHAR(50)} */\r
@@ -336,6 +337,106 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
     // ===================================================================================\r
     //                                                                    Foreign Property\r
     //                                                                    ================\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TOperationBySourcerole]\r
+    // * * * * * * * * */\r
+    public static final int TOperationBySourcerole_RELNO = 0;\r
+    public static final String TOperationBySourcerole_RELKEYS = "SourceRole:Name";\r
+\r
+    /** The entity of foreign property 'TOperationBySourcerole'. */\r
+    protected TOperation _parentTOperationBySourcerole;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TOperationBySourcerole'. {without lazy-load}\r
+     * @return The entity of foreign property 'TOperationBySourcerole'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TOperation getTOperationBySourcerole() {\r
+        return _parentTOperationBySourcerole;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TOperationBySourcerole'.\r
+     * @param tOperationBySourcerole The entity of foreign property 'TOperationBySourcerole'. (Nullable)\r
+     */\r
+    public void setTOperationBySourcerole(TOperation tOperationBySourcerole) {\r
+        _parentTOperationBySourcerole = tOperationBySourcerole;\r
+    }\r
+\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TOperationByDestrole]\r
+    // * * * * * * * * */\r
+    public static final int TOperationByDestrole_RELNO = 1;\r
+    public static final String TOperationByDestrole_RELKEYS = "DestRole:Name";\r
+\r
+    /** The entity of foreign property 'TOperationByDestrole'. */\r
+    protected TOperation _parentTOperationByDestrole;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TOperationByDestrole'. {without lazy-load}\r
+     * @return The entity of foreign property 'TOperationByDestrole'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TOperation getTOperationByDestrole() {\r
+        return _parentTOperationByDestrole;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TOperationByDestrole'.\r
+     * @param tOperationByDestrole The entity of foreign property 'TOperationByDestrole'. (Nullable)\r
+     */\r
+    public void setTOperationByDestrole(TOperation tOperationByDestrole) {\r
+        _parentTOperationByDestrole = tOperationByDestrole;\r
+    }\r
+\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TObjectByStartObjectId]\r
+    // * * * * * * * * */\r
+    public static final int TObjectByStartObjectId_RELNO = 2;\r
+    public static final String TObjectByStartObjectId_RELKEYS = "Start_Object_ID:Object_ID";\r
+\r
+    /** The entity of foreign property 'TObjectByStartObjectId'. */\r
+    protected TObject _parentTObjectByStartObjectId;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TObjectByStartObjectId'. {without lazy-load}\r
+     * @return The entity of foreign property 'TObjectByStartObjectId'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TObject getTObjectByStartObjectId() {\r
+        return _parentTObjectByStartObjectId;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TObjectByStartObjectId'.\r
+     * @param tObjectByStartObjectId The entity of foreign property 'TObjectByStartObjectId'. (Nullable)\r
+     */\r
+    public void setTObjectByStartObjectId(TObject tObjectByStartObjectId) {\r
+        _parentTObjectByStartObjectId = tObjectByStartObjectId;\r
+    }\r
+\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TObjectByEndObjectId]\r
+    // * * * * * * * * */\r
+    public static final int TObjectByEndObjectId_RELNO = 3;\r
+    public static final String TObjectByEndObjectId_RELKEYS = "End_Object_ID:Object_ID";\r
+\r
+    /** The entity of foreign property 'TObjectByEndObjectId'. */\r
+    protected TObject _parentTObjectByEndObjectId;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TObjectByEndObjectId'. {without lazy-load}\r
+     * @return The entity of foreign property 'TObjectByEndObjectId'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TObject getTObjectByEndObjectId() {\r
+        return _parentTObjectByEndObjectId;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TObjectByEndObjectId'.\r
+     * @param tObjectByEndObjectId The entity of foreign property 'TObjectByEndObjectId'. (Nullable)\r
+     */\r
+    public void setTObjectByEndObjectId(TObject tObjectByEndObjectId) {\r
+        _parentTObjectByEndObjectId = tObjectByEndObjectId;\r
+    }\r
+\r
     // ===================================================================================\r
     //                                                                   Referrer Property\r
     //                                                                   =================\r
@@ -910,12 +1011,12 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
         this._destelement = destelement;\r
     }\r
 \r
-    /** The column annotation for S2Dao. {VARCHAR(255)} */\r
+    /** The column annotation for S2Dao. {VARCHAR(255) : FK to t_operation} */\r
     public static final String sourcerole_COLUMN = "SourceRole";\r
 \r
     /**\r
      * Get the value of the column 'SourceRole'. <br />\r
-     * {VARCHAR(255)}\r
+     * {VARCHAR(255) : FK to t_operation}\r
      * @return The value of the column 'SourceRole'. (Nullable)\r
      */\r
     public String getSourcerole() {\r
@@ -924,7 +1025,7 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
 \r
     /**\r
      * Set the value of the column 'SourceRole'. <br />\r
-     * {VARCHAR(255)}\r
+     * {VARCHAR(255) : FK to t_operation}\r
      * @param sourcerole The value of the column 'SourceRole'. (Nullable)\r
      */\r
     public void setSourcerole(String sourcerole) {\r
@@ -1064,12 +1165,12 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
         this._sourcequalifier = sourcequalifier;\r
     }\r
 \r
-    /** The column annotation for S2Dao. {VARCHAR(255)} */\r
+    /** The column annotation for S2Dao. {VARCHAR(255) : FK to t_operation} */\r
     public static final String destrole_COLUMN = "DestRole";\r
 \r
     /**\r
      * Get the value of the column 'DestRole'. <br />\r
-     * {VARCHAR(255)}\r
+     * {VARCHAR(255) : FK to t_operation}\r
      * @return The value of the column 'DestRole'. (Nullable)\r
      */\r
     public String getDestrole() {\r
@@ -1078,7 +1179,7 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
 \r
     /**\r
      * Set the value of the column 'DestRole'. <br />\r
-     * {VARCHAR(255)}\r
+     * {VARCHAR(255) : FK to t_operation}\r
      * @param destrole The value of the column 'DestRole'. (Nullable)\r
      */\r
     public void setDestrole(String destrole) {\r
@@ -1218,12 +1319,12 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
         this._destqualifier = destqualifier;\r
     }\r
 \r
-    /** The column annotation for S2Dao. {INTEGER} */\r
+    /** The column annotation for S2Dao. {INTEGER : FK to t_object} */\r
     public static final String startObjectId_COLUMN = "Start_Object_ID";\r
 \r
     /**\r
      * Get the value of the column 'Start_Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @return The value of the column 'Start_Object_ID'. (Nullable)\r
      */\r
     public java.lang.Integer getStartObjectId() {\r
@@ -1232,7 +1333,7 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
 \r
     /**\r
      * Set the value of the column 'Start_Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @param startObjectId The value of the column 'Start_Object_ID'. (Nullable)\r
      */\r
     public void setStartObjectId(java.lang.Integer startObjectId) {\r
@@ -1240,12 +1341,12 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
         this._startObjectId = startObjectId;\r
     }\r
 \r
-    /** The column annotation for S2Dao. {INTEGER} */\r
+    /** The column annotation for S2Dao. {INTEGER : FK to t_object} */\r
     public static final String endObjectId_COLUMN = "End_Object_ID";\r
 \r
     /**\r
      * Get the value of the column 'End_Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @return The value of the column 'End_Object_ID'. (Nullable)\r
      */\r
     public java.lang.Integer getEndObjectId() {\r
@@ -1254,7 +1355,7 @@ public abstract class BsTConnector implements Entity, java.io.Serializable {
 \r
     /**\r
      * Set the value of the column 'End_Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @param endObjectId The value of the column 'End_Object_ID'. (Nullable)\r
      */\r
     public void setEndObjectId(java.lang.Integer endObjectId) {\r
index 0de4f3e..13ad11b 100644 (file)
@@ -5,6 +5,7 @@ import java.util.*;
 import jp.sourceforge.ea2ddl.dao.allcommon.Entity;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMeta;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;\r
+import jp.sourceforge.ea2ddl.dao.exentity.*;\r
 \r
 /**\r
  * The entity of t_objectproperties(TABLE).\r
@@ -25,13 +26,13 @@ import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tObject\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -60,7 +61,7 @@ public abstract class BsTObjectproperties implements Entity, java.io.Serializabl
     /** The attribute of the column 'PropertyID'. {UQ : COUNTER : NotNull} */\r
     protected java.lang.Integer _propertyid;\r
 \r
-    /** The attribute of the column 'Object_ID'. {INTEGER} */\r
+    /** The attribute of the column 'Object_ID'. {INTEGER : FK to t_object} */\r
     protected java.lang.Integer _objectId;\r
 \r
     /** The attribute of the column 'Property'. {VARCHAR(255)} */\r
@@ -117,6 +118,31 @@ public abstract class BsTObjectproperties implements Entity, java.io.Serializabl
     // ===================================================================================\r
     //                                                                    Foreign Property\r
     //                                                                    ================\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TObject]\r
+    // * * * * * * * * */\r
+    public static final int TObject_RELNO = 0;\r
+    public static final String TObject_RELKEYS = "Object_ID:Object_ID";\r
+\r
+    /** The entity of foreign property 'TObject'. */\r
+    protected TObject _parentTObject;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TObject'. {without lazy-load}\r
+     * @return The entity of foreign property 'TObject'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TObject getTObject() {\r
+        return _parentTObject;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TObject'.\r
+     * @param tObject The entity of foreign property 'TObject'. (Nullable)\r
+     */\r
+    public void setTObject(TObject tObject) {\r
+        _parentTObject = tObject;\r
+    }\r
+\r
     // ===================================================================================\r
     //                                                                   Referrer Property\r
     //                                                                   =================\r
@@ -230,12 +256,12 @@ public abstract class BsTObjectproperties implements Entity, java.io.Serializabl
         this._propertyid = propertyid;\r
     }\r
 \r
-    /** The column annotation for S2Dao. {INTEGER} */\r
+    /** The column annotation for S2Dao. {INTEGER : FK to t_object} */\r
     public static final String objectId_COLUMN = "Object_ID";\r
 \r
     /**\r
      * Get the value of the column 'Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @return The value of the column 'Object_ID'. (Nullable)\r
      */\r
     public java.lang.Integer getObjectId() {\r
@@ -244,7 +270,7 @@ public abstract class BsTObjectproperties implements Entity, java.io.Serializabl
 \r
     /**\r
      * Set the value of the column 'Object_ID'. <br />\r
-     * {INTEGER}\r
+     * {INTEGER : FK to t_object}\r
      * @param objectId The value of the column 'Object_ID'. (Nullable)\r
      */\r
     public void setObjectId(java.lang.Integer objectId) {\r
index 4dd0518..d2781aa 100644 (file)
@@ -5,6 +5,7 @@ import java.util.*;
 import jp.sourceforge.ea2ddl.dao.allcommon.Entity;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMeta;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;\r
+import jp.sourceforge.ea2ddl.dao.exentity.*;\r
 \r
 /**\r
  * The entity of t_operation(TABLE).\r
@@ -25,13 +26,13 @@ import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     t_object\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tObject\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -168,6 +169,31 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
     // ===================================================================================\r
     //                                                                    Foreign Property\r
     //                                                                    ================\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TObject]\r
+    // * * * * * * * * */\r
+    public static final int TObject_RELNO = 0;\r
+    public static final String TObject_RELKEYS = "Object_ID:Object_ID";\r
+\r
+    /** The entity of foreign property 'TObject'. */\r
+    protected TObject _parentTObject;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TObject'. {without lazy-load}\r
+     * @return The entity of foreign property 'TObject'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TObject getTObject() {\r
+        return _parentTObject;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TObject'.\r
+     * @param tObject The entity of foreign property 'TObject'. (Nullable)\r
+     */\r
+    public void setTObject(TObject tObject) {\r
+        _parentTObject = tObject;\r
+    }\r
+\r
     // ===================================================================================\r
     //                                                                   Referrer Property\r
     //                                                                   =================\r
index d60e80f..54b1cfd 100644 (file)
@@ -5,6 +5,7 @@ import java.util.*;
 import jp.sourceforge.ea2ddl.dao.allcommon.Entity;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMeta;\r
 import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;\r
+import jp.sourceforge.ea2ddl.dao.exentity.*;\r
 \r
 /**\r
  * The entity of t_operationparams(TABLE).\r
@@ -25,13 +26,13 @@ import jp.sourceforge.ea2ddl.dao.allcommon.dbmeta.DBMetaInstanceHandler;
  *     \r
  * \r
  * [foreign-table]\r
- *     \r
+ *     T_OPERATION\r
  * \r
  * [referrer-table]\r
  *     \r
  * \r
  * [foreign-property]\r
- *     \r
+ *     tOperation\r
  * \r
  * [referrer-property]\r
  *     \r
@@ -57,7 +58,7 @@ public abstract class BsTOperationparams implements Entity, java.io.Serializable
     // -----------------------------------------------------\r
     //                                                Column\r
     //                                                ------\r
-    /** The attribute of the column 'OperationID'. {UQ : INTEGER} */\r
+    /** The attribute of the column 'OperationID'. {UQ : INTEGER : FK to T_OPERATION} */\r
     protected java.lang.Integer _operationid;\r
 \r
     /** The attribute of the column 'Name'. {UQ : VARCHAR(255)} */\r
@@ -129,6 +130,31 @@ public abstract class BsTOperationparams implements Entity, java.io.Serializable
     // ===================================================================================\r
     //                                                                    Foreign Property\r
     //                                                                    ================\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Foreign Property = [TOperation]\r
+    // * * * * * * * * */\r
+    public static final int TOperation_RELNO = 0;\r
+    public static final String TOperation_RELKEYS = "OperationID:OperationID";\r
+\r
+    /** The entity of foreign property 'TOperation'. */\r
+    protected TOperation _parentTOperation;\r
+\r
+    /**\r
+     * Get the entity of foreign property 'TOperation'. {without lazy-load}\r
+     * @return The entity of foreign property 'TOperation'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)\r
+     */\r
+    public TOperation getTOperation() {\r
+        return _parentTOperation;\r
+    }\r
+\r
+    /**\r
+     * Set the entity of foreign property 'TOperation'.\r
+     * @param tOperation The entity of foreign property 'TOperation'. (Nullable)\r
+     */\r
+    public void setTOperation(TOperation tOperation) {\r
+        _parentTOperation = tOperation;\r
+    }\r
+\r
     // ===================================================================================\r
     //                                                                   Referrer Property\r
     //                                                                   =================\r
@@ -232,12 +258,12 @@ public abstract class BsTOperationparams implements Entity, java.io.Serializable
     //                                                                            Accessor\r
     //                                                                            ========\r
 \r
-    /** The column annotation for S2Dao. {UQ : INTEGER} */\r
+    /** The column annotation for S2Dao. {UQ : INTEGER : FK to T_OPERATION} */\r
     public static final String operationid_COLUMN = "OperationID";\r
 \r
     /**\r
      * Get the value of the column 'OperationID'. <br />\r
-     * {UQ : INTEGER}\r
+     * {UQ : INTEGER : FK to T_OPERATION}\r
      * @return The value of the column 'OperationID'. (Nullable)\r
      */\r
     public java.lang.Integer getOperationid() {\r
@@ -246,7 +272,7 @@ public abstract class BsTOperationparams implements Entity, java.io.Serializable
 \r
     /**\r
      * Set the value of the column 'OperationID'. <br />\r
-     * {UQ : INTEGER}\r
+     * {UQ : INTEGER : FK to T_OPERATION}\r
      * @param operationid The value of the column 'OperationID'. (Nullable)\r
      */\r
     public void setOperationid(java.lang.Integer operationid) {\r
index 210add4..f301e1c 100644 (file)
@@ -135,6 +135,10 @@ public class TAttributeDbm extends AbstractDBMeta {
     // -----------------------------------------------------\r
     //                                      Foreign Property\r
     //                                      ----------------\r
+    public ForeignInfo foreignTObject() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnObjectId(), TObjectDbm.getInstance().columnObjectId());\r
+           return cfi("TObject", this, TObjectDbm.getInstance(), map, 0, false);\r
+    }\r
 \r
     // -----------------------------------------------------\r
     //                                     Referrer Property\r
index e15d5f1..1a2c76b 100644 (file)
@@ -243,6 +243,22 @@ public class TConnectorDbm extends AbstractDBMeta {
     // -----------------------------------------------------\r
     //                                      Foreign Property\r
     //                                      ----------------\r
+    public ForeignInfo foreignTOperationBySourcerole() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnSourcerole(), TOperationDbm.getInstance().columnName());\r
+           return cfi("TOperationBySourcerole", this, TOperationDbm.getInstance(), map, 0, false);\r
+    }\r
+    public ForeignInfo foreignTOperationByDestrole() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnDestrole(), TOperationDbm.getInstance().columnName());\r
+           return cfi("TOperationByDestrole", this, TOperationDbm.getInstance(), map, 1, false);\r
+    }\r
+    public ForeignInfo foreignTObjectByStartObjectId() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnStartObjectId(), TObjectDbm.getInstance().columnObjectId());\r
+           return cfi("TObjectByStartObjectId", this, TObjectDbm.getInstance(), map, 2, false);\r
+    }\r
+    public ForeignInfo foreignTObjectByEndObjectId() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnEndObjectId(), TObjectDbm.getInstance().columnObjectId());\r
+           return cfi("TObjectByEndObjectId", this, TObjectDbm.getInstance(), map, 3, false);\r
+    }\r
 \r
     // -----------------------------------------------------\r
     //                                     Referrer Property\r
index d63def5..8719627 100644 (file)
@@ -97,6 +97,10 @@ public class TObjectpropertiesDbm extends AbstractDBMeta {
     // -----------------------------------------------------\r
     //                                      Foreign Property\r
     //                                      ----------------\r
+    public ForeignInfo foreignTObject() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnObjectId(), TObjectDbm.getInstance().columnObjectId());\r
+           return cfi("TObject", this, TObjectDbm.getInstance(), map, 0, false);\r
+    }\r
 \r
     // -----------------------------------------------------\r
     //                                     Referrer Property\r
index 0b678cb..cc92317 100644 (file)
@@ -131,6 +131,10 @@ public class TOperationDbm extends AbstractDBMeta {
     // -----------------------------------------------------\r
     //                                      Foreign Property\r
     //                                      ----------------\r
+    public ForeignInfo foreignTObject() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnObjectId(), TObjectDbm.getInstance().columnObjectId());\r
+           return cfi("TObject", this, TObjectDbm.getInstance(), map, 0, false);\r
+    }\r
 \r
     // -----------------------------------------------------\r
     //                                     Referrer Property\r
index dfb8752..e8ae15c 100644 (file)
@@ -105,6 +105,10 @@ public class TOperationparamsDbm extends AbstractDBMeta {
     // -----------------------------------------------------\r
     //                                      Foreign Property\r
     //                                      ----------------\r
+    public ForeignInfo foreignTOperation() {\r
+               Map<ColumnInfo, ColumnInfo> map = newLinkedHashMap(columnOperationid(), TOperationDbm.getInstance().columnOperationid());\r
+           return cfi("TOperation", this, TOperationDbm.getInstance(), map, 0, false);\r
+    }\r
 \r
     // -----------------------------------------------------\r
     //                                     Referrer Property\r
index efd3cea..f9af0a5 100644 (file)
@@ -9,6 +9,7 @@ import jp.sourceforge.ea2ddl.dao.allcommon.cbean.SubQuery;
 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.UnionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.*;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
+import jp.sourceforge.ea2ddl.dao.cbean.nss.*;\r
 \r
 /**\r
  * The base condition-bean of t_attribute.\r
@@ -133,6 +134,17 @@ public class BsTAttributeCB extends AbstractConditionBean {
     //                                                                        Setup Select\r
     //                                                                        ============\r
 \r
+    protected TObjectNss _nssTObject;\r
+    public TObjectNss getNssTObject() {\r
+        if (_nssTObject == null) { _nssTObject = new TObjectNss(null); }\r
+        return _nssTObject;\r
+    }\r
+    public TObjectNss setupSelect_TObject() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTObject(); } });\r
+        if (_nssTObject == null || !_nssTObject.hasConditionQuery()) { _nssTObject = new TObjectNss(query().queryTObject()); }\r
+        return _nssTObject;\r
+    }\r
+\r
     // [DBFlute-0.7.4]\r
     // ===================================================================================\r
     //                                                                             Specify\r
@@ -144,6 +156,7 @@ public class BsTAttributeCB extends AbstractConditionBean {
     }\r
     public static class Specification extends AbstractSpecification<TAttributeCQ> {\r
         protected SpQyCall<TAttributeCQ> _myQyCall;\r
+        protected TObjectCB.Specification _tObject;\r
         public Specification(ConditionBean baseCB, SpQyCall<TAttributeCQ> qyCall, boolean forDeriveReferrer) { super(baseCB, qyCall, forDeriveReferrer); _myQyCall = qyCall; }\r
         public void columnObjectId() { doColumn("Object_ID"); }\r
         public void columnName() { doColumn("Name"); }\r
@@ -171,8 +184,20 @@ public class BsTAttributeCB extends AbstractConditionBean {
         public void columnEaGuid() { doColumn("ea_guid"); }\r
         public void columnStyleex() { doColumn("StyleEx"); }\r
         protected void doSpecifyRequiredColumn() {\r
+            if (_myQyCall.qy().hasConditionQueryTObject()) {\r
+                columnObjectId();// FK\r
+            }\r
         }\r
         protected String getTableDbName() { return "t_attribute"; }\r
+        public TObjectCB.Specification specifyTObject() {\r
+            assertForeign("tObject");\r
+            if (_tObject == null) {\r
+                _tObject = new TObjectCB.Specification(_baseCB, new SpQyCall<TObjectCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTObject(); }\r
+                    public TObjectCQ qy() { return _myQyCall.qy().queryTObject(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tObject;\r
+        }\r
     }\r
 \r
     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
index 3402849..079b38c 100644 (file)
@@ -9,6 +9,7 @@ import jp.sourceforge.ea2ddl.dao.allcommon.cbean.SubQuery;
 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.UnionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.*;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
+import jp.sourceforge.ea2ddl.dao.cbean.nss.*;\r
 \r
 /**\r
  * The base condition-bean of t_connector.\r
@@ -133,6 +134,50 @@ public class BsTConnectorCB extends AbstractConditionBean {
     //                                                                        Setup Select\r
     //                                                                        ============\r
 \r
+    protected TOperationNss _nssTOperationBySourcerole;\r
+    public TOperationNss getNssTOperationBySourcerole() {\r
+        if (_nssTOperationBySourcerole == null) { _nssTOperationBySourcerole = new TOperationNss(null); }\r
+        return _nssTOperationBySourcerole;\r
+    }\r
+    public TOperationNss setupSelect_TOperationBySourcerole() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTOperationBySourcerole(); } });\r
+        if (_nssTOperationBySourcerole == null || !_nssTOperationBySourcerole.hasConditionQuery()) { _nssTOperationBySourcerole = new TOperationNss(query().queryTOperationBySourcerole()); }\r
+        return _nssTOperationBySourcerole;\r
+    }\r
+\r
+    protected TOperationNss _nssTOperationByDestrole;\r
+    public TOperationNss getNssTOperationByDestrole() {\r
+        if (_nssTOperationByDestrole == null) { _nssTOperationByDestrole = new TOperationNss(null); }\r
+        return _nssTOperationByDestrole;\r
+    }\r
+    public TOperationNss setupSelect_TOperationByDestrole() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTOperationByDestrole(); } });\r
+        if (_nssTOperationByDestrole == null || !_nssTOperationByDestrole.hasConditionQuery()) { _nssTOperationByDestrole = new TOperationNss(query().queryTOperationByDestrole()); }\r
+        return _nssTOperationByDestrole;\r
+    }\r
+\r
+    protected TObjectNss _nssTObjectByStartObjectId;\r
+    public TObjectNss getNssTObjectByStartObjectId() {\r
+        if (_nssTObjectByStartObjectId == null) { _nssTObjectByStartObjectId = new TObjectNss(null); }\r
+        return _nssTObjectByStartObjectId;\r
+    }\r
+    public TObjectNss setupSelect_TObjectByStartObjectId() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTObjectByStartObjectId(); } });\r
+        if (_nssTObjectByStartObjectId == null || !_nssTObjectByStartObjectId.hasConditionQuery()) { _nssTObjectByStartObjectId = new TObjectNss(query().queryTObjectByStartObjectId()); }\r
+        return _nssTObjectByStartObjectId;\r
+    }\r
+\r
+    protected TObjectNss _nssTObjectByEndObjectId;\r
+    public TObjectNss getNssTObjectByEndObjectId() {\r
+        if (_nssTObjectByEndObjectId == null) { _nssTObjectByEndObjectId = new TObjectNss(null); }\r
+        return _nssTObjectByEndObjectId;\r
+    }\r
+    public TObjectNss setupSelect_TObjectByEndObjectId() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTObjectByEndObjectId(); } });\r
+        if (_nssTObjectByEndObjectId == null || !_nssTObjectByEndObjectId.hasConditionQuery()) { _nssTObjectByEndObjectId = new TObjectNss(query().queryTObjectByEndObjectId()); }\r
+        return _nssTObjectByEndObjectId;\r
+    }\r
+\r
     // [DBFlute-0.7.4]\r
     // ===================================================================================\r
     //                                                                             Specify\r
@@ -144,6 +189,10 @@ public class BsTConnectorCB extends AbstractConditionBean {
     }\r
     public static class Specification extends AbstractSpecification<TConnectorCQ> {\r
         protected SpQyCall<TConnectorCQ> _myQyCall;\r
+        protected TOperationCB.Specification _tOperationBySourcerole;\r
+        protected TOperationCB.Specification _tOperationByDestrole;\r
+        protected TObjectCB.Specification _tObjectByStartObjectId;\r
+        protected TObjectCB.Specification _tObjectByEndObjectId;\r
         public Specification(ConditionBean baseCB, SpQyCall<TConnectorCQ> qyCall, boolean forDeriveReferrer) { super(baseCB, qyCall, forDeriveReferrer); _myQyCall = qyCall; }\r
         public void columnConnectorId() { doColumn("Connector_ID"); }\r
         public void columnName() { doColumn("Name"); }\r
@@ -225,8 +274,56 @@ public class BsTConnectorCB extends AbstractConditionBean {
         public void columnDeststyle() { doColumn("DestStyle"); }\r
         public void columnEventflags() { doColumn("EventFlags"); }\r
         protected void doSpecifyRequiredColumn() {\r
+            if (_myQyCall.qy().hasConditionQueryTOperationBySourcerole()) {\r
+                columnSourcerole();// FK\r
+            }\r
+            if (_myQyCall.qy().hasConditionQueryTOperationByDestrole()) {\r
+                columnDestrole();// FK\r
+            }\r
+            if (_myQyCall.qy().hasConditionQueryTObjectByStartObjectId()) {\r
+                columnStartObjectId();// FK\r
+            }\r
+            if (_myQyCall.qy().hasConditionQueryTObjectByEndObjectId()) {\r
+                columnEndObjectId();// FK\r
+            }\r
         }\r
         protected String getTableDbName() { return "t_connector"; }\r
+        public TOperationCB.Specification specifyTOperationBySourcerole() {\r
+            assertForeign("tOperationBySourcerole");\r
+            if (_tOperationBySourcerole == null) {\r
+                _tOperationBySourcerole = new TOperationCB.Specification(_baseCB, new SpQyCall<TOperationCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTOperationBySourcerole(); }\r
+                    public TOperationCQ qy() { return _myQyCall.qy().queryTOperationBySourcerole(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tOperationBySourcerole;\r
+        }\r
+        public TOperationCB.Specification specifyTOperationByDestrole() {\r
+            assertForeign("tOperationByDestrole");\r
+            if (_tOperationByDestrole == null) {\r
+                _tOperationByDestrole = new TOperationCB.Specification(_baseCB, new SpQyCall<TOperationCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTOperationByDestrole(); }\r
+                    public TOperationCQ qy() { return _myQyCall.qy().queryTOperationByDestrole(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tOperationByDestrole;\r
+        }\r
+        public TObjectCB.Specification specifyTObjectByStartObjectId() {\r
+            assertForeign("tObjectByStartObjectId");\r
+            if (_tObjectByStartObjectId == null) {\r
+                _tObjectByStartObjectId = new TObjectCB.Specification(_baseCB, new SpQyCall<TObjectCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTObjectByStartObjectId(); }\r
+                    public TObjectCQ qy() { return _myQyCall.qy().queryTObjectByStartObjectId(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tObjectByStartObjectId;\r
+        }\r
+        public TObjectCB.Specification specifyTObjectByEndObjectId() {\r
+            assertForeign("tObjectByEndObjectId");\r
+            if (_tObjectByEndObjectId == null) {\r
+                _tObjectByEndObjectId = new TObjectCB.Specification(_baseCB, new SpQyCall<TObjectCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTObjectByEndObjectId(); }\r
+                    public TObjectCQ qy() { return _myQyCall.qy().queryTObjectByEndObjectId(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tObjectByEndObjectId;\r
+        }\r
     }\r
 \r
     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
index 5980241..0a261df 100644 (file)
@@ -9,6 +9,7 @@ import jp.sourceforge.ea2ddl.dao.allcommon.cbean.SubQuery;
 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.UnionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.*;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
+import jp.sourceforge.ea2ddl.dao.cbean.nss.*;\r
 \r
 /**\r
  * The base condition-bean of t_objectproperties.\r
@@ -133,6 +134,17 @@ public class BsTObjectpropertiesCB extends AbstractConditionBean {
     //                                                                        Setup Select\r
     //                                                                        ============\r
 \r
+    protected TObjectNss _nssTObject;\r
+    public TObjectNss getNssTObject() {\r
+        if (_nssTObject == null) { _nssTObject = new TObjectNss(null); }\r
+        return _nssTObject;\r
+    }\r
+    public TObjectNss setupSelect_TObject() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTObject(); } });\r
+        if (_nssTObject == null || !_nssTObject.hasConditionQuery()) { _nssTObject = new TObjectNss(query().queryTObject()); }\r
+        return _nssTObject;\r
+    }\r
+\r
     // [DBFlute-0.7.4]\r
     // ===================================================================================\r
     //                                                                             Specify\r
@@ -144,6 +156,7 @@ public class BsTObjectpropertiesCB extends AbstractConditionBean {
     }\r
     public static class Specification extends AbstractSpecification<TObjectpropertiesCQ> {\r
         protected SpQyCall<TObjectpropertiesCQ> _myQyCall;\r
+        protected TObjectCB.Specification _tObject;\r
         public Specification(ConditionBean baseCB, SpQyCall<TObjectpropertiesCQ> qyCall, boolean forDeriveReferrer) { super(baseCB, qyCall, forDeriveReferrer); _myQyCall = qyCall; }\r
         public void columnPropertyid() { doColumn("PropertyID"); }\r
         public void columnObjectId() { doColumn("Object_ID"); }\r
@@ -152,8 +165,20 @@ public class BsTObjectpropertiesCB extends AbstractConditionBean {
         public void columnNotes() { doColumn("Notes"); }\r
         public void columnEaGuid() { doColumn("ea_guid"); }\r
         protected void doSpecifyRequiredColumn() {\r
+            if (_myQyCall.qy().hasConditionQueryTObject()) {\r
+                columnObjectId();// FK\r
+            }\r
         }\r
         protected String getTableDbName() { return "t_objectproperties"; }\r
+        public TObjectCB.Specification specifyTObject() {\r
+            assertForeign("tObject");\r
+            if (_tObject == null) {\r
+                _tObject = new TObjectCB.Specification(_baseCB, new SpQyCall<TObjectCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTObject(); }\r
+                    public TObjectCQ qy() { return _myQyCall.qy().queryTObject(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tObject;\r
+        }\r
     }\r
 \r
     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
index 22ea727..8ca6b84 100644 (file)
@@ -9,6 +9,7 @@ import jp.sourceforge.ea2ddl.dao.allcommon.cbean.SubQuery;
 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.UnionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.*;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
+import jp.sourceforge.ea2ddl.dao.cbean.nss.*;\r
 \r
 /**\r
  * The base condition-bean of t_operation.\r
@@ -133,6 +134,17 @@ public class BsTOperationCB extends AbstractConditionBean {
     //                                                                        Setup Select\r
     //                                                                        ============\r
 \r
+    protected TObjectNss _nssTObject;\r
+    public TObjectNss getNssTObject() {\r
+        if (_nssTObject == null) { _nssTObject = new TObjectNss(null); }\r
+        return _nssTObject;\r
+    }\r
+    public TObjectNss setupSelect_TObject() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTObject(); } });\r
+        if (_nssTObject == null || !_nssTObject.hasConditionQuery()) { _nssTObject = new TObjectNss(query().queryTObject()); }\r
+        return _nssTObject;\r
+    }\r
+\r
     // [DBFlute-0.7.4]\r
     // ===================================================================================\r
     //                                                                             Specify\r
@@ -144,6 +156,7 @@ public class BsTOperationCB extends AbstractConditionBean {
     }\r
     public static class Specification extends AbstractSpecification<TOperationCQ> {\r
         protected SpQyCall<TOperationCQ> _myQyCall;\r
+        protected TObjectCB.Specification _tObject;\r
         public Specification(ConditionBean baseCB, SpQyCall<TOperationCQ> qyCall, boolean forDeriveReferrer) { super(baseCB, qyCall, forDeriveReferrer); _myQyCall = qyCall; }\r
         public void columnOperationid() { doColumn("OperationID"); }\r
         public void columnObjectId() { doColumn("Object_ID"); }\r
@@ -169,8 +182,20 @@ public class BsTOperationCB extends AbstractConditionBean {
         public void columnEaGuid() { doColumn("ea_guid"); }\r
         public void columnStyleex() { doColumn("StyleEx"); }\r
         protected void doSpecifyRequiredColumn() {\r
+            if (_myQyCall.qy().hasConditionQueryTObject()) {\r
+                columnObjectId();// FK\r
+            }\r
         }\r
         protected String getTableDbName() { return "t_operation"; }\r
+        public TObjectCB.Specification specifyTObject() {\r
+            assertForeign("tObject");\r
+            if (_tObject == null) {\r
+                _tObject = new TObjectCB.Specification(_baseCB, new SpQyCall<TObjectCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTObject(); }\r
+                    public TObjectCQ qy() { return _myQyCall.qy().queryTObject(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tObject;\r
+        }\r
     }\r
 \r
     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
index 4e32b24..99378b2 100644 (file)
@@ -9,6 +9,7 @@ import jp.sourceforge.ea2ddl.dao.allcommon.cbean.SubQuery;
 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.UnionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.*;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
+import jp.sourceforge.ea2ddl.dao.cbean.nss.*;\r
 \r
 /**\r
  * The base condition-bean of t_operationparams.\r
@@ -133,6 +134,17 @@ public class BsTOperationparamsCB extends AbstractConditionBean {
     //                                                                        Setup Select\r
     //                                                                        ============\r
 \r
+    protected TOperationNss _nssTOperation;\r
+    public TOperationNss getNssTOperation() {\r
+        if (_nssTOperation == null) { _nssTOperation = new TOperationNss(null); }\r
+        return _nssTOperation;\r
+    }\r
+    public TOperationNss setupSelect_TOperation() {\r
+        doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryTOperation(); } });\r
+        if (_nssTOperation == null || !_nssTOperation.hasConditionQuery()) { _nssTOperation = new TOperationNss(query().queryTOperation()); }\r
+        return _nssTOperation;\r
+    }\r
+\r
     // [DBFlute-0.7.4]\r
     // ===================================================================================\r
     //                                                                             Specify\r
@@ -144,6 +156,7 @@ public class BsTOperationparamsCB extends AbstractConditionBean {
     }\r
     public static class Specification extends AbstractSpecification<TOperationparamsCQ> {\r
         protected SpQyCall<TOperationparamsCQ> _myQyCall;\r
+        protected TOperationCB.Specification _tOperation;\r
         public Specification(ConditionBean baseCB, SpQyCall<TOperationparamsCQ> qyCall, boolean forDeriveReferrer) { super(baseCB, qyCall, forDeriveReferrer); _myQyCall = qyCall; }\r
         public void columnOperationid() { doColumn("OperationID"); }\r
         public void columnName() { doColumn("Name"); }\r
@@ -156,8 +169,20 @@ public class BsTOperationparamsCB extends AbstractConditionBean {
         public void columnEaGuid() { doColumn("ea_guid"); }\r
         public void columnStyleex() { doColumn("StyleEx"); }\r
         protected void doSpecifyRequiredColumn() {\r
+            if (_myQyCall.qy().hasConditionQueryTOperation()) {\r
+                columnOperationid();// FK\r
+            }\r
         }\r
         protected String getTableDbName() { return "t_operationparams"; }\r
+        public TOperationCB.Specification specifyTOperation() {\r
+            assertForeign("tOperation");\r
+            if (_tOperation == null) {\r
+                _tOperation = new TOperationCB.Specification(_baseCB, new SpQyCall<TOperationCQ>() {\r
+                    public boolean has() { return _myQyCall.has() && _myQyCall.qy().hasConditionQueryTOperation(); }\r
+                    public TOperationCQ qy() { return _myQyCall.qy().queryTOperation(); } }, _forDeriveReferrer);\r
+            }\r
+            return _tOperation;\r
+        }\r
     }\r
 \r
     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
index cdb1658..f54fb29 100644 (file)
@@ -39,7 +39,7 @@ public abstract class AbstractBsTAttributeCQ extends AbstractConditionQuery {
     //                                                                               =====\r
     \r
     /**\r
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER}\r
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : FK to t_object}\r
      * @param objectId The value of objectId as equal.\r
      */\r
     public void setObjectId_Equal(java.lang.Integer objectId) {\r
@@ -95,6 +95,22 @@ public abstract class AbstractBsTAttributeCQ extends AbstractConditionQuery {
     }\r
 \r
     /**\r
+        * @param tObjectCBquery Query.\r
+        * @deprecated Please use inScopeTObject(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TObject(TObjectCQ tObjectCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TObject(tObjectCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tObjectCBquery, "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTObject(SubQuery<TObjectCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectCB>", subQuery);\r
+        TObjectCB cb = new TObjectCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TObject(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TObject(TObjectCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setObjectId_IsNull() { regObjectId(CK_ISN, DUMMY_OBJECT); }\r
index f1bb010..69e7176 100644 (file)
@@ -1203,7 +1203,7 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     abstract protected ConditionValue getCValueDestelement();\r
 \r
     /**\r
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}\r
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : FK to t_operation}\r
      * @param sourcerole The value of sourcerole as equal.\r
      */\r
     public void setSourcerole_Equal(String sourcerole) {\r
@@ -1285,6 +1285,22 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     }\r
 \r
     /**\r
+        * @param tOperationCBquery Query.\r
+        * @deprecated Please use inScopeTOperationBySourcerole(subQuery) method.\r
+        */\r
+    public void setSourcerole_InScopeSubQuery_TOperationBySourcerole(TOperationCQ tOperationCBquery) {\r
+        String subQueryPropertyName = keepSourcerole_InScopeSubQuery_TOperationBySourcerole(tOperationCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tOperationCBquery, "SourceRole", "Name", subQueryPropertyName);\r
+    }\r
+    public void inScopeTOperationBySourcerole(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepSourcerole_InScopeSubQuery_TOperationBySourcerole(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "SourceRole", "Name", subQueryPropertyName);\r
+    }\r
+    abstract public String keepSourcerole_InScopeSubQuery_TOperationBySourcerole(jp.sourceforge.ea2ddl.dao.cbean.cq.TOperationCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setSourcerole_IsNull() { regSourcerole(CK_ISN, DUMMY_OBJECT); }\r
@@ -1851,7 +1867,7 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     abstract protected ConditionValue getCValueSourcequalifier();\r
 \r
     /**\r
-     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255)}\r
+     * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {VARCHAR(255) : FK to t_operation}\r
      * @param destrole The value of destrole as equal.\r
      */\r
     public void setDestrole_Equal(String destrole) {\r
@@ -1933,6 +1949,22 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     }\r
 \r
     /**\r
+        * @param tOperationCBquery Query.\r
+        * @deprecated Please use inScopeTOperationByDestrole(subQuery) method.\r
+        */\r
+    public void setDestrole_InScopeSubQuery_TOperationByDestrole(TOperationCQ tOperationCBquery) {\r
+        String subQueryPropertyName = keepDestrole_InScopeSubQuery_TOperationByDestrole(tOperationCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tOperationCBquery, "DestRole", "Name", subQueryPropertyName);\r
+    }\r
+    public void inScopeTOperationByDestrole(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepDestrole_InScopeSubQuery_TOperationByDestrole(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "DestRole", "Name", subQueryPropertyName);\r
+    }\r
+    abstract public String keepDestrole_InScopeSubQuery_TOperationByDestrole(jp.sourceforge.ea2ddl.dao.cbean.cq.TOperationCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setDestrole_IsNull() { regDestrole(CK_ISN, DUMMY_OBJECT); }\r
@@ -2499,7 +2531,7 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     abstract protected ConditionValue getCValueDestqualifier();\r
     \r
     /**\r
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER}\r
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : FK to t_object}\r
      * @param startObjectId The value of startObjectId as equal.\r
      */\r
     public void setStartObjectId_Equal(java.lang.Integer startObjectId) {\r
@@ -2555,6 +2587,22 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     }\r
 \r
     /**\r
+        * @param tObjectCBquery Query.\r
+        * @deprecated Please use inScopeTObjectByStartObjectId(subQuery) method.\r
+        */\r
+    public void setStartObjectId_InScopeSubQuery_TObjectByStartObjectId(TObjectCQ tObjectCBquery) {\r
+        String subQueryPropertyName = keepStartObjectId_InScopeSubQuery_TObjectByStartObjectId(tObjectCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tObjectCBquery, "Start_Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTObjectByStartObjectId(SubQuery<TObjectCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectCB>", subQuery);\r
+        TObjectCB cb = new TObjectCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepStartObjectId_InScopeSubQuery_TObjectByStartObjectId(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Start_Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepStartObjectId_InScopeSubQuery_TObjectByStartObjectId(TObjectCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setStartObjectId_IsNull() { regStartObjectId(CK_ISN, DUMMY_OBJECT); }\r
@@ -2573,7 +2621,7 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     abstract protected ConditionValue getCValueStartObjectId();\r
     \r
     /**\r
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER}\r
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : FK to t_object}\r
      * @param endObjectId The value of endObjectId as equal.\r
      */\r
     public void setEndObjectId_Equal(java.lang.Integer endObjectId) {\r
@@ -2629,6 +2677,22 @@ public abstract class AbstractBsTConnectorCQ extends AbstractConditionQuery {
     }\r
 \r
     /**\r
+        * @param tObjectCBquery Query.\r
+        * @deprecated Please use inScopeTObjectByEndObjectId(subQuery) method.\r
+        */\r
+    public void setEndObjectId_InScopeSubQuery_TObjectByEndObjectId(TObjectCQ tObjectCBquery) {\r
+        String subQueryPropertyName = keepEndObjectId_InScopeSubQuery_TObjectByEndObjectId(tObjectCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tObjectCBquery, "End_Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTObjectByEndObjectId(SubQuery<TObjectCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectCB>", subQuery);\r
+        TObjectCB cb = new TObjectCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepEndObjectId_InScopeSubQuery_TObjectByEndObjectId(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "End_Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepEndObjectId_InScopeSubQuery_TObjectByEndObjectId(TObjectCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setEndObjectId_IsNull() { regEndObjectId(CK_ISN, DUMMY_OBJECT); }\r
index 93a278c..ae6e72c 100644 (file)
@@ -94,6 +94,326 @@ public abstract class AbstractBsTObjectCQ extends AbstractConditionQuery {
         regObjectId(CK_INS, cTL(objectIdList));\r
     }\r
 \r
+    /**\r
+        * @param tObjectpropertiesCBquery Query.\r
+        * @deprecated Please use inScopeTObjectpropertiesList(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ tObjectpropertiesCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TObjectpropertiesList(tObjectpropertiesCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tObjectpropertiesCBquery, "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTObjectpropertiesList(SubQuery<TObjectpropertiesCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectpropertiesCB>", subQuery);\r
+        TObjectpropertiesCB cb = new TObjectpropertiesCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TObjectpropertiesList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery);\r
+\r
+    /**\r
+        * @param tAttributeCBquery Query.\r
+        * @deprecated Please use inScopeTAttributeList(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TAttributeList(TAttributeCQ tAttributeCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TAttributeList(tAttributeCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tAttributeCBquery, "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTAttributeList(SubQuery<TAttributeCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TAttributeCB>", subQuery);\r
+        TAttributeCB cb = new TAttributeCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TAttributeList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TAttributeList(TAttributeCQ subQuery);\r
+\r
+    /**\r
+        * @param tOperationCBquery Query.\r
+        * @deprecated Please use inScopeTOperationList(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TOperationList(TOperationCQ tOperationCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TOperationList(tOperationCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tOperationCBquery, "Object_ID", "ObjectID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTOperationList(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TOperationList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "ObjectID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TOperationList(TOperationCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use inScopeTConnectorByStartObjectIdList(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(tConnectorCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tConnectorCBquery, "Object_ID", "Start_Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTConnectorByStartObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "Start_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use inScopeTConnectorByEndObjectIdList(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(tConnectorCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tConnectorCBquery, "Object_ID", "End_Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTConnectorByEndObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "End_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery);\r
+\r
+    public void notInScopeTObjectpropertiesList(SubQuery<TObjectpropertiesCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectpropertiesCB>", subQuery);\r
+        TObjectpropertiesCB cb = new TObjectpropertiesCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotInScopeSubQuery_TObjectpropertiesList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotInScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery);\r
+\r
+    public void notInScopeTAttributeList(SubQuery<TAttributeCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TAttributeCB>", subQuery);\r
+        TAttributeCB cb = new TAttributeCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotInScopeSubQuery_TAttributeList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotInScopeSubQuery_TAttributeList(TAttributeCQ subQuery);\r
+\r
+    public void notInScopeTOperationList(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotInScopeSubQuery_TOperationList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Object_ID", "ObjectID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotInScopeSubQuery_TOperationList(TOperationCQ subQuery);\r
+\r
+    public void notInScopeTConnectorByStartObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotInScopeSubQuery_TConnectorByStartObjectIdList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Object_ID", "Start_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotInScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery);\r
+\r
+    public void notInScopeTConnectorByEndObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotInScopeSubQuery_TConnectorByEndObjectIdList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Object_ID", "End_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotInScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+        * @param tObjectpropertiesCBquery Query.\r
+        * @deprecated Please use existsTObjectpropertiesList(subQuery) method.\r
+        */\r
+    public void setObjectId_ExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ tObjectpropertiesCBquery) {\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TObjectpropertiesList(tObjectpropertiesCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tObjectpropertiesCBquery, "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select Object_ID from t_objectproperties where ...)}\r
+     * @param subQuery The sub-query of ObjectId_ExistsSubQuery_TObjectpropertiesList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTObjectpropertiesList(SubQuery<TObjectpropertiesCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectpropertiesCB>", subQuery);\r
+        TObjectpropertiesCB cb = new TObjectpropertiesCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TObjectpropertiesList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_ExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery);\r
+\r
+    /**\r
+        * @param tAttributeCBquery Query.\r
+        * @deprecated Please use existsTAttributeList(subQuery) method.\r
+        */\r
+    public void setObjectId_ExistsSubQuery_TAttributeList(TAttributeCQ tAttributeCBquery) {\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TAttributeList(tAttributeCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tAttributeCBquery, "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select Object_ID from t_attribute where ...)}\r
+     * @param subQuery The sub-query of ObjectId_ExistsSubQuery_TAttributeList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTAttributeList(SubQuery<TAttributeCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TAttributeCB>", subQuery);\r
+        TAttributeCB cb = new TAttributeCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TAttributeList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_ExistsSubQuery_TAttributeList(TAttributeCQ subQuery);\r
+\r
+    /**\r
+        * @param tOperationCBquery Query.\r
+        * @deprecated Please use existsTOperationList(subQuery) method.\r
+        */\r
+    public void setObjectId_ExistsSubQuery_TOperationList(TOperationCQ tOperationCBquery) {\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TOperationList(tOperationCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tOperationCBquery, "Object_ID", "ObjectID", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select ObjectID from t_operation where ...)}\r
+     * @param subQuery The sub-query of ObjectId_ExistsSubQuery_TOperationList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTOperationList(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TOperationList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Object_ID", "ObjectID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_ExistsSubQuery_TOperationList(TOperationCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use existsTConnectorByStartObjectIdList(subQuery) method.\r
+        */\r
+    public void setObjectId_ExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TConnectorByStartObjectIdList(tConnectorCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tConnectorCBquery, "Object_ID", "Start_Object_ID", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select Start_Object_ID from t_connector where ...)}\r
+     * @param subQuery The sub-query of ObjectId_ExistsSubQuery_TConnectorByStartObjectIdList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTConnectorByStartObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TConnectorByStartObjectIdList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Object_ID", "Start_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_ExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use existsTConnectorByEndObjectIdList(subQuery) method.\r
+        */\r
+    public void setObjectId_ExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TConnectorByEndObjectIdList(tConnectorCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tConnectorCBquery, "Object_ID", "End_Object_ID", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select End_Object_ID from t_connector where ...)}\r
+     * @param subQuery The sub-query of ObjectId_ExistsSubQuery_TConnectorByEndObjectIdList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTConnectorByEndObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_ExistsSubQuery_TConnectorByEndObjectIdList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Object_ID", "End_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_ExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select Object_ID from t_objectproperties where ...)}\r
+     * @param subQuery The sub-query of ObjectId_NotExistsSubQuery_TObjectpropertiesList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTObjectpropertiesList(SubQuery<TObjectpropertiesCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectpropertiesCB>", subQuery);\r
+        TObjectpropertiesCB cb = new TObjectpropertiesCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotExistsSubQuery_TObjectpropertiesList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select Object_ID from t_attribute where ...)}\r
+     * @param subQuery The sub-query of ObjectId_NotExistsSubQuery_TAttributeList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTAttributeList(SubQuery<TAttributeCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TAttributeCB>", subQuery);\r
+        TAttributeCB cb = new TAttributeCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotExistsSubQuery_TAttributeList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotExistsSubQuery_TAttributeList(TAttributeCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select ObjectID from t_operation where ...)}\r
+     * @param subQuery The sub-query of ObjectId_NotExistsSubQuery_TOperationList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTOperationList(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotExistsSubQuery_TOperationList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Object_ID", "ObjectID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotExistsSubQuery_TOperationList(TOperationCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select Start_Object_ID from t_connector where ...)}\r
+     * @param subQuery The sub-query of ObjectId_NotExistsSubQuery_TConnectorByStartObjectIdList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTConnectorByStartObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotExistsSubQuery_TConnectorByStartObjectIdList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Object_ID", "Start_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select End_Object_ID from t_connector where ...)}\r
+     * @param subQuery The sub-query of ObjectId_NotExistsSubQuery_TConnectorByEndObjectIdList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTConnectorByEndObjectIdList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_NotExistsSubQuery_TConnectorByEndObjectIdList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Object_ID", "End_Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_NotExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery);\r
+\r
+    public void xderiveTObjectpropertiesList(String function, SubQuery<TObjectpropertiesCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TObjectpropertiesCB>", subQuery);\r
+        TObjectpropertiesCB cb = new TObjectpropertiesCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_DeriveSubQuery_TObjectpropertiesList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Object_ID", "Object_ID", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepObjectId_DeriveSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery);\r
+\r
+    public void xderiveTAttributeList(String function, SubQuery<TAttributeCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TAttributeCB>", subQuery);\r
+        TAttributeCB cb = new TAttributeCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_DeriveSubQuery_TAttributeList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Object_ID", "Object_ID", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepObjectId_DeriveSubQuery_TAttributeList(TAttributeCQ subQuery);\r
+\r
+    public void xderiveTOperationList(String function, SubQuery<TOperationCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_DeriveSubQuery_TOperationList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Object_ID", "ObjectID", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepObjectId_DeriveSubQuery_TOperationList(TOperationCQ subQuery);\r
+\r
+    public void xderiveTConnectorByStartObjectIdList(String function, SubQuery<TConnectorCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_DeriveSubQuery_TConnectorByStartObjectIdList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Object_ID", "Start_Object_ID", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepObjectId_DeriveSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery);\r
+\r
+    public void xderiveTConnectorByEndObjectIdList(String function, SubQuery<TConnectorCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_DeriveSubQuery_TConnectorByEndObjectIdList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Object_ID", "End_Object_ID", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepObjectId_DeriveSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery);\r
+\r
     protected void regObjectId(ConditionKey key, Object value) {\r
         registerQuery(key, value, getCValueObjectId(), "Object_ID", "ObjectId", "objectId");\r
     }\r
index d80d1ab..7adf200 100644 (file)
@@ -103,7 +103,7 @@ public abstract class AbstractBsTObjectpropertiesCQ extends AbstractConditionQue
     abstract protected ConditionValue getCValuePropertyid();\r
     \r
     /**\r
-     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER}\r
+     * Equal(=). And NullIgnored, OnceRegistered. {INTEGER : FK to t_object}\r
      * @param objectId The value of objectId as equal.\r
      */\r
     public void setObjectId_Equal(java.lang.Integer objectId) {\r
@@ -159,6 +159,22 @@ public abstract class AbstractBsTObjectpropertiesCQ extends AbstractConditionQue
     }\r
 \r
     /**\r
+        * @param tObjectCBquery Query.\r
+        * @deprecated Please use inScopeTObject(subQuery) method.\r
+        */\r
+    public void setObjectId_InScopeSubQuery_TObject(TObjectCQ tObjectCBquery) {\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TObject(tObjectCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tObjectCBquery, "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTObject(SubQuery<TObjectCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TObjectCB>", subQuery);\r
+        TObjectCB cb = new TObjectCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepObjectId_InScopeSubQuery_TObject(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Object_ID", "Object_ID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepObjectId_InScopeSubQuery_TObject(TObjectCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setObjectId_IsNull() { regObjectId(CK_ISN, DUMMY_OBJECT); }\r
index 1a2f654..e9e9553 100644 (file)
@@ -94,6 +94,70 @@ public abstract class AbstractBsTOperationCQ extends AbstractConditionQuery {
         regOperationid(CK_INS, cTL(operationidList));\r
     }\r
 \r
+    /**\r
+        * @param tOperationparamsCBquery Query.\r
+        * @deprecated Please use inScopeTOperationparamsList(subQuery) method.\r
+        */\r
+    public void setOperationid_InScopeSubQuery_TOperationparamsList(TOperationparamsCQ tOperationparamsCBquery) {\r
+        String subQueryPropertyName = keepOperationid_InScopeSubQuery_TOperationparamsList(tOperationparamsCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tOperationparamsCBquery, "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTOperationparamsList(SubQuery<TOperationparamsCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationparamsCB>", subQuery);\r
+        TOperationparamsCB cb = new TOperationparamsCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepOperationid_InScopeSubQuery_TOperationparamsList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepOperationid_InScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery);\r
+\r
+    public void notInScopeTOperationparamsList(SubQuery<TOperationparamsCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationparamsCB>", subQuery);\r
+        TOperationparamsCB cb = new TOperationparamsCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepOperationid_NotInScopeSubQuery_TOperationparamsList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepOperationid_NotInScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery);\r
+\r
+    /**\r
+        * @param tOperationparamsCBquery Query.\r
+        * @deprecated Please use existsTOperationparamsList(subQuery) method.\r
+        */\r
+    public void setOperationid_ExistsSubQuery_TOperationparamsList(TOperationparamsCQ tOperationparamsCBquery) {\r
+        String subQueryPropertyName = keepOperationid_ExistsSubQuery_TOperationparamsList(tOperationparamsCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tOperationparamsCBquery, "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select OperationID from t_operationparams where ...)}\r
+     * @param subQuery The sub-query of Operationid_ExistsSubQuery_TOperationparamsList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTOperationparamsList(SubQuery<TOperationparamsCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationparamsCB>", subQuery);\r
+        TOperationparamsCB cb = new TOperationparamsCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepOperationid_ExistsSubQuery_TOperationparamsList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepOperationid_ExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select OperationID from t_operationparams where ...)}\r
+     * @param subQuery The sub-query of Operationid_NotExistsSubQuery_TOperationparamsList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTOperationparamsList(SubQuery<TOperationparamsCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationparamsCB>", subQuery);\r
+        TOperationparamsCB cb = new TOperationparamsCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepOperationid_NotExistsSubQuery_TOperationparamsList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepOperationid_NotExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery);\r
+\r
+    public void xderiveTOperationparamsList(String function, SubQuery<TOperationparamsCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TOperationparamsCB>", subQuery);\r
+        TOperationparamsCB cb = new TOperationparamsCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepOperationid_DeriveSubQuery_TOperationparamsList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "OperationID", "OperationID", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepOperationid_DeriveSubQuery_TOperationparamsList(TOperationparamsCQ subQuery);\r
+\r
     protected void regOperationid(ConditionKey key, Object value) {\r
         registerQuery(key, value, getCValueOperationid(), "OperationID", "Operationid", "operationid");\r
     }\r
@@ -259,6 +323,134 @@ public abstract class AbstractBsTOperationCQ extends AbstractConditionQuery {
     }\r
 \r
     /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use inScopeTConnectorBySourceroleList(subQuery) method.\r
+        */\r
+    public void setName_InScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepName_InScopeSubQuery_TConnectorBySourceroleList(tConnectorCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tConnectorCBquery, "Name", "SourceRole", subQueryPropertyName);\r
+    }\r
+    public void inScopeTConnectorBySourceroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_InScopeSubQuery_TConnectorBySourceroleList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Name", "SourceRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_InScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use inScopeTConnectorByDestroleList(subQuery) method.\r
+        */\r
+    public void setName_InScopeSubQuery_TConnectorByDestroleList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepName_InScopeSubQuery_TConnectorByDestroleList(tConnectorCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tConnectorCBquery, "Name", "DestRole", subQueryPropertyName);\r
+    }\r
+    public void inScopeTConnectorByDestroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_InScopeSubQuery_TConnectorByDestroleList(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "Name", "DestRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_InScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery);\r
+\r
+    public void notInScopeTConnectorBySourceroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_NotInScopeSubQuery_TConnectorBySourceroleList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Name", "SourceRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_NotInScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery);\r
+\r
+    public void notInScopeTConnectorByDestroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_NotInScopeSubQuery_TConnectorByDestroleList(cb.query());// for saving query-value.\r
+        registerNotInScopeSubQuery(cb.query(), "Name", "DestRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_NotInScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use existsTConnectorBySourceroleList(subQuery) method.\r
+        */\r
+    public void setName_ExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepName_ExistsSubQuery_TConnectorBySourceroleList(tConnectorCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tConnectorCBquery, "Name", "SourceRole", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select SourceRole from t_connector where ...)}\r
+     * @param subQuery The sub-query of Name_ExistsSubQuery_TConnectorBySourceroleList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTConnectorBySourceroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_ExistsSubQuery_TConnectorBySourceroleList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Name", "SourceRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_ExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+        * @param tConnectorCBquery Query.\r
+        * @deprecated Please use existsTConnectorByDestroleList(subQuery) method.\r
+        */\r
+    public void setName_ExistsSubQuery_TConnectorByDestroleList(TConnectorCQ tConnectorCBquery) {\r
+        String subQueryPropertyName = keepName_ExistsSubQuery_TConnectorByDestroleList(tConnectorCBquery);// for saving query-value.\r
+        registerExistsSubQuery(tConnectorCBquery, "Name", "DestRole", subQueryPropertyName);\r
+    }\r
+    /**\r
+     * Set up 'exists' sub-query. {exists (select DestRole from t_connector where ...)}\r
+     * @param subQuery The sub-query of Name_ExistsSubQuery_TConnectorByDestroleList for 'exists'. (NotNull)\r
+     */\r
+    public void existsTConnectorByDestroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_ExistsSubQuery_TConnectorByDestroleList(cb.query());// for saving query-value.\r
+        registerExistsSubQuery(cb.query(), "Name", "DestRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_ExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select SourceRole from t_connector where ...)}\r
+     * @param subQuery The sub-query of Name_NotExistsSubQuery_TConnectorBySourceroleList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTConnectorBySourceroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_NotExistsSubQuery_TConnectorBySourceroleList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Name", "SourceRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_NotExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery);\r
+\r
+    /**\r
+     * Set up 'not exists' sub-query. {not exists (select DestRole from t_connector where ...)}\r
+     * @param subQuery The sub-query of Name_NotExistsSubQuery_TConnectorByDestroleList for 'not exists'. (NotNull)\r
+     */\r
+    public void notExistsTConnectorByDestroleList(SubQuery<TConnectorCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForExistsSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_NotExistsSubQuery_TConnectorByDestroleList(cb.query());// for saving query-value.\r
+        registerNotExistsSubQuery(cb.query(), "Name", "DestRole", subQueryPropertyName);\r
+    }\r
+    abstract public String keepName_NotExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery);\r
+\r
+    public void xderiveTConnectorBySourceroleList(String function, SubQuery<TConnectorCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_DeriveSubQuery_TConnectorBySourceroleList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Name", "SourceRole", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepName_DeriveSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery);\r
+\r
+    public void xderiveTConnectorByDestroleList(String function, SubQuery<TConnectorCB> subQuery, String aliasName) {\r
+        assertObjectNotNull("subQuery<TConnectorCB>", subQuery);\r
+        TConnectorCB cb = new TConnectorCB(); cb.xsetupForDeriveReferrer(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepName_DeriveSubQuery_TConnectorByDestroleList(cb.query());// for saving query-value.\r
+        registerDeriveSubQuery(function, cb.query(), "Name", "DestRole", subQueryPropertyName, aliasName);\r
+    }\r
+    abstract public String keepName_DeriveSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setName_IsNull() { regName(CK_ISN, DUMMY_OBJECT); }\r
index 905f893..c7064f4 100644 (file)
@@ -39,7 +39,7 @@ public abstract class AbstractBsTOperationparamsCQ extends AbstractConditionQuer
     //                                                                               =====\r
     \r
     /**\r
-     * Equal(=). And NullIgnored, OnceRegistered. {UQ : INTEGER}\r
+     * Equal(=). And NullIgnored, OnceRegistered. {UQ : INTEGER : FK to T_OPERATION}\r
      * @param operationid The value of operationid as equal.\r
      */\r
     public void setOperationid_Equal(java.lang.Integer operationid) {\r
@@ -95,6 +95,22 @@ public abstract class AbstractBsTOperationparamsCQ extends AbstractConditionQuer
     }\r
 \r
     /**\r
+        * @param tOperationCBquery Query.\r
+        * @deprecated Please use inScopeTOperation(subQuery) method.\r
+        */\r
+    public void setOperationid_InScopeSubQuery_TOperation(TOperationCQ tOperationCBquery) {\r
+        String subQueryPropertyName = keepOperationid_InScopeSubQuery_TOperation(tOperationCBquery);// for saving query-value.\r
+        registerInScopeSubQuery(tOperationCBquery, "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    public void inScopeTOperation(SubQuery<TOperationCB> subQuery) {\r
+        assertObjectNotNull("subQuery<TOperationCB>", subQuery);\r
+        TOperationCB cb = new TOperationCB(); cb.xsetupForInScopeSubQuery(); subQuery.query(cb);\r
+        String subQueryPropertyName = keepOperationid_InScopeSubQuery_TOperation(cb.query());// for saving query-value.\r
+        registerInScopeSubQuery(cb.query(), "OperationID", "OperationID", subQueryPropertyName);\r
+    }\r
+    abstract public String keepOperationid_InScopeSubQuery_TOperation(TOperationCQ subQuery);\r
+\r
+    /**\r
      * IsNull(is null). And OnceRegistered.\r
      */\r
     public void setOperationid_IsNull() { regOperationid(CK_ISN, DUMMY_OBJECT); }\r
index 0faff40..895f943 100644 (file)
@@ -63,6 +63,14 @@ public class BsTAttributeCQ extends AbstractBsTAttributeCQ {
     }\r
     protected ConditionValue getCValueObjectId() { return getObjectId(); }\r
           \r
+    protected Map<String, TObjectCQ> _objectId_InScopeSubQuery_TObjectMap;\r
+    public Map<String, TObjectCQ> getObjectId_InScopeSubQuery_TObject() { return _objectId_InScopeSubQuery_TObjectMap; }\r
+    public String keepObjectId_InScopeSubQuery_TObject(TObjectCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TObjectMap == null) { _objectId_InScopeSubQuery_TObjectMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TObjectMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TObjectMap.put(key, subQuery); return "objectId_InScopeSubQuery_TObject." + key;\r
+    }\r
+      \r
     public BsTAttributeCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }\r
     public BsTAttributeCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }\r
 \r
@@ -316,11 +324,42 @@ public class BsTAttributeCQ extends AbstractBsTAttributeCQ {
     //                                                                         Union Query\r
     //                                                                         ===========\r
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
+        TAttributeCQ baseQuery = (TAttributeCQ)baseQueryAsSuper;\r
+        TAttributeCQ unionQuery = (TAttributeCQ)unionQueryAsSuper;\r
+        if (baseQuery.hasConditionQueryTObject()) {\r
+            unionQuery.queryTObject().reflectRelationOnUnionQuery(baseQuery.queryTObject(), unionQuery.queryTObject());\r
+        }\r
     }\r
 \r
     // ===================================================================================\r
     //                                                                       Foreign Query\r
     //                                                                       =============\r
+    \r
+    public TObjectCQ queryTObject() {\r
+        return getConditionQueryTObject();\r
+    }\r
+    protected TObjectCQ _conditionQueryTObject;\r
+    public TObjectCQ getConditionQueryTObject() {\r
+        if (_conditionQueryTObject == null) {\r
+            _conditionQueryTObject = createQueryTObject();\r
+            setupOuterJoin_TObject();\r
+        }\r
+        return _conditionQueryTObject;\r
+    }\r
+    protected void setupOuterJoin_TObject() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("Object_ID"), getConditionQueryTObject().getRealColumnName("Object_ID"));\r
+        registerOuterJoin(getConditionQueryTObject(), joinOnMap);\r
+    }\r
+    protected TObjectCQ createQueryTObject() {\r
+        String nrp = resolveNextRelationPath("t_attribute", "tObject");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TObjectCQ cq = new TObjectCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tObject"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTObject() {\r
+        return _conditionQueryTObject != null;\r
+    }\r
 \r
 \r
     protected String getConditionQueryClassNameInternally() { return TAttributeCQ.class.getName(); }\r
index d8c54db..4feccc8 100644 (file)
@@ -182,6 +182,14 @@ public class BsTConnectorCQ extends AbstractBsTConnectorCQ {
         return _sourcerole;\r
     }\r
     protected ConditionValue getCValueSourcerole() { return getSourcerole(); }\r
+\r
+    protected Map<String, TOperationCQ> _sourcerole_InScopeSubQuery_TOperationBySourceroleMap;\r
+    public Map<String, TOperationCQ> getSourcerole_InScopeSubQuery_TOperationBySourcerole() { return _sourcerole_InScopeSubQuery_TOperationBySourceroleMap; }\r
+    public String keepSourcerole_InScopeSubQuery_TOperationBySourcerole(TOperationCQ subQuery) {\r
+        if (_sourcerole_InScopeSubQuery_TOperationBySourceroleMap == null) { _sourcerole_InScopeSubQuery_TOperationBySourceroleMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_sourcerole_InScopeSubQuery_TOperationBySourceroleMap.size() + 1);\r
+        _sourcerole_InScopeSubQuery_TOperationBySourceroleMap.put(key, subQuery); return "sourcerole_InScopeSubQuery_TOperationBySourcerole." + key;\r
+    }\r
     \r
     public BsTConnectorCQ addOrderBy_Sourcerole_Asc() { regOBA("SourceRole"); return this; }\r
     public BsTConnectorCQ addOrderBy_Sourcerole_Desc() { regOBD("SourceRole"); return this; }\r
@@ -252,6 +260,14 @@ public class BsTConnectorCQ extends AbstractBsTConnectorCQ {
         return _destrole;\r
     }\r
     protected ConditionValue getCValueDestrole() { return getDestrole(); }\r
+\r
+    protected Map<String, TOperationCQ> _destrole_InScopeSubQuery_TOperationByDestroleMap;\r
+    public Map<String, TOperationCQ> getDestrole_InScopeSubQuery_TOperationByDestrole() { return _destrole_InScopeSubQuery_TOperationByDestroleMap; }\r
+    public String keepDestrole_InScopeSubQuery_TOperationByDestrole(TOperationCQ subQuery) {\r
+        if (_destrole_InScopeSubQuery_TOperationByDestroleMap == null) { _destrole_InScopeSubQuery_TOperationByDestroleMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_destrole_InScopeSubQuery_TOperationByDestroleMap.size() + 1);\r
+        _destrole_InScopeSubQuery_TOperationByDestroleMap.put(key, subQuery); return "destrole_InScopeSubQuery_TOperationByDestrole." + key;\r
+    }\r
     \r
     public BsTConnectorCQ addOrderBy_Destrole_Asc() { regOBA("DestRole"); return this; }\r
     public BsTConnectorCQ addOrderBy_Destrole_Desc() { regOBD("DestRole"); return this; }\r
@@ -323,6 +339,14 @@ public class BsTConnectorCQ extends AbstractBsTConnectorCQ {
     }\r
     protected ConditionValue getCValueStartObjectId() { return getStartObjectId(); }\r
           \r
+    protected Map<String, TObjectCQ> _startObjectId_InScopeSubQuery_TObjectByStartObjectIdMap;\r
+    public Map<String, TObjectCQ> getStartObjectId_InScopeSubQuery_TObjectByStartObjectId() { return _startObjectId_InScopeSubQuery_TObjectByStartObjectIdMap; }\r
+    public String keepStartObjectId_InScopeSubQuery_TObjectByStartObjectId(TObjectCQ subQuery) {\r
+        if (_startObjectId_InScopeSubQuery_TObjectByStartObjectIdMap == null) { _startObjectId_InScopeSubQuery_TObjectByStartObjectIdMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_startObjectId_InScopeSubQuery_TObjectByStartObjectIdMap.size() + 1);\r
+        _startObjectId_InScopeSubQuery_TObjectByStartObjectIdMap.put(key, subQuery); return "startObjectId_InScopeSubQuery_TObjectByStartObjectId." + key;\r
+    }\r
+      \r
     public BsTConnectorCQ addOrderBy_StartObjectId_Asc() { regOBA("Start_Object_ID"); return this; }\r
     public BsTConnectorCQ addOrderBy_StartObjectId_Desc() { regOBD("Start_Object_ID"); return this; }\r
 \r
@@ -333,6 +357,14 @@ public class BsTConnectorCQ extends AbstractBsTConnectorCQ {
     }\r
     protected ConditionValue getCValueEndObjectId() { return getEndObjectId(); }\r
           \r
+    protected Map<String, TObjectCQ> _endObjectId_InScopeSubQuery_TObjectByEndObjectIdMap;\r
+    public Map<String, TObjectCQ> getEndObjectId_InScopeSubQuery_TObjectByEndObjectId() { return _endObjectId_InScopeSubQuery_TObjectByEndObjectIdMap; }\r
+    public String keepEndObjectId_InScopeSubQuery_TObjectByEndObjectId(TObjectCQ subQuery) {\r
+        if (_endObjectId_InScopeSubQuery_TObjectByEndObjectIdMap == null) { _endObjectId_InScopeSubQuery_TObjectByEndObjectIdMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_endObjectId_InScopeSubQuery_TObjectByEndObjectIdMap.size() + 1);\r
+        _endObjectId_InScopeSubQuery_TObjectByEndObjectIdMap.put(key, subQuery); return "endObjectId_InScopeSubQuery_TObjectByEndObjectId." + key;\r
+    }\r
+      \r
     public BsTConnectorCQ addOrderBy_EndObjectId_Asc() { regOBA("End_Object_ID"); return this; }\r
     public BsTConnectorCQ addOrderBy_EndObjectId_Desc() { regOBD("End_Object_ID"); return this; }\r
 \r
@@ -856,11 +888,129 @@ public class BsTConnectorCQ extends AbstractBsTConnectorCQ {
     //                                                                         Union Query\r
     //                                                                         ===========\r
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
+        TConnectorCQ baseQuery = (TConnectorCQ)baseQueryAsSuper;\r
+        TConnectorCQ unionQuery = (TConnectorCQ)unionQueryAsSuper;\r
+        if (baseQuery.hasConditionQueryTOperationBySourcerole()) {\r
+            unionQuery.queryTOperationBySourcerole().reflectRelationOnUnionQuery(baseQuery.queryTOperationBySourcerole(), unionQuery.queryTOperationBySourcerole());\r
+        }\r
+        if (baseQuery.hasConditionQueryTOperationByDestrole()) {\r
+            unionQuery.queryTOperationByDestrole().reflectRelationOnUnionQuery(baseQuery.queryTOperationByDestrole(), unionQuery.queryTOperationByDestrole());\r
+        }\r
+        if (baseQuery.hasConditionQueryTObjectByStartObjectId()) {\r
+            unionQuery.queryTObjectByStartObjectId().reflectRelationOnUnionQuery(baseQuery.queryTObjectByStartObjectId(), unionQuery.queryTObjectByStartObjectId());\r
+        }\r
+        if (baseQuery.hasConditionQueryTObjectByEndObjectId()) {\r
+            unionQuery.queryTObjectByEndObjectId().reflectRelationOnUnionQuery(baseQuery.queryTObjectByEndObjectId(), unionQuery.queryTObjectByEndObjectId());\r
+        }\r
     }\r
 \r
     // ===================================================================================\r
     //                                                                       Foreign Query\r
     //                                                                       =============\r
+    \r
+    public TOperationCQ queryTOperationBySourcerole() {\r
+        return getConditionQueryTOperationBySourcerole();\r
+    }\r
+    protected TOperationCQ _conditionQueryTOperationBySourcerole;\r
+    public TOperationCQ getConditionQueryTOperationBySourcerole() {\r
+        if (_conditionQueryTOperationBySourcerole == null) {\r
+            _conditionQueryTOperationBySourcerole = createQueryTOperationBySourcerole();\r
+            setupOuterJoin_TOperationBySourcerole();\r
+        }\r
+        return _conditionQueryTOperationBySourcerole;\r
+    }\r
+    protected void setupOuterJoin_TOperationBySourcerole() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("SourceRole"), getConditionQueryTOperationBySourcerole().getRealColumnName("Name"));\r
+        registerOuterJoin(getConditionQueryTOperationBySourcerole(), joinOnMap);\r
+    }\r
+    protected TOperationCQ createQueryTOperationBySourcerole() {\r
+        String nrp = resolveNextRelationPath("t_connector", "tOperationBySourcerole");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TOperationCQ cq = new TOperationCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tOperationBySourcerole"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTOperationBySourcerole() {\r
+        return _conditionQueryTOperationBySourcerole != null;\r
+    }\r
+    \r
+    public TOperationCQ queryTOperationByDestrole() {\r
+        return getConditionQueryTOperationByDestrole();\r
+    }\r
+    protected TOperationCQ _conditionQueryTOperationByDestrole;\r
+    public TOperationCQ getConditionQueryTOperationByDestrole() {\r
+        if (_conditionQueryTOperationByDestrole == null) {\r
+            _conditionQueryTOperationByDestrole = createQueryTOperationByDestrole();\r
+            setupOuterJoin_TOperationByDestrole();\r
+        }\r
+        return _conditionQueryTOperationByDestrole;\r
+    }\r
+    protected void setupOuterJoin_TOperationByDestrole() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("DestRole"), getConditionQueryTOperationByDestrole().getRealColumnName("Name"));\r
+        registerOuterJoin(getConditionQueryTOperationByDestrole(), joinOnMap);\r
+    }\r
+    protected TOperationCQ createQueryTOperationByDestrole() {\r
+        String nrp = resolveNextRelationPath("t_connector", "tOperationByDestrole");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TOperationCQ cq = new TOperationCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tOperationByDestrole"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTOperationByDestrole() {\r
+        return _conditionQueryTOperationByDestrole != null;\r
+    }\r
+    \r
+    public TObjectCQ queryTObjectByStartObjectId() {\r
+        return getConditionQueryTObjectByStartObjectId();\r
+    }\r
+    protected TObjectCQ _conditionQueryTObjectByStartObjectId;\r
+    public TObjectCQ getConditionQueryTObjectByStartObjectId() {\r
+        if (_conditionQueryTObjectByStartObjectId == null) {\r
+            _conditionQueryTObjectByStartObjectId = createQueryTObjectByStartObjectId();\r
+            setupOuterJoin_TObjectByStartObjectId();\r
+        }\r
+        return _conditionQueryTObjectByStartObjectId;\r
+    }\r
+    protected void setupOuterJoin_TObjectByStartObjectId() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("Start_Object_ID"), getConditionQueryTObjectByStartObjectId().getRealColumnName("Object_ID"));\r
+        registerOuterJoin(getConditionQueryTObjectByStartObjectId(), joinOnMap);\r
+    }\r
+    protected TObjectCQ createQueryTObjectByStartObjectId() {\r
+        String nrp = resolveNextRelationPath("t_connector", "tObjectByStartObjectId");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TObjectCQ cq = new TObjectCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tObjectByStartObjectId"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTObjectByStartObjectId() {\r
+        return _conditionQueryTObjectByStartObjectId != null;\r
+    }\r
+    \r
+    public TObjectCQ queryTObjectByEndObjectId() {\r
+        return getConditionQueryTObjectByEndObjectId();\r
+    }\r
+    protected TObjectCQ _conditionQueryTObjectByEndObjectId;\r
+    public TObjectCQ getConditionQueryTObjectByEndObjectId() {\r
+        if (_conditionQueryTObjectByEndObjectId == null) {\r
+            _conditionQueryTObjectByEndObjectId = createQueryTObjectByEndObjectId();\r
+            setupOuterJoin_TObjectByEndObjectId();\r
+        }\r
+        return _conditionQueryTObjectByEndObjectId;\r
+    }\r
+    protected void setupOuterJoin_TObjectByEndObjectId() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("End_Object_ID"), getConditionQueryTObjectByEndObjectId().getRealColumnName("Object_ID"));\r
+        registerOuterJoin(getConditionQueryTObjectByEndObjectId(), joinOnMap);\r
+    }\r
+    protected TObjectCQ createQueryTObjectByEndObjectId() {\r
+        String nrp = resolveNextRelationPath("t_connector", "tObjectByEndObjectId");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TObjectCQ cq = new TObjectCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tObjectByEndObjectId"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTObjectByEndObjectId() {\r
+        return _conditionQueryTObjectByEndObjectId != null;\r
+    }\r
 \r
 \r
     protected String getConditionQueryClassNameInternally() { return TConnectorCQ.class.getName(); }\r
index 3b957d8..862547d 100644 (file)
@@ -63,6 +63,206 @@ public class BsTObjectCQ extends AbstractBsTObjectCQ {
     }\r
     protected ConditionValue getCValueObjectId() { return getObjectId(); }\r
           \r
+    protected Map<String, TObjectpropertiesCQ> _objectId_InScopeSubQuery_TObjectpropertiesListMap;\r
+    public Map<String, TObjectpropertiesCQ> getObjectId_InScopeSubQuery_TObjectpropertiesList() { return _objectId_InScopeSubQuery_TObjectpropertiesListMap; }\r
+    public String keepObjectId_InScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TObjectpropertiesListMap == null) { _objectId_InScopeSubQuery_TObjectpropertiesListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TObjectpropertiesListMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TObjectpropertiesListMap.put(key, subQuery); return "objectId_InScopeSubQuery_TObjectpropertiesList." + key;\r
+    }\r
+\r
+    protected Map<String, TAttributeCQ> _objectId_InScopeSubQuery_TAttributeListMap;\r
+    public Map<String, TAttributeCQ> getObjectId_InScopeSubQuery_TAttributeList() { return _objectId_InScopeSubQuery_TAttributeListMap; }\r
+    public String keepObjectId_InScopeSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TAttributeListMap == null) { _objectId_InScopeSubQuery_TAttributeListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TAttributeListMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TAttributeListMap.put(key, subQuery); return "objectId_InScopeSubQuery_TAttributeList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationCQ> _objectId_InScopeSubQuery_TOperationListMap;\r
+    public Map<String, TOperationCQ> getObjectId_InScopeSubQuery_TOperationList() { return _objectId_InScopeSubQuery_TOperationListMap; }\r
+    public String keepObjectId_InScopeSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TOperationListMap == null) { _objectId_InScopeSubQuery_TOperationListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TOperationListMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TOperationListMap.put(key, subQuery); return "objectId_InScopeSubQuery_TOperationList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_InScopeSubQuery_TConnectorByStartObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_InScopeSubQuery_TConnectorByStartObjectIdList() { return _objectId_InScopeSubQuery_TConnectorByStartObjectIdListMap; }\r
+    public String keepObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TConnectorByStartObjectIdListMap == null) { _objectId_InScopeSubQuery_TConnectorByStartObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TConnectorByStartObjectIdListMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TConnectorByStartObjectIdListMap.put(key, subQuery); return "objectId_InScopeSubQuery_TConnectorByStartObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_InScopeSubQuery_TConnectorByEndObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_InScopeSubQuery_TConnectorByEndObjectIdList() { return _objectId_InScopeSubQuery_TConnectorByEndObjectIdListMap; }\r
+    public String keepObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TConnectorByEndObjectIdListMap == null) { _objectId_InScopeSubQuery_TConnectorByEndObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TConnectorByEndObjectIdListMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TConnectorByEndObjectIdListMap.put(key, subQuery); return "objectId_InScopeSubQuery_TConnectorByEndObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TObjectpropertiesCQ> _objectId_NotInScopeSubQuery_TObjectpropertiesListMap;\r
+    public Map<String, TObjectpropertiesCQ> getObjectId_NotInScopeSubQuery_TObjectpropertiesList() { return _objectId_NotInScopeSubQuery_TObjectpropertiesListMap; }\r
+    public String keepObjectId_NotInScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        if (_objectId_NotInScopeSubQuery_TObjectpropertiesListMap == null) { _objectId_NotInScopeSubQuery_TObjectpropertiesListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotInScopeSubQuery_TObjectpropertiesListMap.size() + 1);\r
+        _objectId_NotInScopeSubQuery_TObjectpropertiesListMap.put(key, subQuery); return "objectId_NotInScopeSubQuery_TObjectpropertiesList." + key;\r
+    }\r
+\r
+    protected Map<String, TAttributeCQ> _objectId_NotInScopeSubQuery_TAttributeListMap;\r
+    public Map<String, TAttributeCQ> getObjectId_NotInScopeSubQuery_TAttributeList() { return _objectId_NotInScopeSubQuery_TAttributeListMap; }\r
+    public String keepObjectId_NotInScopeSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        if (_objectId_NotInScopeSubQuery_TAttributeListMap == null) { _objectId_NotInScopeSubQuery_TAttributeListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotInScopeSubQuery_TAttributeListMap.size() + 1);\r
+        _objectId_NotInScopeSubQuery_TAttributeListMap.put(key, subQuery); return "objectId_NotInScopeSubQuery_TAttributeList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationCQ> _objectId_NotInScopeSubQuery_TOperationListMap;\r
+    public Map<String, TOperationCQ> getObjectId_NotInScopeSubQuery_TOperationList() { return _objectId_NotInScopeSubQuery_TOperationListMap; }\r
+    public String keepObjectId_NotInScopeSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        if (_objectId_NotInScopeSubQuery_TOperationListMap == null) { _objectId_NotInScopeSubQuery_TOperationListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotInScopeSubQuery_TOperationListMap.size() + 1);\r
+        _objectId_NotInScopeSubQuery_TOperationListMap.put(key, subQuery); return "objectId_NotInScopeSubQuery_TOperationList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_NotInScopeSubQuery_TConnectorByStartObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_NotInScopeSubQuery_TConnectorByStartObjectIdList() { return _objectId_NotInScopeSubQuery_TConnectorByStartObjectIdListMap; }\r
+    public String keepObjectId_NotInScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_NotInScopeSubQuery_TConnectorByStartObjectIdListMap == null) { _objectId_NotInScopeSubQuery_TConnectorByStartObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotInScopeSubQuery_TConnectorByStartObjectIdListMap.size() + 1);\r
+        _objectId_NotInScopeSubQuery_TConnectorByStartObjectIdListMap.put(key, subQuery); return "objectId_NotInScopeSubQuery_TConnectorByStartObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_NotInScopeSubQuery_TConnectorByEndObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_NotInScopeSubQuery_TConnectorByEndObjectIdList() { return _objectId_NotInScopeSubQuery_TConnectorByEndObjectIdListMap; }\r
+    public String keepObjectId_NotInScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_NotInScopeSubQuery_TConnectorByEndObjectIdListMap == null) { _objectId_NotInScopeSubQuery_TConnectorByEndObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotInScopeSubQuery_TConnectorByEndObjectIdListMap.size() + 1);\r
+        _objectId_NotInScopeSubQuery_TConnectorByEndObjectIdListMap.put(key, subQuery); return "objectId_NotInScopeSubQuery_TConnectorByEndObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TObjectpropertiesCQ> _objectId_ExistsSubQuery_TObjectpropertiesListMap;\r
+    public Map<String, TObjectpropertiesCQ> getObjectId_ExistsSubQuery_TObjectpropertiesList() { return _objectId_ExistsSubQuery_TObjectpropertiesListMap; }\r
+    public String keepObjectId_ExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        if (_objectId_ExistsSubQuery_TObjectpropertiesListMap == null) { _objectId_ExistsSubQuery_TObjectpropertiesListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_ExistsSubQuery_TObjectpropertiesListMap.size() + 1);\r
+        _objectId_ExistsSubQuery_TObjectpropertiesListMap.put(key, subQuery); return "objectId_ExistsSubQuery_TObjectpropertiesList." + key;\r
+    }\r
+\r
+    protected Map<String, TAttributeCQ> _objectId_ExistsSubQuery_TAttributeListMap;\r
+    public Map<String, TAttributeCQ> getObjectId_ExistsSubQuery_TAttributeList() { return _objectId_ExistsSubQuery_TAttributeListMap; }\r
+    public String keepObjectId_ExistsSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        if (_objectId_ExistsSubQuery_TAttributeListMap == null) { _objectId_ExistsSubQuery_TAttributeListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_ExistsSubQuery_TAttributeListMap.size() + 1);\r
+        _objectId_ExistsSubQuery_TAttributeListMap.put(key, subQuery); return "objectId_ExistsSubQuery_TAttributeList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationCQ> _objectId_ExistsSubQuery_TOperationListMap;\r
+    public Map<String, TOperationCQ> getObjectId_ExistsSubQuery_TOperationList() { return _objectId_ExistsSubQuery_TOperationListMap; }\r
+    public String keepObjectId_ExistsSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        if (_objectId_ExistsSubQuery_TOperationListMap == null) { _objectId_ExistsSubQuery_TOperationListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_ExistsSubQuery_TOperationListMap.size() + 1);\r
+        _objectId_ExistsSubQuery_TOperationListMap.put(key, subQuery); return "objectId_ExistsSubQuery_TOperationList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_ExistsSubQuery_TConnectorByStartObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_ExistsSubQuery_TConnectorByStartObjectIdList() { return _objectId_ExistsSubQuery_TConnectorByStartObjectIdListMap; }\r
+    public String keepObjectId_ExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_ExistsSubQuery_TConnectorByStartObjectIdListMap == null) { _objectId_ExistsSubQuery_TConnectorByStartObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_ExistsSubQuery_TConnectorByStartObjectIdListMap.size() + 1);\r
+        _objectId_ExistsSubQuery_TConnectorByStartObjectIdListMap.put(key, subQuery); return "objectId_ExistsSubQuery_TConnectorByStartObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_ExistsSubQuery_TConnectorByEndObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_ExistsSubQuery_TConnectorByEndObjectIdList() { return _objectId_ExistsSubQuery_TConnectorByEndObjectIdListMap; }\r
+    public String keepObjectId_ExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_ExistsSubQuery_TConnectorByEndObjectIdListMap == null) { _objectId_ExistsSubQuery_TConnectorByEndObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_ExistsSubQuery_TConnectorByEndObjectIdListMap.size() + 1);\r
+        _objectId_ExistsSubQuery_TConnectorByEndObjectIdListMap.put(key, subQuery); return "objectId_ExistsSubQuery_TConnectorByEndObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TObjectpropertiesCQ> _objectId_NotExistsSubQuery_TObjectpropertiesListMap;\r
+    public Map<String, TObjectpropertiesCQ> getObjectId_NotExistsSubQuery_TObjectpropertiesList() { return _objectId_NotExistsSubQuery_TObjectpropertiesListMap; }\r
+    public String keepObjectId_NotExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        if (_objectId_NotExistsSubQuery_TObjectpropertiesListMap == null) { _objectId_NotExistsSubQuery_TObjectpropertiesListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotExistsSubQuery_TObjectpropertiesListMap.size() + 1);\r
+        _objectId_NotExistsSubQuery_TObjectpropertiesListMap.put(key, subQuery); return "objectId_NotExistsSubQuery_TObjectpropertiesList." + key;\r
+    }\r
+\r
+    protected Map<String, TAttributeCQ> _objectId_NotExistsSubQuery_TAttributeListMap;\r
+    public Map<String, TAttributeCQ> getObjectId_NotExistsSubQuery_TAttributeList() { return _objectId_NotExistsSubQuery_TAttributeListMap; }\r
+    public String keepObjectId_NotExistsSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        if (_objectId_NotExistsSubQuery_TAttributeListMap == null) { _objectId_NotExistsSubQuery_TAttributeListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotExistsSubQuery_TAttributeListMap.size() + 1);\r
+        _objectId_NotExistsSubQuery_TAttributeListMap.put(key, subQuery); return "objectId_NotExistsSubQuery_TAttributeList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationCQ> _objectId_NotExistsSubQuery_TOperationListMap;\r
+    public Map<String, TOperationCQ> getObjectId_NotExistsSubQuery_TOperationList() { return _objectId_NotExistsSubQuery_TOperationListMap; }\r
+    public String keepObjectId_NotExistsSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        if (_objectId_NotExistsSubQuery_TOperationListMap == null) { _objectId_NotExistsSubQuery_TOperationListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotExistsSubQuery_TOperationListMap.size() + 1);\r
+        _objectId_NotExistsSubQuery_TOperationListMap.put(key, subQuery); return "objectId_NotExistsSubQuery_TOperationList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_NotExistsSubQuery_TConnectorByStartObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_NotExistsSubQuery_TConnectorByStartObjectIdList() { return _objectId_NotExistsSubQuery_TConnectorByStartObjectIdListMap; }\r
+    public String keepObjectId_NotExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_NotExistsSubQuery_TConnectorByStartObjectIdListMap == null) { _objectId_NotExistsSubQuery_TConnectorByStartObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotExistsSubQuery_TConnectorByStartObjectIdListMap.size() + 1);\r
+        _objectId_NotExistsSubQuery_TConnectorByStartObjectIdListMap.put(key, subQuery); return "objectId_NotExistsSubQuery_TConnectorByStartObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_NotExistsSubQuery_TConnectorByEndObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_NotExistsSubQuery_TConnectorByEndObjectIdList() { return _objectId_NotExistsSubQuery_TConnectorByEndObjectIdListMap; }\r
+    public String keepObjectId_NotExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_NotExistsSubQuery_TConnectorByEndObjectIdListMap == null) { _objectId_NotExistsSubQuery_TConnectorByEndObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_NotExistsSubQuery_TConnectorByEndObjectIdListMap.size() + 1);\r
+        _objectId_NotExistsSubQuery_TConnectorByEndObjectIdListMap.put(key, subQuery); return "objectId_NotExistsSubQuery_TConnectorByEndObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TObjectpropertiesCQ> _objectId_DeriveSubQuery_TObjectpropertiesListMap;\r
+    public Map<String, TObjectpropertiesCQ> getObjectId_DeriveSubQuery_TObjectpropertiesList() { return _objectId_DeriveSubQuery_TObjectpropertiesListMap; }\r
+    public String keepObjectId_DeriveSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        if (_objectId_DeriveSubQuery_TObjectpropertiesListMap == null) { _objectId_DeriveSubQuery_TObjectpropertiesListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_DeriveSubQuery_TObjectpropertiesListMap.size() + 1);\r
+        _objectId_DeriveSubQuery_TObjectpropertiesListMap.put(key, subQuery); return "objectId_DeriveSubQuery_TObjectpropertiesList." + key;\r
+    }\r
+\r
+    protected Map<String, TAttributeCQ> _objectId_DeriveSubQuery_TAttributeListMap;\r
+    public Map<String, TAttributeCQ> getObjectId_DeriveSubQuery_TAttributeList() { return _objectId_DeriveSubQuery_TAttributeListMap; }\r
+    public String keepObjectId_DeriveSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        if (_objectId_DeriveSubQuery_TAttributeListMap == null) { _objectId_DeriveSubQuery_TAttributeListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_DeriveSubQuery_TAttributeListMap.size() + 1);\r
+        _objectId_DeriveSubQuery_TAttributeListMap.put(key, subQuery); return "objectId_DeriveSubQuery_TAttributeList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationCQ> _objectId_DeriveSubQuery_TOperationListMap;\r
+    public Map<String, TOperationCQ> getObjectId_DeriveSubQuery_TOperationList() { return _objectId_DeriveSubQuery_TOperationListMap; }\r
+    public String keepObjectId_DeriveSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        if (_objectId_DeriveSubQuery_TOperationListMap == null) { _objectId_DeriveSubQuery_TOperationListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_DeriveSubQuery_TOperationListMap.size() + 1);\r
+        _objectId_DeriveSubQuery_TOperationListMap.put(key, subQuery); return "objectId_DeriveSubQuery_TOperationList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_DeriveSubQuery_TConnectorByStartObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_DeriveSubQuery_TConnectorByStartObjectIdList() { return _objectId_DeriveSubQuery_TConnectorByStartObjectIdListMap; }\r
+    public String keepObjectId_DeriveSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_DeriveSubQuery_TConnectorByStartObjectIdListMap == null) { _objectId_DeriveSubQuery_TConnectorByStartObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_DeriveSubQuery_TConnectorByStartObjectIdListMap.size() + 1);\r
+        _objectId_DeriveSubQuery_TConnectorByStartObjectIdListMap.put(key, subQuery); return "objectId_DeriveSubQuery_TConnectorByStartObjectIdList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _objectId_DeriveSubQuery_TConnectorByEndObjectIdListMap;\r
+    public Map<String, TConnectorCQ> getObjectId_DeriveSubQuery_TConnectorByEndObjectIdList() { return _objectId_DeriveSubQuery_TConnectorByEndObjectIdListMap; }\r
+    public String keepObjectId_DeriveSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        if (_objectId_DeriveSubQuery_TConnectorByEndObjectIdListMap == null) { _objectId_DeriveSubQuery_TConnectorByEndObjectIdListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_DeriveSubQuery_TConnectorByEndObjectIdListMap.size() + 1);\r
+        _objectId_DeriveSubQuery_TConnectorByEndObjectIdListMap.put(key, subQuery); return "objectId_DeriveSubQuery_TConnectorByEndObjectIdList." + key;\r
+    }\r
+\r
     public BsTObjectCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }\r
     public BsTObjectCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }\r
 \r
index 24a70b1..3f7eb4e 100644 (file)
@@ -73,6 +73,14 @@ public class BsTObjectpropertiesCQ extends AbstractBsTObjectpropertiesCQ {
     }\r
     protected ConditionValue getCValueObjectId() { return getObjectId(); }\r
           \r
+    protected Map<String, TObjectCQ> _objectId_InScopeSubQuery_TObjectMap;\r
+    public Map<String, TObjectCQ> getObjectId_InScopeSubQuery_TObject() { return _objectId_InScopeSubQuery_TObjectMap; }\r
+    public String keepObjectId_InScopeSubQuery_TObject(TObjectCQ subQuery) {\r
+        if (_objectId_InScopeSubQuery_TObjectMap == null) { _objectId_InScopeSubQuery_TObjectMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_objectId_InScopeSubQuery_TObjectMap.size() + 1);\r
+        _objectId_InScopeSubQuery_TObjectMap.put(key, subQuery); return "objectId_InScopeSubQuery_TObject." + key;\r
+    }\r
+      \r
     public BsTObjectpropertiesCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }\r
     public BsTObjectpropertiesCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }\r
 \r
@@ -126,11 +134,42 @@ public class BsTObjectpropertiesCQ extends AbstractBsTObjectpropertiesCQ {
     //                                                                         Union Query\r
     //                                                                         ===========\r
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
+        TObjectpropertiesCQ baseQuery = (TObjectpropertiesCQ)baseQueryAsSuper;\r
+        TObjectpropertiesCQ unionQuery = (TObjectpropertiesCQ)unionQueryAsSuper;\r
+        if (baseQuery.hasConditionQueryTObject()) {\r
+            unionQuery.queryTObject().reflectRelationOnUnionQuery(baseQuery.queryTObject(), unionQuery.queryTObject());\r
+        }\r
     }\r
 \r
     // ===================================================================================\r
     //                                                                       Foreign Query\r
     //                                                                       =============\r
+    \r
+    public TObjectCQ queryTObject() {\r
+        return getConditionQueryTObject();\r
+    }\r
+    protected TObjectCQ _conditionQueryTObject;\r
+    public TObjectCQ getConditionQueryTObject() {\r
+        if (_conditionQueryTObject == null) {\r
+            _conditionQueryTObject = createQueryTObject();\r
+            setupOuterJoin_TObject();\r
+        }\r
+        return _conditionQueryTObject;\r
+    }\r
+    protected void setupOuterJoin_TObject() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("Object_ID"), getConditionQueryTObject().getRealColumnName("Object_ID"));\r
+        registerOuterJoin(getConditionQueryTObject(), joinOnMap);\r
+    }\r
+    protected TObjectCQ createQueryTObject() {\r
+        String nrp = resolveNextRelationPath("t_objectproperties", "tObject");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TObjectCQ cq = new TObjectCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tObject"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTObject() {\r
+        return _conditionQueryTObject != null;\r
+    }\r
 \r
 \r
     protected String getConditionQueryClassNameInternally() { return TObjectpropertiesCQ.class.getName(); }\r
index 43e051d..6bbea49 100644 (file)
@@ -63,6 +63,46 @@ public class BsTOperationCQ extends AbstractBsTOperationCQ {
     }\r
     protected ConditionValue getCValueOperationid() { return getOperationid(); }\r
           \r
+    protected Map<String, TOperationparamsCQ> _operationid_InScopeSubQuery_TOperationparamsListMap;\r
+    public Map<String, TOperationparamsCQ> getOperationid_InScopeSubQuery_TOperationparamsList() { return _operationid_InScopeSubQuery_TOperationparamsListMap; }\r
+    public String keepOperationid_InScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        if (_operationid_InScopeSubQuery_TOperationparamsListMap == null) { _operationid_InScopeSubQuery_TOperationparamsListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_operationid_InScopeSubQuery_TOperationparamsListMap.size() + 1);\r
+        _operationid_InScopeSubQuery_TOperationparamsListMap.put(key, subQuery); return "operationid_InScopeSubQuery_TOperationparamsList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationparamsCQ> _operationid_NotInScopeSubQuery_TOperationparamsListMap;\r
+    public Map<String, TOperationparamsCQ> getOperationid_NotInScopeSubQuery_TOperationparamsList() { return _operationid_NotInScopeSubQuery_TOperationparamsListMap; }\r
+    public String keepOperationid_NotInScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        if (_operationid_NotInScopeSubQuery_TOperationparamsListMap == null) { _operationid_NotInScopeSubQuery_TOperationparamsListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_operationid_NotInScopeSubQuery_TOperationparamsListMap.size() + 1);\r
+        _operationid_NotInScopeSubQuery_TOperationparamsListMap.put(key, subQuery); return "operationid_NotInScopeSubQuery_TOperationparamsList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationparamsCQ> _operationid_ExistsSubQuery_TOperationparamsListMap;\r
+    public Map<String, TOperationparamsCQ> getOperationid_ExistsSubQuery_TOperationparamsList() { return _operationid_ExistsSubQuery_TOperationparamsListMap; }\r
+    public String keepOperationid_ExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        if (_operationid_ExistsSubQuery_TOperationparamsListMap == null) { _operationid_ExistsSubQuery_TOperationparamsListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_operationid_ExistsSubQuery_TOperationparamsListMap.size() + 1);\r
+        _operationid_ExistsSubQuery_TOperationparamsListMap.put(key, subQuery); return "operationid_ExistsSubQuery_TOperationparamsList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationparamsCQ> _operationid_NotExistsSubQuery_TOperationparamsListMap;\r
+    public Map<String, TOperationparamsCQ> getOperationid_NotExistsSubQuery_TOperationparamsList() { return _operationid_NotExistsSubQuery_TOperationparamsListMap; }\r
+    public String keepOperationid_NotExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        if (_operationid_NotExistsSubQuery_TOperationparamsListMap == null) { _operationid_NotExistsSubQuery_TOperationparamsListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_operationid_NotExistsSubQuery_TOperationparamsListMap.size() + 1);\r
+        _operationid_NotExistsSubQuery_TOperationparamsListMap.put(key, subQuery); return "operationid_NotExistsSubQuery_TOperationparamsList." + key;\r
+    }\r
+\r
+    protected Map<String, TOperationparamsCQ> _operationid_DeriveSubQuery_TOperationparamsListMap;\r
+    public Map<String, TOperationparamsCQ> getOperationid_DeriveSubQuery_TOperationparamsList() { return _operationid_DeriveSubQuery_TOperationparamsListMap; }\r
+    public String keepOperationid_DeriveSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        if (_operationid_DeriveSubQuery_TOperationparamsListMap == null) { _operationid_DeriveSubQuery_TOperationparamsListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_operationid_DeriveSubQuery_TOperationparamsListMap.size() + 1);\r
+        _operationid_DeriveSubQuery_TOperationparamsListMap.put(key, subQuery); return "operationid_DeriveSubQuery_TOperationparamsList." + key;\r
+    }\r
+\r
     public BsTOperationCQ addOrderBy_Operationid_Asc() { regOBA("OperationID"); return this; }\r
     public BsTOperationCQ addOrderBy_Operationid_Desc() { regOBD("OperationID"); return this; }\r
 \r
@@ -82,6 +122,86 @@ public class BsTOperationCQ extends AbstractBsTOperationCQ {
         return _name;\r
     }\r
     protected ConditionValue getCValueName() { return getName(); }\r
+\r
+    protected Map<String, TConnectorCQ> _name_InScopeSubQuery_TConnectorBySourceroleListMap;\r
+    public Map<String, TConnectorCQ> getName_InScopeSubQuery_TConnectorBySourceroleList() { return _name_InScopeSubQuery_TConnectorBySourceroleListMap; }\r
+    public String keepName_InScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        if (_name_InScopeSubQuery_TConnectorBySourceroleListMap == null) { _name_InScopeSubQuery_TConnectorBySourceroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_InScopeSubQuery_TConnectorBySourceroleListMap.size() + 1);\r
+        _name_InScopeSubQuery_TConnectorBySourceroleListMap.put(key, subQuery); return "name_InScopeSubQuery_TConnectorBySourceroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_InScopeSubQuery_TConnectorByDestroleListMap;\r
+    public Map<String, TConnectorCQ> getName_InScopeSubQuery_TConnectorByDestroleList() { return _name_InScopeSubQuery_TConnectorByDestroleListMap; }\r
+    public String keepName_InScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        if (_name_InScopeSubQuery_TConnectorByDestroleListMap == null) { _name_InScopeSubQuery_TConnectorByDestroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_InScopeSubQuery_TConnectorByDestroleListMap.size() + 1);\r
+        _name_InScopeSubQuery_TConnectorByDestroleListMap.put(key, subQuery); return "name_InScopeSubQuery_TConnectorByDestroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_NotInScopeSubQuery_TConnectorBySourceroleListMap;\r
+    public Map<String, TConnectorCQ> getName_NotInScopeSubQuery_TConnectorBySourceroleList() { return _name_NotInScopeSubQuery_TConnectorBySourceroleListMap; }\r
+    public String keepName_NotInScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        if (_name_NotInScopeSubQuery_TConnectorBySourceroleListMap == null) { _name_NotInScopeSubQuery_TConnectorBySourceroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_NotInScopeSubQuery_TConnectorBySourceroleListMap.size() + 1);\r
+        _name_NotInScopeSubQuery_TConnectorBySourceroleListMap.put(key, subQuery); return "name_NotInScopeSubQuery_TConnectorBySourceroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_NotInScopeSubQuery_TConnectorByDestroleListMap;\r
+    public Map<String, TConnectorCQ> getName_NotInScopeSubQuery_TConnectorByDestroleList() { return _name_NotInScopeSubQuery_TConnectorByDestroleListMap; }\r
+    public String keepName_NotInScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        if (_name_NotInScopeSubQuery_TConnectorByDestroleListMap == null) { _name_NotInScopeSubQuery_TConnectorByDestroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_NotInScopeSubQuery_TConnectorByDestroleListMap.size() + 1);\r
+        _name_NotInScopeSubQuery_TConnectorByDestroleListMap.put(key, subQuery); return "name_NotInScopeSubQuery_TConnectorByDestroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_ExistsSubQuery_TConnectorBySourceroleListMap;\r
+    public Map<String, TConnectorCQ> getName_ExistsSubQuery_TConnectorBySourceroleList() { return _name_ExistsSubQuery_TConnectorBySourceroleListMap; }\r
+    public String keepName_ExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        if (_name_ExistsSubQuery_TConnectorBySourceroleListMap == null) { _name_ExistsSubQuery_TConnectorBySourceroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_ExistsSubQuery_TConnectorBySourceroleListMap.size() + 1);\r
+        _name_ExistsSubQuery_TConnectorBySourceroleListMap.put(key, subQuery); return "name_ExistsSubQuery_TConnectorBySourceroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_ExistsSubQuery_TConnectorByDestroleListMap;\r
+    public Map<String, TConnectorCQ> getName_ExistsSubQuery_TConnectorByDestroleList() { return _name_ExistsSubQuery_TConnectorByDestroleListMap; }\r
+    public String keepName_ExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        if (_name_ExistsSubQuery_TConnectorByDestroleListMap == null) { _name_ExistsSubQuery_TConnectorByDestroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_ExistsSubQuery_TConnectorByDestroleListMap.size() + 1);\r
+        _name_ExistsSubQuery_TConnectorByDestroleListMap.put(key, subQuery); return "name_ExistsSubQuery_TConnectorByDestroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_NotExistsSubQuery_TConnectorBySourceroleListMap;\r
+    public Map<String, TConnectorCQ> getName_NotExistsSubQuery_TConnectorBySourceroleList() { return _name_NotExistsSubQuery_TConnectorBySourceroleListMap; }\r
+    public String keepName_NotExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        if (_name_NotExistsSubQuery_TConnectorBySourceroleListMap == null) { _name_NotExistsSubQuery_TConnectorBySourceroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_NotExistsSubQuery_TConnectorBySourceroleListMap.size() + 1);\r
+        _name_NotExistsSubQuery_TConnectorBySourceroleListMap.put(key, subQuery); return "name_NotExistsSubQuery_TConnectorBySourceroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_NotExistsSubQuery_TConnectorByDestroleListMap;\r
+    public Map<String, TConnectorCQ> getName_NotExistsSubQuery_TConnectorByDestroleList() { return _name_NotExistsSubQuery_TConnectorByDestroleListMap; }\r
+    public String keepName_NotExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        if (_name_NotExistsSubQuery_TConnectorByDestroleListMap == null) { _name_NotExistsSubQuery_TConnectorByDestroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_NotExistsSubQuery_TConnectorByDestroleListMap.size() + 1);\r
+        _name_NotExistsSubQuery_TConnectorByDestroleListMap.put(key, subQuery); return "name_NotExistsSubQuery_TConnectorByDestroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_DeriveSubQuery_TConnectorBySourceroleListMap;\r
+    public Map<String, TConnectorCQ> getName_DeriveSubQuery_TConnectorBySourceroleList() { return _name_DeriveSubQuery_TConnectorBySourceroleListMap; }\r
+    public String keepName_DeriveSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        if (_name_DeriveSubQuery_TConnectorBySourceroleListMap == null) { _name_DeriveSubQuery_TConnectorBySourceroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_DeriveSubQuery_TConnectorBySourceroleListMap.size() + 1);\r
+        _name_DeriveSubQuery_TConnectorBySourceroleListMap.put(key, subQuery); return "name_DeriveSubQuery_TConnectorBySourceroleList." + key;\r
+    }\r
+\r
+    protected Map<String, TConnectorCQ> _name_DeriveSubQuery_TConnectorByDestroleListMap;\r
+    public Map<String, TConnectorCQ> getName_DeriveSubQuery_TConnectorByDestroleList() { return _name_DeriveSubQuery_TConnectorByDestroleListMap; }\r
+    public String keepName_DeriveSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        if (_name_DeriveSubQuery_TConnectorByDestroleListMap == null) { _name_DeriveSubQuery_TConnectorByDestroleListMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_name_DeriveSubQuery_TConnectorByDestroleListMap.size() + 1);\r
+        _name_DeriveSubQuery_TConnectorByDestroleListMap.put(key, subQuery); return "name_DeriveSubQuery_TConnectorByDestroleList." + key;\r
+    }\r
     \r
     public BsTOperationCQ addOrderBy_Name_Asc() { regOBA("Name"); return this; }\r
     public BsTOperationCQ addOrderBy_Name_Desc() { regOBD("Name"); return this; }\r
@@ -296,11 +416,42 @@ public class BsTOperationCQ extends AbstractBsTOperationCQ {
     //                                                                         Union Query\r
     //                                                                         ===========\r
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
+        TOperationCQ baseQuery = (TOperationCQ)baseQueryAsSuper;\r
+        TOperationCQ unionQuery = (TOperationCQ)unionQueryAsSuper;\r
+        if (baseQuery.hasConditionQueryTObject()) {\r
+            unionQuery.queryTObject().reflectRelationOnUnionQuery(baseQuery.queryTObject(), unionQuery.queryTObject());\r
+        }\r
     }\r
 \r
     // ===================================================================================\r
     //                                                                       Foreign Query\r
     //                                                                       =============\r
+    \r
+    public TObjectCQ queryTObject() {\r
+        return getConditionQueryTObject();\r
+    }\r
+    protected TObjectCQ _conditionQueryTObject;\r
+    public TObjectCQ getConditionQueryTObject() {\r
+        if (_conditionQueryTObject == null) {\r
+            _conditionQueryTObject = createQueryTObject();\r
+            setupOuterJoin_TObject();\r
+        }\r
+        return _conditionQueryTObject;\r
+    }\r
+    protected void setupOuterJoin_TObject() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("Object_ID"), getConditionQueryTObject().getRealColumnName("Object_ID"));\r
+        registerOuterJoin(getConditionQueryTObject(), joinOnMap);\r
+    }\r
+    protected TObjectCQ createQueryTObject() {\r
+        String nrp = resolveNextRelationPath("t_operation", "tObject");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TObjectCQ cq = new TObjectCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tObject"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTObject() {\r
+        return _conditionQueryTObject != null;\r
+    }\r
 \r
 \r
     protected String getConditionQueryClassNameInternally() { return TOperationCQ.class.getName(); }\r
index e55d684..06b1e3f 100644 (file)
@@ -63,6 +63,14 @@ public class BsTOperationparamsCQ extends AbstractBsTOperationparamsCQ {
     }\r
     protected ConditionValue getCValueOperationid() { return getOperationid(); }\r
           \r
+    protected Map<String, TOperationCQ> _operationid_InScopeSubQuery_TOperationMap;\r
+    public Map<String, TOperationCQ> getOperationid_InScopeSubQuery_TOperation() { return _operationid_InScopeSubQuery_TOperationMap; }\r
+    public String keepOperationid_InScopeSubQuery_TOperation(TOperationCQ subQuery) {\r
+        if (_operationid_InScopeSubQuery_TOperationMap == null) { _operationid_InScopeSubQuery_TOperationMap = newLinkedHashMap(); }\r
+        String key = "subQueryMapKey" + (_operationid_InScopeSubQuery_TOperationMap.size() + 1);\r
+        _operationid_InScopeSubQuery_TOperationMap.put(key, subQuery); return "operationid_InScopeSubQuery_TOperation." + key;\r
+    }\r
+      \r
     public BsTOperationparamsCQ addOrderBy_Operationid_Asc() { regOBA("OperationID"); return this; }\r
     public BsTOperationparamsCQ addOrderBy_Operationid_Desc() { regOBD("OperationID"); return this; }\r
 \r
@@ -166,11 +174,42 @@ public class BsTOperationparamsCQ extends AbstractBsTOperationparamsCQ {
     //                                                                         Union Query\r
     //                                                                         ===========\r
     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
+        TOperationparamsCQ baseQuery = (TOperationparamsCQ)baseQueryAsSuper;\r
+        TOperationparamsCQ unionQuery = (TOperationparamsCQ)unionQueryAsSuper;\r
+        if (baseQuery.hasConditionQueryTOperation()) {\r
+            unionQuery.queryTOperation().reflectRelationOnUnionQuery(baseQuery.queryTOperation(), unionQuery.queryTOperation());\r
+        }\r
     }\r
 \r
     // ===================================================================================\r
     //                                                                       Foreign Query\r
     //                                                                       =============\r
+    \r
+    public TOperationCQ queryTOperation() {\r
+        return getConditionQueryTOperation();\r
+    }\r
+    protected TOperationCQ _conditionQueryTOperation;\r
+    public TOperationCQ getConditionQueryTOperation() {\r
+        if (_conditionQueryTOperation == null) {\r
+            _conditionQueryTOperation = createQueryTOperation();\r
+            setupOuterJoin_TOperation();\r
+        }\r
+        return _conditionQueryTOperation;\r
+    }\r
+    protected void setupOuterJoin_TOperation() {\r
+        Map<String, String> joinOnMap = newLinkedHashMap();\r
+        joinOnMap.put(getRealColumnName("OperationID"), getConditionQueryTOperation().getRealColumnName("OperationID"));\r
+        registerOuterJoin(getConditionQueryTOperation(), joinOnMap);\r
+    }\r
+    protected TOperationCQ createQueryTOperation() {\r
+        String nrp = resolveNextRelationPath("t_operationparams", "tOperation");\r
+        String jan = resolveJoinAliasName(nrp, getNextNestLevel());\r
+        TOperationCQ cq = new TOperationCQ(this, getSqlClause(), jan, getNextNestLevel());\r
+        cq.xsetForeignPropertyName("tOperation"); cq.xsetRelationPath(nrp); return cq;\r
+    }\r
+    public boolean hasConditionQueryTOperation() {\r
+        return _conditionQueryTOperation != null;\r
+    }\r
 \r
 \r
     protected String getConditionQueryClassNameInternally() { return TOperationparamsCQ.class.getName(); }\r
index 5b80562..35445d4 100644 (file)
@@ -75,6 +75,9 @@ public class TAttributeCIQ extends AbstractBsTAttributeCQ {
     protected ConditionValue getCValueObjectId() {\r
         return _myCQ.getObjectId();\r
     }\r
+    public String keepObjectId_InScopeSubQuery_TObject(TObjectCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TObject(subQuery);\r
+    }\r
     protected ConditionValue getCValueName() {\r
         return _myCQ.getName();\r
     }\r
index 47c1565..ba327c4 100644 (file)
@@ -111,6 +111,9 @@ public class TConnectorCIQ extends AbstractBsTConnectorCQ {
     protected ConditionValue getCValueSourcerole() {\r
         return _myCQ.getSourcerole();\r
     }\r
+    public String keepSourcerole_InScopeSubQuery_TOperationBySourcerole(TOperationCQ subQuery) {\r
+        return _myCQ.keepSourcerole_InScopeSubQuery_TOperationBySourcerole(subQuery);\r
+    }\r
     protected ConditionValue getCValueSourceroletype() {\r
         return _myCQ.getSourceroletype();\r
     }\r
@@ -132,6 +135,9 @@ public class TConnectorCIQ extends AbstractBsTConnectorCQ {
     protected ConditionValue getCValueDestrole() {\r
         return _myCQ.getDestrole();\r
     }\r
+    public String keepDestrole_InScopeSubQuery_TOperationByDestrole(TOperationCQ subQuery) {\r
+        return _myCQ.keepDestrole_InScopeSubQuery_TOperationByDestrole(subQuery);\r
+    }\r
     protected ConditionValue getCValueDestroletype() {\r
         return _myCQ.getDestroletype();\r
     }\r
@@ -153,9 +159,15 @@ public class TConnectorCIQ extends AbstractBsTConnectorCQ {
     protected ConditionValue getCValueStartObjectId() {\r
         return _myCQ.getStartObjectId();\r
     }\r
+    public String keepStartObjectId_InScopeSubQuery_TObjectByStartObjectId(TObjectCQ subQuery) {\r
+        return _myCQ.keepStartObjectId_InScopeSubQuery_TObjectByStartObjectId(subQuery);\r
+    }\r
     protected ConditionValue getCValueEndObjectId() {\r
         return _myCQ.getEndObjectId();\r
     }\r
+    public String keepEndObjectId_InScopeSubQuery_TObjectByEndObjectId(TObjectCQ subQuery) {\r
+        return _myCQ.keepEndObjectId_InScopeSubQuery_TObjectByEndObjectId(subQuery);\r
+    }\r
     protected ConditionValue getCValueTopStartLabel() {\r
         return _myCQ.getTopStartLabel();\r
     }\r
index 8857237..ce4a1b9 100644 (file)
@@ -75,6 +75,81 @@ public class TObjectCIQ extends AbstractBsTObjectCQ {
     protected ConditionValue getCValueObjectId() {\r
         return _myCQ.getObjectId();\r
     }\r
+    public String keepObjectId_InScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TObjectpropertiesList(subQuery);\r
+    }\r
+    public String keepObjectId_InScopeSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TAttributeList(subQuery);\r
+    }\r
+    public String keepObjectId_InScopeSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TOperationList(subQuery);\r
+    }\r
+    public String keepObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TConnectorByStartObjectIdList(subQuery);\r
+    }\r
+    public String keepObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TConnectorByEndObjectIdList(subQuery);\r
+    }\r
+    public String keepObjectId_NotInScopeSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        return _myCQ.keepObjectId_NotInScopeSubQuery_TObjectpropertiesList(subQuery);\r
+    }\r
+    public String keepObjectId_NotInScopeSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        return _myCQ.keepObjectId_NotInScopeSubQuery_TAttributeList(subQuery);\r
+    }\r
+    public String keepObjectId_NotInScopeSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        return _myCQ.keepObjectId_NotInScopeSubQuery_TOperationList(subQuery);\r
+    }\r
+    public String keepObjectId_NotInScopeSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepObjectId_NotInScopeSubQuery_TConnectorByStartObjectIdList(subQuery);\r
+    }\r
+    public String keepObjectId_NotInScopeSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepObjectId_NotInScopeSubQuery_TConnectorByEndObjectIdList(subQuery);\r
+    }\r
+    public String keepObjectId_ExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_ExistsSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_ExistsSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_ExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_ExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_NotExistsSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_NotExistsSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_NotExistsSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_NotExistsSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_NotExistsSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_DeriveSubQuery_TObjectpropertiesList(TObjectpropertiesCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_DeriveSubQuery_TAttributeList(TAttributeCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_DeriveSubQuery_TOperationList(TOperationCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_DeriveSubQuery_TConnectorByStartObjectIdList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepObjectId_DeriveSubQuery_TConnectorByEndObjectIdList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
     protected ConditionValue getCValueObjectType() {\r
         return _myCQ.getObjectType();\r
     }\r
index 4f48b5b..1af4c19 100644 (file)
@@ -78,6 +78,9 @@ public class TObjectpropertiesCIQ extends AbstractBsTObjectpropertiesCQ {
     protected ConditionValue getCValueObjectId() {\r
         return _myCQ.getObjectId();\r
     }\r
+    public String keepObjectId_InScopeSubQuery_TObject(TObjectCQ subQuery) {\r
+        return _myCQ.keepObjectId_InScopeSubQuery_TObject(subQuery);\r
+    }\r
     protected ConditionValue getCValueProperty() {\r
         return _myCQ.getProperty();\r
     }\r
index cc38b3f..5f05257 100644 (file)
@@ -75,12 +75,57 @@ public class TOperationCIQ extends AbstractBsTOperationCQ {
     protected ConditionValue getCValueOperationid() {\r
         return _myCQ.getOperationid();\r
     }\r
+    public String keepOperationid_InScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        return _myCQ.keepOperationid_InScopeSubQuery_TOperationparamsList(subQuery);\r
+    }\r
+    public String keepOperationid_NotInScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        return _myCQ.keepOperationid_NotInScopeSubQuery_TOperationparamsList(subQuery);\r
+    }\r
+    public String keepOperationid_ExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepOperationid_NotExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepOperationid_DeriveSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
     protected ConditionValue getCValueObjectId() {\r
         return _myCQ.getObjectId();\r
     }\r
     protected ConditionValue getCValueName() {\r
         return _myCQ.getName();\r
     }\r
+    public String keepName_InScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepName_InScopeSubQuery_TConnectorBySourceroleList(subQuery);\r
+    }\r
+    public String keepName_InScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepName_InScopeSubQuery_TConnectorByDestroleList(subQuery);\r
+    }\r
+    public String keepName_NotInScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepName_NotInScopeSubQuery_TConnectorBySourceroleList(subQuery);\r
+    }\r
+    public String keepName_NotInScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        return _myCQ.keepName_NotInScopeSubQuery_TConnectorByDestroleList(subQuery);\r
+    }\r
+    public String keepName_ExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepName_ExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepName_NotExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepName_NotExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepName_DeriveSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
+    public String keepName_DeriveSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {\r
+        throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");\r
+    }\r
     protected ConditionValue getCValueScope() {\r
         return _myCQ.getScope();\r
     }\r
index 91bba91..e8ca2e7 100644 (file)
@@ -75,6 +75,9 @@ public class TOperationparamsCIQ extends AbstractBsTOperationparamsCQ {
     protected ConditionValue getCValueOperationid() {\r
         return _myCQ.getOperationid();\r
     }\r
+    public String keepOperationid_InScopeSubQuery_TOperation(TOperationCQ subQuery) {\r
+        return _myCQ.keepOperationid_InScopeSubQuery_TOperation(subQuery);\r
+    }\r
     protected ConditionValue getCValueName() {\r
         return _myCQ.getName();\r
     }\r
index 6407d7f..166ecc8 100644 (file)
@@ -1,5 +1,6 @@
 package jp.sourceforge.ea2ddl.dao.cbean.nss;\r
 \r
+import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ConditionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.TAttributeCQ;\r
 \r
 /**\r
@@ -16,6 +17,10 @@ public class TAttributeNss {
     // ===================================================================================\r
     //                                                           With Nested Foreign Table\r
     //                                                           =========================\r
+    public TObjectNss withTObject() {\r
+        _query.doNss(new TAttributeCQ.NssCall() { public ConditionQuery qf() { return _query.queryTObject(); }});\r
+               return new TObjectNss(_query.queryTObject());\r
+    }\r
 \r
     // ===================================================================================\r
     //                                                          With Nested Referrer Table\r
index ad10022..ae576c7 100644 (file)
@@ -1,5 +1,6 @@
 package jp.sourceforge.ea2ddl.dao.cbean.nss;\r
 \r
+import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ConditionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.TConnectorCQ;\r
 \r
 /**\r
@@ -16,6 +17,22 @@ public class TConnectorNss {
     // ===================================================================================\r
     //                                                           With Nested Foreign Table\r
     //                                                           =========================\r
+    public TOperationNss withTOperationBySourcerole() {\r
+        _query.doNss(new TConnectorCQ.NssCall() { public ConditionQuery qf() { return _query.queryTOperationBySourcerole(); }});\r
+               return new TOperationNss(_query.queryTOperationBySourcerole());\r
+    }\r
+    public TOperationNss withTOperationByDestrole() {\r
+        _query.doNss(new TConnectorCQ.NssCall() { public ConditionQuery qf() { return _query.queryTOperationByDestrole(); }});\r
+               return new TOperationNss(_query.queryTOperationByDestrole());\r
+    }\r
+    public TObjectNss withTObjectByStartObjectId() {\r
+        _query.doNss(new TConnectorCQ.NssCall() { public ConditionQuery qf() { return _query.queryTObjectByStartObjectId(); }});\r
+               return new TObjectNss(_query.queryTObjectByStartObjectId());\r
+    }\r
+    public TObjectNss withTObjectByEndObjectId() {\r
+        _query.doNss(new TConnectorCQ.NssCall() { public ConditionQuery qf() { return _query.queryTObjectByEndObjectId(); }});\r
+               return new TObjectNss(_query.queryTObjectByEndObjectId());\r
+    }\r
 \r
     // ===================================================================================\r
     //                                                          With Nested Referrer Table\r
index 7cad585..eb58280 100644 (file)
@@ -1,5 +1,6 @@
 package jp.sourceforge.ea2ddl.dao.cbean.nss;\r
 \r
+import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ConditionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.TObjectpropertiesCQ;\r
 \r
 /**\r
@@ -16,6 +17,10 @@ public class TObjectpropertiesNss {
     // ===================================================================================\r
     //                                                           With Nested Foreign Table\r
     //                                                           =========================\r
+    public TObjectNss withTObject() {\r
+        _query.doNss(new TObjectpropertiesCQ.NssCall() { public ConditionQuery qf() { return _query.queryTObject(); }});\r
+               return new TObjectNss(_query.queryTObject());\r
+    }\r
 \r
     // ===================================================================================\r
     //                                                          With Nested Referrer Table\r
index 08a4cda..a71c2ab 100644 (file)
@@ -1,5 +1,6 @@
 package jp.sourceforge.ea2ddl.dao.cbean.nss;\r
 \r
+import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ConditionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.TOperationCQ;\r
 \r
 /**\r
@@ -16,6 +17,10 @@ public class TOperationNss {
     // ===================================================================================\r
     //                                                           With Nested Foreign Table\r
     //                                                           =========================\r
+    public TObjectNss withTObject() {\r
+        _query.doNss(new TOperationCQ.NssCall() { public ConditionQuery qf() { return _query.queryTObject(); }});\r
+               return new TObjectNss(_query.queryTObject());\r
+    }\r
 \r
     // ===================================================================================\r
     //                                                          With Nested Referrer Table\r
index a824163..7cdfc57 100644 (file)
@@ -1,5 +1,6 @@
 package jp.sourceforge.ea2ddl.dao.cbean.nss;\r
 \r
+import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ConditionQuery;\r
 import jp.sourceforge.ea2ddl.dao.cbean.cq.TOperationparamsCQ;\r
 \r
 /**\r
@@ -16,6 +17,10 @@ public class TOperationparamsNss {
     // ===================================================================================\r
     //                                                           With Nested Foreign Table\r
     //                                                           =========================\r
+    public TOperationNss withTOperation() {\r
+        _query.doNss(new TOperationparamsCQ.NssCall() { public ConditionQuery qf() { return _query.queryTOperation(); }});\r
+               return new TOperationNss(_query.queryTOperation());\r
+    }\r
 \r
     // ===================================================================================\r
     //                                                          With Nested Referrer Table\r
index 672c1dc..1a9cfe8 100644 (file)
@@ -4,8 +4,10 @@ import java.util.List;
 \r
 import javax.persistence.EntityNotFoundException;\r
 \r
+import jp.sourceforge.ea2ddl.dao.cbean.TObjectpropertiesCB;\r
 import jp.sourceforge.ea2ddl.dao.exdao.pmbean.SelectTablesInPackagePmb;\r
 import jp.sourceforge.ea2ddl.dao.exentity.TObject;\r
+import jp.sourceforge.ea2ddl.dao.exentity.TObjectproperties;\r
 import jp.sourceforge.ea2ddl.dao.exentity.TPackage;\r
 \r
 /**\r
@@ -31,4 +33,5 @@ public class TObjectBhv extends jp.sourceforge.ea2ddl.dao.bsbhv.BsTObjectBhv {
                pmb.setStereotype(stereotype);\r
                return outsideSql().selectList(PATH_selectListByStereotype, pmb, TObject.class);\r
        }\r
+\r
 }\r
index cd3ed1a..0d07484 100644 (file)
@@ -11,7 +11,7 @@
                        "sun.jdbc.odbc.JdbcOdbcDriver"\r
                </property>\r
                <property name="URL">\r
-                       "jdbc:odbc:simpledb"\r
+                       "jdbc:odbc:exampledb"\r
                </property>\r
                <property name="user">"sa"</property>\r
                <property name="password">""</property>\r