public abstract class AbstractMapHolder<T> extends AbstractMultiValueHolder<java.util.Map>
限定符和类型 | 字段和说明 |
---|---|
protected java.lang.Class |
keyType |
missingKeys, ordered, orderList, withTag, xmlTag
classType, isInterfaceType
hasDefaultValue, nameSpace, processors, property, t
限定符 | 构造器和说明 |
---|---|
protected |
AbstractMapHolder(java.lang.String property,
java.util.Map map,
java.lang.Class keyType,
java.lang.Class classType) |
protected |
AbstractMapHolder(java.lang.String property,
java.util.Map map,
java.lang.Class keyType,
java.lang.Class classType,
boolean order) |
protected |
AbstractMapHolder(java.lang.String property,
java.util.Map map,
java.lang.Class keyType,
java.lang.Class classType,
java.lang.String xmlTag) |
protected |
AbstractMapHolder(java.lang.String property,
java.util.Map map,
java.lang.Class keyType,
java.lang.Class classType,
java.lang.String xmlTag,
boolean order) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
containsKey(java.lang.Object key) |
void |
doClear() |
protected abstract boolean |
doContainsKey(java.lang.Object key)
读取数据库,根据key判断记录是否存在
|
protected abstract java.lang.Object |
doGet(java.lang.Object key)
这个抽象方法负责从数据库里查询,根据key信息构造
|
protected void |
doSet(java.util.Map map) |
protected abstract void |
doSetInternal(java.util.Map map) |
java.lang.Object |
get(int index) |
java.lang.Object |
get(java.lang.Object key) |
protected java.lang.Class |
getKeyType() |
int |
indexOf(java.lang.Object key) |
void |
put(java.lang.Object key,
java.lang.Object object) |
protected abstract void |
putInternal(java.lang.Object key,
java.lang.Object object) |
void |
remove(java.lang.Object key) |
protected abstract void |
removeInternal(java.lang.Object key) |
void |
rename(java.lang.Object old,
java.lang.Object newKey) |
protected abstract void |
renameInternal(java.lang.Object old,
java.lang.Object newKey) |
clear, invalidateExtraInfo, setClassInfo, setData, setProperty
clone, doGet, doGetCache, equals, get, getCache, getKey, getNameSpace, getProperty, hashCode, invalidateCache, isResident, permit, register, set, setInitialized, setKey, setNameSpace, setResident
getClassInfo, getData, invalidate, isLoad
protected AbstractMapHolder(java.lang.String property, java.util.Map map, java.lang.Class keyType, java.lang.Class classType)
protected AbstractMapHolder(java.lang.String property, java.util.Map map, java.lang.Class keyType, java.lang.Class classType, boolean order)
protected AbstractMapHolder(java.lang.String property, java.util.Map map, java.lang.Class keyType, java.lang.Class classType, java.lang.String xmlTag)
protected AbstractMapHolder(java.lang.String property, java.util.Map map, java.lang.Class keyType, java.lang.Class classType, java.lang.String xmlTag, boolean order)
public java.lang.Object get(java.lang.Object key)
protected abstract java.lang.Object doGet(java.lang.Object key)
key
- public boolean containsKey(java.lang.Object key)
protected abstract void doSetInternal(java.util.Map map)
public void put(java.lang.Object key, java.lang.Object object)
protected abstract void putInternal(java.lang.Object key, java.lang.Object object)
protected java.lang.Class getKeyType()
public void remove(java.lang.Object key)
protected abstract void removeInternal(java.lang.Object key)
public void rename(java.lang.Object old, java.lang.Object newKey)
protected abstract void renameInternal(java.lang.Object old, java.lang.Object newKey)
public void doClear()
doClear
在类中 AbstractMultiValueHolder<java.util.Map>
public int indexOf(java.lang.Object key)
public java.lang.Object get(int index)
protected abstract boolean doContainsKey(java.lang.Object key)
key
-