public class BeanWrapper extends BaseWrapper
metaObject, NO_ARGUMENTS
Constructor and Description |
---|
BeanWrapper(MetaObject metaObject,
Object object) |
Modifier and Type | Method and Description |
---|---|
void |
add(Object element) |
<E> void |
addAll(List<E> list) |
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 BeanWrapper(MetaObject metaObject, Object object)
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> list)
Copyright © 2010–2015 MyBatis.org. All rights reserved.