Class BaseWrapper
- java.lang.Object
-
- org.apache.ibatis.reflection.wrapper.BaseWrapper
-
- All Implemented Interfaces:
ObjectWrapper
- Direct Known Subclasses:
BeanWrapper
,MapWrapper
public abstract class BaseWrapper extends Object implements ObjectWrapper
- Author:
- Clinton Begin
-
-
Field Summary
Fields Modifier and Type Field Description protected MetaObject
metaObject
protected static Object[]
NO_ARGUMENTS
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseWrapper(MetaObject metaObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 final 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)
-
-