クラス EntityViewDDLCreator

java.lang.Object
org.iplass.mtp.tools.batch.MtpCuiBase
org.iplass.mtp.tools.batch.entity.EntityViewDDLCreator

public class EntityViewDDLCreator extends MtpCuiBase
  • コンストラクタの詳細

    • EntityViewDDLCreator

      public EntityViewDDLCreator(String... args)
      コンストラクタ args[0]・・・execMode["Wizard" or "Silent"] args[1]・・・tenantId[Less then zero is wizard mode] args[2]・・・overwrite["overwrite" or other] args[3]・・・recursive["recursive" or other] args[4]・・・outFile[Default is "./view.ddl"] args[5]・・・entityPath[Empty or "/" is root]
  • メソッドの詳細

    • setExecMode

      public void setExecMode(ExecMode execMode)
      実行モードを設定します。
      パラメータ:
      execMode - 実行モード
    • setExecMode

      public void setExecMode(String execMode)
      実行モードを設定します。
      パラメータ:
      execMode - 実行モード
    • setTenantId

      public void setTenantId(int tenantId)
      テナントIDを設定します。
      パラメータ:
      tenantId - テナントID
    • setTenantId

      public void setTenantId(String tenantId)
      テナントIDを設定します。
      パラメータ:
      tenantId - テナントID
    • setEntityPath

      public void setEntityPath(String entityPath)
      Entityパスを設定します。
      パラメータ:
      entityPath - Entityパス
    • setOutFile

      public void setOutFile(String outFile)
      出力ファイルを設定します。
      パラメータ:
      outFile - 出力ファイル
    • setOverwrite

      public void setOverwrite(boolean isOverwrite)
      上書を許可するかを設定します。
      パラメータ:
      isForce - 上書を許可する場合はtrueを設定
    • setOverwrite

      public void setOverwrite(String overwrite)
      上書を許可するかを設定します。
      パラメータ:
      force - 上書を許可する場合は"overwrite"を設定
    • setRecursive

      public void setRecursive(boolean isRecursive)
      階層下の全てのEntityを対象とするかを設定します。
      パラメータ:
      recursive - 階層下の全てのEntityを対象とする場合はtrueを設定
    • setRecursive

      public void setRecursive(String recursive)
      階層下の全てのEntityを対象とするかを設定します。
      パラメータ:
      recursive - 階層下の全てのEntityを対象とする場合は"recursive"を設定
    • main

      public static void main(String... args)
      メイン処理 args[0]・・・execMode["Wizard" or "Silent"] args[1]・・・tenantId[Less then zero is wizard mode] args[2]・・・overwrite["overwrite" or other] args[3]・・・recursive["recursive" or other] args[4]・・・outFile[Default is "./view.ddl"] args[5]・・・entityPath[Empty or "/" is root]
      パラメータ:
      args - 引数
    • execute

      public boolean execute() throws Exception
      処理実行
      戻り値:
      処理結果
      例外:
      Exception - 例外
    • loggingLogger

      protected org.slf4j.Logger loggingLogger()
      定義:
      loggingLogger クラス内 MtpCuiBase