クラス FieldUtil


  • public class FieldUtil
    extends java.lang.Object

    フィールドに関するユーティリティクラス

     エンティティクラスのフィールドに関するユーティリティクラス。
     
    • コンストラクタの概要

      コンストラクタ 
      コンストラクタ 説明
      FieldUtil()  
    • メソッドの概要

      すべてのメソッド staticメソッド concreteメソッド 
      修飾子とタイプ メソッド 説明
      static java.lang.String getFiledName​(java.lang.reflect.Field field)
      フィールドのカラム名を取得
      • クラスから継承されたメソッド java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクタの詳細

      • FieldUtil

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

      • getFiledName

        public static java.lang.String getFiledName​(java.lang.reflect.Field field)

        フィールドのカラム名を取得

         エンティティクラスのフィールドから「テーブル名.カラム名」を取得する。
         
        パラメータ:
        field - エンティティフィールド
        戻り値:
        カラム名