Statistics
| Revision:

svn-gvsig-desktop / 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 @ 44411

History | View | Annotate | Download (660 Bytes)

1
package org.gvsig.export.spi;
2

    
3
import org.gvsig.export.ExportAttributes;
4
import org.gvsig.tools.persistence.Persistent;
5

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

    
14
    boolean isValidName(ExportAttributes attributes, int index, String newName);
15

    
16
    public String getNameSuggestion(ExportAttributes attributes, int index, String name);
17
    
18
    public String getNameSuggestion(String name);
19

    
20
    public AttributeNamesTranslator clone() throws CloneNotSupportedException ;
21

    
22
}