public class MetaObject extends Object
Modifier and Type | Method and Description |
---|---|
void |
add(Object element) |
<E> void |
addAll(List<E> list) |
String |
findProperty(String propName,
boolean useCamelCaseMapping) |
static MetaObject |
forObject(Object object,
ObjectFactory objectFactory,
ObjectWrapperFactory objectWrapperFactory,
ReflectorFactory reflectorFactory) |
String[] |
getGetterNames() |
Class<?> |
getGetterType(String name) |
ObjectFactory |
getObjectFactory() |
ObjectWrapper |
getObjectWrapper() |
ObjectWrapperFactory |
getObjectWrapperFactory() |
Object |
getOriginalObject() |
ReflectorFactory |
getReflectorFactory() |
String[] |
getSetterNames() |
Class<?> |
getSetterType(String name) |
Object |
getValue(String name) |
boolean |
hasGetter(String name) |
boolean |
hasSetter(String name) |
boolean |
isCollection() |
MetaObject |
metaObjectForProperty(String name) |
void |
setValue(String name,
Object value) |
public static MetaObject forObject(Object object, ObjectFactory objectFactory, ObjectWrapperFactory objectWrapperFactory, ReflectorFactory reflectorFactory)
public ObjectFactory getObjectFactory()
public ObjectWrapperFactory getObjectWrapperFactory()
public ReflectorFactory getReflectorFactory()
public Object getOriginalObject()
public String[] getGetterNames()
public String[] getSetterNames()
public boolean hasSetter(String name)
public boolean hasGetter(String name)
public MetaObject metaObjectForProperty(String name)
public ObjectWrapper getObjectWrapper()
public boolean isCollection()
public void add(Object element)
public <E> void addAll(List<E> list)
Copyright © 2010–2015 MyBatis.org. All rights reserved.