Java Code Examples for org.mybatis.generator.api.IntrospectedColumn#setContext()
The following examples show how to use
org.mybatis.generator.api.IntrospectedColumn#setContext() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ObjectFactory.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
/** * Creates a new Object object. * * @param context * the context * @return the introspected column */ public static IntrospectedColumn createIntrospectedColumn(Context context) { String type = context.getIntrospectedColumnImpl(); if (!stringHasValue(type)) { type = IntrospectedColumn.class.getName(); } IntrospectedColumn answer = (IntrospectedColumn) createInternalObject(type); answer.setContext(context); return answer; }
Example 2
Source File: ObjectFactory.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
public static IntrospectedColumn createIntrospectedColumn(Context context) { String type = context.getIntrospectedColumnImpl(); if (!stringHasValue(type)) { type = IntrospectedColumn.class.getName(); } IntrospectedColumn answer = (IntrospectedColumn) createInternalObject(type); answer.setContext(context); return answer; }