|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDbNameGuesser
This interface represents the functions made available by the database name guessers used in
Mr. Persister. The responsibility of the database name guesser is to "guess" (generate)
possible either table names from class names, or to "guess" possible column names from
class method names (getters and setters).
The database name guesser is used internally in the object mapper.
The names generated by the database name guesser are used to feed the database name determiner
that determines which of the name guesses (generated possible names) is the correct one.
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 |
getPossibleTableNames(java.lang.Class object)
Returns a List containing possible table names for the given class name. |
Method Detail |
---|
java.util.Collection getPossibleColumnNames(java.lang.reflect.Method member)
List
containing possible database column names for the given class
objectMethod name.
member
- The objectMethod to guess column names for.
List
of String
instances representing the guesses (possible names).java.util.Collection getPossibleTableNames(java.lang.Class object)
List
containing possible table names for the given class name.
object
- The object to guess table names for.
List
of String
instances representing the guesses (possible names).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |