Package org.gvsig.fmap.dal.feature
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 Summary
Modifier and TypeMethodDescriptionadd(FeatureStoreTransform transform) Adds a FeatureStoreTransform to this container.voidclear()Empties this container.getTransform(int index) Returns the FeatureStoreTransform given its index.booleanisEmpty()Indicates whether this container is empty.booleanRetruns true if anyFeatureStoreTransformmake changes of any previous attributes values.
If allFeatureStoreTransformaffects only to attributes defition, theFeatureSetperformance can be better.iterator()Returns an iterator over this container elements.remove(int index) Removes theFeatureStoreTransformgiven its index.booleanremove(FeatureStoreTransform transform) Removes the givenFeatureStoreTransform.intsize()Returns the number of FeatureStoreTransforms stored in this containerMethods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getTransform
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
Iterator<FeatureStoreTransform> iterator()Returns an iterator over this container elements.- Specified by:
iteratorin interfaceIterable<FeatureStoreTransform>- Returns:
- an iterator over this container elements.
-
clear
void clear()Empties this container. -
remove
Removes theFeatureStoreTransformgiven its index.- Parameters:
index- the position of theFeatureStoreTransformto remove.- Returns:
- the removed object
-
remove
Removes the givenFeatureStoreTransform.- Parameters:
transform-FeatureStoreTransformto remove- Returns:
- true if the transform was successfully removed, false if not.
-
isTransformsOriginalValues
boolean isTransformsOriginalValues()Retruns true if anyFeatureStoreTransformmake changes of any previous attributes values.
If allFeatureStoreTransformaffects only to attributes defition, theFeatureSetperformance can be better.- Returns:
-