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. |
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.