クラス EntityJavaMappingClassCreator
java.lang.Object
org.iplass.mtp.tools.batch.MtpCuiBase
org.iplass.mtp.tools.batch.entity.EntityJavaMappingClassCreator
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース org.iplass.mtp.tools.batch.MtpCuiBase
MtpCuiBase.LogListener -
フィールドの概要
クラスから継承されたフィールド org.iplass.mtp.tools.batch.MtpCuiBase
SILENT_MODE -
コンストラクタの概要
コンストラクタコンストラクタ説明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 "."] -
メソッドの概要
修飾子とタイプメソッド説明booleanexecute()protected org.slf4j.Loggerstatic voidメイン処理voidsetBasePackage(String basePackage) ベースパッケージを設定します。voidsetEntityPath(String entityPath) Entityパスを設定します。voidsetExecMode(ExecMode execMode) 実行モードを設定します。voidsetForce(boolean isForce) 強制上書きとするかを設定します。void強制上書きとするかを設定します。void出力ディレクトリを設定します。voidsetRecursive(boolean isRecursive) 階層下の全てのEntityを対象とするかを設定します。voidsetRecursive(String recursive) 階層下の全てのEntityを対象とするかを設定します。voidsetTenantId(int tenantId) テナントIDを設定します。クラスから継承されたメソッド org.iplass.mtp.tools.batch.MtpCuiBase
addLogListner, clearLog, executeTask, executeTask, getAllTenantInfoList, getConfigSetting, getLanguage, getLogMessage, getValidTenantInfoList, isSuccess, logDebug, logEnvironment, logError, logError, logInfo, logInfo, logWarn, logWarn, readConsole, readConsoleBoolean, readConsoleInteger, readConsolePassword, removeLogListner, rs, setSuccess, showAllTenantList, showValidTenantList, switchLog
-
コンストラクタの詳細
-
EntityJavaMappingClassCreator
コンストラクタ 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
メイン処理- パラメータ:
args- 引数
-
setExecMode
実行モードを設定します。- パラメータ:
execMode- 実行モード
-
setTenantId
public void setTenantId(int tenantId) テナントIDを設定します。- パラメータ:
tenantId- テナントID
-
setEntityPath
Entityパスを設定します。- パラメータ:
entityPath- Entityパス
-
setOutDir
出力ディレクトリを設定します。- パラメータ:
outDir- 出力ディレクトリ
-
setRecursive
階層下の全てのEntityを対象とするかを設定します。- パラメータ:
recursive- 階層下の全てのEntityを対象とする場合は"recursive"を設定
-
setRecursive
public void setRecursive(boolean isRecursive) 階層下の全てのEntityを対象とするかを設定します。- パラメータ:
recursive- 階層下の全てのEntityを対象とする場合はtrueを設定
-
setForce
強制上書きとするかを設定します。- パラメータ:
force- 強制上書きとする場合は"force"を設定
-
setForce
public void setForce(boolean isForce) 強制上書きとするかを設定します。- パラメータ:
isForce- 強制上書きとする場合はtrueを設定
-
setBasePackage
ベースパッケージを設定します。- パラメータ:
basePackage- ベースパッケージ
-
execute
- 例外:
Exception
-
loggingLogger
protected org.slf4j.Logger loggingLogger()- 定義:
loggingLoggerクラス内MtpCuiBase
-