org.apache.ibatis.reflection.wrapper
Class BeanWrapper
java.lang.Object
org.apache.ibatis.reflection.wrapper.BaseWrapper
org.apache.ibatis.reflection.wrapper.BeanWrapper
- All Implemented Interfaces:
- ObjectWrapper
public class BeanWrapper
- extends BaseWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanWrapper
public BeanWrapper(MetaObject metaObject,
Object object)
get
public Object get(PropertyTokenizer prop)
set
public void set(PropertyTokenizer prop,
Object value)
findProperty
public String findProperty(String name,
boolean useCamelCaseMapping)
getGetterNames
public String[] getGetterNames()
getSetterNames
public String[] getSetterNames()
getSetterType
public Class<?> getSetterType(String name)
getGetterType
public Class<?> getGetterType(String name)
hasSetter
public boolean hasSetter(String name)
hasGetter
public boolean hasGetter(String name)
instantiatePropertyValue
public MetaObject instantiatePropertyValue(String name,
PropertyTokenizer prop,
ObjectFactory objectFactory)
isCollection
public boolean isCollection()
add
public void add(Object element)
addAll
public <E> void addAll(List<E> list)
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.