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. | |
Private Member Functions | |
SpeciesTypeCombo (int iSpecies, int iType) | |
Constructor. | |
Private Attributes | |
int | m_iSpecies |
Tree species. | |
int | m_iType |
Tree type. |
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 |
Constructor.
iSpecies | Species number. | |
iType | Type number. | |
oPop | Tree population object for data validation. |
ModelException | if either species or type number is invalid |
javawrapper.SpeciesTypeCombo.SpeciesTypeCombo | ( | int | iSpecies, | |
int | iType | |||
) | [private] |
Constructor.
Private so that the cloning process can use it without having to go through validation with the TreePopulation - since presumably an already existing object would have validated in its own constructor.
void javawrapper.SpeciesTypeCombo.SetSpecies | ( | int | iSpecies | ) |
Species setter.
iSpecies | Species to set. |
boolean javawrapper.SpeciesTypeCombo.equals | ( | Object | oToCheck | ) |
Implemented equality checker.
oToCheck | Object to check for equality. |
Object javawrapper.SpeciesTypeCombo.clone | ( | ) |
Override this so clones can be made.
int javawrapper.SpeciesTypeCombo.GetSpecies | ( | ) |
Gets the species for this combo.
int javawrapper.SpeciesTypeCombo.GetType | ( | ) |
Gets the type for this combo.
int javawrapper.SpeciesTypeCombo.m_iSpecies [private] |
Tree species.
int javawrapper.SpeciesTypeCombo.m_iType [private] |
Tree type.