Revision 10627 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/IFieldManager.java

View differences:

IFieldManager.java
40 40
 */
41 41
package com.iver.cit.gvsig.fmap.edition;
42 42

  
43
import com.hardcode.gdbms.driver.exceptions.WriteDriverException;
43 44
import com.iver.cit.gvsig.fmap.drivers.FieldDescription;
44 45

  
45 46
public interface IFieldManager {
46
	
47

  
47 48
	public FieldDescription[] getOriginalFields();
48
	
49

  
49 50
	public void addField(FieldDescription fieldDesc);
50
	
51

  
51 52
	/**
52 53
	 * @param fieldName
53 54
	 * @return FieldDescription of removed field, if any. If not found, returns null
54 55
	 */
55 56
	public FieldDescription removeField(String fieldName);
56
	
57

  
57 58
	public void renameField(String antName, String newName);
58
	
59

  
59 60
	/**
60 61
	 * @return true if the table needs to be rewritten. (As a dbf, for example)
62
	 * @throws WriteDriverException
61 63
	 * @throws EditionException
62 64
	 */
63
	public boolean alterTable() throws EditionException;
64
	
65
	public boolean alterTable() throws WriteDriverException;
66

  
65 67
	public FieldDescription[] getFields();
66 68

  
67 69
}

Also available in: Unified diff