Public Member Functions | |
SpeciesTypeCombo (int iSpecies, int iType, TreePopulation oPop) throws ModelException | |
Constructor. | |
void | SetSpecies (int iSpecies) |
Species setter. | |
boolean | equals (Object oToCheck) |
Implemented equality checker. | |
Object | clone () |
Override this so clones can be made. | |
int | GetSpecies () |
Gets the species for this combo. | |
int | GetType () |
Gets the type for this combo. |
This is useful, for instance, when a behavior object wants to keep a list of those species and types to which each of its sub-behaviors applies.
Copyright: Copyright (c) 2003
Company:
javawrapper::SpeciesTypeCombo::SpeciesTypeCombo | ( | int | iSpecies, | |
int | iType, | |||
TreePopulation | oPop | |||
) | throws ModelException [inline] |
Constructor.
iSpecies | Species number. | |
iType | Type number. | |
oPop | Tree population object for data validation. |
ModelException | if either species or type number is invalid |
void javawrapper::SpeciesTypeCombo::SetSpecies | ( | int | iSpecies | ) | [inline] |
Species setter.
iSpecies | Species to set. |
boolean javawrapper::SpeciesTypeCombo::equals | ( | Object | oToCheck | ) | [inline] |
Implemented equality checker.
oToCheck | Object to check for equality. |
Object javawrapper::SpeciesTypeCombo::clone | ( | ) | [inline] |
Override this so clones can be made.
int javawrapper::SpeciesTypeCombo::GetSpecies | ( | ) | [inline] |
Gets the species for this combo.
int javawrapper::SpeciesTypeCombo::GetType | ( | ) | [inline] |
Gets the type for this combo.