Interface FeatureStoreTransforms

All Superinterfaces:
Cloneable, org.gvsig.tools.lang.Cloneable, Iterable<FeatureStoreTransform>

public interface FeatureStoreTransforms extends org.gvsig.tools.lang.Cloneable, Iterable<FeatureStoreTransform>
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 Details

    • 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

      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

      Returns an iterator over this container elements.
      Specified by:
      iterator in interface Iterable<FeatureStoreTransform>
      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: