モジュール jp.ecuacion.splib.web

クラス SplibThymeleafStringUtil

java.lang.Object
jp.ecuacion.splib.web.util.SplibThymeleafStringUtil

@Component("strUtil") public class SplibThymeleafStringUtil extends Object
thymeleaf側から呼ばれる想定のクラス。thymeleaf上で必要となる文字列処理を実施。
  • コンストラクタの詳細

    • SplibThymeleafStringUtil

      public SplibThymeleafStringUtil()
  • メソッドの詳細

    • selectListMethodName

      public String selectListMethodName(String itemName)
      acc -> getAccList, acc.name -> getAcc_NameListに変更。 "_"はrelation使用時のrepositoryの使用方法に準じた。