org.apache.ibatis.reflection.wrapper
Class BaseWrapper

java.lang.Object
  extended by org.apache.ibatis.reflection.wrapper.BaseWrapper
All Implemented Interfaces:
ObjectWrapper
Direct Known Subclasses:
BeanWrapper, MapWrapper

public abstract class BaseWrapper
extends Object
implements ObjectWrapper


Field Summary
protected  MetaObject metaObject
           
protected static Object[] NO_ARGUMENTS
           
 
Constructor Summary
protected BaseWrapper(MetaObject metaObject)
           
 
Method Summary
protected  Object getCollectionValue(PropertyTokenizer prop, Object collection)
           
protected  Object resolveCollection(PropertyTokenizer prop, Object object)
           
protected  void setCollectionValue(PropertyTokenizer prop, Object collection, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ibatis.reflection.wrapper.ObjectWrapper
add, addAll, findProperty, get, getGetterNames, getGetterType, getSetterNames, getSetterType, hasGetter, hasSetter, instantiatePropertyValue, isCollection, set
 

Field Detail

NO_ARGUMENTS

protected static final Object[] NO_ARGUMENTS

metaObject

protected MetaObject metaObject
Constructor Detail

BaseWrapper

protected BaseWrapper(MetaObject metaObject)
Method Detail

resolveCollection

protected Object resolveCollection(PropertyTokenizer prop,
                                   Object object)

getCollectionValue

protected Object getCollectionValue(PropertyTokenizer prop,
                                    Object collection)

setCollectionValue

protected void setCollectionValue(PropertyTokenizer prop,
                                  Object collection,
                                  Object value)


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.