Class MetaObject

java.lang.Object
org.apache.ibatis.reflection.MetaObject

public class MetaObject extends Object
Author:
Clinton Begin
  • Method Details

    • forObject

      public static MetaObject forObject(Object object, ObjectFactory objectFactory, ObjectWrapperFactory objectWrapperFactory, ReflectorFactory reflectorFactory)
    • getObjectFactory

      public ObjectFactory getObjectFactory()
    • getObjectWrapperFactory

      public ObjectWrapperFactory getObjectWrapperFactory()
    • getReflectorFactory

      public ReflectorFactory getReflectorFactory()
    • 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)