@Test public void testGetPersistentFields() { Ninja ninja = new Ninja(); assertEquals(getNinjaExpectedPersistentFields(), CacheUtil.getPersistentFields(ninja)); }
public static List<String> getPersistentFields(BaseEntity obj) { Class<?> clazz = obj.getClass(); return getPersistentFields(obj, clazz, true); }
CacheUtil { public static List<String> getPersistentFields(BaseEntity obj) { Class<?> clazz = obj.getClass(); return getPersistentFields(obj, clazz, true); } }
CacheUtil { public static List<String> getPersistentFields(BaseEntity obj) { Class<?> clazz = obj.getClass(); return getPersistentFields(obj, clazz, true); } private  CacheUtil(); }
CacheUtil { public static List<String> getPersistentFields(BaseEntity obj) { Class<?> clazz = obj.getClass(); return getPersistentFields(obj, clazz, true); } private  CacheUtil(); static String getReadableName(BaseEntity obj); static List<AuditableField> getAuditable(BaseEntity obj); static AuditableField getPrimaryField(BaseEntity obj); static List<String> getPersistentFields(BaseEntity obj); static List<String> getPersistentFields(BaseEntity obj, Class<?> clazz); static List<String> getPersistentFields(BaseEntity obj, Class<?> clazz, boolean includeParent); static Map<String, String> getColumnNames(BaseEntity obj); static Map<String, String> getColumnNames(BaseEntity obj, Class<?> clazz); static Map<String, String> getColumnNames(BaseEntity obj, Class<?> clazz, boolean includeParent); @SuppressWarnings("unchecked") static List<String> getSearchableFields(BaseEntity obj); @SuppressWarnings("unchecked") static List<String> getSynchronizableFields(BaseEntity obj); @SuppressWarnings("unchecked") static List<String> getSynchronizableFields(BaseEntity obj, Class<?> clazz); static JoinTable getJoinTableFields(BaseEntity owner, Class<?> collection); static Method getNewFormBindMethod(Class<?> clazz); static Method getUpdateFormBindMethod(Class<?> clazz); static Method getInsertMethod(Class<?> clazz); static Method getUpdateMethod(Class<?> clazz); static Method getDeleteMethod(Class<?> clazz); }
CacheUtil { public static List<String> getPersistentFields(BaseEntity obj) { Class<?> clazz = obj.getClass(); return getPersistentFields(obj, clazz, true); } private  CacheUtil(); static String getReadableName(BaseEntity obj); static List<AuditableField> getAuditable(BaseEntity obj); static AuditableField getPrimaryField(BaseEntity obj); static List<String> getPersistentFields(BaseEntity obj); static List<String> getPersistentFields(BaseEntity obj, Class<?> clazz); static List<String> getPersistentFields(BaseEntity obj, Class<?> clazz, boolean includeParent); static Map<String, String> getColumnNames(BaseEntity obj); static Map<String, String> getColumnNames(BaseEntity obj, Class<?> clazz); static Map<String, String> getColumnNames(BaseEntity obj, Class<?> clazz, boolean includeParent); @SuppressWarnings("unchecked") static List<String> getSearchableFields(BaseEntity obj); @SuppressWarnings("unchecked") static List<String> getSynchronizableFields(BaseEntity obj); @SuppressWarnings("unchecked") static List<String> getSynchronizableFields(BaseEntity obj, Class<?> clazz); static JoinTable getJoinTableFields(BaseEntity owner, Class<?> collection); static Method getNewFormBindMethod(Class<?> clazz); static Method getUpdateFormBindMethod(Class<?> clazz); static Method getInsertMethod(Class<?> clazz); static Method getUpdateMethod(Class<?> clazz); static Method getDeleteMethod(Class<?> clazz); static final Map<Class<?>, List<AuditableField>> auditable; static final Map<Class<?>, AuditableField> primaryField; static final Map<Class<?>, String> readableName; static final Map<String, List<String>> persistentFields; static final Map<Class<?>, List<String>> synchronizeFields; static final Map<Class<?>, List<String>> searchableFields; static final Map<String, JoinTable> joinTableFields; static final Map<String, Map<String, String>> columnNames; }