public abstract class AbstractDictMap extends Object
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,String> |
dictory |
protected HashMap<String,String> |
fieldWarpperDictory |
Constructor and Description |
---|
AbstractDictMap() |
Modifier and Type | Method and Description |
---|---|
String |
get(String key) |
String |
getFieldWarpperMethodName(String key) |
abstract void |
init()
初始化字段英文名称和中文名称对应的字典
|
protected abstract void |
initBeWrapped()
初始化需要被包装的字段(例如:性别为1:男,2:女,需要被包装为汉字)
|
void |
put(String key,
String value) |
void |
putFieldWrapperMethodName(String key,
String methodName) |
Copyright © 2018. All rights reserved.