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 43925 jjdelcerro
package org.gvsig.export.spi;
2 43504 jjdelcerro
3 44270 omartinez
import org.gvsig.export.ExportAttributes;
4 44411 omartinez
import org.gvsig.tools.persistence.Persistent;
5 43504 jjdelcerro
6 44386 omartinez
/**
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 44411 omartinez
public interface AttributeNamesTranslator extends Cloneable, Persistent {
13 43504 jjdelcerro
14 44300 omartinez
    boolean isValidName(ExportAttributes attributes, int index, String newName);
15 44270 omartinez
16 44386 omartinez
    public String getNameSuggestion(ExportAttributes attributes, int index, String name);
17
18
    public String getNameSuggestion(String name);
19 44300 omartinez
20 44386 omartinez
    public AttributeNamesTranslator clone() throws CloneNotSupportedException ;
21
22 43504 jjdelcerro
}