OSDN Git Service

作業中
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / bsentity / BsTOperation.java
index d2781aa..e3c5698 100644 (file)
@@ -11,7 +11,7 @@ import jp.sourceforge.ea2ddl.dao.exentity.*;
  * The entity of t_operation(TABLE).\r
  * <pre>\r
  * [primary-key]\r
- *     \r
+ *     OperationID\r
  * \r
  * [column]\r
  *     OperationID, Object_ID, Name, Scope, Type, ReturnArray, Stereotype, IsStatic, Concurrency, Notes, Behaviour, GenOption, Pos, Style, Pure, Classifier, Code, IsRoot, IsLeaf, IsQuery, StateFlags, ea_guid, StyleEx\r
@@ -29,13 +29,13 @@ import jp.sourceforge.ea2ddl.dao.exentity.*;
  *     t_object\r
  * \r
  * [referrer-table]\r
- *     \r
+ *     t_operationparams\r
  * \r
  * [foreign-property]\r
  *     tObject\r
  * \r
  * [referrer-property]\r
- *     \r
+ *     tOperationparamsList\r
  * </pre>\r
  * @author DBFlute(AutoGenerator)\r
  */
@@ -58,7 +58,7 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
     // -----------------------------------------------------\r
     //                                                Column\r
     //                                                ------\r
-    /** The attribute of the column 'OperationID'. {UQ : COUNTER : NotNull} */\r
+    /** The attribute of the column 'OperationID'. {PK : UQ : COUNTER : NotNull} */\r
     protected java.lang.Integer _operationid;\r
 \r
     /** The attribute of the column 'Object_ID'. {INTEGER} */\r
@@ -197,12 +197,37 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
     // ===================================================================================\r
     //                                                                   Referrer Property\r
     //                                                                   =================\r
+    // /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r
+    //   Referrer Property = [TOperationparamsList]\r
+    // * * * * * * * * */\r
+\r
+    /** The entity list of referrer property 'TOperationparamsList'. */\r
+    protected List<TOperationparams> _childrenTOperationparamsList;\r
+\r
+    /**\r
+     * Get the entity list of referrer property 'TOperationparamsList'. {without lazy-load} <br />\r
+     * @return The entity list of referrer property 'TOperationparamsList'. (NotNull: If it's not loaded yet, initializes the list instance of referrer as empty and returns it.)\r
+     */\r
+    public List<TOperationparams> getTOperationparamsList() {\r
+        if (_childrenTOperationparamsList == null) { _childrenTOperationparamsList = new ArrayList<TOperationparams>(); }\r
+        return _childrenTOperationparamsList;\r
+    }\r
+\r
+    /**\r
+     * Set the entity list of referrer property 'TOperationparamsList'.\r
+     * @param tOperationparamsList The entity list of referrer property 'TOperationparamsList'. (Nullable)\r
+     */\r
+    public void setTOperationparamsList(List<TOperationparams> tOperationparamsList) {\r
+        _childrenTOperationparamsList = tOperationparamsList;\r
+    }\r
+\r
 \r
     // ===================================================================================\r
     //                                                                       Determination\r
     //                                                                       =============\r
     public boolean hasPrimaryKeyValue() {\r
-        return false;\r
+        if (_operationid == null) { return false; }\r
+        return true;\r
     }\r
 \r
     // ===================================================================================\r
@@ -228,36 +253,14 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
     //                                                                      Basic Override\r
     //                                                                      ==============\r
     /**\r
-     * If the all-column value of the other is same as this one, returns true.\r
-     * @param other Other entity. (Nullable)\r
-     * @return Comparing result. If other is null, returns false.\r
+     * If the primary-key of the other is same as this one, returns true.\r
+     * @param other Other entity.\r
+     * @return Comparing result.\r
      */\r
     public boolean equals(Object other) {\r
         if (other == null || !(other instanceof BsTOperation)) { return false; }\r
-        final BsTOperation otherEntity = (BsTOperation)other;\r
+        BsTOperation otherEntity = (BsTOperation)other;\r
         if (!helpComparingValue(getOperationid(), otherEntity.getOperationid())) { return false; }\r
-        if (!helpComparingValue(getObjectId(), otherEntity.getObjectId())) { return false; }\r
-        if (!helpComparingValue(getName(), otherEntity.getName())) { return false; }\r
-        if (!helpComparingValue(getScope(), otherEntity.getScope())) { return false; }\r
-        if (!helpComparingValue(getType(), otherEntity.getType())) { return false; }\r
-        if (!helpComparingValue(getReturnarray(), otherEntity.getReturnarray())) { return false; }\r
-        if (!helpComparingValue(getStereotype(), otherEntity.getStereotype())) { return false; }\r
-        if (!helpComparingValue(getIsstatic(), otherEntity.getIsstatic())) { return false; }\r
-        if (!helpComparingValue(getConcurrency(), otherEntity.getConcurrency())) { return false; }\r
-        if (!helpComparingValue(getNotes(), otherEntity.getNotes())) { return false; }\r
-        if (!helpComparingValue(getBehaviour(), otherEntity.getBehaviour())) { return false; }\r
-        if (!helpComparingValue(getGenoption(), otherEntity.getGenoption())) { return false; }\r
-        if (!helpComparingValue(getPos(), otherEntity.getPos())) { return false; }\r
-        if (!helpComparingValue(getStyle(), otherEntity.getStyle())) { return false; }\r
-        if (!helpComparingValue(getPure(), otherEntity.getPure())) { return false; }\r
-        if (!helpComparingValue(getClassifier(), otherEntity.getClassifier())) { return false; }\r
-        if (!helpComparingValue(getCode(), otherEntity.getCode())) { return false; }\r
-        if (!helpComparingValue(getIsroot(), otherEntity.getIsroot())) { return false; }\r
-        if (!helpComparingValue(getIsleaf(), otherEntity.getIsleaf())) { return false; }\r
-        if (!helpComparingValue(getIsquery(), otherEntity.getIsquery())) { return false; }\r
-        if (!helpComparingValue(getStateflags(), otherEntity.getStateflags())) { return false; }\r
-        if (!helpComparingValue(getEaGuid(), otherEntity.getEaGuid())) { return false; }\r
-        if (!helpComparingValue(getStyleex(), otherEntity.getStyleex())) { return false; }\r
         return true;\r
     }\r
 \r
@@ -267,34 +270,12 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
     }\r
 \r
     /**\r
-     * Calculates hash-code from all columns.\r
-     * @return Hash-code from all-columns.\r
+     * Calculates hash-code from primary-key.\r
+     * @return Hash-code from primary-keys.\r
      */\r
     public int hashCode() {\r
         int result = 17;\r
-        if (this.getOperationid() != null) { result = result + this.getOperationid().hashCode(); }\r
-        if (this.getObjectId() != null) { result = result + this.getObjectId().hashCode(); }\r
-        if (this.getName() != null) { result = result + this.getName().hashCode(); }\r
-        if (this.getScope() != null) { result = result + this.getScope().hashCode(); }\r
-        if (this.getType() != null) { result = result + this.getType().hashCode(); }\r
-        if (this.getReturnarray() != null) { result = result + this.getReturnarray().hashCode(); }\r
-        if (this.getStereotype() != null) { result = result + this.getStereotype().hashCode(); }\r
-        if (this.getIsstatic() != null) { result = result + this.getIsstatic().hashCode(); }\r
-        if (this.getConcurrency() != null) { result = result + this.getConcurrency().hashCode(); }\r
-        if (this.getNotes() != null) { result = result + this.getNotes().hashCode(); }\r
-        if (this.getBehaviour() != null) { result = result + this.getBehaviour().hashCode(); }\r
-        if (this.getGenoption() != null) { result = result + this.getGenoption().hashCode(); }\r
-        if (this.getPos() != null) { result = result + this.getPos().hashCode(); }\r
-        if (this.getStyle() != null) { result = result + this.getStyle().hashCode(); }\r
-        if (this.getPure() != null) { result = result + this.getPure().hashCode(); }\r
-        if (this.getClassifier() != null) { result = result + this.getClassifier().hashCode(); }\r
-        if (this.getCode() != null) { result = result + this.getCode().hashCode(); }\r
-        if (this.getIsroot() != null) { result = result + this.getIsroot().hashCode(); }\r
-        if (this.getIsleaf() != null) { result = result + this.getIsleaf().hashCode(); }\r
-        if (this.getIsquery() != null) { result = result + this.getIsquery().hashCode(); }\r
-        if (this.getStateflags() != null) { result = result + this.getStateflags().hashCode(); }\r
-        if (this.getEaGuid() != null) { result = result + this.getEaGuid().hashCode(); }\r
-        if (this.getStyleex() != null) { result = result + this.getStyleex().hashCode(); }\r
+        if (this.getOperationid() != null) { result = result + getOperationid().hashCode(); }\r
         return result;\r
     }\r
 \r
@@ -336,12 +317,12 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
     //                                                                            Accessor\r
     //                                                                            ========\r
 \r
-    /** The column annotation for S2Dao. {UQ : COUNTER : NotNull} */\r
+    /** The column annotation for S2Dao. {PK : UQ : COUNTER : NotNull} */\r
     public static final String operationid_COLUMN = "OperationID";\r
 \r
     /**\r
      * Get the value of the column 'OperationID'. <br />\r
-     * {UQ : COUNTER : NotNull}\r
+     * {PK : UQ : COUNTER : NotNull}\r
      * @return The value of the column 'OperationID'. (Nullable)\r
      */\r
     public java.lang.Integer getOperationid() {\r
@@ -350,7 +331,7 @@ public abstract class BsTOperation implements Entity, java.io.Serializable {
 \r
     /**\r
      * Set the value of the column 'OperationID'. <br />\r
-     * {UQ : COUNTER : NotNull}\r
+     * {PK : UQ : COUNTER : NotNull}\r
      * @param operationid The value of the column 'OperationID'. (Nullable)\r
      */\r
     public void setOperationid(java.lang.Integer operationid) {\r