pop.model
Interface FertilityFactory

All Known Implementing Classes:
FertilityFile

public interface FertilityFactory
extends DataFactory

Creates Fertility objects.

See Also:
Fertility

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

Method Detail

get_fertility

public Fertility get_fertility(int category)
Returns a new Fertility object for the indicated population category. precondition: category is valid.

get_fertility

public Fertility get_fertility(java.lang.String category)
Returns a new Fertility object for the indicated population category. precondition: category is valid.