pop.model
Interface MigrationFactory

All Known Implementing Classes:
MigrationSpreader, MigrationFile

public interface MigrationFactory
extends DataFactory

Creates Migration objects.

See Also:
Migration

Method Summary
 Migration get_migration(int category, int year)
          Returns a new Migration object for the indicated population category and year.
 Migration get_migration(java.lang.String category, int year)
          Returns a new Migration object for the indicated population category and year.
 
Methods inherited from interface pop.model.DataFactory
get_characteristics, get_characteristics, ready
 

Method Detail

get_migration

public Migration get_migration(int category,
                               int year)
Returns a new Migration object for the indicated population category and year. preconditions: category and year are valid for the current model.

get_migration

public Migration get_migration(java.lang.String category,
                               int year)
Returns a new Migration object for the indicated population category and year. preconditions: category and year are valid for the current model.