org.apache.ibatis.reflection
Class MetaObject
java.lang.Object
org.apache.ibatis.reflection.MetaObject
public class MetaObject
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forObject
public static MetaObject forObject(Object object,
ObjectFactory objectFactory,
ObjectWrapperFactory objectWrapperFactory)
getObjectFactory
public ObjectFactory getObjectFactory()
getObjectWrapperFactory
public ObjectWrapperFactory getObjectWrapperFactory()
getOriginalObject
public Object getOriginalObject()
findProperty
public String findProperty(String propName,
boolean useCamelCaseMapping)
getGetterNames
public String[] getGetterNames()
getSetterNames
public String[] getSetterNames()
getSetterType
public Class<?> getSetterType(String name)
getGetterType
public Class<?> getGetterType(String name)
hasSetter
public boolean hasSetter(String name)
hasGetter
public boolean hasGetter(String name)
getValue
public Object getValue(String name)
setValue
public void setValue(String name,
Object value)
metaObjectForProperty
public MetaObject metaObjectForProperty(String name)
getObjectWrapper
public ObjectWrapper getObjectWrapper()
isCollection
public boolean isCollection()
add
public void add(Object element)
addAll
public <E> void addAll(List<E> list)
Copyright © 2010-2013 MyBatis.org. All Rights Reserved.