Class RootClassInfo

java.lang.Object
org.mybatis.generator.codegen.RootClassInfo

public class RootClassInfo extends Object
Holds information about a class (uses the JavaBeans Introspector to find properties).
Author:
Jeff Butler
  • Method Details

    • getInstance

      public static RootClassInfo getInstance(String className, List<String> warnings)
    • reset

      public static void reset()
      Clears the internal map containing root class info. This method should be called at the beginning of a generation run to clear the cached root class info in case there has been a change. For example, when using the eclipse launcher, the cache would be kept until eclipse was restarted.
    • containsProperty

      public boolean containsProperty(IntrospectedColumn introspectedColumn)