org.apache.ibatis.reflection.wrapper.ObjectWrapper Maven / Gradle / Ivy
The newest version!
package org.apache.ibatis.reflection.wrapper;
import org.apache.ibatis.reflection.MetaObject;
import org.apache.ibatis.reflection.factory.ObjectFactory;
import org.apache.ibatis.reflection.property.PropertyTokenizer;
public interface ObjectWrapper {
Object get(PropertyTokenizer prop);
void set(PropertyTokenizer prop, Object value);
String findProperty(String name);
String[] getGetterNames();
String[] getSetterNames();
Class getSetterType(String name);
Class getGetterType(String name);
boolean hasSetter(String name);
boolean hasGetter(String name);
MetaObject instantiatePropertyValue(String name, PropertyTokenizer prop, ObjectFactory objectFactory);
}