public class MapWrapper extends BaseWrapper
metaObject, NO_ARGUMENTS
Constructor and Description |
---|
MapWrapper(MetaObject metaObject,
Map<String,Object> map) |
Modifier and Type | Method and Description |
---|---|
void |
add(Object element) |
<E> void |
addAll(List<E> element) |
String |
findProperty(String name,
boolean useCamelCaseMapping) |
Object |
get(PropertyTokenizer prop) |
String[] |
getGetterNames() |
Class<?> |
getGetterType(String name) |
String[] |
getSetterNames() |
Class<?> |
getSetterType(String name) |
boolean |
hasGetter(String name) |
boolean |
hasSetter(String name) |
MetaObject |
instantiatePropertyValue(String name,
PropertyTokenizer prop,
ObjectFactory objectFactory) |
boolean |
isCollection() |
void |
set(PropertyTokenizer prop,
Object value) |
getCollectionValue, resolveCollection, setCollectionValue
public MapWrapper(MetaObject metaObject, Map<String,Object> map)
public Object get(PropertyTokenizer prop)
public void set(PropertyTokenizer prop, Object value)
public String[] getGetterNames()
public String[] getSetterNames()
public boolean hasSetter(String name)
public boolean hasGetter(String name)
public MetaObject instantiatePropertyValue(String name, PropertyTokenizer prop, ObjectFactory objectFactory)
public boolean isCollection()
public void add(Object element)
public <E> void addAll(List<E> element)
Copyright © 2010–2015 MyBatis.org. All rights reserved.