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 |
DEFAULT_OBJECT_FACTORY
public static final ObjectFactory DEFAULT_OBJECT_FACTORY
DEFAULT_OBJECT_WRAPPER_FACTORY
public static final ObjectWrapperFactory DEFAULT_OBJECT_WRAPPER_FACTORY
NULL_META_OBJECT
public static final MetaObject NULL_META_OBJECT
forObject
public static MetaObject forObject(Object object,
ObjectFactory objectFactory,
ObjectWrapperFactory objectWrapperFactory)
forObject
public static MetaObject forObject(Object object)
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-2012 MyBatis.org. All Rights Reserved.