|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureStoreTransform
A FeatureStoreTransform provides a mechanism for mapping a source FeatureType to a target FeatureType, allowing to build different views (as in database view) over different feature types even from different stores.
Method Summary | |
---|---|
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 . |
String |
getDescription()
|
Object |
getDynValue(String name)
|
FeatureStore |
getFeatureStore()
Returns the FeatureStore to which this transform belongs. |
List |
getFeatureTypes()
Returns this FeatureStoreTransform's FeatureType(s) |
String |
getName()
|
FeatureType |
getSourceFeatureTypeFrom(FeatureType targetFeatureType)
Returns the original store FeatureType that replaces
targetFeatureType of this FeatureStoreTransform's |
boolean |
hasDynValue(String name)
|
boolean |
isTransformsOriginalValues()
Retruns true if this make changes of any attributes values or false if only FeatureType definitions is changed. |
void |
setDynValue(String name,
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 |
Methods inherited from interface org.gvsig.tools.persistence.Persistent |
---|
loadFromState, saveToState |
Method Detail |
---|
FeatureType getDefaultFeatureType() throws DataException
FeatureType
.
FeatureType
DataException
List getFeatureTypes() throws DataException
DataException
FeatureType getSourceFeatureTypeFrom(FeatureType targetFeatureType)
FeatureType
that replaces
targetFeatureType of this FeatureStoreTransform's
FeatureType
DataException
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 copied
DataException
void setFeatureStore(FeatureStore featureStore)
featureStore
- FeatureStore to which this transform is applied.FeatureStore getFeatureStore()
boolean isTransformsOriginalValues()
FeatureType
definitions is changed.
FeatureStoreTransforms#isTransformsOriginalValues()}
String getName()
String getDescription()
void setSourceMetadata(DynObject metadata)
metadata
- void setDynValue(String name, Object value) throws DynFieldNotFoundException
DynFieldNotFoundException
boolean hasDynValue(String name)
Object getDynValue(String name) throws DynFieldNotFoundException
DynFieldNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |