public interface EntityField
Modifier and Type | Method and Description |
---|---|
Entity<?> |
getEntity() |
String |
getName() |
Type |
getType() |
Class<?> |
getTypeClass() |
Mirror<?> |
getTypeMirror() |
Object |
getValue(Object obj)
从 Java 对象中获取一个值
|
void |
setValue(Object obj,
Object value)
为当前实体字段注入值,优先通过 setter 注入
|
String getName()
Type getType()
Class<?> getTypeClass()
Mirror<?> getTypeMirror()
void setValue(Object obj, Object value)
obj
- 被设值对象value
- 值Entity<?> getEntity()
Copyright © 2017. All rights reserved.