|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jenkov.mrpersister.impl.mapping.DbNameGuesser
public class DbNameGuesser
Constructor Summary | |
---|---|
DbNameGuesser()
|
Method Summary | |
---|---|
java.util.Collection |
getPossibleColumnNames(java.lang.reflect.Method member)
Returns a List containing possible database column names for the given class
objectMethod name. |
java.util.Collection |
getPossibleNames(java.lang.String name)
|
java.util.Collection |
getPossibleTableNames(java.lang.Class objectClass)
Returns a List containing possible table names for the given class name. |
protected java.util.List |
getWords(java.lang.String fieldName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbNameGuesser()
Method Detail |
---|
public java.util.Collection getPossibleNames(java.lang.String name)
public java.util.Collection getPossibleColumnNames(java.lang.reflect.Method member)
IDbNameGuesser
List
containing possible database column names for the given class
objectMethod name.
getPossibleColumnNames
in interface IDbNameGuesser
member
- The objectMethod to guess column names for.
List
of String
instances representing the guesses (possible names).public java.util.Collection getPossibleTableNames(java.lang.Class objectClass)
IDbNameGuesser
List
containing possible table names for the given class name.
getPossibleTableNames
in interface IDbNameGuesser
objectClass
- The object to guess table names for.
List
of String
instances representing the guesses (possible names).protected java.util.List getWords(java.lang.String fieldName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |