|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.drinkjava2.jsqlbox.SqlMapperUtils
public abstract class SqlMapperUtils
Store some public static methods of Guesser
| Field Summary | |
|---|---|
static String |
CHILD_SUFFIX
|
| Constructor Summary | |
|---|---|
SqlMapperUtils()
|
|
| Method Summary | |
|---|---|
static Map<String,Object> |
buildParamMap(String callerClassName,
String callerMethodName,
Object... params)
|
static Class<?> |
createChildClass(Class<?> abstractClass)
This is the method body to build an instance based on abstract class which extended from ActiveRecord or implemented ActiveRecordSupport |
static void |
dealNewIocModelAliasAnnotation(List<Object> realParamList,
Method callerMethod)
Deal @New @Ioc @Model @Alias Annotations |
static String[] |
getMethodParamNames(String classFullName,
String callerMethodName)
Get method name String[], this method only works for Text support case, i.e., put java in resouce folder |
static String |
getSqlOfMethod(String callerClassName,
Method callerMethod)
Get the sql from @Sql annotation or text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CHILD_SUFFIX
| Constructor Detail |
|---|
public SqlMapperUtils()
| Method Detail |
|---|
public static Class<?> createChildClass(Class<?> abstractClass)
activeClass -
public static Map<String,Object> buildParamMap(String callerClassName,
String callerMethodName,
Object... params)
public static String[] getMethodParamNames(String classFullName,
String callerMethodName)
public static String getSqlOfMethod(String callerClassName,
Method callerMethod)
public static void dealNewIocModelAliasAnnotation(List<Object> realParamList,
Method callerMethod)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||