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