gvsig-lrs / org.gvsig.lrs / trunk / org.gvsig.lrs / org.gvsig.lrs.lib / org.gvsig.lrs.lib.impl / src / main / java / org / gvsig / lrs / lib / impl / DefaultLrsGenerateDynamicSegmentationAlgorithmParams.java @ 9
History | View | Annotate | Download (4.47 KB)
1 |
/* gvSIG. Desktop Geographic Information System.
|
---|---|
2 |
*
|
3 |
* Copyright ? 2007-2015 gvSIG Association
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18 |
* MA 02110-1301, USA.
|
19 |
*
|
20 |
* For any additional information, do not hesitate to contact us
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
22 |
*/
|
23 |
package org.gvsig.lrs.lib.impl; |
24 |
|
25 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
26 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
27 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
28 |
import org.gvsig.lrs.lib.api.DistanceUnits; |
29 |
import org.gvsig.lrs.lib.api.LrsCalibrateRouteAlgorithmParams; |
30 |
import org.gvsig.lrs.lib.api.LrsGenerateDynamicSegmentationAlgorithmParams; |
31 |
import org.gvsig.lrs.lib.api.LrsMeasureCalculationMethods; |
32 |
|
33 |
|
34 |
/**
|
35 |
* @author dmartinez
|
36 |
*
|
37 |
*/
|
38 |
public class DefaultLrsGenerateDynamicSegmentationAlgorithmParams implements LrsGenerateDynamicSegmentationAlgorithmParams { |
39 |
|
40 |
private FeatureStore sourceFeatureStore;
|
41 |
private FeatureAttributeDescriptor idRouteField;
|
42 |
private NewFeatureStoreParameters newFeatureStoreParameters;
|
43 |
private FeatureStore valueTableFeatureStore;
|
44 |
private FeatureAttributeDescriptor valueTableIdRouteField;
|
45 |
private FeatureAttributeDescriptor landmarkField;
|
46 |
private FeatureAttributeDescriptor finalLandmarkField;
|
47 |
private FeatureAttributeDescriptor valueField;
|
48 |
private final String NAME = "LrsCalibrateRouteAlgorithm"; |
49 |
private final String DESCRIPTION = "Algorithm to calibrate routes with linear reference system."; |
50 |
|
51 |
|
52 |
|
53 |
/**
|
54 |
*
|
55 |
*/
|
56 |
public DefaultLrsGenerateDynamicSegmentationAlgorithmParams() {
|
57 |
|
58 |
} |
59 |
|
60 |
/* (non-Javadoc)
|
61 |
* @see org.gvsig.lrs.lib.api.LrsAlgorithmParams#getName()
|
62 |
*/
|
63 |
public String getName() { |
64 |
return NAME;
|
65 |
} |
66 |
|
67 |
/* (non-Javadoc)
|
68 |
* @see org.gvsig.lrs.lib.api.LrsAlgorithmParams#getDescription()
|
69 |
*/
|
70 |
public String getDescription() { |
71 |
return DESCRIPTION;
|
72 |
} |
73 |
|
74 |
|
75 |
public FeatureStore getSourceFeatureStore() {
|
76 |
return sourceFeatureStore;
|
77 |
} |
78 |
|
79 |
|
80 |
public void setSourceFeatureStore(FeatureStore sourceFeatureStore) { |
81 |
this.sourceFeatureStore = sourceFeatureStore;
|
82 |
} |
83 |
|
84 |
|
85 |
public FeatureAttributeDescriptor getIdRouteField() {
|
86 |
return idRouteField;
|
87 |
} |
88 |
|
89 |
|
90 |
public void setIdRouteField(FeatureAttributeDescriptor idRouteField) { |
91 |
this.idRouteField = idRouteField;
|
92 |
} |
93 |
|
94 |
|
95 |
public NewFeatureStoreParameters getNewFeatureStoreParameters() {
|
96 |
return newFeatureStoreParameters;
|
97 |
} |
98 |
|
99 |
|
100 |
public void setNewFeatureStoreParameters( |
101 |
NewFeatureStoreParameters newFeatureStoreParameters) { |
102 |
this.newFeatureStoreParameters = newFeatureStoreParameters;
|
103 |
} |
104 |
|
105 |
|
106 |
public FeatureStore getValueTableFeatureStore() {
|
107 |
return valueTableFeatureStore;
|
108 |
} |
109 |
|
110 |
|
111 |
public void setValueTableFeatureStore(FeatureStore valueTableFeatureStore) { |
112 |
this.valueTableFeatureStore = valueTableFeatureStore;
|
113 |
} |
114 |
|
115 |
|
116 |
public FeatureAttributeDescriptor getValueTableIdRouteField() {
|
117 |
return valueTableIdRouteField;
|
118 |
} |
119 |
|
120 |
|
121 |
public void setValueTableIdRouteField( |
122 |
FeatureAttributeDescriptor valueTableIdRouteField) { |
123 |
this.valueTableIdRouteField = valueTableIdRouteField;
|
124 |
} |
125 |
|
126 |
|
127 |
public FeatureAttributeDescriptor getLandmarkField() {
|
128 |
return landmarkField;
|
129 |
} |
130 |
|
131 |
|
132 |
public void setLandmarkField(FeatureAttributeDescriptor landmarkField) { |
133 |
this.landmarkField = landmarkField;
|
134 |
} |
135 |
|
136 |
|
137 |
public FeatureAttributeDescriptor getFinalLandmarkField() {
|
138 |
return finalLandmarkField;
|
139 |
} |
140 |
|
141 |
|
142 |
public void setFinalLandmarkField( |
143 |
FeatureAttributeDescriptor finalLandmarkField) { |
144 |
this.finalLandmarkField = finalLandmarkField;
|
145 |
} |
146 |
|
147 |
|
148 |
public FeatureAttributeDescriptor getValueField() {
|
149 |
return valueField;
|
150 |
} |
151 |
|
152 |
|
153 |
public void setValueField(FeatureAttributeDescriptor valueField) { |
154 |
this.valueField = valueField;
|
155 |
} |
156 |
|
157 |
|
158 |
|
159 |
} |