gvsig-vectorediting / org.gvsig.vectorediting / trunk / org.gvsig.vectorediting / org.gvsig.vectorediting.lib / org.gvsig.vectorediting.lib.spi / src / main / java / org / gvsig / vectorediting / lib / spi / DefaultEditingServiceParameter.java @ 4
History | View | Annotate | Download (1.12 KB)
1 |
/*
|
---|---|
2 |
* Copyright 2014 DiSiD Technologies S.L.L. All rights reserved.
|
3 |
*
|
4 |
* Project : DiSiD org.gvsig.vectorediting.lib.spi
|
5 |
* SVN Id : $Id$
|
6 |
*/
|
7 |
package org.gvsig.vectorediting.lib.spi; |
8 |
|
9 |
import org.gvsig.vectorediting.lib.api.EditingServiceParameter; |
10 |
|
11 |
|
12 |
public class DefaultEditingServiceParameter implements EditingServiceParameter{ |
13 |
|
14 |
public interface TYPES { |
15 |
|
16 |
public final static int POINT = 0; |
17 |
|
18 |
public final static int LIST_POINTS = 1; |
19 |
|
20 |
public final static int OPTION = 2; |
21 |
|
22 |
public final static int VALUE = 3; |
23 |
|
24 |
public final static int SELECTION = 4; |
25 |
|
26 |
public final static int GEOMETRY = 5; |
27 |
|
28 |
} |
29 |
|
30 |
private String name; |
31 |
private String description; |
32 |
private int type; |
33 |
|
34 |
public DefaultEditingServiceParameter(String name, String desciption, int type){ |
35 |
this.name = name;
|
36 |
this.description = desciption;
|
37 |
this.type = type;
|
38 |
} |
39 |
|
40 |
public int getType() { |
41 |
// TODO Auto-generated method stub
|
42 |
return type;
|
43 |
} |
44 |
|
45 |
public String getName() { |
46 |
// TODO Auto-generated method stub
|
47 |
return name;
|
48 |
} |
49 |
|
50 |
public String getDescription() { |
51 |
// TODO Auto-generated method stub
|
52 |
return description;
|
53 |
} |
54 |
|
55 |
} |