IEntitySelector<TTYpe,TEntity> Interface
Type Parameters
- TTYpe
- TEntity
public interface IEntitySelector<TTYpe,TEntity>
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract TEntity |
byId(TTYpe id)
Retrieves the behavior for an entity using the entity's identifier. |
Method Details
byId
public abstract TEntity byId(TTYpe id)
Retrieves the behavior for an entity using the entity's identifier.
Parameters:
id
- The entity's identifier.
Returns:
The entity's behavior.