Revision 37297 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/Feature.java

View differences:

Feature.java
7 7

  
8 8
import org.gvsig.fmap.geom.Geometry;
9 9
import org.gvsig.fmap.geom.primitive.Envelope;
10
import org.gvsig.timesupport.Instant;
11
import org.gvsig.timesupport.Interval;
10 12
import org.gvsig.tools.dynobject.DynObject;
13

  
11 14

  
12 15
/**
13 16
 * <p>Represents the basic data unit of a tabular structure, equivalent
......
381 384
	 * 		a list with the Spatial Reference Systems.
382 385
	 */
383 386
	public List getSRSs();
387
	
388
	/**
389
     * Returns the instant value of an attribute given its position.
390
     *
391
     * @param index
392
     *          position of the attribute
393
     * @return
394
     *      value of the specified attribute
395
     */
396
	public Instant getInstant(int index);
384 397

  
398
	/**
399
     * Returns the instant value of an attribute given its name.
400
     *
401
     * @param name
402
     *          a string containing the name of the attribute
403
     * @return
404
     *      value of the specified attribute
405
     */
406
	public Instant getInstant(String name);
407

  
408
    /**
409
     * Returns the interval value of an attribute given its position.
410
     *
411
     * @param index
412
     *          position of the attribute
413
     * @return
414
     *      value of the specified attribute
415
     */
416
	public Interval getInterval(int index);
417

  
418
	/**
419
     * Returns the interval value of an attribute given its name.
420
     *
421
     * @param name
422
     *          a string containing the name of the attribute
423
     * @return
424
     *      value of the specified attribute
425
     */
426
	public Interval getInterval(String name);
427

  
385 428
	public DynObject getAsDynObject();
386

  
387 429
}

Also available in: Unified diff