org.apache.ibatis.reflection.wrapper
Interface ObjectWrapper

All Known Implementing Classes:
BaseWrapper, BeanWrapper, CollectionWrapper, MapWrapper

public interface ObjectWrapper


Method Summary
 void add(Object element)
           
<E> void
addAll(List<E> element)
           
 String findProperty(String name, boolean useCamelCaseMapping)
           
 Object get(PropertyTokenizer prop)
           
 String[] getGetterNames()
           
 Class<?> getGetterType(String name)
           
 String[] getSetterNames()
           
 Class<?> getSetterType(String name)
           
 boolean hasGetter(String name)
           
 boolean hasSetter(String name)
           
 MetaObject instantiatePropertyValue(String name, PropertyTokenizer prop, ObjectFactory objectFactory)
           
 boolean isCollection()
           
 void set(PropertyTokenizer prop, Object value)
           
 

Method Detail

get

Object get(PropertyTokenizer prop)

set

void set(PropertyTokenizer prop,
         Object value)

findProperty

String findProperty(String name,
                    boolean useCamelCaseMapping)

getGetterNames

String[] getGetterNames()

getSetterNames

String[] getSetterNames()

getSetterType

Class<?> getSetterType(String name)

getGetterType

Class<?> getGetterType(String name)

hasSetter

boolean hasSetter(String name)

hasGetter

boolean hasGetter(String name)

instantiatePropertyValue

MetaObject instantiatePropertyValue(String name,
                                    PropertyTokenizer prop,
                                    ObjectFactory objectFactory)

isCollection

boolean isCollection()

add

void add(Object element)

addAll

<E> void addAll(List<E> element)


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