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, setSourceMetadata
public IProjection getTargetSRS()
public void setTargetSRS(IProjection targetSRS)
public void applyTransform(Feature source, EditableFeature target) throws DataException
FeatureStoreTransform
source
- feature whose data will be used as sourcetarget
- feature in which the source data will be copiedDataException
public void setFeatureStore(FeatureStore store)
FeatureStoreTransform
setFeatureStore
in interface FeatureStoreTransform
setFeatureStore
in class AbstractFeatureStoreTransform
store
- FeatureStore to which this transform is applied.public FeatureType getSourceFeatureTypeFrom(FeatureType targetFeatureType)
FeatureStoreTransform
FeatureType
that replaces
targetFeatureType of this FeatureStoreTransform'sFeatureType
public boolean isTransformsOriginalValues()
FeatureStoreTransform
FeatureType
definitions is changed.FeatureStoreTransforms#isTransformsOriginalValues()}
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractFeatureStoreTransform
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractFeatureStoreTransform
PersistenceException