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 |
setTargetSRS(IProjection targetSRS) |
void |
setUp()
This method must perform the necessary actions to set up the transformation.
|
clone, getDefaultFeatureType, getDescription, getDynValue, getFeatureStore, getFeatureTypes, getName, getSourceMetadata, hasDynValue, registerPersistent, setDynValue, setFeatureStore, 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 setUp()
FeatureStoreTransform
public FeatureType getSourceFeatureTypeFrom(FeatureType targetFeatureType)
FeatureStoreTransform
FeatureType
that replaces
targetFeatureType of this FeatureStoreTransform'sFeatureType
public boolean isTransformsOriginalValues()
FeatureStoreTransform
FeatureType
definitions is changed.isTransformsOriginalValues
in interface FeatureStoreTransform
isTransformsOriginalValues
in class AbstractFeatureStoreTransform
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