Class ClassInfoCache

java.lang.Object
com.pugwoo.dbhelper.cache.ClassInfoCache

public class ClassInfoCache extends Object
缓存类相关信息
  • Constructor Details

    • ClassInfoCache

      public ClassInfoCache()
  • Method Details

    • getFieldSetMethod

      public static Method getFieldSetMethod(Field field)
      获得field对应的method的缓存数据
      Parameters:
      field - 字段
      Returns:
      不存在返回null
    • getFieldGetMethod

      public static Method getFieldGetMethod(Field field)
      获得field对应的method的缓存数据
      Parameters:
      field - 字段
      Returns:
      不存在返回null
    • getColumnFields

      public static List<Field> getColumnFields(Class<?> clazz)
      获得clazz的所有Column字段
    • getTable

      public static Table getTable(Class<?> clazz)
    • getRelatedColumns

      public static List<Field> getRelatedColumns(Class<?> clazz)