pop.model
Interface MortalityFactory

All Known Implementing Classes:
MortalityFile

public interface MortalityFactory
extends DataFactory

Creates Mortality objects.

See Also:
Mortality

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

Method Detail

get_mortality

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

get_mortality

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