christophedelory.betty.model
Interface Model
- All Known Subinterfaces:
- BetModel, RankModel, ScoreModel
- All Known Implementing Classes:
- AbstractBetModel, BetScoreModel, DefaultRankModel, RankBetModel, RankScoreModel, ResultScoreModel, VersusBetModel, VersusScoreModel
public interface Model
The base definition of a processing model.
The processing model life-cycle is the following:
- First an instance of the class is created through its no-arg constructor;
- Then the configuration parameters are passed to the newly created instance, even if the list is empty:
setParameters(List)
.
- Version:
- $Revision$
- Author:
- Christophe Delory
setParameters
void setParameters(List<PropertyDetails> params)
throws Exception
- Initializes this processing model with the specified list of configuration parameters.
- Parameters:
params
- a list of configuration parameters. May be empty but not null
.
- Throws:
NullPointerException
- if params
is null
.
Exception
- if any unexpected error occurs.
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.