Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / IRowEdited.java @ 6466

History | View | Annotate | Download (708 Bytes)

1
package com.iver.cit.gvsig.fmap.edition;
2

    
3
import com.iver.cit.gvsig.fmap.core.IRow;
4

    
5
public interface IRowEdited extends IRow {
6
        public static final int STATUS_ORIGINAL = 0;
7
        public static final int STATUS_MODIFIED = 1;
8
        public static final int STATUS_DELETED = 2;
9
        public static final int STATUS_ADDED = 3;
10
        
11
            IRow getLinkedRow();
12

    
13
            /**
14
             * Por ejemplo:
15
             * 1=> La fila linkada (la original) ha sido borrada.
16
             * 2=> Es una modificaci?n. Esta fila sustituye a la anterior.
17
             * 3=> Es una nueva fila a?adida. 
18
             */
19
            int getStatus();
20
            
21
            /**
22
             * @return the "external index" of this feature.
23
             * The 0 based index of the feature.
24
             */
25
            int getIndex();
26
}