Class MappingContext<T>

  • Type Parameters:
    T -

    public class MappingContext<T>
    extends Object
    Generic Context used by the Mapping Framework
    Since:
    Aug 24, 2006
    Version:
    $Revision$
    Author:
    Anil Saldhana
    • Method Detail

      • performMapping

        public void performMapping​(Map<String,​Object> contextMap,
                                   T mappedObject)
        Apply mapping semantics on the passed object
        Parameters:
        contextMap - Read-only Contextual Map
        mappedObject - an object on which mapping will be applied
      • getMappingResult

        public MappingResult<T> getMappingResult()
        Returns:
        Result of previous mapping operation
      • hasModules

        public boolean hasModules()
        Optimization Step to determine if we have configured mapping modules to avoid unnecessary mapping step
        Returns:
        true - at least one mapping provider is configured