getTransformer
public EntityJsonTransformer getTransformer(java.lang.String entityName,
java.lang.String modelVersion,
JsonTransformationDirection transformerDirection)
Tries to find the transformer for the given entity, model version and transformation direction. If such
transformer is defined in the transformers configuration file then it will be returned. If there is no
transformer defined, a dummy transformer that doesn't do any transformation will be returned.
- Parameters:
entityName
- entity name
modelVersion
- domain model version
transformerDirection
- transformation direction (to version or from version)
- Returns:
- a JSON transformer instance