root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / Command.java @ 24496
History | View | Annotate | Download (1.01 KB)
1 |
package org.gvsig.fmap.dal.feature; |
---|---|
2 |
|
3 |
/**
|
4 |
* This interface represents an edition command
|
5 |
*/
|
6 |
public interface Command { |
7 |
public final static String DELETE = "delete_Command"; |
8 |
public final static String INSERT = "insert_Command"; |
9 |
public final static String UPDATE = "update_Command"; |
10 |
|
11 |
|
12 |
/**
|
13 |
* Returns the type of the command. One of the constants in this interface.
|
14 |
*
|
15 |
* @return a String containing one of the constants in this interface.
|
16 |
*/
|
17 |
public String getType(); |
18 |
|
19 |
/**
|
20 |
* Returns this command description
|
21 |
*
|
22 |
* @return a String with this command description
|
23 |
*/
|
24 |
public String getDescription(); |
25 |
|
26 |
/**
|
27 |
* Returns a String with the date in which this command was executed
|
28 |
*
|
29 |
* @return a String with the date in which this command was executed
|
30 |
*/
|
31 |
public String getDate(); |
32 |
|
33 |
/**
|
34 |
* Returns a String with the time in which this command was executed
|
35 |
* @return a String with the time in which this command was executed
|
36 |
*/
|
37 |
public String getTime(); |
38 |
|
39 |
} |