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 $
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 entitiesmessage - the incoming messageentity - the entity being bound (may be null)id - the id of the entity being boundcontext - context object; datasource-specific
- Throws:
BindingException
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.