Revision 44767 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/Feature.java

View differences:

Feature.java
30 30
import org.gvsig.fmap.dal.exception.DataException;
31 31
import org.gvsig.fmap.geom.Geometry;
32 32
import org.gvsig.fmap.geom.primitive.Envelope;
33
import org.gvsig.timesupport.Instant;
34
import org.gvsig.timesupport.Interval;
35
import org.gvsig.timesupport.Time;
33
//import org.gvsig.timesupport.Instant;
34
//import org.gvsig.timesupport.Interval;
35
//import org.gvsig.timesupport.Time;
36 36
import org.gvsig.tools.dynobject.DynObject;
37 37
import org.gvsig.tools.evaluator.Evaluator;
38 38
import org.gvsig.tools.evaluator.EvaluatorData;
......
297 297
   * @return value of the specified attribute
298 298
   */
299 299
  public Date getDate(int index);
300
  
301
  public Date getTime(String name);
302
  public Date getTime(int index);
303
  
304
  public Date getTimestamp(String name);
305
  public Date getTimestamp(int index);
300 306

  
301 307
  /**
302 308
   * Returns the String value of an attribute given its name.
......
424 430
   */
425 431
  public List getSRSs();
426 432

  
427
  public Time getDefaultTime();
433
//  public Time getDefaultTime();
434
//
435
//  public Time getTime(int index);
436
//
437
//  public Time getTime(String name);
438
//
439
//  /**
440
//   * Returns the instant value of an attribute given its position.
441
//   *
442
//   * @param index position of the attribute
443
//   * @return value of the specified attribute
444
//   */
445
//  public Instant getInstant(int index);
446
//
447
//  /**
448
//   * Returns the instant value of an attribute given its name.
449
//   *
450
//   * @param name a string containing the name of the attribute
451
//   * @return value of the specified attribute
452
//   */
453
//  public Instant getInstant(String name);
454
//
455
//  /**
456
//   * Returns the interval value of an attribute given its position.
457
//   *
458
//   * @param index position of the attribute
459
//   * @return value of the specified attribute
460
//   */
461
//  public Interval getInterval(int index);
462
//
463
//  /**
464
//   * Returns the interval value of an attribute given its name.
465
//   *
466
//   * @param name a string containing the name of the attribute
467
//   * @return value of the specified attribute
468
//   */
469
//  public Interval getInterval(String name);
428 470

  
429
  public Time getTime(int index);
430

  
431
  public Time getTime(String name);
432

  
433
  /**
434
   * Returns the instant value of an attribute given its position.
435
   *
436
   * @param index position of the attribute
437
   * @return value of the specified attribute
438
   */
439
  public Instant getInstant(int index);
440

  
441
  /**
442
   * Returns the instant value of an attribute given its name.
443
   *
444
   * @param name a string containing the name of the attribute
445
   * @return value of the specified attribute
446
   */
447
  public Instant getInstant(String name);
448

  
449
  /**
450
   * Returns the interval value of an attribute given its position.
451
   *
452
   * @param index position of the attribute
453
   * @return value of the specified attribute
454
   */
455
  public Interval getInterval(int index);
456

  
457
  /**
458
   * Returns the interval value of an attribute given its name.
459
   *
460
   * @param name a string containing the name of the attribute
461
   * @return value of the specified attribute
462
   */
463
  public Interval getInterval(String name);
464

  
465 471
  public DynObject getAsDynObject();
466 472

  
467 473
  /**

Also available in: Unified diff