Interface MappingTransformationService
-
- All Known Implementing Classes:
DefaultMappingTransformationService
public interface MappingTransformationServiceProvides service methods for transforming and persisting the mapping as a XML, as well as for the deserialization of the mapping XML to a MappingModel object. created at Nov 26, 2009 created by YanlingZhang
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingModeldeserializeMappingPersistence(MappingPersistence mappingPersistence)Deserializes a MappingPersistence object to a new MappingModel object.MappingPersistencetransformMapping(MappingModel mapping)Transforms the mapping into a flat form (MappingPersistence object) for the persistence as a XML element.
-
-
-
Method Detail
-
transformMapping
MappingPersistence transformMapping(MappingModel mapping)
Transforms the mapping into a flat form (MappingPersistence object) for the persistence as a XML element.- Parameters:
mapping-- Returns:
- MappingPersistence object used for persisting the mapping as a XML element
-
deserializeMappingPersistence
MappingModel deserializeMappingPersistence(MappingPersistence mappingPersistence)
Deserializes a MappingPersistence object to a new MappingModel object.- Parameters:
mappingPersistence- MappingPersistence- Returns:
- MappingModel object that contains the elements defined in the flat MappingPersistence object
-
-