org.objectweb.medor.expression.parser.api

Interface ParameterTypeProvider

Known Implementing Classes:
MapParameterTypeProvider

public interface ParameterTypeProvider

Callback interface for providing PTypes for parameters.

Author:
A. Lefebvre, S. Chassande-Barrioz

Method Summary

PType
getParameterPType(String paramName)
Returns the PType of a parameter, identified by its name.

Method Details

getParameterPType

public PType getParameterPType(String paramName)
            throws MalformedExpressionException
Returns the PType of a parameter, identified by its name.

Parameters:
paramName - the name of the parameter

Returns:
the PType of the parameter or null if the parameter name does not correspond to any parameter.