public class FieldSourceBuilder extends Object
| Constructor and Description |
|---|
FieldSourceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static List<EntityField> |
getAll(Class<?> entityClass)
获取全部的属性,包含字段和方法
|
static List<EntityField> |
getFields(Class<?> entityClass)
获取全部的Field
|
static List<EntityField> |
getProperties(Class<?> entityClass)
获取全部的属性,通过方法名获取
|
static String |
underlineToCamelhump(String str)
将下划线风格替换为驼峰风格
|
public static List<EntityField> getFields(Class<?> entityClass)
entityClass - 对象public static List<EntityField> getProperties(Class<?> entityClass)
entityClass - 对象public static List<EntityField> getAll(Class<?> entityClass)
entityClass - 对象Copyright © 2019. All rights reserved.