クラス EntityJavaMappingClassCreator

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

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

    • EntityJavaMappingClassCreator

      public EntityJavaMappingClassCreator(String... args)
      コンストラクタ args[0]・・・execMode["Wizard" or "Silent"] args[1]・・・tenantId args[2]・・・recursive["recursive" or other] args[3]・・・force["force" or other] args[4]・・・outDir[Current is empty or "."] args[5]・・・entityPath[Root is empty or "/"] args[6]・・・basePackage
  • メソッドの詳細

    • main

      public static void main(String... args)
      メイン処理
      パラメータ:
      args - 引数
    • setExecMode

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

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

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

      public void setOutDir(String outDir)
      出力ディレクトリを設定します。
      パラメータ:
      outDir - 出力ディレクトリ
    • setRecursive

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

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

      public void setForce(String force)
      強制上書きとするかを設定します。
      パラメータ:
      force - 強制上書きとする場合は"force"を設定
    • setForce

      public void setForce(boolean isForce)
      強制上書きとするかを設定します。
      パラメータ:
      isForce - 強制上書きとする場合はtrueを設定
    • setBasePackage

      public void setBasePackage(String basePackage)
      ベースパッケージを設定します。
      パラメータ:
      basePackage - ベースパッケージ
    • execute

      public boolean execute() throws Exception
      例外:
      Exception
    • loggingLogger

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