public class ReprojectDefaultGeometry extends AbstractFeatureStoreTransform
| Modifier and Type | Class and Description |
|---|---|
static class |
ReprojectDefaultGeometry.RegisterPersistence |
ABSTRACT_FEATURESTORE_DYNCLASS_NAME, descripcion, METADATA_DEFINITION_NAME, name| Constructor and Description |
|---|
ReprojectDefaultGeometry() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTransform(Feature source,
EditableFeature target)
Applies this transform between two features, copying the source data to
the target feature.
|
FeatureType |
getSourceFeatureTypeFrom(FeatureType targetFeatureType)
Returns the original store
FeatureType that replaces
targetFeatureType of this FeatureStoreTransform's |
IProjection |
getTargetSRS() |
boolean |
isTransformsOriginalValues()
Retruns true if this make changes of any attributes values or false if
only
FeatureType definitions is changed. |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setFeatureStore(FeatureStore store)
Sets the FeatureStore to which this transform is applied.
|
void |
setTargetSRS(IProjection targetSRS) |
clone, getDefaultFeatureType, getDescription, getDynValue, getFeatureStore, getFeatureTypes, getName, getSourceMetadata, hasDynValue, registerPersistent, setDynValue, setFeatureTypes, setSourceMetadatapublic IProjection getTargetSRS()
public void setTargetSRS(IProjection targetSRS)
public void applyTransform(Feature source, EditableFeature target) throws DataException
FeatureStoreTransformsource - feature whose data will be used as sourcetarget - feature in which the source data will be copiedDataExceptionpublic void setFeatureStore(FeatureStore store)
FeatureStoreTransformsetFeatureStore in interface FeatureStoreTransformsetFeatureStore in class AbstractFeatureStoreTransformstore - FeatureStore to which this transform is applied.public FeatureType getSourceFeatureTypeFrom(FeatureType targetFeatureType)
FeatureStoreTransformFeatureType that replaces
targetFeatureType of this FeatureStoreTransform'sFeatureTypepublic boolean isTransformsOriginalValues()
FeatureStoreTransformFeatureType definitions is changed.FeatureStoreTransforms#isTransformsOriginalValues()}public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractFeatureStoreTransformPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractFeatureStoreTransformPersistenceException