Revision 30187 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureAttributeDescriptor.java
DefaultFeatureAttributeDescriptor.java | ||
---|---|---|
11 | 11 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
12 | 12 |
import org.gvsig.fmap.dal.feature.exception.UnsupportedDataTypeException; |
13 | 13 |
import org.gvsig.fmap.geom.Geometry; |
14 |
import org.gvsig.tools.dynobject.DynField; |
|
15 |
import org.gvsig.tools.dynobject.DynObjectValueItem; |
|
14 | 16 |
import org.gvsig.tools.evaluator.Evaluator; |
15 | 17 |
|
16 | 18 |
public class DefaultFeatureAttributeDescriptor implements |
... | ... | |
187 | 189 |
return this.isAutomatic; |
188 | 190 |
} |
189 | 191 |
|
192 |
|
|
190 | 193 |
private boolean compareObject(Object a, Object b) { |
191 | 194 |
if (a != b) { |
192 | 195 |
if (a != null) { |
... | ... | |
284 | 287 |
|
285 | 288 |
return true; |
286 | 289 |
} |
290 |
|
|
291 |
|
|
292 |
/** |
|
293 |
* Start of DynField interface Implementation |
|
294 |
* READONLY |
|
295 |
*/ |
|
296 |
|
|
297 |
|
|
298 |
public DynObjectValueItem[] getAvailableValues() { |
|
299 |
// TODO Auto-generated method stub |
|
300 |
return null; |
|
301 |
} |
|
302 |
|
|
303 |
public String getDescription() { |
|
304 |
// TODO Auto-generated method stub |
|
305 |
return null; |
|
306 |
} |
|
307 |
|
|
308 |
public Object getMaxValue() { |
|
309 |
// TODO Auto-generated method stub |
|
310 |
return null; |
|
311 |
} |
|
312 |
|
|
313 |
public Object getMinValue() { |
|
314 |
// TODO Auto-generated method stub |
|
315 |
return null; |
|
316 |
} |
|
317 |
|
|
318 |
public int getTheTypeOfAvailableValues() { |
|
319 |
// TODO Auto-generated method stub |
|
320 |
return 0; |
|
321 |
} |
|
322 |
|
|
323 |
public int getType() { |
|
324 |
return getDataType(); |
|
325 |
} |
|
326 |
|
|
327 |
public boolean isMandatory() { |
|
328 |
// TODO Auto-generated method stub |
|
329 |
return false; |
|
330 |
} |
|
331 |
|
|
332 |
public boolean isPersistent() { |
|
333 |
// TODO Auto-generated method stub |
|
334 |
return false; |
|
335 |
} |
|
336 |
|
|
337 |
public DynField setAvailableValues(DynObjectValueItem[] values) { |
|
338 |
throw new UnsupportedOperationException(); |
|
339 |
} |
|
340 |
|
|
341 |
public DynField setDescription(String description) { |
|
342 |
throw new UnsupportedOperationException(); |
|
343 |
} |
|
344 |
|
|
345 |
public DynField setMandatory(boolean mandatory) { |
|
346 |
throw new UnsupportedOperationException(); |
|
347 |
} |
|
348 |
|
|
349 |
public DynField setMaxValue(Object maxValue) { |
|
350 |
throw new UnsupportedOperationException(); |
|
351 |
} |
|
352 |
|
|
353 |
public DynField setMinValue(Object minValue) { |
|
354 |
throw new UnsupportedOperationException(); |
|
355 |
} |
|
356 |
|
|
357 |
public DynField setPersistent(boolean persistent) { |
|
358 |
throw new UnsupportedOperationException(); |
|
359 |
} |
|
360 |
|
|
361 |
public DynField setTheTypeOfAvailableValues(int type) { |
|
362 |
throw new UnsupportedOperationException(); |
|
363 |
} |
|
364 |
|
|
365 |
public DynField setType(int type) { |
|
366 |
throw new UnsupportedOperationException(); |
|
367 |
} |
|
368 |
|
|
369 |
public DynField setDefaultDynValue(Object defaultValue) { |
|
370 |
throw new UnsupportedOperationException(); |
|
371 |
} |
|
372 |
|
|
287 | 373 |
} |
Also available in: Unified diff