Betty v1.1.0

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:

  1. First an instance of the class is created through its no-arg constructor;
  2. Then the configuration parameters are passed to the newly created instance, even if the list is empty: setParameters(List).

Version:
$Revision$
Author:
Christophe Delory

Method Summary
 void setParameters(List<PropertyDetails> params)
          Initializes this processing model with the specified list of configuration parameters.
 

Method Detail

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.

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.