org.gvsig.fmap.dal.feature
Interface FeatureStoreTransforms


public interface FeatureStoreTransforms

This interface represents a container for store transforms. Provides access to transforms by index and by iterator, and also allows adding and removing transforms.


Method Summary
 FeatureStoreTransform add(FeatureStoreTransform transform)
          Adds a FeatureStoreTransform to this container.
 void clear()
          Empties this container.
 FeatureStoreTransform getTransform(int index)
          Returns the FeatureStoreTransform given its index.
 boolean isEmpty()
          Indicates whether this container is empty.
 boolean isTransformsOriginalValues()
          Retruns true if any FeatureStoreTransform make changes of any previous attributes values.
 Iterator iterator()
          Returns an iterator over this container elements.
 boolean remove(FeatureStoreTransform transform)
          Removes the given FeatureStoreTransform.
 Object remove(int index)
          Removes the FeatureStoreTransform given its index.
 int size()
          Returns the number of FeatureStoreTransforms stored in this container
 

Method Detail

getTransform

FeatureStoreTransform getTransform(int index)
Returns the FeatureStoreTransform given its index.

Parameters:
index - a position in this FeatureStoreTransforms
Returns:
the FeatureStoreTransform that is stored in the given index.

add

FeatureStoreTransform add(FeatureStoreTransform transform)
                          throws DataException
Adds a FeatureStoreTransform to this container.

Parameters:
transform - the FeatureStoreTransform to add
Returns:
the added FeatureStoreTransform
Throws:
DataException

size

int size()
Returns the number of FeatureStoreTransforms stored in this container

Returns:
number of FeatureStoreTransforms stored in this container

isEmpty

boolean isEmpty()
Indicates whether this container is empty.

Returns:
true if this container is empty, false if not

iterator

Iterator iterator()
Returns an iterator over this container elements.

Returns:
an iterator over this container elements.

clear

void clear()
Empties this container.


remove

Object remove(int index)
Removes the FeatureStoreTransform given its index.

Parameters:
index - the position of the FeatureStoreTransform to remove.
Returns:
the removed object

remove

boolean remove(FeatureStoreTransform transform)
Removes the given FeatureStoreTransform.

Parameters:
transform - FeatureStoreTransform to remove
Returns:
true if the transform was successfully removed, false if not.

isTransformsOriginalValues

boolean isTransformsOriginalValues()
Retruns true if any FeatureStoreTransform make changes of any previous attributes values.
If all FeatureStoreTransform affects only to attributes defition, the FeatureSet performance can be better.

Returns:


Copyright © 2004-2012 gvSIG. All Rights Reserved.