public interface FeatureStoreTransform extends Persistent, Cloneable
Modifier and Type | Method and Description |
---|---|
void |
apply(FeatureStore store) |
void |
applyTransform(Feature source,
EditableFeature target)
Applies this transform between two features, copying the source data to
the target feature.
|
FeatureType |
getDefaultFeatureType()
Returns the default
FeatureType . |
java.lang.String |
getDescription() |
java.lang.Object |
getDynValue(java.lang.String name) |
FeatureStore |
getFeatureStore()
Returns the FeatureStore to which this transform belongs.
|
java.util.List<FeatureType> |
getFeatureTypes()
Returns this FeatureStoreTransform's FeatureType(s)
|
java.lang.String |
getName() |
FeatureType |
getSourceFeatureTypeFrom(FeatureType targetFeatureType)
Returns the original store
FeatureType that replaces
targetFeatureType of this FeatureStoreTransform's |
boolean |
hasDynValue(java.lang.String name) |
boolean |
isTransformsOriginalValues()
Retruns true if this make changes of any attributes values or false if
only
FeatureType definitions is changed. |
void |
revoke(FeatureStore store) |
void |
setDynValue(java.lang.String name,
java.lang.Object value) |
void |
setFeatureStore(FeatureStore featureStore)
Sets the FeatureStore to which this transform is applied.
|
void |
setSourceMetadata(DynObject metadata)
Sets the original metadata for this transform
|
void |
setUp()
This method must perform the necessary actions to set up the transformation.
|
loadFromState, saveToState
clone, cloneQuietly, cloneQuietly
FeatureType getDefaultFeatureType() throws DataException
FeatureType
.FeatureType
DataException
java.util.List<FeatureType> getFeatureTypes() throws DataException
DataException
FeatureType getSourceFeatureTypeFrom(FeatureType targetFeatureType)
FeatureType
that replaces
targetFeatureType of this FeatureStoreTransform'sFeatureType
void applyTransform(Feature source, EditableFeature target) throws DataException
source
- feature whose data will be used as sourcetarget
- feature in which the source data will be copiedDataException
void setFeatureStore(FeatureStore featureStore)
featureStore
- FeatureStore to which this transform is applied.FeatureStore getFeatureStore()
boolean isTransformsOriginalValues()
FeatureType
definitions is changed.FeatureStoreTransforms#isTransformsOriginalValues()}
java.lang.String getName()
java.lang.String getDescription()
void setSourceMetadata(DynObject metadata)
metadata
- void setDynValue(java.lang.String name, java.lang.Object value) throws DynFieldNotFoundException
DynFieldNotFoundException
boolean hasDynValue(java.lang.String name)
java.lang.Object getDynValue(java.lang.String name) throws DynFieldNotFoundException
DynFieldNotFoundException
void setUp() throws java.lang.Exception
java.lang.Exception
void apply(FeatureStore store)
void revoke(FeatureStore store)