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 java.lang.Object implements ObjectWrapper
- Author:
- Clinton Begin
-
-
Field Summary
Fields Modifier and Type Field Description protected MetaObject
metaObject
protected static java.lang.Object[]
NO_ARGUMENTS
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseWrapper(MetaObject metaObject)
-
Method Summary
Modifier and Type Method Description protected java.lang.Object
getCollectionValue(PropertyTokenizer prop, java.lang.Object collection)
protected java.lang.Object
resolveCollection(PropertyTokenizer prop, java.lang.Object object)
protected void
setCollectionValue(PropertyTokenizer prop, java.lang.Object collection, java.lang.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 java.lang.Object[] NO_ARGUMENTS
-
metaObject
protected final MetaObject metaObject
-
-
Constructor Detail
-
BaseWrapper
protected BaseWrapper(MetaObject metaObject)
-
-
Method Detail
-
resolveCollection
protected java.lang.Object resolveCollection(PropertyTokenizer prop, java.lang.Object object)
-
getCollectionValue
protected java.lang.Object getCollectionValue(PropertyTokenizer prop, java.lang.Object collection)
-
setCollectionValue
protected void setCollectionValue(PropertyTokenizer prop, java.lang.Object collection, java.lang.Object value)
-
-