added getInpuType and getOutputType to implement Type Aware mediator concept