root/tools/routingservice/trunk/src/jp/co/orkney/restlet/geo/GeoAction.java

Revision 153, 1.1 KB (checked in by anton, 3 years ago)

security class added

Line 
1package jp.co.orkney.restlet.geo;
2
3import java.sql.ResultSet;
4import java.sql.SQLException;
5
6import jp.co.orkney.restlet.util.Configuration;
7import jp.co.orkney.restlet.util.DatabaseConnection;
8import jp.co.orkney.restlet.util.IOHelper;
9import jp.co.orkney.restlet.util.Log;
10import jp.co.orkney.restlet.util.Point;
11
12import org.antlr.stringtemplate.StringTemplate;
13import org.json.JSONException;
14
15public class GeoAction
16{
17
18        protected String result = "";
19        protected DatabaseConnection databaseConnection;
20        protected IOHelper ioHelper;
21        protected Point point;
22        protected Configuration configuration;
23        protected Log log;
24       
25        protected String name;
26
27        public GeoAction()
28        {
29                super();
30        }
31       
32        public GeoAction(Configuration configuration, DatabaseConnection databaseConnection, IOHelper ioHelper, Log log)
33        {
34                this.configuration = configuration;
35                this.ioHelper = ioHelper;
36                this.databaseConnection = databaseConnection;
37                this.log = log;         
38        }
39
40        public String getResult()
41        {
42                return result;
43        }
44       
45        public void start() throws SQLException, JSONException
46        {
47               
48        }
49       
50        public String getName()
51        {
52                return name;
53        }
54}
Note: See TracBrowser for help on using the browser.