|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.db.oom.DbMetaUtil
public class DbMetaUtil
Meta-data resolving utils.
| Constructor Summary | |
|---|---|
DbMetaUtil()
|
|
| Method Summary | |
|---|---|
static DbEntityColumnDescriptor |
resolveColumnDescriptors(DbEntityDescriptor dbEntityDescriptor,
java.lang.reflect.Field field,
boolean isAnnotated,
ColumnNamingStrategy columnNamingStrategy)
Resolves column descriptor from field. |
static boolean |
resolveIsAnnotated(java.lang.Class<?> type)
Returns true if class is annotated with DbTable annotation. |
static java.lang.String |
resolveSchemaName(java.lang.Class<?> type,
java.lang.String defaultSchemaName)
Resolves schema name from a type. |
static java.lang.String |
resolveTableName(java.lang.Class<?> type,
TableNamingStrategy tableNamingStrategy)
Resolves table name from a type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbMetaUtil()
| Method Detail |
|---|
public static java.lang.String resolveTableName(java.lang.Class<?> type,
TableNamingStrategy tableNamingStrategy)
public static java.lang.String resolveSchemaName(java.lang.Class<?> type,
java.lang.String defaultSchemaName)
public static boolean resolveIsAnnotated(java.lang.Class<?> type)
true if class is annotated with DbTable annotation.
public static DbEntityColumnDescriptor resolveColumnDescriptors(DbEntityDescriptor dbEntityDescriptor,
java.lang.reflect.Field field,
boolean isAnnotated,
ColumnNamingStrategy columnNamingStrategy)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||