public class JsonEntityField extends Object
限定符和类型 | 方法和说明 |
---|---|
static JsonEntityField |
eval(Mirror<?> mirror,
Field fld) |
static JsonEntityField |
eval(String name,
Method getter,
Method setter)
根据名称获取字段实体, 默认以set优先
|
static JsonEntityField |
eval(String name,
Type type,
Ejecting ejecting,
Injecting injecting) |
Format |
getDataFormat() |
Type |
getGenericType() |
Mirror<?> |
getMirror() |
String |
getName() |
Object |
getValue(Object obj) |
boolean |
hasDataFormat() |
boolean |
isForceString() |
boolean |
isIgnore() |
void |
setForceString(boolean forceString) |
void |
setIgnore(boolean ignore) |
void |
setValue(Object obj,
Object value) |
public boolean isForceString()
public void setForceString(boolean forceString)
public boolean isIgnore()
public void setIgnore(boolean ignore)
public static JsonEntityField eval(String name, Method getter, Method setter)
public static JsonEntityField eval(String name, Type type, Ejecting ejecting, Injecting injecting)
public static JsonEntityField eval(Mirror<?> mirror, Field fld)
public String getName()
public Type getGenericType()
public Format getDataFormat()
public boolean hasDataFormat()
public Mirror<?> getMirror()
Copyright © 2017. All rights reserved.