org.gvsig.fmap.dal.feature
Interface FeatureReference


public interface FeatureReference

A FeatureReference is a lightweight unique identifier for a Feature. It is used to keep references on features without maintaining the whole feature in memory, thus improving memory needs.


Method Summary
 Feature getFeature()
          Returns the referenced Feature
 Feature getFeature(FeatureType featureType)
          Returns the referenced Feature
 

Method Detail

getFeature

Feature getFeature()
                   throws DataException
Returns the referenced Feature

Returns:
the Feature identified by this FeatureReference
Throws:
DataException

getFeature

Feature getFeature(FeatureType featureType)
                   throws DataException
Returns the referenced Feature

Parameters:
featureType - The FeatureType to which the referenced Feature belongs.
Returns:
the Feature identified by this FeatureReference
Throws:
DataException


Copyright © 2004-2012 gvSIG. All Rights Reserved.