svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / IRowEdited.java @ 29572
History | View | Annotate | Download (708 Bytes)
1 | 3652 | fjp | 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 | 3788 | fjp | 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 | 3653 | fjp | |
11 | 3686 | fjp | IRow getLinkedRow(); |
12 | 3652 | fjp | |
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 | 4115 | fjp | |
21 | 4181 | fjp | /**
|
22 | * @return the "external index" of this feature.
|
||
23 | * The 0 based index of the feature.
|
||
24 | */
|
||
25 | 4115 | fjp | int getIndex();
|
26 | 3652 | fjp | } |