public class MetamodelUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<MethodSignature,Integer> |
TUPLE_ACCESSORS |
| Constructor and Description |
|---|
MetamodelUtil(org.jooq.Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
org.jooq.Field<?> |
fieldMethodToField(MethodSignature sig)
Given a method used to read a field of an entity, this returns the actual
jOOQ field object needed to read the data.
|
Set<Class<?>> |
getSafeMethodAnnotations() |
boolean |
isFieldGetterMethod(MethodSignature sig)
Returns true if a method is used as a getter for reading a field of a table
|
boolean |
isSafeMethod(MethodSignature m) |
boolean |
isSafeStaticMethod(MethodSignature m) |
public static final Map<MethodSignature,Integer> TUPLE_ACCESSORS
public boolean isSafeMethod(MethodSignature m)
public boolean isSafeStaticMethod(MethodSignature m)
public boolean isFieldGetterMethod(MethodSignature sig)
sig - public org.jooq.Field<?> fieldMethodToField(MethodSignature sig)
sig - Copyright © 2017. All Rights Reserved.