thinkmap.datasource.database
Interface IEntityResultMapping

All Known Implementing Classes:
EntityResultMapping, SwitchEntityResultMapping

public interface IEntityResultMapping

Interface for classes that will send entities to an IEntityHandler based on the results of some action, such as results from a database query.

Version:
$Revision: 1.1 $

Method Summary
 void outputEntity(IEntityHandler callback, Message message, SourceEntity entity, EntityId id, Object context)
          Output entities to an IEntityHandler
 

Method Detail

outputEntity

void outputEntity(IEntityHandler callback,
                  Message message,
                  SourceEntity entity,
                  EntityId id,
                  Object context)
                  throws BindingException
Output entities to an IEntityHandler

Parameters:
callback - the IEntityHandler that will receive entities
message - the incoming message
entity - the entity being bound (may be null)
id - the id of the entity being bound
context - context object; datasource-specific
Throws:
BindingException


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.