01: // $Id: NameGuesser.java 12 2007-08-29 05:23:13Z jcamaia $
02:
03: package net.sf.persist;
04:
05: import java.util.Set;
06:
07: /**
08: * Defines how a class or field name should be mapped to a table or column.
09: */
10: public interface NameGuesser {
11:
12: /**
13: * Given a field or class name, return a Set with corresponding guessed
14: * names in the database.
15: */
16: public Set<String> guessColumn(String fieldOrClassName);
17:
18: }
|