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 @ 25
History | View | Annotate | Download (1.03 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 |
public class DefaultEditingServiceParameter implements EditingServiceParameter { |
12 |
|
13 |
private String name; |
14 |
|
15 |
private String description; |
16 |
|
17 |
private int type; |
18 |
|
19 |
private String consoleMessage; |
20 |
|
21 |
public DefaultEditingServiceParameter(String name, String desciption, int type, String consoleMessage) { |
22 |
this.name = name;
|
23 |
this.description = desciption;
|
24 |
this.type = type; //TODO Check type |
25 |
this.consoleMessage = consoleMessage;
|
26 |
} |
27 |
|
28 |
public int getType() { |
29 |
return type;
|
30 |
} |
31 |
|
32 |
public String getName() { |
33 |
return name;
|
34 |
} |
35 |
|
36 |
public String getDescription() { |
37 |
return description;
|
38 |
} |
39 |
|
40 |
public boolean equals(EditingServiceParameter param) { |
41 |
// TODO Auto-generated method stub
|
42 |
return false; |
43 |
} |
44 |
|
45 |
public String getConsoleMessage() { |
46 |
return this.consoleMessage; |
47 |
} |
48 |
|
49 |
} |