public interface ValueConverter
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertEMFValueToMongoDBValue(EDataType eDataType,
java.lang.Object emfValue)
Convert a value from EMF of the specified type to a value stored in MongoDB.
|
java.lang.Object |
convertMongoDBValueToEMFValue(EDataType eDataType,
java.lang.Object databaseValue)
Convert a value from MongoDB to a value used by EMF of the specified type.
|
boolean |
isConverterForType(EDataType eDataType)
Determines whether or not this converter can convert a value of a specific type.
|
java.lang.Object convertMongoDBValueToEMFValue(EDataType eDataType,
java.lang.Object databaseValue)
eDataType - the EMF type that the value needs to be converted todatabaseValue - the value read from MongoDBjava.lang.Object convertEMFValueToMongoDBValue(EDataType eDataType,
java.lang.Object emfValue)
eDataType - the EMF type that the value needs to be converted fromemfValue - the value from the EMF objectboolean isConverterForType(EDataType eDataType)
eDataType - the type of the value that needs to be convertedBryan Hunt, Data In Motion Consulting