Revision 44386 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.lib/org.gvsig.exportto.lib.api/src/main/java/org/gvsig/export/spi/AttributeNamesTranslator.java

View differences:

AttributeNamesTranslator.java
2 2

  
3 3
import org.gvsig.export.ExportAttributes;
4 4

  
5
public interface AttributeNamesTranslator {
5
/**
6
 * This class provide the methods to translate the name of the fields
7
 * to the target store.
8
 * This class should be state-less.
9
 * @author osc
10
 */
11
public interface AttributeNamesTranslator extends Cloneable {
6 12

  
7 13
    boolean isValidName(ExportAttributes attributes, int index, String newName);
8 14

  
9
    public String getNameSuggestion(ExportAttributes attributes, int index, String newName);
15
    public String getNameSuggestion(ExportAttributes attributes, int index, String name);
16
    
17
    public String getNameSuggestion(String name);
10 18

  
19
    public AttributeNamesTranslator clone() throws CloneNotSupportedException ;
20

  
11 21
}

Also available in: Unified diff